From: Bart Van Assche Subject: Re: [PATCH 15/15] Makefile.inc: Enable -Wextra and -Wformat-nonliteral Date: Mon, 10 Oct 2016 12:55:15 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Xose Vazquez Perez , device-mapper development List-Id: dm-devel.ids 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.