Re: structure padding
"Keith Thompson" <kst-u@mib.org> wrote in message
news:lnoe1p2yyt .fsf@nuthaus.mi b.org...[color=blue]
> "Rod Pemberton" <dont_have@bitb ucket.cmm> writes:[color=green]
> > "Keith Thompson" <kst-u@mib.org> wrote in message
> > news:lnhd7hblco .fsf@nuthaus.mi b.org...[color=darkred]
> >> "Rod Pemberton" <dont_have@bitb ucket.cmm> writes:[/color][/color]
> [...][color=green][color=darkred]
> >> > #ifdef __DJGPP__
> >> > #define HANDLE_PRAGMA_P ACK_PUSH_POP 1
> >> > #endif
> >>
> >> You never use this macro.[/color]
> >
> > Correct. DJGPP needs it to enable '#pragma pack' and '#pragma push'.[/color]
> [...][color=green][color=darkred]
> >> > #pragma pack(push,1)
> >> [snip]
> >>
> >> "#pragma pack" is non-standard.[/color]
> >
> > Correct again. All packing methods are non-standard.[/color]
> [...]
>
> And therefore off-topic.
>[/color]
Vladimir already said he thought the whole thread was off topic, but
apparently a bunch of people disagree with both of you.
Rod Pemberton
"Keith Thompson" <kst-u@mib.org> wrote in message
news:lnoe1p2yyt .fsf@nuthaus.mi b.org...[color=blue]
> "Rod Pemberton" <dont_have@bitb ucket.cmm> writes:[color=green]
> > "Keith Thompson" <kst-u@mib.org> wrote in message
> > news:lnhd7hblco .fsf@nuthaus.mi b.org...[color=darkred]
> >> "Rod Pemberton" <dont_have@bitb ucket.cmm> writes:[/color][/color]
> [...][color=green][color=darkred]
> >> > #ifdef __DJGPP__
> >> > #define HANDLE_PRAGMA_P ACK_PUSH_POP 1
> >> > #endif
> >>
> >> You never use this macro.[/color]
> >
> > Correct. DJGPP needs it to enable '#pragma pack' and '#pragma push'.[/color]
> [...][color=green][color=darkred]
> >> > #pragma pack(push,1)
> >> [snip]
> >>
> >> "#pragma pack" is non-standard.[/color]
> >
> > Correct again. All packing methods are non-standard.[/color]
> [...]
>
> And therefore off-topic.
>[/color]
Vladimir already said he thought the whole thread was off topic, but
apparently a bunch of people disagree with both of you.
Rod Pemberton
Comment