[Patch] Fix build problem of GMP 4.2.1 with Sun Studio 11

Matthias Koeppe mkoeppe at mail.math.uni-magdeburg.de
Mon Jul 24 12:24:50 CEST 2006


Marc Glisse <marc.glisse at normalesup.org> writes:

> On Fri, 21 Jul 2006, Matthias Koeppe wrote:
>
>>> I am trying to build GMP 4.2.1 with --enable-cxx using the Sun
>>> Studio 11 compilers on Solaris 9/SPARC [...]
>>> CC: Sun C++ 5.8 Patch 121017-02 2006/04/19
>>>
>>> The build fails for cxx/ismpf.cc and cxx/osmpf.cc as follows:
>>> "cxx/ismpf.cc", line 55: Error: Could not find a match for std::use_facet<std::Facet>(const std::locale) needed in operator>>(std::istream &, __mpf_struct*).
>>
>> I have now come up with a patch,
>
> Did you check the archives of this list? It is not such a high volume
> list, and there are several patches for the Sun C++ compiler that have
> been posted since the release of gmp-4.2.1.

Thanks for pointing this out.  I have looked at these postings now,
and I don't think my patches add anything new compared to the patches
posted in May.

-- 
Matthias Koeppe -- http://www.math.uni-magdeburg.de/~mkoeppe


More information about the gmp-bugs mailing list