From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,75d2eb9e2e52a8c5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!f15g2000pro.googlegroups.com!not-for-mail From: Rod Kay Newsgroups: comp.lang.ada Subject: Re: Problem where a function is invoked once but called twice (when invocation is within an allocator). Date: Mon, 9 May 2011 17:21:22 -0700 (PDT) Organization: http://groups.google.com Message-ID: <104638d3-0d07-4fd5-8cbc-64ff6e6d6293@f15g2000pro.googlegroups.com> References: <87r58dxeia.fsf@mid.deneb.enyo.de> <17caa8eb-8113-4199-83b7-9b199887a758@k15g2000pri.googlegroups.com> <68228b55-070c-4678-b584-8278988e73fc@k3g2000prl.googlegroups.com> NNTP-Posting-Host: 110.174.207.98 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1304986883 21148 127.0.0.1 (10 May 2011 00:21:23 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 10 May 2011 00:21:23 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f15g2000pro.googlegroups.com; posting-host=110.174.207.98; posting-account=Uqu8JwoAAADsGt83KB06QWEVsML1fPO7 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Ubuntu/10.04 Chromium/11.0.696.57 Chrome/11.0.696.57 Safari/534.24,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:20177 Date: 2011-05-09T17:21:22-07:00 List-Id: On May 10, 9:00=A0am, Dan wrote: > Here's a simpler test case. =A0Taking out the Pragma Pack makes it work. > Ah, very nice, thank you. Yes, I also 'pragma pack' the openGL.Image type.