[Bug c++/11191] Applying format attribute to member functions is off by one

jsm28@cam.ac.uk gcc-bugzilla@gcc.gnu.org
Sat Jun 14 09:48:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11191



------- Additional Comments From jsm28@cam.ac.uk  2003-06-14 09:48 -------
Subject: Re:  New: Applying format attribute to member functions
 is off by one

On Sat, 14 Jun 2003, schepler@math.berkeley.edu wrote:

> class Scanner { 
> public: 
>   void scanLine(const char *fmt, ...) __attribute__((format(scanf,1,2))); 
> }; 

How to apply format attributes to member functions is documented, but only
on mainline.  Perhaps
<http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01393.html> should be merged
to the 3.3 branch.



More information about the Gcc-bugs mailing list