------- Comment #2 from tromey at gcc dot gnu dot org 2008-01-07 20:08 ------- I agree this is a bug.
I think this patch is insufficient. For best results I think that libcpp and diagnostic.c should agree on whether the "warnins being treated as errors" message has been emitted. One way to do this would be to finally switch libcpp to emit all errors via diagnostic.c. Though I suppose that, even if we do this, we may still need something like this patch for other users of libcpp. -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-01-07 20:08:47 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34695