[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compile failure with latest CVS
From: |
Mats Bengtsson |
Subject: |
Compile failure with latest CVS |
Date: |
Fri, 27 Oct 2006 10:57:50 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060909) |
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
--
=============================================
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: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================
- Compile failure with latest CVS,
Mats Bengtsson <=