This is the mail archive of the glibc-bugs@sourceware.org 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]
Other format: [Raw text]

[Bug libc/2486] <netinet/in.h> does not compile in C++. Patch with conventional fix available.


------- Additional Comments From mec at google dot com  2006-03-25 01:18 -------
Actually I think this is not a bug at all:

Older versions of gcc suppress the warning when compiling system header files.

Newer versions of gcc implement DR#80 for C++, which allows data fields to have
the same name as the class if the class does not have a user-declared constructor.

http://std.dkuug.dk/jtc1/sc22/wg21/docs/cwg_defects.html#80


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2486

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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