Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Elias Athanasopoulos <eathan@otenet.gr>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb@sources.redhat.com, gcc-bugs@gcc.gnu.org
Subject: Re: -Wimplicit
Date: Mon, 04 Nov 2002 09:12:00 -0000	[thread overview]
Message-ID: <20021104203146.C2076@neutrino.particles.org> (raw)
In-Reply-To: <20021104154252.GB20768@nevyn.them.org>; from drow@mvista.com on Mon, Nov 04, 2002 at 10:42:52AM -0500

Hi Daniel,

On Mon, Nov 04, 2002 at 10:42:52AM -0500, Daniel Jacobowitz wrote:
> On Mon, Nov 04, 2002 at 06:57:51PM +0200, Elias Athanasopoulos wrote:
> > Hi all,
> > 
> > Why gdb builts with -Wimplicit? With gcc from CVS I get:
> > 
> > cc1: warning: "-Wimplicit" is valid for C++ but not for C/ObjC
> 
> That's a bug in GCC then; it's a valid warning in C.

I agree. It seems that the bug introduced in this patch:

http://gcc.gnu.org/ml/gcc-patches/2002-08/msg00214.htmli

In the lines:

+  OPT("Wimplicit",           CL_CXX,   OPT_Wimplicit)                     \                      
+  OPT("Wimplicit-function-declaration",      CL_C, OPT_Wimplicit_function_decl)   \              
+  OPT("Wimplicit-int",               CL_C,     OPT_Wimplicit_int)                 \              
   
Elias


  reply	other threads:[~2002-11-04 17:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-04  7:37 -Wimplicit Elias Athanasopoulos
2002-11-04  7:42 ` -Wimplicit Daniel Jacobowitz
2002-11-04  9:12   ` Elias Athanasopoulos [this message]
2002-11-09  4:36   ` -Wimplicit Neil Booth

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=20021104203146.C2076@neutrino.particles.org \
    --to=eathan@otenet.gr \
    --cc=drow@mvista.com \
    --cc=gcc-bugs@gcc.gnu.org \
    --cc=gdb@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