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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/10/2016 09:55 PM, Bart Van Assche wrote:

> On 10/10/2016 12:17 PM, Xose Vazquez Perez wrote:
>>
>> With this patch, clang is emitting four new warnings:
>
> -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)?

I don't know if it's worth pollutes the code to save a pair of clang warnings.

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux