This is the mail archive of the gcc-help@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: Suppressing ANSI errors


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


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