GMP 5.1.1 make check fail on Solaris 11

Marc Glisse marc.glisse at
Mon Feb 18 12:02:28 CET 2013

On Mon, 18 Feb 2013, Torbjorn Granlund wrote:

> Does __cplusplus>=201103L give any information about the existence of
> trunc in math.h?

Yes, it should guarantee that it is there (of course compilers can lie).

> We shouldn't be slaves under standards, but I think we should not use a
> function which is not defined by the stardard level we require.  Using
> it *conditionally* in the test suite is OK.  We do want to support
> conservatively maintained Unices, where this might otherwise cause
> problems.

Ok, I'll try to do something about it.

Marc Glisse

More information about the gmp-bugs mailing list