This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: how do compile ? old utilites from JAPAN
- To: sunao at dtprobo dot co dot jp
- Subject: Re: how do compile ? old utilites from JAPAN
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sun, 28 Nov 1999 23:00:29 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <383DFAA8.3FADCF74@dtprobo.co.jp>
> how do compile ?
You did not mention what compiler version you are using; g++ 2.95.2
compiles this fine (on Linux with glibc 2.1). Even though this is an
error in the header file, gcc accepts it with the comment
/* Divergence from the standard: In extern "C", we
allow non-static data members here, because C does
and /usr/include/netinet/in.h uses that. */
Hope this helps,
Martin