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

Marc Glisse marc.glisse at normalesup.org
Sat Jul 22 15:17:57 CEST 2006

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.

(I have not compared your patches with those though, might be yours are 

Marc Glisse

More information about the gmp-bugs mailing list