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: g++, Solaris, and X11


On Nov  3, 1999, David A Bagley <bagleyd@tux.org> wrote:

> The only way I see around this was to require -fpermissive if using g++
> on Solaris.  My worry is that -fpermissive may not be supported by all
> versions of g++ and may cause another error. 

Use `-isystem /usr/openwin/include' instead of
`-I/usr/openwin/include', so that g++ will handle the header files as
system ones, and ignore the errors.

-- 
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]