When running make all on OS X 10.6.2, I get the following C++ compilation error:
In file included from /usr/include/c++/4.2.1/vector:70,
from ./include/std-vector.hh:78,
from ./include/file-name.hh:23,
from file-name.cc:21:
/usr/include/c++/4.2.1/bits/stl_vector.h:162: error: template class without a
name
/usr/include/c++/4.2.1/bits/stl_vector.h:170: error: expected unqualified-id
before '<' token
...and things go downhill from there, flooding the screen with C++ syntax
errors.
According to the discussion in
http://www.mail-archive.com/[email protected]/msg29280.html,
there is a workaround, issuing the command
perl -pi -e 's|__vector|lily_vector|g' flower/include/std-vector.hh
solves the problem.
If it compiles well on other platforms with it, LilyPond should contain the
patched version of std-vector.hh.
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond