This is the mail archive of the gcc-bugs@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: BUG: ANSI C++ forbids declaration ... with no type


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


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