[Bug c++/52818] printf format %lf is erroneously rejected by C++11

slipcon at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 18 16:48:00 GMT 2012


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

Scott Lipcon <slipcon at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slipcon at gmail dot com

--- Comment #5 from Scott Lipcon <slipcon at gmail dot com> 2012-07-18 16:48:03 UTC ---
I'm not sure how gcc development process goes - but could this be considered
for inclusion in gcc 4.7.2?   The patch applies cleanly and seems to work
against 4.7.1, but we don't want to run local patches of gcc for obvious
reasons.   This issue is making 64-bit support in our code difficult,
specifically for formatting size_t values using C99's %zu formatter, which 'g++
-std=c++0x -pedantic' is rejecting.  Thanks.



More information about the Gcc-bugs mailing list