<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>AIX 4.x and 5.x compilation</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial CE">Hi,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial CE">I'm trying to compile gmp under AIX and I have some problems. Compilation of gmp (simple make) causes no problems, running make check also goes smooth, but only with disabled C++. After enabling C++, --enable-cxx) make check failes. I'm using xlC compiler (IBM VisualAgeC). I got message:</FONT></P>
<P><FONT SIZE=2 FACE="Arial CE">"../../../gmp-4.2.1/gmpxx.h", line 1918.3: 1540-1202 (I) No candidate is better than "__gmp_expr<__m</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">pf_struct [1],__mpf_struct [1]>::__gmp_expr<__mpf_struct [1],__mpf_struct [1]>(const __gmp_expr<__mp</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">f_struct [1],__mpf_struct [1]> &)".</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">"../../../gmp-4.2.1/gmpxx.h", line 3645.1: 1540-1231 (I) The conversion from argument number 1 to "c</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">onst __gmp_expr<__mpf_struct [1],__mpf_struct [1]> &" uses "the identity conversion".</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">"../../../gmp-4.2.1/gmpxx.h", line 2196.7: 1540-0217 (S) "eval" is not a member of "class __gmp_expr</FONT>
<BR><FONT SIZE=2 FACE="Arial CE"><__mpq_struct [1],__mpq_struct [1]>".</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">"../../../gmp-4.2.1/gmpxx.h", line 2194.13: 1540-0700 (I) The previous message was produced while pr</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">ocessing "__gmp_set_expr<__mpq_struct [1]>(mpq_ptr, const __gmp_expr<__mpq_struct [1],__mpq_struct [</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">1]> &)".</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">"../../../gmp-4.2.1/gmpxx.h", line 1736.3: 1540-0700 (I) The previous message was produced while pro</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">cessing "__gmp_expr<__mpq_struct [1],__mpq_struct [1]>::__gmp_expr<__mpq_struct [1],__mpq_struct [1]</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">>(const __gmp_expr<__mpq_struct [1],__mpq_struct [1]> &)".</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">"../../../gmp-4.2.1/gmpxx.h", line 3631.1: 1540-0700 (I) The previous message was produced while pro</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">cessing "__gmp_expr<__mpq_struct [1],__mpq_struct [1]>::operator++(int)".</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">"../../../gmp-4.2.1/gmpxx.h", line 2145.7: 1540-0217 (S) "eval" is not a member of "class __gmp_expr</FONT>
<BR><FONT SIZE=2 FACE="Arial CE"><__mpz_struct [1],__mpz_struct [1]>".</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">"../../../gmp-4.2.1/gmpxx.h", line 2143.13: 1540-0700 (I) The previous message was produced while pr</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">ocessing "__gmp_set_expr<__mpz_struct [1]>(mpz_ptr, const __gmp_expr<__mpz_struct [1],__mpz_struct [</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">1]> &)".</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">"../../../gmp-4.2.1/gmpxx.h", line 1568.3: 1540-0700 (I) The previous message was produced while pro</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">cessing "__gmp_expr<__mpz_struct [1],__mpz_struct [1]>::__gmp_expr<__mpz_struct [1],__mpz_struct [1]</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">>(const __gmp_expr<__mpz_struct [1],__mpz_struct [1]> &)".</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">"../../../gmp-4.2.1/gmpxx.h", line 3673.65: 1540-0700 (I) The previous message was produced while pr</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">ocessing "__gmp_expr<__mpz_struct [1],__gmp_urandomm_value>::__gmp_expr<__mpz_struct [1],__gmp_urand</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">omm_value>(__gmp_randstate_struct *, const mpz_class &)".</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial CE">Removing constructor without template arguments makes it compile and even work (test programs work). The next problem I have is message that 'eval' is not a member of __gmp_expr<></FONT></P>
<P><FONT SIZE=2 FACE="Arial CE">It seems to me that this is a problem with compiler. I am little bit afraid of switching those unary … tests off, Is there any fast solution/patch for these problems ?</FONT></P>
<P><FONT SIZE=2 FACE="Arial CE">Kind regards</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial CE"> Leszek Wlodarski</FONT>
</P>
<BR>
</BODY>
</HTML>