This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/64223] same warning repeated twice with same line number


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64223

--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Mon, 8 Dec 2014, harald at gigawatt dot nl wrote:

> I do not know if the problem is in the headers (that they should not be
> specifying the format attribute), or in GCC (that it should be ignoring the
> format attribute if it's already known).

GCC is meant to ignore duplicate attributes; maybe the code in 
decl_attributes is failing to detect this one as duplicate for some 
reason.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]