This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What does this error message means?
- To: alex dot buell at tahallah dot demon dot co dot uk
- Subject: Re: What does this error message means?
- From: Ruslan Shevchenko <Ruslan at Shevchenko dot Kiev dot UA>
- Date: Sun, 18 Oct 1998 16:10:09 +0300
- CC: Linux Egcs <egcs at cygnus dot com>
- References: <Pine.LNX.4.05.9810172315110.588-100000@tahallah.demon.co.uk>
- Reply-To: rssh at grad dot kiev dot ua
Alex Buell wrote:
>
> I've been trying to get an old C++ program to compile and one of the error
> messages I've seen is the one as below:
>
> ../dagCL/AssocArray.h:48: warning: ANSI C++ forbids declaration `dagAssocArray' with no type
>
in old C/C++ you can omit int as name of type.
i. e. write f(x) instead int f(int x)
> What does this means, and is there an option to pass to the compiler to
> tell it to pretend it's an old C++ compiler to get around this message?
-traditional
>
> Cheers,
> Alex
> --
> /\_/\ Legalise cannabis now!
> ( o.o ) Grow some cannabis today!
> > ^ < Peace, Love, Unity and Respect to all.
>
> http://www.tahallah.demon.co.uk - *new* - rewritten for text browser users!
>
> Linux tahallah 2.1.125 #49 SMP Fri Oct 9 07:18:02 EDT 1998
> Two Intel Pentium Pro processors, 331.78 total bogomips, 32M RAM
> System library 2.0.98
--
@=
//RSSH
mailto:Ruslan@Shevchenko.Kiev.UA
CORBA in Ukraine & ex-USSR: http://www.corbadev.kiev.ua