This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]