Mail Archives: djgpp/1996/12/07/03:43:50
John M. Aldrich wrote:
> #pragma is an evil, hackish way to make gcc pack structures. The DJGPP
> Frequently Asked Questions list (v2/faq202b.zip), chapter 22.9, tells
> you exactly how to go about packing structs in DJGPP, and refers you to
> the gcc reference which details the syntax of the __attribute__()
> extension.
I'm curious -- what's "unevil" or "unhackish" about using attributes to
pack structures? Both are completely unportable, but it seems to me that
the #pragma will work in the widest number of cases (i.e., taking into
account old gcc bugs).
--
Erik Max Francis | max AT alcyone DOT com
Alcyone Systems | http://www.alcyone.com/max/
San Jose, California | 37 20 07 N 121 53 38 W
&tSftDotIotE | R^4: the 4th R is respect
"But since when can wounded eyes see | If we weren't who we were"
- Raw text -