Build problems

Mumit Khan khan at xraylith.wisc.edu
Wed Oct 6 01:41:30 EDT 1999


On Tue, 5 Oct 1999, Bryan VanDeVen wrote:

> Mumit Khan wrote:
> > 
> > On Tue, 5 Oct 1999, Bryan VanDeVen wrote:
> > 
> > > Well it has begun to build fine now, though I have not changed much.  In
> > > particular I am still using the Sun Assembler.  I did have to add
> > > -fpermissive to get gcc-2.95.1 not to choke on the implicit int type
> > > decls. in some of the X system headers.  (These headers are fixed on my
> > > linux box, oh well..)
> > 
> > I suggest you use `-isystem /usr/openwin/include' (or wherever the X11
> > headers are) instead of -fpermissive.
> 
> 
> no that does not work, Xlib.h for instance contains declertions similar
> to 
> 

I'm well aware of what the problem is. Did you actually try the
`-isystem /usr/openwin/include' (after replacing /usr/openwin/include
with the correct one for you system of course) option and have it 
not work for you? The `-isystem <DIR>' option tells GCC to treat all 
headers under <DIR> as system headers, which are treated a bit more 
leniently. 

Using -fpermissive is a bad idea unless you absolutely have to.

If -isystem didn't work in this case, it's a bug in GCC, and the
developers will appreciate a report to gcc-bugs at gcc.gnu.org (see
http://gcc.gnu.org/ for info on how and what to send for a bug
report).

Regards,
Mumit




-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------




More information about the vtkusers mailing list