This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2486] <netinet/in.h> does not compile in C++. Patch with conventional fix available.
- From: "mec at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 25 Mar 2006 01:18:56 -0000
- Subject: [Bug libc/2486] <netinet/in.h> does not compile in C++. Patch with conventional fix available.
- References: <20060324235219.2486.dank@kegel.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.