yaneurao / YaneuraOu

YaneuraOu is the World's Strongest Shogi engine(AI player) , WCSC29 1st winner , educational and USI compliant engine.
GNU General Public License v3.0
525 stars 140 forks source link

- g++ の一部バージョンで発生するエラーの回避 #167

Closed mizar closed 3 years ago

mizar commented 3 years ago
engine/dlshogi-engine/UctSearch.cpp: In member function 'void dlshogi::UctSearcher::ParallelUctSearch(const Position&)':engine/dlshogi-engine/UctSearch.cpp:361:55: error: no matching function for call to 'atomic_fetch_add(std::atomic<unsigned int>*, int)'
      atomic_fetch_add(&search_limits.nodes_searched, 1);
                                                       ^
yaneurao commented 3 years ago

乙です!!