X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Fpaper-outputter.cc;h=3f98b8eb869322c294e42ddfcf935f754113bb92;hb=6e4bfaef2385236187ff3f3fc42501c439e7b5b4;hp=d3b99055e9191d72a3e120d172697173d2acea6c;hpb=eeec992b7029d0982bf4ed0eb3995e9ca99c10e9;p=lilypond.git diff --git a/lily/paper-outputter.cc b/lily/paper-outputter.cc index d3b99055e9..3f98b8eb86 100644 --- a/lily/paper-outputter.cc +++ b/lily/paper-outputter.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2008 Han-Wen Nienhuys + (c) 1997--2009 Han-Wen Nienhuys Jan Nieuwenhuizen */ @@ -37,6 +37,13 @@ Paper_outputter::Paper_outputter (SCM port, string format) string module_name = "scm output-" + format; output_module_ = scm_c_resolve_module (module_name.c_str ()); + + /* + Enable errors for undefined stencil routines if + -dwarning-as-error is specified; else enable warnings. + */ + SCM proc = ly_lily_module_constant ("backend-testing"); + scm_call_1 (proc, output_module_); } Paper_outputter::~Paper_outputter ()