PATCH: Add format string suggestions to -Wformat warnings

Ollie Wild aaw@google.com
Fri Sep 14 01:30:00 GMT 2007


On 9/13/07, Joseph S. Myers <joseph@codesourcery.com> wrote:

> We're moving away from having dg-* as regular expressions to match
> multiple messages on one line to having a separate dg-* for each
> diagnostic (that way, you know if only some of the expected diagnostics on
> a line have disappeared).

That seems reasonable, but it contradicts feedback I've gotten from
previous patches.  For example, see
http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00119.html.

For consistency's sake, it might be worth publishing a test guidelines
doc.  Or does such a beast already exist?

Ollie



More information about the Gcc-patches mailing list