#43 iometer cvs 2005.05.27 fails to compile with GCC 3.4.3

open
nobody
None
5
2005-05-27
2005-05-27
Dave Harder
No

make -f Makefile-Linux.ppc clean
/bin/rm -f IOGlobals.o Pulsar.o IOManager.o
IOManagerLinux.o IOManagerSolaris.o IOGrunt.o
IOTarget.o IOTargetDisk.o IOTargetTCP.o IOPort.o
IOPortTCP.o Network.o NetTCP.o ByteOrder.o
IOPerformanceLinux.o IOTime.o IOCQAIO.o IOCompletionQ.o
IOAccess.o dynamo
-bash-2.05b# make -f Makefile-Linux.ppc all
g++ -O3 -Wall -D_GNU_SOURCE -DIOMTR_OSFAMILY_UNIX
-DIOMTR_OS_LINUX -DIOMTR_CPU_PPC -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_REENTRANT -D_NOMINMAX -c IOGlobals.cpp
g++ -O3 -Wall -D_GNU_SOURCE -DIOMTR_OSFAMILY_UNIX
-DIOMTR_OS_LINUX -DIOMTR_CPU_PPC -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_REENTRANT -D_NOMINMAX -c Pulsar.cpp
In file included from
/usr/lib/gcc/ppc-lynx-linux-gnubc/3.4.3/../../../../include/c++/3.4.3/sstream:640,
from IOPort.h:81,
from IOManager.h:93,
from Pulsar.cpp:134:
/usr/lib/gcc/ppc-lynx-linux-gnubc/3.4.3/../../../../include/c++/3.4.3/bits/sstream.tcc:
In member function `virtual typename
std::basic_stringbuf<_CharT, _Traits, _Alloc>::int_type
std::basic_stringbuf<_CharT, _Traits,
_Alloc>::overflow(typename _Traits::int_type)':
/usr/lib/gcc/ppc-lynx-linux-gnubc/3.4.3/../../../../include/c++/3.4.3/bits/sstream.tcc:102:
error: expected unqualified-id before '(' token
/usr/lib/gcc/ppc-lynx-linux-gnubc/3.4.3/../../../../include/c++/3.4.3/bits/sstream.tcc:104:
error: expected unqualified-id before '(' token
make: *** [Pulsar.o] Error 1

gcc -v
Reading specs from
/usr/lib/gcc/ppc-lynx-linux-gnubc/3.4.3/specs
Configured with: ../configure --prefix=/usr
--mandir=/usr/share/man --infodir=/cdt/share/info
--enable-threads=posix --enable-target-only
--disable-checking --enable-shared=yes
--enable-clocale=gnu --with-gnu-ld --with-gnu-as
--with-system-zlib --enable-__cxa_atexit
--enable-languages=c,c++
--with-lib-path=/:/lib/tls:/lib:/usr/lib/nptl:/usr/lib
--target=ppc-lynx-linux-gnubc
--host=ppc-lynx-linux-gnubc --build=i386-redhat-linux
Thread model: posix
gcc version 3.4.3

Discussion

  • Ming Zhang

    Ming Zhang - 2005-05-27

    Logged In: YES
    user_id=896657

    a little crazy, but it is ok on my 3.4.2. :P

    [mingz@amd64 ~]$ gcc -v
    Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.2/specs
    Configured with: ../configure --prefix=/usr
    --mandir=/usr/share/man --infodir=/usr/share/info
    --enable-shared --enable-threads=posix --disable-checking
    --with-system-zlib --enable-__cxa_atexit
    --disable-libunwind-exceptions
    --enable-languages=c,c++,objc,java,f77 --enable-java-awt=gtk
    --host=x86_64-redhat-linux
    Thread model: posix
    gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)

     
  • Dave Harder

    Dave Harder - 2005-05-27

    Logged In: YES
    user_id=565619

    P.S. I've noticed that Bugs item #1208968 had the same
    error message mixed in with the other error messages that
    have already been fixed. That user was also using 3.4.3.

    I don't have the option of downgrading to 3.4.2. (The system
    config is not under my control.)

     
  • Ming Zhang

    Ming Zhang - 2005-05-27

    Logged In: YES
    user_id=896657

    i just found that there are new gcc 3.4.x as updates. i did
    not update my box for a while.

    sorry. :P

    i will update now and see what happen. can we move to
    mailing list? i dislike this bug list. thanks.

    ming

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks