This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/39438] Can't compile a wrapper around strftime with -Werror=format-nonliteral
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2009 09:40:09 -0000
- Subject: [Bug c/39438] Can't compile a wrapper around strftime with -Werror=format-nonliteral
- References: <bug-39438-17434@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-03-12 09:40 -------
It won't work. You can either put the wrapper in a system header (add
#pragma GCC system_header) or build this TU with -fno-builtin-strftime.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438