tags 468063 + confirmed pending
thanks

Hello,

thanks for reporting this bug.

On Tue, Feb 26, 2008 at 03:52:30PM -0500, Daniel Schepler wrote:
> From my pbuilder build log, with g++ -> g++-4.3:
> 
> ...
> /usr/bin/make -C build/lib -f gcc.mak depend release-shared
> /bin/sh: Syntax error: "(" unexpected
> /bin/sh: Syntax error: "(" unexpected
> /bin/sh: Syntax error: "(" unexpected

This is due to `g++ --version' output being different between 4.2 and
4.3:

 $ g++-4.2 --version
 g++ (GCC) 4.2.3 (Debian 4.2.3-2)

 $ g++-4.3 --version
 g++-4.3 (Debian 4.3.0-1) 4.3.1 20080309 (prerelease)

STLport build mechanism relies on the `GCC' string to extract the
version information; if it's not there it assumes the whole line is the
version. I have a fix for this.

> make[1]: Entering directory `/tmp/buildd/stlport5.1-5.1.5/build/lib'
> In file included from ../../stlport/limits.h:27,
>                  from /usr/include/c++/4.3.0/climits:48,
>                  from ../../stlport/climits:27,
>                  from ../../stlport/stl/_algobase.h:42,
>                  from ../../stlport/stl/_alloc.h:47,
>                  from ../../stlport/memory:32,
>                  from ../../src/dll_main.cpp:42:

I'm still having trouble to fix that one. It is caused by the
#include_next <limits.h> in /usr/include/c++/4.3/climits. In g++-4.2
that's an #include <limits.h>. As STLport has its own limits.h, this
file is picked instead of /usr/include/limits.h. And it tries to include
/usr/include/limits.h using an STLport macro which is not defined
here...

Regards,

Thomas



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to