[warning control] New #pragma GCC diagnostic

Gabriel Dos Reis gdr@cs.tamu.edu
Fri Jan 20 22:11:00 GMT 2006


On Fri, 20 Jan 2006, DJ Delorie wrote:

|
| > * Have -Werror act like a -Werror=* wildcard.
|
| First one.  I didn't preset the classify_diagnostics[] array because
| that interferes with the -Werror= options, as they're handled in the
| order they're encountered.  But, -Werror uses the kind-changing logic
| that -Werror= uses, resulting in consistent diagnostics (i.e. errors
| always say "error:", warnings always say "warning:").

OK.

Thanks!



More information about the Gcc-patches mailing list