/usr/include/bits/in.h is invalid C++
Ulrich Drepper
drepper@cygnus.com
Mon Jan 11 20:25:00 GMT 1999
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 `------------------------
More information about the Libc-hacker
mailing list