[Bf-committers] Re: CVS commit: blender/intern/elbeem/intern ntl_vector3dim.h

GSR gsr.b3d at infernal-iceberg.com
Sat Nov 5 22:43:53 CET 2005


Hi,
cwant at ualberta.ca (2005-11-05 at 2209.47 +0100):
> hos (Chris Want) 2005/11/05 22:09:47 CET
> 
>   Modified files:
>     blender/intern/elbeem/intern ntl_vector3dim.h 
>   
>   Log:
>   Use limits.h and float.h on *bsd instead of values.h.
>   
>   On this subject (and thanks to GSR for research) on debian the
>   values.h has the following warning:
>   
>   /* This interface is obsolete.  New programs should use
>      <limits.h> and/or <float.h> instead of <values.h>.  */
>   
>   Should values.h be used at all?

No, K&R book does not cover it, but covers limits.h and float.h.
limits.h in this case is not needed, BTW.

>From /usr/include/values.h (copyright says 1988) in a FreeBSD machine,
first 3 lines, similar hint than in Linux version, just different way
to report it:

#if __GNUC__
#warning "this file includes <values.h> which is obsoleted, use <limits.h> or <float.h> instead"
#endif

GSR
 


More information about the Bf-committers mailing list