View Single Post
Old September 30, 2017, 14:03   #20
Gwarl
Knight
 
Join Date: Jan 2017
Posts: 659
Gwarl is on a distinguished road
I upgrade my gcc. This happened:

Quote:
[ 21%] Building CXX object src/CMakeFiles/game.dir/files.cc.o
/home/angbandlive/src/tome2/src/files.cc:1977:121: error: ‘{anonymous}::detail:bject_flag_cell_empty’ is not a valid template argument for type ‘const {anonymous}:bject_flag_cell&’ because object ‘{anonymous}::detail:bject_flag_cell_empty’ has not external linkage
using object_flag_cell_monoid = monoid<object_flag_cell, detail:bject_flag_cell_append, detail:bject_flag_cell_empty>;
^
/home/angbandlive/src/tome2/src/files.cc: In function ‘void {anonymous}::display_flag_row(int, int, const std::vector<std::tuple<char, int, flag_set<6ul> > >&, const std::vector<const object_flag_meta*>&)’:
/home/angbandlive/src/tome2/src/files.cc:2049:13: error: ‘object_flag_cell_monoid’ has not been declared
auto acc = object_flag_cell_monoid::empty;
^
/home/angbandlive/src/tome2/src/files.cc:2054:31: error: ‘object_flag_cell_monoid’ has not been declared
object_flag_cell combined = object_flag_cell_monoid::empty;
^
/home/angbandlive/src/tome2/src/files.cc:2066:17: error: ‘object_flag_cell_monoid’ has not been declared
combined = object_flag_cell_monoid::append(
^
/home/angbandlive/src/tome2/src/files.cc:2074:9: error: ‘object_flag_cell_monoid’ has not been declared
acc = object_flag_cell_monoid::append(acc, combined);
^
src/CMakeFiles/game.dir/build.make:398: recipe for target 'src/CMakeFiles/game.dir/files.cc.o' failed
make[3]: *** [src/CMakeFiles/game.dir/files.cc.o] Error 1
CMakeFiles/Makefile2:251: recipe for target 'src/CMakeFiles/game.dir/all' failed
make[2]: *** [src/CMakeFiles/game.dir/all] Error 2
CMakeFiles/Makefile2:226: recipe for target 'src/CMakeFiles/tome-gcu.dir/rule' failed
make[1]: *** [src/CMakeFiles/tome-gcu.dir/rule] Error 2
Makefile:201: recipe for target 'tome-gcu' failed
make: *** [tome-gcu] Error 2
Please advise?
Gwarl is offline   Reply With Quote