emacs-devel
[Top][All Lists]
Advanced

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

Re: gl_MANYWARN_ALL_GCC() leads to many spurious warnings


From: Paul Eggert
Subject: Re: gl_MANYWARN_ALL_GCC() leads to many spurious warnings
Date: Sun, 08 Jul 2012 00:32:31 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 07/07/2012 05:41 PM, Samuel Bronson wrote:
> /Users/user/hacking/emacs/src/nsterm.m:5041:5: warning: format not a string 
> literal and no format arguments [-Wformat-security]

I don't grok ObjC well enough to help out much, but it is
possible to disable a bogus warning like that selectively,
as in the following example.

> /Users/user/hacking/emacs/lib-src/../src/regex.c:805:0: warning: macro 
> "CHARSET_RANGE_TABLE_BITS" is not used [-Wunused-macros] 

That warning should be suppresed by the following line in
regex.c:

> #  pragma GCC diagnostic ignored "-Wunused-macros"

Could you investigate why that isn't working for you?
It works for me (GCC 4.7.1).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]