[Bug c++/50593] [C++0x] improve __attribute__((format(printf)))
david at rgmadvisors dot com
gcc-bugzilla@gcc.gnu.org
Tue Nov 8 21:59:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50593
--- Comment #6 from David Oliver <david at rgmadvisors dot com> 2011-11-08 21:55:46 UTC ---
Created attachment 25760
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25760
8 Tests plus 1.
I've added test 9 to Ben's set which is a likely usage of the feature, e.g.
automatically converting std::string to a C string for printf().
Unsurprisingly, this case also fails on 4.6.2.
Cheers!
David.
More information about the Gcc-bugs
mailing list