Error after installing new version of gcc

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

 



I have installed Fedora 12 recently and compiled my already running
application in c++.

After compiling in newly installed OS I got huge error list, these errors
are common 
e.g.
error: ‘std::memchr’ is not a member of ‘std’
error: ‘std::sprintf’ has not been declared
error: ‘std::strcmp’ has not been declared
error: ‘std::strlen’ has not been declared
error: ‘std::memcpy’ has not been declared
error: ‘std::memset’ has not been declared
error: ‘std::strerror’ has not been declared

I am not getting these error in old version
here is old gcc version is 
Using built-in specs. Target: x86_64-redhat-linux Configured with:
../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --enable-checking=release
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20080704
(Red Hat 4.1.2-46) 

------------------------------------
new gcc version
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.3 20100127 (Red Hat 4.4.3-4) (GCC)

-----------------------------

Any clue to fix these issue without changing my source code??

Thanks in advance

-Manoj

-- 
View this message in context: http://old.nabble.com/Error-after-installing-new-version-of-gcc-tp27879757p27879757.html
Sent from the gcc - Help mailing list archive at Nabble.com.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux