Status: Accepted
Owner: ----
Labels: Type-Maintainability

New issue 2013 by [email protected]: clang error flower/file-name.cc
http://code.google.com/p/lilypond/issues/detail?id=2013

anybody know the C++ spec? haha, yeah right, nobody actually knows all the C++ spec. Correction: does anybody know the relevant part of the C++ spec to judge whether this is a valid error or not, and if so, how to fix it? should we just make something explicitly return a (void), or add a variable type, or...?


In file included from /home/gperciva/src/lilypond/flower/file-name.cc:21:
In file included from /home/gperciva/src/lilypond/flower/include/file-name.hh:23: /home/gperciva/src/lilypond/flower/include/std-vector.hh:197:36: error: 'T' does not refer to a value
               Compare less = less<T> (),
                                   ^
/home/gperciva/src/lilypond/flower/include/std-vector.hh:193:19: note: declared here
template<typename T, typename Compare>
                  ^
/home/gperciva/src/lilypond/flower/include/std-vector.hh:197:40: error: expected expression
               Compare less = less<T> (),
                                       ^
2 errors generated.



_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to