[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make Open Inventor compile on Mandrake 8.0



On 15 May 2001 16:38:03 +0200, daedalus@freemail.it 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