coin-or / CHiPPS-ALPS

This is the Abstract Library for Parallel Search (ALPS), the abstract base layer of the COIN-OR High Performance Parallel Search framework.
Eclipse Public License 1.0
9 stars 8 forks source link

error: assigning to 'AlpsSearchType' from incompatible type 'int' #26

Open yurivict opened 3 years ago

yurivict commented 3 years ago

clang-10 fails to compile Alps:

In file included from AlpsNodePool.cpp:27:
In file included from ./AlpsNodePool.h:33:
In file included from ./AlpsPriorityQueue.h:33:
./AlpsSearchStrategyBase.h:101:35: error: assigning to 'AlpsSearchType' from incompatible type 'int'
    void setType(int t) { type_ = t; }
                                  ^
1 error generated.

OS: FreeBSD 12.2