public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/9848: missing 'unused parameter' warning.
@ 2003-02-25 14:06 yotamm
0 siblings, 0 replies; only message in thread
From: yotamm @ 2003-02-25 14:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 9848
>Category: c++
>Synopsis: missing 'unused parameter' warning.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 25 14:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Yotam Medini
>Release: 3.2
>Organization:
>Environment:
Gnu/Linux/Mandrake9.0
>Description:
This warning works nicely on 2.96
mtlsv61:27> g++ --version; g++ -c -Wunused-parameter unused.cpp
2.96
unused.cpp: In method `C::C (int, int)':
unused.cpp:9: warning: unused parameter `int bi'
mtls47:1163> g++ --version; g++ -c -Wunused-parameter unused.cpp
g++ (GCC) 3.2 (Mandrake Linux 9.0 3.2-1mdk)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
mtls47:1164>
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="unused.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="unused.cpp"
c3RydWN0IEIgewogICBCKGludCBiaSA9IDApIDogX2JpKGJpKSB7fQogICBpbnQgX2JpOwp9OyAv
LyBCCgppbnQgZHVtOwoKc3RydWN0IEMgOiBwdWJsaWMgQiB7CiAgQyhpbnQgYmksIGludCBjaSkg
OiAKICAgICAvLyBCKGJpKSwgICBmb3JnZXR0aW5nLi4uLgogICAgIF9jaShjaSkKICAgICB7fQog
IGludCBfY2k7Cn07IC8vIEMKCnZvaWQgc2hvd19jb21waWxlX3dhcm5pbmcoKSB7IEMgYyg3LCAx
MSk7IH0K
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-25 14:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-25 14:06 c++/9848: missing 'unused parameter' warning yotamm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).