implicit declaration in C++ considered harmful
Gabriel Dos Reis
Gabriel.Dos-Reis@dptmaths.ens-cachan.fr
Wed Apr 8 07:35:00 GMT 1998
>>>>> ë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
More information about the Gcc
mailing list