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: [libbacktrace] Fix warning as error in btest.c and hence `make test`


On Thu, 4 Oct 2012, Ian Lance Taylor wrote:
>> cc1: warnings being treated as errors
>> /scratch/tmp/gerald/gcc-HEAD/libbacktrace/btest.c: In function 'f23':
>> /scratch/tmp/gerald/gcc-HEAD/libbacktrace/btest.c:476: warning: 'expected' may be used uninitialized in this function
>> gmake[3]: *** [btest-btest.o] Error 1
>> gmake[3]: Target `btest' not remade because of errors.
>>
>> Doesn't this mean that effectively the test is not executed?
> I don't think so, not sure what you are getting at here.  

With "warnings being treated as error" the warning lead to
"btest-btest.o] Error 1" and so I thought the build did not
actually go through.

Anyway, after my patch this is now gone. :-)  Thanks for the
quick review!

Gerald


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