lilypond-devel
[Top][All Lists]
Advanced

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

Re: Compile failure with latest CVS


From: Mats Bengtsson
Subject: Re: Compile failure with latest CVS
Date: Tue, 31 Oct 2006 09:04:01 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060909)

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<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
=============================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]