http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54582
--- Comment #13 from David Binderman <dcb314 at hotmail dot com> 2013-02-07 21:21:56 UTC --- Created attachment 29391 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29391 C++ source code This code doesn't understand all sprintf % specifiers. It is future work to make it understand more specifiers.