This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Suppressing ANSI errors
- To: amol jakatdar <ajakatda at cs dot odu dot edu>
- Subject: Re: Suppressing ANSI errors
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 27 Jan 2000 18:18:08 -0200
- Cc: Gcc Help <gcc-help at gcc dot gnu dot org>
- References: <Pine.SOL.4.05.10001262026040.25187-100000@cheeta.cs.odu.edu>
On Jan 26, 2000, amol jakatdar <ajakatda@cs.odu.edu> wrote:
> /usr/openwin/share/include/X11/Xlib.h:3351 ANSI C++ forbids declaration
> `XPutImage' with no type.
Yup, it's a bug in Solaris' headers. You can arrange for gcc to
accept them by compiling with -fpedantic or with -isystem
/usr/openwin/share/include
--
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