On Tue, Feb 28, 2012 at 10:52 AM, Bruno Haible <br...@clisp.org> wrote:
> Michael Goffioul wrote:
>> With the #pragma statement, the compilation error disappears, thanks.
>
> Thanks for verifying that we were on the right track.
>
>> I think the same
>> problem will appear in round.c and trunc.c (those are also used by
>> octave).
>
> Yes, and there are a few more. I'm applying this patch.
>
>
> 2012-02-28  Bruno Haible  <br...@clisp.org>
>
>        Avoid compilation errors with MSVC option -fp:strict.
>        * lib/floor.c: Use MSVC specific pragma fenv_access.
>        * lib/ceil.c: Likewise.
>        * lib/trunc.c: Likewise.
>        * lib/round.c: Likewise.
>        * lib/rint.c: Likewise.
>        * lib/fma.c: Likewise.
>        * lib/integer_length.c: Likewise.
>        * m4/round.m4 (gl_FUNC_ROUND): Likewise.
>        * m4/roundf.m4 (gl_FUNC_ROUNDF): Likewise.
>        * tests/test-floor2.c: Likewise.
>        * tests/test-floorf2.c: Likewise.
>        * tests/test-ceil2.c: Likewise.
>        * tests/test-ceilf2.c: Likewise.
>        * tests/test-trunc2.c: Likewise.
>        * tests/test-truncf2.c: Likewise.
>        Reported by Michael Goffioul <michael.goffi...@gmail.com>.

Same problem occurs in cbrt.c and cbrtf.c.

Michael.

Reply via email to