<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Hi!</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
New gmp-5.1.0 conflicting with ppl-1.0. When I try to build ppl-1.0 I got errors:</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<div>libtool: compile:  i686-w64-mingw32-g++ -DHAVE_CONFIG_H -I. -I../../../mingw-sources/ppl-1.0/src -I.. -I.. -I../../../mingw-sources/ppl-1.0/src -I/temp/mingw-prereq/i686-w64-mingw32-static/include -g -O2 -frounding-math -march=nocona -mtune=nocona -O2 -pipe -fomit-frame-pointer -W -Wall -MT assert.lo -MD -MP -MF .deps/assert.Tpo -c ../../../mingw-sources/ppl-1.0/src/assert.cc -o assert.o</div>
<div>In file included from ../../../mingw-sources/ppl-1.0/src/checked.defs.hh:30:0,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Checked_Number.defs.hh:28,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Coefficient.types.hh:16,</div>
<div>                 from ../../../mingw-sources/ppl-1.0/src/Coefficient.defs.hh:27,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Box.defs.hh:29,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Box.cc:25:</div>
<div>../../../mingw-sources/ppl-1.0/src/mp_std_bits.defs.hh:47:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >'</div><div>In file included from ../../../mingw-sources/ppl-1.0/src/checked.defs.hh:29:0,</div>
<div>                 from ../../../mingw-sources/ppl-1.0/src/Checked_Number.defs.hh:28,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Coefficient.types.hh:16,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Coefficient.defs.hh:27,</div>
<div>                 from ../../../mingw-sources/ppl-1.0/src/Box.defs.hh:29,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Box.cc:25:</div><div>C:/gccbuild/msys/temp/mingw-prereq/i686-w64-mingw32-static/include/gmpxx.h:3269:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >'</div>
<div>In file included from ../../../mingw-sources/ppl-1.0/src/checked.defs.hh:30:0,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Checked_Number.defs.hh:28,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Coefficient.types.hh:16,</div>
<div>                 from ../../../mingw-sources/ppl-1.0/src/Coefficient.defs.hh:27,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Box.defs.hh:29,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Box.cc:25:</div>
<div>../../../mingw-sources/ppl-1.0/src/mp_std_bits.defs.hh:108:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >'</div><div>In file included from ../../../mingw-sources/ppl-1.0/src/checked.defs.hh:29:0,</div>
<div>                 from ../../../mingw-sources/ppl-1.0/src/Checked_Number.defs.hh:28,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Coefficient.types.hh:16,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Coefficient.defs.hh:27,</div>
<div>                 from ../../../mingw-sources/ppl-1.0/src/Box.defs.hh:29,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Box.cc:25:</div><div>C:/gccbuild/msys/temp/mingw-prereq/i686-w64-mingw32-static/include/gmpxx.h:3306:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >'</div>
<div>In file included from ../../../mingw-sources/ppl-1.0/src/checked.defs.hh:30:0,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/checked.cc:25:</div><div>../../../mingw-sources/ppl-1.0/src/mp_std_bits.defs.hh:47:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >'</div>
<div>In file included from ../../../mingw-sources/ppl-1.0/src/checked.defs.hh:29:0,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/checked.cc:25:</div><div>C:/gccbuild/msys/temp/mingw-prereq/i686-w64-mingw32-static/include/gmpxx.h:3269:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >'</div>
<div>In file included from ../../../mingw-sources/ppl-1.0/src/checked.defs.hh:30:0,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/checked.cc:25:</div><div>../../../mingw-sources/ppl-1.0/src/mp_std_bits.defs.hh:108:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >'</div>
<div>In file included from ../../../mingw-sources/ppl-1.0/src/checked.defs.hh:29:0,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/checked.cc:25:</div><div>C:/gccbuild/msys/temp/mingw-prereq/i686-w64-mingw32-static/include/gmpxx.h:3306:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >'</div>
<div>mv -f .deps/assert.Tpo .deps/assert.Plo</div><div>/bin/sh ../libtool  --tag=CXX   --mode=compile i686-w64-mingw32-g++ -DHAVE_CONFIG_H -I. -I../../../mingw-sources/ppl-1.0/src -I..  -I.. -I../../../mingw-sources/ppl-1.0/src -I/temp/mingw-prereq/i686-w64-mingw32-static/include   -g -O2 -frounding-math -march=nocona -mtune=nocona -O2 -pipe -fomit-frame-pointer -W -Wall -MT Checked_Number.lo -MD -MP -MF .deps/Checked_Number.Tpo -c -o Checked_Number.lo ../../../mingw-sources/ppl-1.0/src/Checked_Number.cc</div>
<div>make[3]: *** [checked.lo] Error 1</div><div>make[3]: *** Waiting for unfinished jobs....</div><div>libtool: compile:  i686-w64-mingw32-g++ -DHAVE_CONFIG_H -I. -I../../../mingw-sources/ppl-1.0/src -I.. -I.. -I../../../mingw-sources/ppl-1.0/src -I/temp/mingw-prereq/i686-w64-mingw32-static/include -g -O2 -frounding-math -march=nocona -mtune=nocona -O2 -pipe -fomit-frame-pointer -W -Wall -MT Checked_Number.lo -MD -MP -MF .deps/Checked_Number.Tpo -c ../../../mingw-sources/ppl-1.0/src/Checked_Number.cc -o Checked_Number.o</div>
<div>make[3]: *** [Box.lo] Error 1</div><div>In file included from ../../../mingw-sources/ppl-1.0/src/checked.defs.hh:30:0,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Checked_Number.defs.hh:28,</div>
<div>                 from ../../../mingw-sources/ppl-1.0/src/Checked_Number.cc:25:</div><div>../../../mingw-sources/ppl-1.0/src/mp_std_bits.defs.hh:47:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >'</div>
<div>In file included from ../../../mingw-sources/ppl-1.0/src/checked.defs.hh:29:0,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Checked_Number.defs.hh:28,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Checked_Number.cc:25:</div>
<div>C:/gccbuild/msys/temp/mingw-prereq/i686-w64-mingw32-static/include/gmpxx.h:3269:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >'</div>
<div>In file included from ../../../mingw-sources/ppl-1.0/src/checked.defs.hh:30:0,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Checked_Number.defs.hh:28,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Checked_Number.cc:25:</div>
<div>../../../mingw-sources/ppl-1.0/src/mp_std_bits.defs.hh:108:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >'</div><div>In file included from ../../../mingw-sources/ppl-1.0/src/checked.defs.hh:29:0,</div>
<div>                 from ../../../mingw-sources/ppl-1.0/src/Checked_Number.defs.hh:28,</div><div>                 from ../../../mingw-sources/ppl-1.0/src/Checked_Number.cc:25:</div><div>C:/gccbuild/msys/temp/mingw-prereq/i686-w64-mingw32-static/include/gmpxx.h:3306:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >'</div>
<div>make[3]: *** [Checked_Number.lo] Error 1</div><div>make[3]: Leaving directory `/temp/prereq-build/x32-ppl-1.0-static/src'</div><div>make[2]: *** [all] Error 2</div><div>make[2]: Leaving directory `/temp/prereq-build/x32-ppl-1.0-static/src'</div>
<div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/temp/prereq-build/x32-ppl-1.0-static'</div><div>make: *** [all] Error 2</div><div><br></div><div>I resolve this by remove duplicate code from src/mp_std_bits.defs.hh and src/mp_std_bits.cc</div>
</div>