This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

[Fwd: Re: [fixinc patch] Put _KERNEL hack into regular fixincludes]



-------- Original Message --------
Subject: Re: [fixinc patch] Put _KERNEL hack into regular fixincludes
Date: Thu, 07 Aug 2003 21:39:04 -0700
From: Bruce Korb <bkorb@veritas.com>
Organization: Home
To: neroden@twcny.rr.com, gcc-patches@gcc.gnu.org


> Ha!  Figured it out.
> 
> check.sh wraps its generated file with:
> >#if defined( SVR4_KERNEL_CHECK )
> >
> >#endif  /* SVR4_KERNEL_CHECK */
> 
> This satisfies the bypass criterion.  :-)
> 
> Is this OK, or should we come up with a workaround?

Yep.  That's pretty funny.  I'd suggest either changing
the test name to ``svr4_krnl'' or change the bypass
to something like "^[ \t]*#[ \t]*if.*[ \t(]_KERNEL".
Probably changing the name is easier.
Cheers - Bruce


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