Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Eli Zaretskii <eliz@is.elta.co.il>, gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc; rfa:doco] Add -Wunused-function to -Werror list
Date: Sun, 15 Feb 2004 23:28:00 -0000	[thread overview]
Message-ID: <4030007F.6010407@gnu.org> (raw)
In-Reply-To: <402BCB69.1080100@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

> Hello,
> 
> This finally adds the -Wunused-function warning to the list of warnings enforced with -Werror.  It also mentions it in the doco.

I've checked in the config change, Eli, how's the doco?

Andrew


> 2004-02-12  Andrew Cagney  <cagney@redhat.com>
> 
> 	* configure.in (build_warnings): Add -Wunused-function.
> 	* configure: Re-generate.
> 
> Index: doc/ChangeLog
> 2004-02-12  Andrew Cagney  <cagney@redhat.com>
> 
> 	* gdbint.texinfo (Coding): Mention -Wunused-function.
> 


[-- Attachment #2: mailbox-message://ac131313@movemail/fsf/gdb/patches#637159 --]
[-- Type: message/rfc822, Size: 3788 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 165 bytes --]

Hello,

This finally adds the -Wunused-function warning to the list of warnings 
enforced with -Werror.  It also mentions it in the doco.

comments, doco ok?
Andrew

[-- Attachment #2.1.2: diffs --]
[-- Type: text/plain, Size: 1428 bytes --]

2004-02-12  Andrew Cagney  <cagney@redhat.com>

	* configure.in (build_warnings): Add -Wunused-function.
	* configure: Re-generate.

Index: doc/ChangeLog
2004-02-12  Andrew Cagney  <cagney@redhat.com>

	* gdbint.texinfo (Coding): Mention -Wunused-function.

Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.144
diff -u -r1.144 configure.in
--- configure.in	8 Feb 2004 17:53:08 -0000	1.144
+++ configure.in	12 Feb 2004 18:49:08 -0000
@@ -1008,7 +1008,7 @@
 # gdb/doc/gdbint.texinfo.
 build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
 -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral \
--Wunused-label"
+-Wunused-label -Wunused-function"
 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
 # -Wunused-function -Wunused-variable -Wunused-value
 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
Index: doc/gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.185
diff -u -r1.185 gdbint.texinfo
--- doc/gdbint.texinfo	12 Feb 2004 17:46:40 -0000	1.185
+++ doc/gdbint.texinfo	12 Feb 2004 18:49:10 -0000
@@ -5154,6 +5154,8 @@
     break;
   @}
 @end smallexample
+
+@item -Wunused-function
 @end table
 
 @emph{Pragmatics: Due to the way that @value{GDBN} is implemented most

  reply	other threads:[~2004-02-15 23:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-12 18:52 Andrew Cagney
2004-02-15 23:28 ` Andrew Cagney [this message]
2004-02-16 10:09   ` Eli Zaretskii
2004-02-16 18:20     ` Andrew Cagney

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=4030007F.6010407@gnu.org \
    --to=cagney@gnu.org \
    --cc=eliz@is.elta.co.il \
    --cc=gdb-patches@sources.redhat.com \
    /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