This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [warning control] new -W[no-]error-foo option
DJ Delorie <dj@redhat.com> writes:
| > For this you really need every test to assert whether it is a warning or
| > an error, using
| >
| > dg-warning "warning: ..."
| >
| > or
| >
| > dg-error "error: ..."
|
| This doesn't seem to fully check the case with -Werror, because we
| print warnings (i.e. use dg-warning "warning: ...") but we need to
hmm, I thought that (somewhere in the discussion) we would be printing
"error: ..." in that case...
-- Gaby