From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,f71df6341fe1647a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-08-23 22:42:46 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: banny52@yahoo.com (Ginny E. Kim) Newsgroups: comp.unix.tru64 Subject: Re: BUG of Tru64UNIX V5.1 Date: 23 Aug 2001 22:42:46 -0700 Organization: http://groups.google.com/ Message-ID: <2f6bec0a.0108232142.6bdd9430@posting.google.com> References: <2f6bec0a.0108221827.62166dda@posting.google.com> <3B852645.D92BD669@zk3.dec.com> NNTP-Posting-Host: 211.117.39.57 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 998631766 27044 127.0.0.1 (24 Aug 2001 05:42:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 24 Aug 2001 05:42:46 GMT Xref: archiver1.google.com comp.unix.tru64:4347 Joe Mario wrote in message news:<3B852645.D92BD669@zk3.dec.com>... > > Isn't it a OS bug that"((int)(&((struct stack_layout > > ...)(0))->pcb)&127)?-1:1" can't be positive interger? > > Ginny: > This is a poor-man's way to ensure that the pcb member of > the stack_layout structure is properly aligned. In your > compilation, the pcb member was not aligned properly so > the the size of the _pcb_align_check array was -1, which > intentionally results in a compile-time error. > (Note that since this was added, the compiler has added > pragmas to support this kind of compile-time checking.) > > It looks like you are either building your module wrong or > you've modified something that caused the size/layout of > the stack_layout struct to change. > Joe > My program doesn't have something that cased the size/layout of the stack_layout struct to change. It just includes . includes in several stages... Is it needed other includeing header file?