[gecode-users] gecode 6 compilation error

aqwzsxaqwzsx at orange.fr aqwzsxaqwzsx at orange.fr
Wed Apr 18 11:16:43 CEST 2018


Hello

Under cygwin, after a configure command without parameters, I’ve tried to compile gecode 6 with  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x86
 But i get the following compilation error:
 
$ make

make[1]: « gecode/kernel/var-type.hpp » est à jour.
make[1]: « gecode/kernel/var-imp.hpp » est à jour.
cl -I. -arch:SSE2 -MD -GS- -wd4355 -O2 -EHsc -nologo -bigobj -DNDEBUG -I. -arch:SSE2 -MD -GS- -wd4355 -O2 -EHsc -nologo -bigobj -DNDEBUG   -DGECODE_BUILD_SUPPORT \
-c -Fogecode/support/exception.obj -Tpgecode/support/exception.cpp
exception.cpp
.\gecode/support/hash.hpp(61) : error C2084: function 'void Gecode::cmb_hash(size_t &,size_t)' already has a body
        .\gecode/support/hash.hpp(43) : see previous definition of 'cmb_hash'
.\gecode/support/hash.hpp(62) : error C2264: 'Gecode::cmb_hash' : error in function definition or declaration; function not called
make[1]: *** [Makefile:1334: gecode/support/exception.obj] Error 2




More information about the users mailing list