On Fri, Feb 05, 2016 at 02:59:43PM +0000, Roy Marples wrote: > On 05/02/2016 12:35, Joerg Sonnenberger wrote: > > On Fri, Feb 05, 2016 at 12:03:17PM +0200, Andreas Gustafsson wrote: > >>> Log Message: > >>> dtrace needs Wno-format-security for clang it seems. > >>> > >>> To generate a diff of this commit: > >>> cvs rdiff -u -r1.6 -r1.7 src/external/cddl/osnet/usr.sbin/dtrace/Makefile > >> > >> This looks wrong to me - the warnings are pointing out actual bugs > >> that need to be fixed instead of just silencing the warnings. For > >> example, here: > > > > Even when they can't be easily fixed, it is much better to keep the > > warning and just make it non-fatal. > > > That would be making all warning non-fatal per file yes? > There isn't an option to make a specific warning non fatal?
-Wno-error=warning Joerg