make[1]: Entering directory '/src/ncurses-5.9/man' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/src/ncurses-5.9/man' cd include && make DESTDIR="" all make[1]: Entering directory '/src/ncurses-5.9/include' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/src/ncurses-5.9/include' cd ncurses && make DESTDIR="" all make[1]: Entering directory '/src/ncurses-5.9/ncurses' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/src/ncurses-5.9/ncurses' cd progs && make DESTDIR="" all make[1]: Entering directory '/src/ncurses-5.9/progs' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/src/ncurses-5.9/progs' cd panel && make DESTDIR="" all make[1]: Entering directory '/src/ncurses-5.9/panel' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/src/ncurses-5.9/panel' cd menu && make DESTDIR="" all make[1]: Entering directory '/src/ncurses-5.9/menu' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/src/ncurses-5.9/menu' cd form && make DESTDIR="" all make[1]: Entering directory '/src/ncurses-5.9/form' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/src/ncurses-5.9/form' cd test && make DESTDIR="" all make[1]: Entering directory '/src/ncurses-5.9/test' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/src/ncurses-5.9/test' cd misc && make DESTDIR="" all make[1]: Entering directory '/src/ncurses-5.9/misc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/src/ncurses-5.9/misc' cd c++ && make DESTDIR="" all make[1]: Entering directory '/src/ncurses-5.9/c++' /bin/g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -P -DNDEBUG -I. -I../include -O2 -c ../c++/cursesf.cc -o ../objects/cursesf.o In file included from ../c++/cursesw.h:36:0, from ../c++/cursesp.h:39, from ../c++/cursesf.h:39, from ../c++/cursesf.cc:35: ../c++/etip.h:374:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] #define THROWS(s) throw(s) ^ ../c++/cursesw.h:777:50: note: in expansion of macro 'THROWS' virtual void err_handler(const char *) const THROWS(NCursesException); ^~~~~~ ../c++/etip.h:374:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] #define THROWS(s) throw(s) ^ ../c++/cursesp.h:89:32: note: in expansion of macro 'THROWS' void OnError (int err) const THROWS(NCursesPanelException) ^~~~~~ In file included from ../c++/cursesf.h:39:0, from ../c++/cursesf.cc:35: ../c++/cursesp.h: In member function 'T* NCursesUserPanel::UserData() const': ../c++/cursesp.h:256:43: error: no matching function for call to 'NCursesUserPanel::get_user() const' return reinterpret_cast(get_user ()); ^ ../c++/cursesp.h:80:9: note: candidate: void* NCursesPanel::get_user() void *get_user() ^~~~~~~~ ../c++/cursesp.h:80:9: note: passing 'const NCursesUserPanel*' as 'this' argument discards qualifiers In file included from ../c++/cursesw.h:36:0, from ../c++/cursesp.h:39, from ../c++/cursesf.h:39, from ../c++/cursesf.cc:35: ../c++/cursesf.h: At global scope: ../c++/etip.h:374:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] #define THROWS(s) throw(s) ^ ../c++/cursesf.h:64:38: note: in expansion of macro 'THROWS' inline void OnError(int err) const THROWS(NCursesFormException) { ^~~~~~ ../c++/etip.h:374:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] #define THROWS(s) throw(s) ^ ../c++/cursesf.h:112:39: note: in expansion of macro 'THROWS' inline void OnError (int err) const THROWS(NCursesFormException) { ^~~~~~ ../c++/etip.h:374:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] #define THROWS(s) throw(s) ^ ../c++/cursesf.h:394:39: note: in expansion of macro 'THROWS' inline void OnError (int err) const THROWS(NCursesFormException) { ^~~~~~ In file included from ../c++/cursesf.cc:35:0: ../c++/cursesf.h: In member function 'T* NCursesUserForm::UserData() const': ../c++/cursesf.h:707:43: error: no matching function for call to 'NCursesUserForm::get_user() const' return reinterpret_cast(get_user ()); ^ ../c++/cursesf.h:384:16: note: candidate: void* NCursesForm::get_user() inline void *get_user() { ^~~~~~~~ ../c++/cursesf.h:384:16: note: passing 'const NCursesUserForm*' as 'this' argument discards qualifiers In file included from ../c++/cursesw.h:36:0, from ../c++/cursesp.h:39, from ../c++/cursesf.h:39, from ../c++/cursesf.cc:35: ../c++/cursslk.h: At global scope: ../c++/etip.h:374:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] #define THROWS(s) throw(s) ^ ../c++/cursslk.h:120:45: note: in expansion of macro 'THROWS' inline void Error (const char* msg) const THROWS(NCursesException) { ^~~~~~ make[1]: *** [Makefile:329: ../objects/cursesf.o] Error 1 make[1]: Leaving directory '/src/ncurses-5.9/c++' make: *** [Makefile:118: all] Error 2