This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
ANSI C++ forbids declaration `...' with no type
- To: gcc@gcc.gnu.org
- Subject: ANSI C++ forbids declaration `...' with no type
- From: Dimitri Papadopoulos <papadopo@shfj.cea.fr>
- Date: Mon, 16 Aug 1999 14:11:25 +0200
- Organization: SHFJ
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