https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438
--- Comment #12 from Alexander Amelkin ---
Also happens with `gcc (Ubuntu 8.1.0-5ubuntu1~16.04) 8.1.0`
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438
Alexander Amelkin changed:
What|Removed |Added
CC||groungccg at amelkin dot msk.ru
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438
Manuel López-Ibáñez manu at gcc dot gnu.org changed:
What|Removed |Added
Keywords||diagnostic
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438
Manuel López-Ibáñez manu at gcc dot gnu.org changed:
What|Removed |Added
CC||manu at gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438
--- Comment #6 from D. Hugh Redelmeier hugh at mimosa dot com ---
Responding to Comment 5 by Manuel López-Ibáñez:
Thanks for looking at this.
Could you produce a complete testcase
===
/* compile with -c -Wformat -Werror=format-nonliteral */
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438
--- Comment #7 from Manuel López-Ibáñez manu at gcc dot gnu.org ---
(In reply to D. Hugh Redelmeier from comment #6)
The best would be to include only the definitions of the types that you
need and declare as 'extern' library functions that
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438
--- Comment #8 from Manuel López-Ibáñez manu at gcc dot gnu.org ---
(In reply to D. Hugh Redelmeier from comment #6)
If you can produce another similar example that works with printf, that
would also help.
I don't think that printf is
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438
--- Comment #9 from D. Hugh Redelmeier hugh at mimosa dot com ---
Created attachment 32784
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32784action=edit
minimal C source code that demonstrates the problem
minimal C source code that
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438
Timo Sirainen tss at iki dot fi changed:
What|Removed |Added
CC||tss at iki dot fi
---
--- 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
--- Comment #2 from 4tmuelle at informatik dot uni-hamburg dot de
2009-03-12 09:58 ---
Hey Richard. Thanks for the timely feedback.
As far as I know, it works more or less good for printf-wrappers. So I expected
this to be working for strftime as well.
I don't think that your
11 matches
Mail list logo