enable-werror-always relevant?

Paulo J. Matos paulo@matos-sorge.com
Sat Jan 18 20:20:00 GMT 2014


Hello,

Do we care if trunk doesn't compile successfully with 
--enable-werror-always?

Do we want to fix things like:
../../../../gcc-trunk/fixincludes/server.c: In function ‘server_setup’:
../../../../gcc-trunk/fixincludes/server.c:195:10: error: ignoring 
return value of ‘getcwd’, declared with attribute warn_unused_result 
[-Werror=unused-result]
    getcwd (buff, MAXPATHLEN + 1);
           ^
cc1: all warnings being treated as errors

This head of trunk.


-- 
PMatos



More information about the Gcc mailing list