This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[glibc 2.1.3] /usr/include/bits/socket.h


I'm just wondering why line 226 of said file has the following:

#if !defined __STRICT_ANSI__ && defined __GNUC__ && __GNUC__ >= 2
    unsigned char __cmsg_data[0]; /* Ancillary data.  */
    /* XXX Perhaps this should be removed.  */
#endif

Shouldn't that be at least 1 or more? gcc 2.95.2 throws a fit when the
-pedantic warning option is used. 

Cheers, 
Alex
-- 
Fluff phasers on maximum plur!

http://www.tahallah.demon.co.uk



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]