[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem building lilypond 2.12.3 with gcc45
From: |
Dave Plater |
Subject: |
Re: Problem building lilypond 2.12.3 with gcc45 |
Date: |
Mon, 22 Feb 2010 17:29:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-1.1.1 Thunderbird/3.0 |
On 02/22/2010 01:39 PM, Dave Plater wrote:
> On 02/22/2010 09:02 AM, Dave Plater wrote:
>
>> Hi, I maintain lilypond for openSUSE and factory builds have switched to
>> gcc45 and I'm now getting build failures. The build fails at :-
>> |rm -f ./out/spacing-spanner.dep;
>> DEPENDENCIES_OUTPUT="./out/spacing-spanner.dep ./out/spacing-spanner.o" g++
>> -c -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
>> -funwind-tables -fasynchronous-unwind-tables -ggdb -Woverloaded-virtual
>> -I/usr/include/python2.6 -I/usr/include/python2.6 -fno-strict-aliasing
>> -fmessage-length=0 -fstack-protector -funwind-tables
>> -fasynchronous-unwind-tables -g -fwrapv -DHAVE_CONFIG_H -DNDEBUG
>> -I./include -I./out -I../flower/include -I../flower/./out
>> -I../flower/include -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
>> -fstack-protector -funwind-tables -fasynchronous-unwind-tables -ggdb -O2
>> -finline-functions -g -pipe -pthread -I/usr/include/freetype2 -pthread
>> -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
>> -I/usr/lib64/glib-2.0/include -Wno-pmf-conversions -W -Wall -Wconversion
>> -o out/spacing-spanner.o spacing-spanner.cc
>> spacing-spanner.cc: In static member function 'static std::vector<Grob*>
>> Spacing_spanner::get_columns(Grob*)':
>> spacing-spanner.cc:41:35: error: expected primary-expression before '*' token
>> spacing-spanner.cc:41:36: error: expected primary-expression before '>' token
>> make[1]: *** [out/spacing-spanner.o] Error 1
>>
>> Has anyone fixed this problem yet?
>> Regards
>> Dave P
>>
>>
> I've fixed the issue with the help of openSUSE's gcc expert. In
> spanner.cc:41, " all = vector<Grob*>::vector<Grob*> (all.begin () +
> start," drop the vector<Grob*>:: - constructors should not be called
> directly.
> I've attached my patch.
> Regards
> Dave P
>
The patch breaks lilypond so disregard it but I still have the build
problem.
Regards
Dave P