This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: BUG: ANSI C++ forbids declaration ... with no type
- To: nathan at cs dot bris dot ac dot uk
- Subject: Re: BUG: ANSI C++ forbids declaration ... with no type
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 20 Oct 1999 16:16:16 -0200
- Cc: Piotr Klaban <makler at man dot torun dot pl>, bug-gcc at gnu dot org
- References: <19991015113751.P8553@man.torun.pl> <38070745.395EB550@acm.org>
On Oct 15, 1999, Nathan Sidwell <nathan@acm.org> wrote:
> Piotr Klaban wrote:
>> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/openwin/include -I./../include -DLIBPLOT -DLIBPLOTTER -O2 -c -fPIC -DPIC apioldcc.cc -o .libs/apioldcc.lo
>> In file included from ../include/plotter.h:41,
>> from extern.h:44,
>> from apioldcc.cc:19:
>> I know that system include files should not generate such errors,
>> since SUN would not change standard X11 header files.
> Please file a bug report with Sun, they need customers complaining
> about this, to get the problem fixed. Meanwhile try -fpermissive
Or `-isystem /usr/openwin/include' instead of `-I/usr...'
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,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