Re: Compile failure with latest CVS
Han-Wen Nienhuys wrote: Mats Bengtsson escreveu: Hi, This problem still remains with todays CVS version. Regarding the gcc version, the relevant information is of course that my "g++4" is: gcc version 4.1.0 /Mats I don't understand, your log shows /usr/include/c++/3.4.3/bits/basic_string.h:178: warning: dereferencing are you using 3.4 (unsupported) or 4.1 ? I'm using the g++4 included in RedHat Enterprise Linux 4, which apparantly uses libstdc++ version 3.4.3: >> g++4 -v Using built-in specs. Target: i386-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 --with-gxx-include-dir=/usr/include/c++/3.4.3 --enable-libgcj-multifile --enable-languages=c,c++,java,f95 --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.0 20060515 (Red Hat 4.1.0-18) I noticed that the RPM documentation for gcc4 says "The gcc4 package contains preview of the GNU Compiler Collection version 4.1." so maybe they don't care that it's no fully functional. I tried to Google for the problem but couldn't find anything relevant (actually, one of my problems was to make Google treat the plus signs in g++4 as ordinary characters). Anyway, I managed to compile the latest CVS with gcc version 3.4.6. Thanks for the hint! /Mats ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Compile failure with latest CVS
Mats Bengtsson escreveu: Hi, This problem still remains with todays CVS version. Regarding the gcc version, the relevant information is of course that my "g++4" is: gcc version 4.1.0 /Mats I don't understand, your log shows /usr/include/c++/3.4.3/bits/basic_string.h:178: warning: dereferencing are you using 3.4 (unsupported) or 4.1 ? -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Compile failure with latest CVS
Hi, This problem still remains with todays CVS version. Regarding the gcc version, the relevant information is of course that my "g++4" is: gcc version 4.1.0 /Mats Mats Bengtsson wrote: When I try to build the latest CVS version, it ends with rm -f ./out/file-name.dep; DEPENDENCIES_OUTPUT="./out/file-name.dep ./out/file-name.o" g++4 -c -DHAVE_CONFIG_H -DNDEBUG -I./include -I./out -I../flower/include -I../flower/./out -O2 -finline-functions -g -pipe -Werror -I/nobackup/include -pthread -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include-W -Wall -Wconversion -o out/file-name.o file-name.cc cc1plus: warnings being treated as errors /usr/include/c++/3.4.3/bits/basic_string.h: In static member function 'static std::basic_string<_CharT, _Traits, _Alloc>::_Rep& std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_empty_rep() [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]': /usr/include/c++/3.4.3/bits/basic_string.h:215: instantiated from 'void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_dispose(const _Alloc&) [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]' /usr/include/c++/3.4.3/bits/basic_string.h:418: instantiated from 'std::basic_string<_CharT, _Traits, _Alloc>::~basic_string() [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]' file-name.cc:66: instantiated from here /usr/include/c++/3.4.3/bits/basic_string.h:178: warning: dereferencing type-punned pointer will break strict-aliasing rules make[1]: *** [out/file-name.o] Error 1 make[1]: Leaving directory `/nobackup/lilypond/flower' make: *** [all] Error 2 This is using gcc version 3.4.6. /Mats -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Compile failure with latest CVS
When I try to build the latest CVS version, it ends with rm -f ./out/file-name.dep; DEPENDENCIES_OUTPUT="./out/file-name.dep ./out/file-name.o" g++4 -c -DHAVE_CONFIG_H -DNDEBUG -I./include -I./out -I../flower/include -I../flower/./out -O2 -finline-functions -g -pipe -Werror -I/nobackup/include -pthread -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include-W -Wall -Wconversion -o out/file-name.o file-name.cc cc1plus: warnings being treated as errors /usr/include/c++/3.4.3/bits/basic_string.h: In static member function 'static std::basic_string<_CharT, _Traits, _Alloc>::_Rep& std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_empty_rep() [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]': /usr/include/c++/3.4.3/bits/basic_string.h:215: instantiated from 'void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_dispose(const _Alloc&) [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]' /usr/include/c++/3.4.3/bits/basic_string.h:418: instantiated from 'std::basic_string<_CharT, _Traits, _Alloc>::~basic_string() [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]' file-name.cc:66: instantiated from here /usr/include/c++/3.4.3/bits/basic_string.h:178: warning: dereferencing type-punned pointer will break strict-aliasing rules make[1]: *** [out/file-name.o] Error 1 make[1]: Leaving directory `/nobackup/lilypond/flower' make: *** [all] Error 2 This is using gcc version 3.4.6. /Mats -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel