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: ANSI C++ forbids declaration `...' with no type


On Aug 16, 1999, Dimitri Papadopoulos <papadopo@shfj.cea.fr> wrote:

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

Use `-isystem /usr/openwin/include' instead of `-fpermissive
-I/usr/openwin/include'

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


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