DescriptionGet rid of some compiler warnings
-) Some "unused parameter" warnings
-) Some "ignoring return value" are a bit trickier. They are bad coding style:
o) the file-name.cc one returns a string with undefined contents if getcwd
fails, which might either crash guile or lead to other bugs.
o) the lily-parser-scheme.cc warning was also a programming error (if you
used --output=dir/file, and dir/ had the wrong permissions, then
lilypond would not print an error, but simply put the output file into
the current directory without telling the user!).
In this case (output dir explicitly requested, but not possible
to change there), I think it's best to exit lilypond with an
error.
-) signed/unsigned warning in glissando-engraver.cc, where we already
had a check for negative values, so explicitly casting to unsigned
shuts up the compiler.
-) Wrap #(set-paper-size "a6") in the regtests with a \paper block
-) fix bad texinfo code in function documentation
Patch Set 1 #Patch Set 2 : Axis argument of Skyline should not be ignored. #
Total comments: 4
Patch Set 3 : One more unused variable #
Total comments: 5
Patch Set 4 : Fix regtest differences #
MessagesTotal messages: 7
|