Hi Robert,

At 07.16 25/04/2006, Robert Collins wrote:

I've tried this with and without inline - I can't reproduce it.

I have identified the problem: the gcc version.

The failing machine is a Debian Sarge 3.1 (stable) with the standard compiler for the distribution:

[EMAIL PROTECTED]:~$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/ usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable -shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale= gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)

I have installed  Debian gcc 3.4

[EMAIL PROTECTED]:~$ gcc-3.4 -v
Reading specs from /usr/lib/gcc/i486-linux/3.4.4/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/ usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib - -enable-nls --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-libstdcxx-allo cator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --disa
ble-werror i486-linux
Thread model: posix
gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13)

and running configure with

CC="/usr/bin/gcc-3.4" CPP="/usr/bin/cpp-3.4" CXX="/usr/bin/g++-3.4" ./configure

now it works fine.

But the problem is still here: the default gcc compiler on Debian stable is the 3.3 one, and cannot be changed.

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1           10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/

Reply via email to