[PATCH 2/2] math-emu/soft-fp.h: (_FP_ROUND_ZERO) cast 0 to void to fix warning

2018-08-27 Thread Vincent Chen
_FP_ROUND_ZERO is defined as 0 and used as a statemente in macro _FP_ROUND. This will generate "error: statement with no effect [-Werror=unused-value]" from gcc when compiling. Defining _FP_ROUND_ZERO as (void)0 to fix it. This modification references the content of glibc 'commit

[PATCH 2/2] math-emu/soft-fp.h: (_FP_ROUND_ZERO) cast 0 to void to fix warning

2018-08-27 Thread Vincent Chen
_FP_ROUND_ZERO is defined as 0 and used as a statemente in macro _FP_ROUND. This will generate "error: statement with no effect [-Werror=unused-value]" from gcc when compiling. Defining _FP_ROUND_ZERO as (void)0 to fix it. This modification references the content of glibc 'commit