c++/1607: Format attributes on methods undocumented

Joseph Myers jsm28@cam.ac.uk
Wed Jan 10 09:36:00 GMT 2001


>Number:         1607
>Category:       c++
>Synopsis:       Format attributes on methods undocumented
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 10 09:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Joseph S. Myers
>Release:        2.97 20010110 (experimental)
>Organization:
none
>Environment:
System: Linux decomino 2.2.18 #1 Sun Jan 7 21:04:55 UTC 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-cvs/configure --prefix=/opt/gcc/snapshot --disable-shared --enable-threads=posix --with-system-zlib
>Description:

In <URL: http://gcc.gnu.org/ml/gcc-bugs/1998-12/msg00022.html > it was
reported that format attributes didn't work on methods.  The example
given now works, but it isn't documented that argument numbers must be
increased in this case to allow for a hidden argument 1 (as discussed
in that message).

>How-To-Repeat:

See example in the indicated message.

>Fix:

Someone who knows C++ (so not me) should add documentation to the
description of format attributes in extend.texi discussing their use
on C++ methods.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-bugs mailing list