info-inventor-dev
[Top] [All Lists]

Re: g++ warnings and motif

To: Rasmus Tamstorf <tamstorf@xxxxxxxxxxxxx>
Subject: Re: g++ warnings and motif
From: Alexandre Naaman <naaman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 17 Aug 2000 13:25:38 -0700
Cc: info-inventor-dev@xxxxxxxxxxx
In-reply-to: <Pine.SGI.4.21.0008171247090.269593-100000@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-info-inventor-dev@xxxxxxxxxxx
On Thu, 17 Aug 2000, Rasmus Tamstorf wrote:

Hi Rasmus,

> Hi,
> 
> Two questions : I was trying to compile inventor on linux with gcc 2.95-2,
> but within the first 10 seconds I got a bazillion different warnings. What
> version of gcc was used to produce the rpms in the download directory ? 

warnings ... gcc is a little more verbose than the IRIX C++ compiler when
you turn on  -Wunused -Wformat and -Wuninitialized. Remove these warnings
from make/commonivdefs and things should look a little more sane.

If you remove those warnings then libInventor.so should compile with
almost no warnings on Linux. I did not spend as much time cleaning up
libSoXt...

My linux box is away at Linux World so I can't tell you which version of
gcc was used for building OIV but I can tell you that it compiles on
RedHat 6.2 (egcs 2.91.66) and also on Mandrake 7.1 (which I believe has
slightly more up recent version of gcc.)

> 
> Also, the README.FIRST states that inventor requires Motif 1.2x. However,
> if you choose to go with OpenMotif instead of lesstif you get motif 2.x,
> so I was wondering if there is a list of known issues / problems with
> motif 2.x ? 

Last time I checked it worked fine with Motif 2.x. Try removing the
compile options noted above and see how things go. If you find any
problems please let us know!

A+,

Alexandre.

--
Alexandre Naaman - naaman@xxxxxxx - La conformité est la mort de l'âme.


<Prev in Thread] Current Thread [Next in Thread>