This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/35668] [4.3 Regression] printf attribute not recognized in template function



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]