info-inventor
[Top] [All Lists]

Re: Make Open Inventor compile on Mandrake 8.0

To: daedalus@xxxxxxxxxxx
Subject: Re: Make Open Inventor compile on Mandrake 8.0
From: Haykel Ben Jemia <haykel@xxxxxxxxxxxxxxx>
Date: 16 May 2001 16:42:04 +0200
Cc: info-inventor@xxxxxxxxxxx
In-reply-to: <jad2gt8b3g9vfg7i5m0ddoheco5fcvf0o9@xxxxxxx>
References: <3AFE2453.E834779A@xxxxxx> <200105141102.NAA29294@xxxxxxxxxxxxxx> <jad2gt8b3g9vfg7i5m0ddoheco5fcvf0o9@xxxxxxx>
Sender: owner-inventor@xxxxxxxxxxx
On 15 May 2001 16:38:03 +0200, daedalus@xxxxxxxxxxx wrote:
> 
> I suggest to add 
>       #include <time.h>
>   to Inventor/SbTime.h
> 
> and also to add
>       #include <values.h>
>   to Inventor/SbBasic.h
> 
> not to .c++ files because I think it is better to keep these things in
> the Inventor include files.
>

The variables or functions in <time.h> and <values.h> are only needed in
the .c++ files, that's why I think it's better to put them there to
evitate make programs that include Inventor/SbTime.h or
Inventor/SbBasic.h have other unneeded header files "silently" included.
This make code fatser to compile and less error prone.

Cheers,
Haykel



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