does 3.4 truncate include paths?

Zack Weinberg zack@codesourcery.com
Tue Apr 6 16:49:00 GMT 2004


"sean darcy" <seandarcy@hotmail.com> writes:

>>Could you please quote, say, lines 20-30 of that file?
>>
>>zw
>
>
> ctime is short, so here's all of it - less the license. Starts on line
> 16. I've inserted line numbers  30 - 40.
>
> I'm no c++ maven, but here's the only macro expansion I could find:
>
> STLport-4.5/stlport/config/stl_gcc.h:#  define
> _STLP_NATIVE_CPP_C_HEADER(header) <../g++/##header##>
>

This ought to have got you error messages about invalid token pasting.

>      #  include _STLP_NATIVE_CPP_C_HEADER(ctime)

This has got to be the offending #include, and you are correct that
the GXX_INCLUDE_PATH #define doesn't seem to come into it anywhere.
That suggests a problem with your g++ 3.4 installation.

Please try the problem compile again with -v -H added to the command
line and post the complete output.

zw



More information about the Gcc mailing list