Targets using implicit extern "C"
Andrew Pinski
pinskia@physics.uc.edu
Mon May 9 02:04:00 GMT 2005
On May 8, 2005, at 7:34 PM, Joseph S. Myers wrote:
>
> In particular, I'm surprised at the Darwin configurations apparently
> not defining NO_IMPLICIT_EXTERN_C, and at most OpenBSD configurations
> not doing so (but alpha-openbsd gets it from alpha/alpha.h); VxWorks
> configurations are also inconsistent in this regard
> (powerpc-wrs-vxworks gets it from rs6000/sysv4.h). If
> NO_IMPLICIT_EXTERN_C were defined in elfos.h that would massively
> reduce the number of targets which do not define it (and therefore the
> number needing changing to replace NO_IMPLICIT_EXTERN_C by an
> IMPLICIT_EXTERN_C macro with the opposite sense).
Darwin still needs NO_IMPLICIT_EXTERN_C, at least before 8.0 because
the mach headers were not C++ aware. I know I repeat this every time
this comes up.
Thanks,
Andrew Pinski
More information about the Gcc
mailing list