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<char>, _Alloc =
std::allocator<char>]':
/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<char>, _Alloc = std::allocator<char>]'
/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<char>, _Alloc =
std::allocator<char>]'
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