public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Gabriel Dos Reis <Gabriel.Dos-Reis@dptmaths.ens-cachan.fr>
To: Joe Buck <jbuck@synopsys.com>
Cc: g++@cygnus.com, egcs@cygnus.com
Subject: implicit declaration in C++ considered harmful
Date: Wed, 08 Apr 1998 07:35:00 -0000	[thread overview]
Message-ID: <199804081431.QAA13845@piano.dptmaths.ens-cachan.fr> (raw)
In-Reply-To: <199804080026.RAA28665@atrus.synopsys.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 530 bytes --]

>>>>> «Joe», Joe Buck <jbuck@synopsys.com> wrote:

Joe> First, it should be an error, not a warning.  Second, the compiler should
Joe> insert an error node, not a function returning integer, so that we don't
Joe> get a cascade of errors.

100% agreed.

Joe> Is there anyone who really wants the existing behavior?

I think EGCS should be standard conforming and flags implicit
declaration as an error not a warning.

-- Gaby
"One reason that life is complex is that it has a 
real part and imaginary part." -- Andrew Koenig

  reply	other threads:[~1998-04-08  7:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-08  2:13 Joe Buck
1998-04-08  7:35 ` Gabriel Dos Reis [this message]
1998-04-08 21:20 Kaz Kylheku
1998-04-08 17:25 ` Joe Buck
1998-04-09 18:29 ` Martin von Loewis

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=199804081431.QAA13845@piano.dptmaths.ens-cachan.fr \
    --to=gabriel.dos-reis@dptmaths.ens-cachan.fr \
    --cc=egcs@cygnus.com \
    --cc=g++@cygnus.com \
    --cc=jbuck@synopsys.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).