Tested on maia with USE_LP=1 (using a COIN library installed by Florian), -m64,
and gcc 4.8 (set up with module load GCC/4.8.2).
Compilation works fine if any of the three things are changed to the default
(USE_LP=0, -m32, or gcc 4.4). It looks like we might need to add another #pragma
somewhere?
Also, maybe our buildbots should cover 32 bit and 64 bit as well as USE_LP=0 and
USE_LP=1?
(Maybe not every version needs to be run on every commit, though.)
=======================================================================
g++ -g -m64 -std=c++0x -Wall -Wextra -pedantic -Wno-deprecated -Werror
-Iext -D COIN_HAS_CLP -I/infai/pommeren/local/opt/coin64/include/coin
-D USE_LP -O3 -DNDEBUG -fomit-frame-pointer -c additive_heuristic.cc -o
.obj/additive_heuristic.release.o
In file included from lp_solver_interface.cc:8:0:
/infai/pommeren/local/opt/coin64/include/coin/OsiClpSolverInterface.hpp:376:39:
error: large integer implicitly truncated to unsigned type
[-Werror=overflow]
unsigned maxLen = std::string::npos) const;
^
/infai/pommeren/local/opt/coin64/include/coin/OsiClpSolverInterface.hpp:381:39:
error: large integer implicitly truncated to unsigned type
[-Werror=overflow]
unsigned maxLen = std::string::npos) const;
^
cc1plus: all warnings being treated as errors
make: *** [.obj/lp_solver_interface.release.o] Error 1
=======================================================================
|