Date: Sun, 8 Dec 1996 17:33:54 +0200 (IST) From: Eli Zaretskii To: Erik Max Francis cc: djgpp AT delorie DOT com Subject: Re: Padding Question In-Reply-To: <32A91EFF.6C6FD6F0@alcyone.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 6 Dec 1996, Erik Max Francis wrote: > John M. Aldrich wrote: > > > #pragma is an evil, hackish way to make gcc pack structures. The DJGPP > > 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). I wouldn't really call `pragma' evil or hackyish. The only factor that might make attributes look like a better way is that the GCC maintainers don't like pragmas (it is said loud and clear on the GCC docs), and so the attributes might be more portable *between the various GCC versions* than the pragmas.