Current-Users archive

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

Re: redefined symbols issue



On Sun, Apr 20, 2014 at 07:07:10PM +0100, Iain Hibbert wrote:

> #define DBL_DIG               15
> 
> whereas in <sys/float_ieee754.h> there is effectively:
> 
> #define DBL_DIG               __DBL_DIG__

We should only do the latter style and only in float.h (or sub-headers,
as mandated by the C standard).

Where/if needed in the kernel, we can use the compiler provided namespace
protected variants directly.

Martin


Home | Main Index | Thread Index | Old Index