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
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel