On 8 Nov 2012, at 09:11, Akim Demaille wrote: > Le 7 nov. 2012 à 21:19, Hans Aberg a écrit : > >> On 7 Nov 2012, at 18:40, Akim Demaille wrote: >> >>> Tomorrow, or so, I will send this message more broadly, unless >>> someone uncovers some issue. >> >> Using clang (as below) on Mac OS X 10.7.5, I got some warnings. All tried >> test passed, though. >> >> Hans > > Hi Hans, > > Thanks for the report. Actually, I don't care much about the warnings in > lib: that's mostly part of gnulib, and they don't fight too much against > compiler warnings they don't consider valid. This one is debatable, but > still, the code is valid. > > fprintf (stderr, file_name != NULL ? "%s:%d: " : " ", > file_name, line_number);
It is a dynamic check which cannot be verified statically, so the clang warning is perhaps inappropriate as default. Hans
