[dm-devel] [PATCH 15/15] Makefile.inc: Enable -Wextra and -Wformat-nonliteral

Bart Van Assche bart.vanassche at sandisk.com
Mon Oct 10 19:55:15 UTC 2016


On 10/10/2016 12:17 PM, Xose Vazquez Perez wrote:
> With this patch, clang is emitting four new warnings:

Hello Xose,

-Wformat-nonliteral helped me to catch a real bug. How about suppressing 
these warnings with a #pragma statement (see also 
http://clang.llvm.org/docs/UsersManual.html#controlling-diagnostics-via-pragmas)?

Bart.




More information about the dm-devel mailing list