From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: amol jakatdar Cc: Gcc Help Subject: Re: Suppressing ANSI errors Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: References: X-SW-Source: 2000-q1/msg00175.html Message-ID: <20000401000000.1P3hQuzan6KyBHFBYbEWHYEQpoQ6QYxmpzn3gDKNXEA@z> On Jan 26, 2000, amol jakatdar 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