On Mon, 22 Feb 2010, Dave Plater wrote:
Hi, I've started getting the following build failure on lilypond factory standard :- |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
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 Relating to the following line in ||spacing-spanner.cc :- all = vector
::vector (all.begin () + start, The whole picture :- vector
Spacing_spanner::get_columns (Grob *me_grob) { Spanner *me = dynamic_cast (me_grob); vector all (get_root_system (me)->used_columns ()); vsize start = binary_search (all, (Grob*)me->get_bound (LEFT), &Paper_column::less_than); vsize end = binary_search (all, (Grob*) me->get_bound (RIGHT), &Paper_column::less_than); all = vector
::vector (all.begin () + start,
drop the vector
all.begin () + end + 1); return all; }
The "*>" doesn't give an error in the line "||Spanner *me = dynamic_cast
(me_grob);" can somebody explain what to look for in this error because I will most probably find a lot of these errors after this one is fixed. Thanks Dave P | -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
--
Richard Guenther