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, egcs at cygnus dot com
- Subject: Re: What does this error message means?
- From: mrs at wrs dot com (Mike Stump)
- Date: Mon, 19 Oct 1998 14:49:13 -0700
> Date: Sat, 17 Oct 1998 23:16:41 -0400 (EDT)
> From: Alex Buell <alex.buell@tahallah.demon.co.uk>
> 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
> 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?
You don't need an option. If this was the only message, then the
program did in fact compile. This message is really just a warning.
You should bug the author of the package to fix his code to be valid
C++ code, and make a new release. If it is your code, the code should
just be fixed, life is too short.