Article View: borland.public.cppbuilder.nativeapi
Article #13839Re: alignment
From: Antonio Farfan
Date: Wed, 17 Sep 2003 16:38
Date: Wed, 17 Sep 2003 16:38
17 lines
1646 bytes
1646 bytes
Now I solve the problem with the option of compiler of Bytes (Alignment) but i have to add fields of padding in the struct. This is my problem. This procedure is not very graceful. If there are any change in the Struct i need to readjust the paddings.You can read my first email. "Keith" <kdopson@sbcglobal.net> escribi๏ฟฝ en el mensaje news:3F688926.EF20C0EF@sbcglobal.net... > Try setting the alignment to 1 byte: > > #pragma option -a1 > > > and then undo the setting with: > > #pragma option -a. > >
Technical Details
Message-ID:
<3f688cb6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.news2me.com!news2.euro.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f673746@newsgroups.borland.com> <3f674494$1@newsgroups.borland.com> <3f6749b2$1@newsgroups.borland.com> <3f676a91@newsgroups.borland.com> <3f688407@newsgroups.borland.com> <3F688926.EF20C0EF@sbcglobal.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,a9334a47483d8c0e X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-17 09:41:03 PST From: "Antonio Farfan" <amfm0777@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f673746@newsgroups.borland.com> <3f674494$1@newsgroups.borland.com> <3f6749b2$1@newsgroups.borland.com> <3f676a91@newsgroups.borland.com> <3f688407@newsgroups.borland.com> <3F688926.EF20C0EF@sbcglobal.net> Subject: Re: alignment Date: Wed, 17 Sep 2003 18:38:47 +0200 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 62.15.230.33 Message-ID: <3f688cb6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063816374 62.15.230.33 (17 Sep 2003 09:32:54 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.news2me.com!news2.euro.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail