This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++, Solaris, and X11
- To: David A Bagley <bagleyd at tux dot org>
- Subject: Re: g++, Solaris, and X11
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 04 Nov 1999 01:27:26 -0200
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <199911040044.TAA18041@gwyn.tux.org>
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