[Top][All Lists]
[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).
- gl_MANYWARN_ALL_GCC() leads to many spurious warnings, Samuel Bronson, 2012/07/06
- Re: gl_MANYWARN_ALL_GCC() leads to many spurious warnings, Paul Eggert, 2012/07/06
- Re: gl_MANYWARN_ALL_GCC() leads to many spurious warnings, Samuel Bronson, 2012/07/06
- Re: gl_MANYWARN_ALL_GCC() leads to many spurious warnings, Paul Eggert, 2012/07/07
- Re: gl_MANYWARN_ALL_GCC() leads to many spurious warnings, Samuel Bronson, 2012/07/07
- Re: gl_MANYWARN_ALL_GCC() leads to many spurious warnings,
Paul Eggert <=
- Re: gl_MANYWARN_ALL_GCC() leads to many spurious warnings, Samuel Bronson, 2012/07/08
- Re: gl_MANYWARN_ALL_GCC() leads to many spurious warnings, Paul Eggert, 2012/07/08
- Re: gl_MANYWARN_ALL_GCC() leads to many spurious warnings, Samuel Bronson, 2012/07/09
- Re: gl_MANYWARN_ALL_GCC() leads to many spurious warnings, Samuel Bronson, 2012/07/10