Suppressing ANSI errors
Alexandre Oliva
oliva@lsd.ic.unicamp.br
Thu Jan 27 12:18:00 GMT 2000
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
More information about the Gcc-help
mailing list