This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: What does this error message means?


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]