This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/29358] Warning issued two times with snprintf
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Oct 2006 17:10:06 -0000
- Subject: [Bug c/29358] Warning issued two times with snprintf
- References: <bug-29358-13363@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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