GMP 5.1.1 make check fail on Solaris 11

Marc Glisse marc.glisse at inria.fr
Thu Feb 14 22:33:35 CET 2013


On Thu, 14 Feb 2013, Marc Glisse wrote:

> Please check on trivial examples that exceptions indeed are broken.

Hello,

could you confirm if the following program also fails to run on your 
system, using the same compiler and the options from CXXFLAGS? You can 
replace the content of one of the tests in tests/cxx with this and re-run 
make check to make sure you compile it in the same conditions.

#include <stdexcept>

inline void
throw_expr ()
{
   throw std::invalid_argument ("Test");
}

using namespace std;

int
main ()
{
   try
   {
     throw_expr();
   }
   catch (invalid_argument) { }
}


More information about the gmp-bugs mailing list