This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35668] [4.3 Regression] printf attribute not recognized in template function
- From: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Mar 2008 18:50:38 -0000
- Subject: [Bug c++/35668] [4.3 Regression] printf attribute not recognized in template function
- References: <bug-35668-1313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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