This is the mail archive of the gcc-help@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]

Re: 4.6.3 build error: go (gccgo) does not seem to see configure


Michael Shell <list1@michaelshell.org> writes:

> Un huh, and what, pray tell, was in my CPLUS_INCLUDE_PATH? 
>
> echo $CPLUS_INCLUDE_PATH
> /opt/qt/include:
>
>
> Ouch! That pesky : without a following directory told it to treat -I. as
> a system include directory and thus an -I. on the g++ command line will
> be ignored. Clearing CPLUS_INCLUDE_PATH resulted in expected behavior.
> Oh, what a tangled web we weave.

Very nice.  I'll have to remember that one.

Ian


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