This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18605] __attribute__ ((format (printf, ...))) doesn't work in C++ methods
- From: "mkaufmann at student dot ethz dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2004 12:13:02 -0000
- Subject: [Bug c++/18605] __attribute__ ((format (printf, ...))) doesn't work in C++ methods
- References: <20041122091826.18605.mkaufmann@student.ethz.ch>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mkaufmann at student dot ethz dot ch 2004-11-22 12:12 -------
You're right, it's documented in the manual (Section 5.25: Declaring Attributes
of Functions). Thank you for pointing this out.
Of course this is not a part of the C++ standard, so you may keep this strange
syntax.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18605