[Bug c++/35668] [4.3 Regression] printf attribute not recognized in template function
ian at airs dot com
gcc-bugzilla@gcc.gnu.org
Sat Mar 22 18:51:00 GMT 2008
------- Comment #1 from ian at airs dot com 2008-03-22 18:50 -------
By the way, note that the error is reported at line 3, but there is no
__printf__ on that line at all. This makes the error more confusing in typical
usage, where the declaration is in a .h file and the definition is in a .cc
file. The error is reported on the definition, not the declaration.
But of course no error should be reported in any case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35668
More information about the Gcc-bugs
mailing list