public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Gabriel Dos Reis <dosreis@gmail.com>
To: "Manuel López-Ibáñez" <lopezibanez@gmail.com>
Cc: "Joseph S. Myers" <joseph@codesourcery.com>,
	Ian Lance Taylor <iant@google.com>,
	gcc@gcc.gnu.org
Subject: Re: gcc-in-cxx update
Date: Fri, 01 May 2009 05:53:00 -0000	[thread overview]
Message-ID: <206fcf960904302253s1fe46f2fo235c0e6966b8c0cd@mail.gmail.com> (raw)
In-Reply-To: <6c33472e0904290642j4b243ba3u4ec76b71b0c0e410@mail.gmail.com>

On Wed, Apr 29, 2009 at 8:42 AM, Manuel López-Ibáñez
<lopezibanez@gmail.com> wrote:

>>>
>>> BTW, why is this warned about?
>>
>> I imagine because in C it is not conventional to use "extern" when
>> defining something, only on a declaration that is not a definition.
>
> But may it lead to some confusion or subtle error? It seems overly
> pedantic to me if it is just a matter of style, because  extern is
> implicit if missing,
>
> If one wants to use the same code in C and C++, then it is definitely
> a spurious warning in my opinion.

I do not understand your reasoning.

-- Gaby

  parent reply	other threads:[~2009-05-01  5:53 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29 11:22 Ian Lance Taylor
2009-04-29 11:27 ` Richard Guenther
2009-04-29 14:54   ` Ian Lance Taylor
2009-04-29 13:26 ` Joseph S. Myers
2009-04-29 13:42   ` Manuel López-Ibáñez
2009-04-29 13:56     ` Joseph S. Myers
2009-04-29 14:23       ` Manuel López-Ibáñez
2009-04-29 15:55         ` Joseph S. Myers
2009-04-29 18:12           ` Manuel López-Ibáñez
2009-04-29 19:34             ` Joseph S. Myers
2009-04-29 19:43               ` Manuel López-Ibáñez
2009-05-01  5:58                 ` Gabriel Dos Reis
2009-04-30 16:39               ` (extern int vs. int) and (extern function vs. function) (was: gcc-in-cxx update) Eus
2009-04-30 21:53                 ` Ian Lance Taylor
2009-04-30 22:27                   ` James Dennett
2009-05-01  2:07                     ` Eus
2009-05-01  2:04                   ` Eus
2009-05-01  6:02                 ` Gabriel Dos Reis
2009-05-01  5:56             ` gcc-in-cxx update Gabriel Dos Reis
2009-05-01  5:53         ` Gabriel Dos Reis [this message]
2009-04-29 14:35       ` Sebastian Redl
2009-04-29 14:44         ` Manuel López-Ibáñez
2009-04-29 15:44           ` Ian Lance Taylor
2009-05-01  5:52     ` Gabriel Dos Reis

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=206fcf960904302253s1fe46f2fo235c0e6966b8c0cd@mail.gmail.com \
    --to=dosreis@gmail.com \
    --cc=gcc@gcc.gnu.org \
    --cc=gdr@integrable-solutions.net \
    --cc=iant@google.com \
    --cc=joseph@codesourcery.com \
    --cc=lopezibanez@gmail.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).