This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: egcs-1.1.1: name mangling and C library header files


>>>>> Martin v Loewis <martin@mira.isdn.cs.tu-berlin.de> writes:

 >> 	I believe that all header files in the system header directory
 >> are assumed to be "C".  This is one of the "special treatments"
 >> applied to the standard system directories.

 > This is not totally correct. System header directories can be marked
 > as cxx_aware, in which case header files inside are automatically
 > 'extern "C"'.

This is backwards; non-cxx_aware dirs are the ones with implicit extern "C".

 > By default, no system directory is cxx_aware.

This is correct.

Jason


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