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/29358] Warning issued two times with snprintf



------- Comment #2 from joseph at codesourcery dot com  2006-10-05 17:10 -------
Subject: Re:  Warning issued two times with snprintf

On Thu, 5 Oct 2006, pinskia at gcc dot gnu dot org wrote:

> uint32_t is unsigned int on those targets and this is not a bug.

Did you read the bug report?  The problem is that the warning is issued 
twice when it should be issued once.

I'd guess that the issue that that the system header declares the function 
with a format attribute, and such an attribute is also built in, and the 
duplicate attributes don't get eliminated properly.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29358


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