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]

ANSI C++ forbids declaration `...' with no type


Hi,

I am trying to compile X11 headers with gcc-2.95 on Solaris. I read the
FAQ and added -fpermissive to my options.

This changes errors into warnings. Now, how to remove these warnings?
-w works but is obviously not a good solution... -Wno-return-type does
not work.

Any ideas?

Thanks in advance,
--
Dimitri Papadopoulos

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