[warning control] new -W[no-]error-foo option

DJ Delorie dj@redhat.com
Wed Jan 18 16:35:00 GMT 2006


> 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: ..."

Ah, I was wondering how to do that.  I did note that dg-error and
dg-warning didn't seem to differentiate on their own.



More information about the Gcc-patches mailing list