Opened 2 months ago
Last modified 2 months ago
#70700 assigned defect
sympol fails to build: error: too few arguments to function 'long int checkindex_gmp(lrs_dic*, lrs_dat*, long int, long int)'
Reported by: | barracuda156 | Owned by: | catap (Kirill A. Korinsky) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | Cc: | ||
Port: | sympol, lrslib |
Description
[ 52%] Building CXX object sympol/CMakeFiles/sympol.dir/symmetrycomputationadm.cpp.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/build/sympol && /opt/local/bin/ccache /opt/local/bin/g++-mp-14 -DBLISS_USE_GMP -DGMP -DGMPRATIONAL -DLRS_QUIET -DMA -Dsympol_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/build -I/opt/local/include -I/opt/local/include/eigen3 -I/opt/local/libexec/boost/1.76/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/build/sympol -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 -arch ppc -mmacosx-version-min=10.6 -fPIC -Wall -Woverloaded-virtual -MD -MT sympol/CMakeFiles/sympol.dir/symmetrycomputationadm.cpp.o -MF CMakeFiles/sympol.dir/symmetrycomputationadm.cpp.o.d -o CMakeFiles/sympol.dir/symmetrycomputationadm.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/symmetrycomputationadm.cpp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/raycomputationlrs.cpp:28:11: warning: "MA" redefined 28 | #define MA | ^~ <command-line>: note: this is the location of the previous definition In file included from /opt/local/libexec/boost/1.76/include/boost/functional/hash/hash.hpp:6, from /opt/local/libexec/boost/1.76/include/boost/dynamic_bitset/dynamic_bitset.hpp:53, from /opt/local/libexec/boost/1.76/include/boost/dynamic_bitset.hpp:15, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/common.h:26, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/configuration.h:27, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/raycomputationlrs.cpp:23: /opt/local/libexec/boost/1.76/include/boost/container_hash/hash.hpp:131:33: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 131 | struct hash_base : std::unary_function<T, std::size_t> {}; | ^~~~~~~~~~~~~~ In file included from /opt/local/include/gcc14/c++/string:49, from /opt/local/libexec/boost/1.76/include/boost/dynamic_bitset/dynamic_bitset.hpp:23: /opt/local/include/gcc14/c++/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/raycomputationlrs.cpp: In member function 'virtual bool sympol::RayComputationLRS::determineRedundancies(sympol::Polyhedron&, std::list<sympol::FaceWithData>&) const': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/raycomputationlrs.cpp:247:36: error: too few arguments to function 'long int checkindex_gmp(lrs_dic*, lrs_dat*, long int, long int)' 247 | redineq[ineq] = checkindex (P, Q, index); | ^ In file included from /opt/local/include/lrslib/lrslib.h:170, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/raycomputationlrs.cpp:30: /opt/local/include/lrslib/lrslib.h:478:6: note: declared here 478 | long checkindex (lrs_dic * P, lrs_dat * Q, long index, long phase); /* index=0 non-red.,1 red., 2 input linearity NOTE: row is returned all zero if redundant!! */ | ^~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/raycomputationlrs.cpp: In member function 'virtual bool sympol::RayComputationLRS::getLinearities(const sympol::Polyhedron&, std::list<boost::shared_ptr<sympol::QArray> >&) const': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/raycomputationlrs.cpp:312:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare] 312 | for (unsigned int i = 0; i < Q->nredundcol; ++i) { | ~~^~~~~~~~~~~~~~~ make[2]: *** [sympol/CMakeFiles/sympol.dir/raycomputationlrs.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs....
Note: See
TracTickets for help on using
tickets.
Opened an issue with upstream: https://github.com/tremlin/SymPol/issues/6