lilypond-devel
[Top][All Lists]
Advanced

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

make broken on OSX 10.5.8


From: Carl Sorensen
Subject: make broken on OSX 10.5.8
Date: Sat, 29 Oct 2011 22:27:51 +0000
User-agent: Microsoft-MacOutlook/14.13.0.110805

Having some time to do some work on LilyPond, I grabbed a fresh master.

It no longer builds on OSX.

The compile fails in lily/staff-symbol.cc, with the following:

staff-symbol.cc: In static member function 'static std::vector<Real,
std::allocator<Real> > Staff_symbol::line_positions(Grob*)':
staff-symbol.cc:107: error: no matching function for call to
'std::vector<Real, std::allocator<Real> >::vector(int&)'
../flower/include/std-vector.hh:96: note: candidates are: std::vector<T,
A>::vector(typename std::__flower_vector<T, std::allocator<_CharT>
>::const_iterator, typename std::__flower_vector<T, std::allocator<_CharT>
>>::const_iterator) [with T = Real, A = std::allocator<Real>]
../flower/include/std-vector.hh:92: note:                 std::vector<T,
A>::vector(const std::vector<T, A>&) [with T = Real, A =
std::allocator<Real>]
../flower/include/std-vector.hh:88: note:                 std::vector<T,
A>::vector() [with T = Real, A = std::allocator<Real>]
staff-symbol.cc:120: error: no matching function for call to
'std::vector<Real, std::allocator<Real> >::vector(int&)'
../flower/include/std-vector.hh:96: note: candidates are: std::vector<T,
A>::vector(typename std::__flower_vector<T, std::allocator<_CharT>
>::const_iterator, typename std::__flower_vector<T, std::allocator<_CharT>
>>::const_iterator) [with T = Real, A = std::allocator<Real>]
../flower/include/std-vector.hh:92: note:                 std::vector<T,
A>::vector(const std::vector<T, A>&) [with T = Real, A =
std::allocator<Real>]
../flower/include/std-vector.hh:88: note:                 std::vector<T,
A>::vector() [with T = Real, A = std::allocator<Real>]
make[1]: *** [out/staff-symbol.o] Error 1
make: *** [all] Error 2


The code at hand is the following:

107       vector<Real> values (line_count);

120       vector<Real> values (line_count);




The code was introduced in d10ec4f5a95d5b205da1bd73102697f8cc03b5b6

Can anybody give me suggestions as to how to fix this?

Thanks,

Carl








reply via email to

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