Re: Turning a single warning into an error in dejagnu test

2014-08-27 Thread Marek Polacek
On Wed, Aug 27, 2014 at 10:59:40AM +0100, Dominik Vogt wrote: > I'm writing a dejagnu test and encounter this warning at one place: > > warning: passing argument 1 of '...' makes integer from pointer > without a cast [enabled by default] > > Now, I have a "{ dg-error ... }" comment in that li

Turning a single warning into an error in dejagnu test

2014-08-27 Thread Dominik Vogt
I'm writing a dejagnu test and encounter this warning at one place: warning: passing argument 1 of '...' makes integer from pointer without a cast [enabled by default] Now, I have a "{ dg-error ... }" comment in that line. The line is generated from a script among hundreds of others that are