Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: "'Andreas Schwab'" <schwab@linux-m68k.org>
Cc: "'Doug Evans'" <dje@google.com>, <gdb-patches@sourceware.org>
Subject: RE: [ob] inferior_thread: Remove "extern" in definition.
Date: Fri, 27 Mar 2009 17:17:00 -0000	[thread overview]
Message-ID: <008401c9aefd$1efe48f0$5cfadad0$@u-strasbg.fr> (raw)
In-Reply-To: <m263hvdvs5.fsf@igel.home>

> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Andreas Schwab
> Envoyé : Friday, March 27, 2009 12:56 PM
> À : Pierre Muller
> Cc : 'Doug Evans'; gdb-patches@sourceware.org
> Objet : Re: [ob] inferior_thread: Remove "extern" in definition.
> 
> "Pierre Muller" <muller@ics.u-strasbg.fr> writes:
> 
> > I am just very curious here:
> > why does GCC accept such non-sense?
> 
> It's not nonsense, but strict C.

  Sorry, I didn't mean to be offensive.

 
> > If it is the implementation, it can't be external at the same time...
> 
> "extern" is only about linkage.  In a definition if the linkage is not
> static then extern is implicit, but making it explicit is not an error.

Thanks for the explanation,


Pierre Muller
Pascal language support maintainer for GDB





      reply	other threads:[~2009-03-27 16:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-26 22:06 Doug Evans
2009-03-27  8:13 ` Pierre Muller
2009-03-27 13:57   ` Andreas Schwab
2009-03-27 17:17     ` Pierre Muller [this message]

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='008401c9aefd$1efe48f0$5cfadad0$@u-strasbg.fr' \
    --to=muller@ics.u-strasbg.fr \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=schwab@linux-m68k.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