Subject: #pragma pack(N) vs. __attribute__((__packed__))
To: None <email@example.com>
From: Chris G. Demetriou <firstname.lastname@example.org>
Date: 06/08/2000 11:24:48
Is there any reason we continue to use #pragma pack(N), rather than
__attribute__((__packed__)) in our source tree?
(actually, more generally, is there any reason why we use #pragma at
all in any sources meant to actually be compiled for NetBSD?
I.e. there are some sources in our tree which are meant to be compiled
for windows, etc., but in the sources we actually use natively, why
should we be using #pragma at all?)
I'd say that a prohibition should go in /usr/share/misc/style.
any #pragma defenders? 8-)
Chris Demetriou - email@example.com - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.