[Bf-committers] Re: CVS commit: blender/intern/elbeem/intern
gsr.b3d at infernal-iceberg.com
Sat Nov 5 22:43:53 CET 2005
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
> 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:
#warning "this file includes <values.h> which is obsoleted, use <limits.h> or <float.h> instead"
More information about the Bf-committers