On Tue, 2009-07-07 at 01:24 -0700, Patrick McCarty wrote: > On Tue, Jul 07, 2009 at 08:16:45AM +0200, Werner LEMBERG wrote: > > > > > The new option, -dwarning-as-error, does *not* turn every warning into > > > an error. It only turns specific warnings (that don't exist without > > > this patch) into errors. > > > > Then the name is indeed too generic and should be temporarily renamed > > to something more specific until the code has been improved to convert > > all warnings to errors. > > I think it would be better to work on creating a generic > -dwarning-as-error now instead. > > I can see how to do it on the Scheme side (a simple rebinding). Would > I need to write preprocessor macros to achieve this for the C++ code?
On the C++ side, all warnings and programming_errors go through Grob::programming_error, Grob::warning, Input::programming_error or Input::warning. So you'd just need to modify those 4 functions. Joe _______________________________________________ lilypond-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-devel
