This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to linux.h
- To: Philip Blundell <Philip dot Blundell at pobox dot com>
- Subject: Re: Patch to linux.h
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Fri, 13 Aug 1999 11:19:20 +0200
- Cc: scottb at netwinder dot org,gcc-patches at gcc dot gnu dot org
- References: <Message from Franz Sirl <Franz.Sirl-kernel@lauterbach.com><99081301101400.00789@ns1102.munich.netsurf.de>
At 11:01 13.08.99 , Philip Blundell wrote:
>Franz Sirl wrote:
>
> >I don't want to be picky here, I just keep an
> >eye on the changes in linux.h since Linux/PPC was bitten by not defining
> >NO_IMPLICIT_EXTERN_C :-(,
>
>Ho, hum. Linux/ARM doesn't define that either from what I can see.
Given you would work on a RH60 based system, you will have a hard time
compiling KDE with prefix=/usr then. Without this macro g++ considers all
system include dirs as C++ unaware and implicitly wraps them with extern
"C", which is certainly not what you want if you have a C++ header in there
:-).
That's why it would be a good thing to clean up linux.h and convert all
linux platforms to the configure driven include scheme. Then we all can
finally use linux.h as it is meant to be.
Franz.