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