From: Andreas Schwab <schwab@linux-m68k.org>
To: "Pierre Muller" <muller@ics.u-strasbg.fr>
Cc: "'Doug Evans'" <dje@google.com>, <gdb-patches@sourceware.org>
Subject: Re: [ob] inferior_thread: Remove "extern" in definition.
Date: Fri, 27 Mar 2009 13:57:00 -0000 [thread overview]
Message-ID: <m263hvdvs5.fsf@igel.home> (raw)
In-Reply-To: <001001c9aeb2$e08b3140$a1a193c0$@u-strasbg.fr> (Pierre Muller's message of "Fri, 27 Mar 2009 09:06:04 +0100")
"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.
> 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.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2009-03-27 11:56 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 [this message]
2009-03-27 17:17 ` Pierre Muller
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=m263hvdvs5.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=dje@google.com \
--cc=gdb-patches@sourceware.org \
--cc=muller@ics.u-strasbg.fr \
/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