This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: /usr/include/bits/in.h is invalid C++
- To: Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
- Subject: Re: /usr/include/bits/in.h is invalid C++
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 11 Jan 1999 18:43:45 -0800
- Cc: libc-alpha@cygnus.com
- References: <199901120225.XAA08215@sleipnir.valparaiso.cl>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
Horst von Brand <vonbrand@sleipnir.valparaiso.cl> writes:
> How so? It might be a C header, but if the structure is used from C++, it
> is illegal. Also, how does the compiler distinguish between a.h which so
> happens is supposed to be C and the _identical_ file b.c which is C++?
By having seen extern "C".
> BTW, my egcs is next-to-last (19990103 can't be bootstrapped with
> glibc-2.0.10[89]), so I doubt this is the explanation.
Well, then talk to Jason Merrill. I was under the impression
implemented this meanwhile.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------