public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: yotamm@mellanox.co.il
To: gcc-gnats@gcc.gnu.org
Subject: c++/9848: missing 'unused parameter' warning.
Date: Tue, 25 Feb 2003 14:06:00 -0000	[thread overview]
Message-ID: <20030225135854.27921.qmail@sources.redhat.com> (raw)


>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


                 reply	other threads:[~2003-02-25 14:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030225135854.27921.qmail@sources.redhat.com \
    --to=yotamm@mellanox.co.il \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).