-isystem and C++ headers

Phil Edwards phil@codesourcery.com
Wed May 12 05:08:00 GMT 2004


On Tue, May 11, 2004 at 07:57:16PM -0400, Daniel Jacobowitz wrote:
> On Tue, May 11, 2004 at 04:47:59PM -0700, Geoff Keating wrote:
> > 
> > I think it would be just as good for dejagnu to not use -isystem when
> > testing in the build tree.  -isystem also suppresses most kinds of warnings,
> > which is probably not what you want for a file in the build tree.
> > 
> > What does the libstdc++ testsuite itself do?  It seems to work.
> 
> Just -I.
> 
> I guess upstream DejaGNU should be updated, one way or the other. 
> Would folks prefer I hardcode the pathnames (as it does now) but change
> -isystem to -I, or add a reference to scripts/testsuite_flags?

My vote:  please don't refer to scripts/testsuite_flags.  It might get
renamed or (my fond hope) removed someday.  -I should be safe enough;
if it isn't we should make it safe on our end.

-- 
Sometimes I drive to run from all my demons.
Sometimes I drive so I can be alone.
Sometimes I drive to see the world in a different light.
Sometimes I drive for no reason at all.                       - Assemblage 23



More information about the Gcc mailing list