]> git.donarmstrong.com Git - lilypond.git/commit
Add a new program option: -dwarning-as-error
authorPatrick McCarty <pnorcks@gmail.com>
Sun, 5 Jul 2009 19:56:34 +0000 (12:56 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Thu, 16 Jul 2009 06:12:23 +0000 (23:12 -0700)
commit0af04b384b79837d4da7b2bab314066c7f947b20
treec205467b37b6ea6c2aa727cf668d1f488236c405
parent0a615065b6c6f29661785e9b1a34824b1f0eea3a
Add a new program option: -dwarning-as-error

(Thanks to Han-Wen and Jan for the initial idea)

- If a valid stencil expression is found, but is
undefined in the current backend, issue a warning
for every occurrence.

- The option -dwarning-as-error will cause LilyPond
to output an error and exit upon the first warning
encountered.
lily/paper-outputter.cc
lily/program-option-scheme.cc
scm/backend-library.scm
scm/lily.scm