Appending append-cxxflags -std=c++11 makes it fail with: In file included from ../control.hh:24:0, from parser.hh:51, from file.hh:24, from file.cc:22: ../connect.hh:24:27: fatal error: sigc++/object.h: No such file or directory #include <sigc++/object.h> ^ compilation terminated. Makefile:410: recipe for target 'file.o' failed make[3]: *** [file.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ../control.hh:24:0, from parser.hh:51, from kibitz.hh:24, from kibitz.cc:22: ../connect.hh:24:27: fatal error: sigc++/object.h: No such file or directory #include <sigc++/object.h> ^ compilation terminated. Makefile:410: recipe for target 'kibitz.o' failed make[3]: *** [kibitz.o] Error 1 In file included from ../control.hh:24:0, from parser.hh:51, from automatch.hh:24, from automatch.cc:22: ../connect.hh:24:27: fatal error: sigc++/object.h: No such file or directory #include <sigc++/object.h> ^ compilation terminated. Makefile:410: recipe for target 'automatch.o' failed make[3]: *** [automatch.o] Error 1 In file included from ../control.hh:24:0, from parser.hh:51, from misc.hh:24, from misc.cc:22: ../connect.hh:24:27: fatal error: sigc++/object.h: No such file or directory #include <sigc++/object.h> ^ compilation terminated. Makefile:410: recipe for target 'misc.o' failed make[3]: *** [misc.o] Error 1 In file included from ../control.hh:24:0, from parser.hh:51, from player_info.hh:24, from player_info.cc:22: ../connect.hh:24:27: fatal error: sigc++/object.h: No such file or directory #include <sigc++/object.h> ^ compilation terminated. Makefile:410: recipe for target 'player_info.o' failed make[3]: *** [player_info.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/games-board/ccgo-0.3.6.4/work/ccgo-0.3.6.4/igs/parser' Makefile:494: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/games-board/ccgo-0.3.6.4/work/ccgo-0.3.6.4/igs' Makefile:787: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-board/ccgo-0.3.6.4/work/ccgo-0.3.6.4' Makefile:505: recipe for target 'all' failed make: *** [all] Error 2
Removing the sigc++/object.h calls should be enough :/
In ArchLinux they run this: https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/ccgo -> append-cxxflags -std=c++11 -> find -name '*.hh' -exec sed -i '/sigc++\/object.h/d' {} + find -name '*.cc' -exec sed -i 's/(bind(/(sigc::bind(/' {} + -> They also look to need to append -fpermisive
should be fixed.