[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#155045: libstdc++4-dev: header files moved



Norbert Kiesel writes:
> Subject: libstdc++4-dev: header files moved
> Package: libstdc++4-dev
> Version: 1:3.1.1-1
> Severity: normal
> 
> 
> Hi,
> 
> header files moved from /us/include/g++-v3-3.1 to /usr/include/c++/-3.1

should be c++/3.1, not c++/-3.1. this is a mistake (gcc-3.3 uses this
schema for the include path by default).

> Was this really intended (breaks my self-build stlport library)?

you should not rely on a hard coded include path. 

to get the include path, scan 'gcc -v' for
--with-gxx-include-dir=XXX. This will work for Debian's gcc-3.1 and
gcc-3.2.

wondering, why gcc-3.1 -print-search-dirs doesn't print the standard
include paths ...



Reply to: