Opened 14 years ago
Closed 14 years ago
#28798 closed defect (duplicate)
ncurses: error: expected ';' before 'THROWS'
Reported by: | roy.lowrance@… | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | ncurses |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
The log is below:
cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log version:1 :debug:main epoch: in tree: 0 installed: 0 :debug:main ncursesw 5.8_0 exists in the ports tree :debug:main ncursesw 5.8_0 is the latest installed :debug:main ncursesw 5.8_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw :debug:main OS darwin/10.6.0 (Mac OS X 10.6) arch i386 :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main universal_variant is false, so not adding the default universal variant :debug:main No need to upgrade! ncursesw 5.8_0 >= ncursesw 5.8_0 :msg:main ---> Computing dependencies for ncurses:info:main .:debug:main Searching for dependency: ncursesw :debug:main Found Dependency: receipt exists for ncursesw :msg:main :debug:main Executing org.macports.main (ncurses) :debug:main Skipping completed org.macports.fetch (ncurses) :debug:main Skipping completed org.macports.checksum (ncurses) :debug:main Skipping completed org.macports.extract (ncurses) :debug:main Skipping completed org.macports.patch (ncurses) :debug:main Skipping completed org.macports.configure (ncurses) :msg:main ---> Building ncurses :debug:build build phase started at Tue Mar 15 18:37:26 EDT 2011 :debug:build Executing org.macports.build (ncurses) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/ncurses-5.8" && /usr/bin/make -j2 all' :info:build cd man && /usr/bin/make DESTDIR="" all :info:build make[1]: Nothing to be done for `all'. :info:build cd include && /usr/bin/make DESTDIR="" all :info:build make[1]: Nothing to be done for `all'. :info:build cd ncurses && /usr/bin/make DESTDIR="" all :info:build make[1]: Nothing to be done for `all'. :info:build cd progs && /usr/bin/make DESTDIR="" all :info:build make[1]: Nothing to be done for `all'. :info:build cd panel && /usr/bin/make DESTDIR="" all :info:build make[1]: Nothing to be done for `all'. :info:build cd menu && /usr/bin/make DESTDIR="" all :info:build make[1]: Nothing to be done for `all'. :info:build cd form && /usr/bin/make DESTDIR="" all :info:build make[1]: Nothing to be done for `all'. :info:build cd test && /usr/bin/make DESTDIR="" all :info:build make[1]: Nothing to be done for `all'. :info:build cd misc && /usr/bin/make DESTDIR="" all :info:build make[1]: Nothing to be done for `all'. :info:build cd c++ && /usr/bin/make DESTDIR="" all :info:build /usr/bin/g++-4.2 -I../c++ -I../include -I. -DHAVE_CONFIG_H -D_DARWIN_C_SOURCE -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I. -I../include -I/opt/local/include -pipe -O2 -arch x86_64 -dynamic -c ../c++/cursesf.cc -o ../obj_s/cursesf.o :info:build /usr/bin/g++-4.2 -I../c++ -I../include -I. -DHAVE_CONFIG_H -D_DARWIN_C_SOURCE -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I. -I../include -I/opt/local/include -pipe -O2 -arch x86_64 -dynamic -c ../c++/cursesm.cc -o ../obj_s/cursesm.o :info:build In file included from ../c++/cursesp.h:39, :info:build from ../c++/cursesf.h:39, :info:build from ../c++/cursesf.cc:35: :info:build ../c++/cursesw.h:777: error: expected ';' before 'THROWS' :info:build In file included from ../c++/cursesp.h:39, :info:build from ../c++/cursesm.h:39, :info:build from ../c++/cursesm.cc:35: :info:build ../c++/cursesw.h:777: error: expected ';' before 'THROWS' :info:build ../c++/cursesw.h: In member function 'virtual void NCursesFramedPad::setWindow(NCursesWindow&, int, int)': :info:build ../c++/cursesw.h:1545: error: 'err_handler' was not declared in this scope :info:build ../c++/cursesw.h: In member function 'virtual void NCursesFramedPad::setSubWindow(NCursesWindow&)': :info:build ../c++/cursesw.h:1550: error: 'err_handler' was not declared in this scope :info:build In file included from ../c++/cursesf.h:39, :info:build from ../c++/cursesf.cc:35: :info:build ../c++/cursesp.h: At global scope: :info:build ../c++/cursesp.h:89: error: expected ';' before 'THROWS' :info:build ../c++/cursesp.h:98: error: expected `;' before 'virtual' :info:build ../c++/cursesp.h: In member function 'void NCursesPanel::hide()': :info:build ../c++/cursesp.h:139: error: 'OnError' was not declared in this scope :info:build ../c++/cursesp.h: In member function 'void NCursesPanel::show()': :info:build ../c++/cursesp.h:145: error: 'OnError' was not declared in this scope :info:build ../c++/cursesp.h: In member function 'void NCursesPanel::top()': :info:build ../c++/cursesp.h:151: error: 'OnError' was not declared in this scope :info:build ../c++/cursesp.h: In member function 'void NCursesPanel::bottom()': :info:build ../c++/cursesp.h:157: error: 'OnError' was not declared in this scope :info:build ../c++/cursesw.h: In member function 'virtual void NCursesFramedPad::setWindow(NCursesWindow&, int, int)': :info:build ../c++/cursesw.h:1545: error: 'err_handler' was not declared in this scope :info:build ../c++/cursesp.h: In member function 'virtual int NCursesPanel::mvwin(int, int)': :info:build ../c++/cursesp.h:165: error: 'OnError' was not declared in this scope :info:build ../c++/cursesw.h: In member function 'virtual void NCursesFramedPad::setSubWindow(NCursesWindow&)': :info:build ../c++/cursesw.h:1550: error: 'err_handler' was not declared in this scope :info:build ../c++/cursesp.h: In member function 'NCursesPanel& NCursesPanel::above() const': :info:build ../c++/cursesp.h:184: error: 'OnError' was not declared in this scope :info:build ../c++/cursesp.h: In member function 'NCursesPanel& NCursesPanel::below() const': :info:build ../c++/cursesp.h:190: error: 'OnError' was not declared in this scope :info:build ../c++/cursesp.h: At global scope: :info:build ../c++/cursesp.h:235: error: expected primary-expression before '*' token :info:build ../c++/cursesp.h:235: error: expected primary-expression before ')' token :info:build ../c++/cursesp.h:235: error: there are no arguments to 'STATIC_CAST' that depend on a template parameter, so a declaration of 'STATIC_CAST' must be available :info:build ../c++/cursesp.h:235: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) :info:build ../c++/cursesp.h:244: error: expected primary-expression before '*' token :info:build ../c++/cursesp.h:244: error: expected primary-expression before ')' token :info:build ../c++/cursesp.h:244: error: there are no arguments to 'STATIC_CAST' that depend on a template parameter, so a declaration of 'STATIC_CAST' must be available :info:build In file included from ../c++/cursesm.h:39, :info:build from ../c++/cursesm.cc:35: :info:build ../c++/cursesp.h: At global scope: :info:build ../c++/cursesp.h:89: error: expected ';' before 'THROWS' :info:build ../c++/cursesp.h:98: error: expected `;' before 'virtual' :info:build In file included from ../c++/cursesf.cc:35: :info:build ../c++/cursesf.h:64: error: expected ';' before 'THROWS' :info:build ../c++/cursesf.h:69: error: expected `;' before 'NCursesFieldType' :info:build ../c++/cursesf.h: In constructor 'NCursesFieldType::NCursesFieldType()': :info:build ../c++/cursesf.h:79: error: expected primary-expression before '*' token :info:build ../c++/cursesf.h:79: error: expected primary-expression before ')' token :info:build ../c++/cursesf.h:79: error: 'STATIC_CAST' was not declared in this scope :info:build ../c++/cursesp.h: In member function 'void NCursesPanel::hide()': :info:build ../c++/cursesp.h:139: error: 'OnError' was not declared in this scope :info:build ../c++/cursesp.h: In member function 'void NCursesPanel::show()': :info:build ../c++/cursesp.h:145: error: 'OnError' was not declared in this scope :info:build ../c++/cursesp.h: In member function 'void NCursesPanel::top()': :info:build ../c++/cursesp.h:151: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: At global scope: :info:build ../c++/cursesf.h:112: error: expected ';' before 'THROWS' :info:build ../c++/cursesf.h:117: error: expected `;' before 'public' :info:build ../c++/cursesp.h: In member function 'void NCursesPanel::bottom()': :info:build ../c++/cursesp.h:157: error: 'OnError' was not declared in this scope :info:build ../c++/cursesp.h: In member function 'virtual int NCursesPanel::mvwin(int, int)': :info:build ../c++/cursesp.h:165: error: 'OnError' was not declared in this scope :info:build ../c++/cursesp.h: In member function 'NCursesPanel& NCursesPanel::above() const': :info:build ../c++/cursesp.h:184: error: 'OnError' was not declared in this scope :info:build ../c++/cursesp.h: In member function 'NCursesPanel& NCursesPanel::below() const': :info:build ../c++/cursesp.h:190: error: 'OnError' was not declared in this scope :info:build ../c++/cursesp.h: At global scope: :info:build ../c++/cursesp.h:235: error: expected primary-expression before '*' token :info:build ../c++/cursesp.h:235: error: expected primary-expression before ')' token :info:build ../c++/cursesp.h:235: error: there are no arguments to 'STATIC_CAST' that depend on a template parameter, so a declaration of 'STATIC_CAST' must be available :info:build ../c++/cursesp.h:235: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) :info:build ../c++/cursesp.h:244: error: expected primary-expression before '*' token :info:build ../c++/cursesp.h:244: error: expected primary-expression before ')' token :info:build ../c++/cursesp.h:244: error: there are no arguments to 'STATIC_CAST' that depend on a template parameter, so a declaration of 'STATIC_CAST' must be available :info:build ../c++/cursesf.h: In constructor 'NCursesFormField::NCursesFormField()': :info:build ../c++/cursesf.h:120: error: expected primary-expression before '*' token :info:build ../c++/cursesf.h:120: error: expected primary-expression before ')' token :info:build ../c++/cursesf.h:120: error: 'STATIC_CAST' was not declared in this scope :info:build ../c++/cursesf.h:121: error: expected primary-expression before '*' token :info:build ../c++/cursesf.h:121: error: expected primary-expression before ')' token :info:build ../c++/cursesf.h: In constructor 'NCursesFormField::NCursesFormField(int, int, int, int, int, int)': :info:build ../c++/cursesf.h:133: error: expected primary-expression before '*' token :info:build ../c++/cursesf.h:133: error: expected primary-expression before ')' token :info:build ../c++/cursesf.h:133: error: 'STATIC_CAST' was not declared in this scope :info:build ../c++/cursesf.h:138: error: 'errno' was not declared in this scope :info:build ../c++/cursesf.h:138: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'NCursesFormField* NCursesFormField::dup(int, int)': :info:build ../c++/cursesf.h:161: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h:166: error: 'errno' was not declared in this scope :info:build ../c++/cursesf.h:166: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'NCursesFormField* NCursesFormField::link(int, int)': :info:build ../c++/cursesf.h:175: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h:180: error: 'errno' was not declared in this scope :info:build ../c++/cursesf.h:180: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesFormField::info(int&, int&, int&, int&, int&, int&) const': :info:build ../c++/cursesf.h:196: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesFormField::dynamic_info(int&, int&, int&) const': :info:build ../c++/cursesf.h:203: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesFormField::set_maximum_growth(int)': :info:build ../c++/cursesf.h:209: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesFormField::move(int, int)': :info:build ../c++/cursesf.h:214: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesFormField::new_page(bool)': :info:build ../c++/cursesf.h:219: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesFormField::set_justification(int)': :info:build ../c++/cursesf.h:229: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesFormField::set_foreground(chtype)': :info:build ../c++/cursesf.h:238: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesFormField::set_background(chtype)': :info:build ../c++/cursesf.h:248: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesFormField::set_pad_character(int)': :info:build ../c++/cursesf.h:258: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesFormField::options_on(Field_Options)': :info:build ../c++/cursesf.h:268: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesFormField::options_off(Field_Options)': :info:build ../c++/cursesf.h:273: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesFormField::set_options(Field_Options)': :info:build ../c++/cursesf.h:283: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesFormField::set_changed(bool)': :info:build ../c++/cursesf.h:288: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesFormField::set_value(const char*, int)': :info:build ../c++/cursesf.h:304: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: At global scope: :info:build ../c++/cursesf.h:394: error: expected ';' before 'THROWS' :info:build ../c++/cursesf.h:400: error: expected `;' before 'virtual' :info:build In file included from ../c++/cursesm.cc:35: :info:build ../c++/cursesm.h:56: error: expected ';' before 'THROWS' :info:build ../c++/cursesm.h:61: error: expected `;' before 'public' :info:build ../c++/cursesm.h: In constructor 'NCursesMenuItem::NCursesMenuItem(const char*, const char*)': :info:build ../c++/cursesm.h:66: error: expected primary-expression before '*' token :info:build ../c++/cursesm.h:66: error: expected primary-expression before ')' token :info:build ../c++/cursesm.h:66: error: 'STATIC_CAST' was not declared in this scope :info:build ../c++/cursesf.h: In static member function 'static NCursesForm* NCursesForm::getHook(const FORM*)': :info:build ../c++/cursesf.h:364: error: 'assert' was not declared in this scope :info:build ../c++/cursesm.h:68: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesForm::set_user(void*)': :info:build ../c++/cursesf.h:380: error: 'assert' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void* NCursesForm::get_user()': :info:build ../c++/cursesf.h:386: error: 'assert' was not declared in this scope :info:build ../c++/cursesf.h: In constructor 'NCursesForm::NCursesForm(int, int, int, int)': :info:build ../c++/cursesf.h:409: error: expected primary-expression before '*' token :info:build ../c++/cursesf.h:409: error: expected primary-expression before ')' token :info:build ../c++/cursesf.h:409: error: 'STATIC_CAST' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenuItem::options_on(Item_Options)': :info:build ../c++/cursesm.h:106: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenuItem::options_off(Item_Options)': :info:build ../c++/cursesm.h:111: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenuItem::set_options(Item_Options)': :info:build ../c++/cursesm.h:121: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenuItem::set_value(bool)': :info:build ../c++/cursesm.h:126: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesForm::setFields(NCursesFormField**)': :info:build ../c++/cursesf.h:488: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesForm::unpost()': :info:build ../c++/cursesf.h:493: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: At global scope: :info:build ../c++/cursesm.h:255: error: expected ';' before 'THROWS' :info:build ../c++/cursesm.h:261: error: expected `;' before 'virtual' :info:build ../c++/cursesf.h: In member function 'void NCursesForm::post(bool)': :info:build ../c++/cursesf.h:498: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'virtual void NCursesForm::frame(const char*, const char*)': :info:build ../c++/cursesf.h:506: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'virtual void NCursesForm::boldframe(const char*, const char*)': :info:build ../c++/cursesf.h:513: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'virtual void NCursesForm::label(const char*, const char*)': :info:build ../c++/cursesf.h:520: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesForm::scale(int&, int&) const': :info:build ../c++/cursesf.h:543: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesForm::set_page(int)': :info:build ../c++/cursesf.h:553: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesForm::options_on(Form_Options)': :info:build ../c++/cursesf.h:563: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesForm::options_off(Form_Options)': :info:build ../c++/cursesf.h:568: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesForm::set_options(Form_Options)': :info:build ../c++/cursesf.h:578: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesForm::position_cursor()': :info:build ../c++/cursesf.h:593: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In static member function 'static NCursesMenu* NCursesMenu::getHook(const MENU*)': :info:build ../c++/cursesm.h:224: error: expected primary-expression before '*' token :info:build ../c++/cursesm.h:224: error: expected primary-expression before ')' token :info:build ../c++/cursesm.h:224: error: 'STATIC_CAST' was not declared in this scope :info:build ../c++/cursesm.h:225: error: 'assert' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::set_user(void*)': :info:build ../c++/cursesm.h:240: error: expected primary-expression before '*' token :info:build ../c++/cursesm.h:240: error: expected primary-expression before ')' token :info:build ../c++/cursesm.h:240: error: 'STATIC_CAST' was not declared in this scope :info:build ../c++/cursesm.h:241: error: 'assert' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void* NCursesMenu::get_user()': :info:build ../c++/cursesm.h:246: error: expected primary-expression before '*' token :info:build ../c++/cursesm.h:246: error: expected primary-expression before ')' token :info:build ../c++/cursesm.h:246: error: 'STATIC_CAST' was not declared in this scope :info:build ../c++/cursesm.h:247: error: 'assert' was not declared in this scope :info:build ../c++/cursesm.h: In constructor 'NCursesMenu::NCursesMenu(int, int, int, int)': :info:build ../c++/cursesm.h:270: error: expected primary-expression before '*' token :info:build ../c++/cursesm.h:270: error: expected primary-expression before ')' token :info:build ../c++/cursesm.h:270: error: 'STATIC_CAST' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'NCursesWindow& NCursesMenu::subWindow() const': :info:build ../c++/cursesm.h:338: error: 'assert' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::setItems(NCursesMenuItem**)': :info:build ../c++/cursesm.h:347: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::unpost()': :info:build ../c++/cursesm.h:352: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::post(bool)': :info:build ../c++/cursesm.h:357: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'void NCursesForm::set_current(NCursesFormField&)': :info:build ../c++/cursesf.h:597: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'NCursesFormField* NCursesForm::operator[](int) const': :info:build ../c++/cursesf.h:609: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::scale(int&, int&) const': :info:build ../c++/cursesm.h:362: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: At global scope: :info:build ../c++/cursesf.h:638: error: expected primary-expression before '*' token :info:build ../c++/cursesf.h:638: error: expected primary-expression before ')' token :info:build ../c++/cursesf.h:638: error: there are no arguments to 'STATIC_CAST' that depend on a template parameter, so a declaration of 'STATIC_CAST' must be available :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::set_format(int, int)': :info:build ../c++/cursesm.h:367: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In constructor 'NCursesUserField<T>::NCursesUserField(int, int, int, int, const T*, int, int)': :info:build ../c++/cursesf.h:645: error: expected primary-expression before 'void' :info:build ../c++/cursesf.h:645: error: there are no arguments to 'STATIC_CAST' that depend on a template parameter, so a declaration of 'STATIC_CAST' must be available :info:build ../c++/cursesf.h: In member function 'virtual void NCursesUserField<T>::setUserData(const T*)': :info:build ../c++/cursesf.h:656: error: expected primary-expression before 'void' :info:build ../c++/cursesf.h:656: error: there are no arguments to 'STATIC_CAST' that depend on a template parameter, so a declaration of 'STATIC_CAST' must be available :info:build ../c++/cursesf.h: At global scope: :info:build ../c++/cursesf.h:673: error: expected primary-expression before '*' token :info:build ../c++/cursesf.h:673: error: expected primary-expression before ')' token :info:build ../c++/cursesf.h:673: error: there are no arguments to 'STATIC_CAST' that depend on a template parameter, so a declaration of 'STATIC_CAST' must be available :info:build ../c++/cursesf.h:681: error: expected primary-expression before '*' token :info:build ../c++/cursesf.h:681: error: expected primary-expression before ')' token :info:build ../c++/cursesf.h:681: error: there are no arguments to 'STATIC_CAST' that depend on a template parameter, so a declaration of 'STATIC_CAST' must be available :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::set_mark(const char*)': :info:build ../c++/cursesm.h:397: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h:694: error: expected primary-expression before '*' token :info:build ../c++/cursesf.h:694: error: expected primary-expression before ')' token :info:build ../c++/cursesf.h:694: error: there are no arguments to 'STATIC_CAST' that depend on a template parameter, so a declaration of 'STATIC_CAST' must be available :info:build ../c++/cursesf.h: In member function 'virtual void Alpha_Field::set(NCursesFormField&)': :info:build ../c++/cursesf.h:727: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::options_on(Menu_Options)': :info:build ../c++/cursesm.h:448: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::options_off(Menu_Options)': :info:build ../c++/cursesm.h:452: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::set_options(Menu_Options)': :info:build ../c++/cursesm.h:460: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'virtual void Alphanumeric_Field::set(NCursesFormField&)': :info:build ../c++/cursesf.h:743: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::set_pad(int)': :info:build ../c++/cursesm.h:468: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::position_cursor() const': :info:build ../c++/cursesm.h:473: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::set_current(NCursesMenuItem&)': :info:build ../c++/cursesm.h:478: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::set_top_row(int)': :info:build ../c++/cursesm.h:488: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::setSpacing(int, int, int)': :info:build ../c++/cursesm.h:499: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'void NCursesMenu::Spacing(int&, int&, int&) const': :info:build ../c++/cursesm.h:509: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'virtual void NCursesMenu::frame(const char*, const char*)': :info:build ../c++/cursesm.h:517: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'virtual void NCursesMenu::boldframe(const char*, const char*)': :info:build ../c++/cursesm.h:524: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'virtual void NCursesMenu::label(const char*, const char*)': :info:build ../c++/cursesm.h:531: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: In member function 'NCursesMenuItem* NCursesMenu::operator[](int) const': :info:build ../c++/cursesm.h:562: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.h: At global scope: :info:build ../c++/cursesm.h:602: error: expected primary-expression before '*' token :info:build ../c++/cursesm.h:602: error: expected primary-expression before ')' token :info:build ../c++/cursesm.h:602: error: there are no arguments to 'STATIC_CAST' that depend on a template parameter, so a declaration of 'STATIC_CAST' must be available :info:build ../c++/cursesm.h: In constructor 'NCursesUserItem<T>::NCursesUserItem(const char*, const char*, const T*)': :info:build ../c++/cursesm.h:605: error: there are no arguments to 'OnError' that depend on a template parameter, so a declaration of 'OnError' must be available :info:build ../c++/cursesm.h: In member function 'virtual void NCursesUserItem<T>::setUserData(const T*)': :info:build ../c++/cursesm.h:616: error: there are no arguments to 'OnError' that depend on a template parameter, so a declaration of 'OnError' must be available :info:build ../c++/cursesm.h: At global scope: :info:build ../c++/cursesm.h:631: error: expected primary-expression before '*' token :info:build ../c++/cursesm.h:631: error: expected primary-expression before ')' token :info:build ../c++/cursesm.h:631: error: there are no arguments to 'STATIC_CAST' that depend on a template parameter, so a declaration of 'STATIC_CAST' must be available :info:build ../c++/cursesm.h:639: error: expected primary-expression before '*' token :info:build ../c++/cursesm.h:639: error: expected primary-expression before ')' token :info:build ../c++/cursesm.h:639: error: there are no arguments to 'STATIC_CAST' that depend on a template parameter, so a declaration of 'STATIC_CAST' must be available :info:build ../c++/cursesm.h:652: error: expected primary-expression before '*' token :info:build ../c++/cursesm.h:652: error: expected primary-expression before ')' token :info:build ../c++/cursesm.h:652: error: there are no arguments to 'STATIC_CAST' that depend on a template parameter, so a declaration of 'STATIC_CAST' must be available :info:build In file included from ../c++/cursesapp.h:39, :info:build from ../c++/cursesm.cc:36: :info:build ../c++/cursslk.h:120: error: expected ';' before 'THROWS' :info:build ../c++/cursslk.h:125: error: expected `;' before 'void' :info:build ../c++/cursesf.h: In member function 'virtual void Integer_Field::set(NCursesFormField&)': :info:build ../c++/cursesf.h:761: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'virtual void Numeric_Field::set(NCursesFormField&)': :info:build ../c++/cursesf.h:779: error: 'OnError' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::clear()': :info:build ../c++/cursslk.h:127: error: 'Error' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::restore()': :info:build ../c++/cursslk.h:133: error: 'Error' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'virtual void Regular_Expression_Field::set(NCursesFormField&)': :info:build ../c++/cursesf.h:795: error: 'OnError' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::refresh()': :info:build ../c++/cursslk.h:175: error: 'Error' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::noutrefresh()': :info:build ../c++/cursslk.h:182: error: 'Error' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::touch()': :info:build ../c++/cursslk.h:188: error: 'Error' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::CUR_attron(attr_t)': :info:build ../c++/cursslk.h:215: error: 'Error' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::CUR_attroff(attr_t)': :info:build ../c++/cursslk.h:220: error: 'Error' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::CUR_attrset(attr_t)': :info:build ../c++/cursslk.h:225: error: 'Error' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::color(short int)': :info:build ../c++/cursslk.h:230: error: 'Error' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'virtual void Enumeration_Field::set(NCursesFormField&)': :info:build ../c++/cursesf.h:843: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.cc: In destructor 'virtual NCursesMenuItem::~NCursesMenuItem()': :info:build ../c++/cursesm.cc:43: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'virtual void IPV4_Address_Field::set(NCursesFormField&)': :info:build ../c++/cursesf.h:877: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.h: In member function 'virtual void UserDefinedFieldType::set(NCursesFormField&)': :info:build ../c++/cursesf.h:912: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.cc: In member function 'void NCursesMenu::InitMenu(NCursesMenuItem**, bool, bool)': :info:build ../c++/cursesm.cc:137: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.cc:155: error: 'OnError' was not declared in this scope :info:build In file included from ../c++/cursesapp.h:39, :info:build from ../c++/cursesf.cc:36: :info:build ../c++/cursslk.h: At global scope: :info:build ../c++/cursslk.h:120: error: expected ';' before 'THROWS' :info:build ../c++/cursslk.h:125: error: expected `;' before 'void' :info:build ../c++/cursesm.cc: In destructor 'virtual NCursesMenu::~NCursesMenu()': :info:build ../c++/cursesm.cc:190: error: 'OnError' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::clear()': :info:build ../c++/cursslk.h:127: error: 'Error' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::restore()': :info:build ../c++/cursslk.h:133: error: 'Error' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::refresh()': :info:build ../c++/cursslk.h:175: error: 'Error' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::noutrefresh()': :info:build ../c++/cursslk.h:182: error: 'Error' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::touch()': :info:build ../c++/cursslk.h:188: error: 'Error' was not declared in this scope :info:build ../c++/cursesm.cc: In member function 'void NCursesMenu::setSubWindow(NCursesWindow&)': :info:build ../c++/cursesm.cc:210: error: 'OnError' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::CUR_attron(attr_t)': :info:build ../c++/cursslk.h:215: error: 'Error' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::CUR_attroff(attr_t)': :info:build ../c++/cursslk.h:220: error: 'Error' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::CUR_attrset(attr_t)': :info:build ../c++/cursslk.h:225: error: 'Error' was not declared in this scope :info:build ../c++/cursesm.cc: In member function 'bool NCursesMenu::set_pattern(const char*)': :info:build ../c++/cursesm.cc:229: error: 'OnError' was not declared in this scope :info:build ../c++/cursslk.h: In member function 'void Soft_Label_Key_Set::color(short int)': :info:build ../c++/cursslk.h:230: error: 'Error' was not declared in this scope :info:build ../c++/cursesm.cc: In member function 'virtual int NCursesMenu::driver(int)': :info:build ../c++/cursesm.cc:247: error: 'OnError' was not declared in this scope :info:build ../c++/cursesm.cc: In member function 'virtual NCursesMenuItem* NCursesMenu::operator()()': :info:build ../c++/cursesm.cc:324: error: 'assert' was not declared in this scope :info:build ../c++/cursesm.cc:352: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.cc: In destructor 'virtual NCursesFormField::~NCursesFormField()': :info:build ../c++/cursesf.cc:43: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.cc: In member function 'FIELD** NCursesForm::mapFields(NCursesFormField**)': :info:build ../c++/cursesf.cc:55: error: 'assert' was not declared in this scope :info:build ../c++/cursesf.cc: In member function 'void NCursesForm::InitForm(NCursesFormField**, bool, bool)': :info:build ../c++/cursesf.cc:121: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.cc:139: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.cc: In destructor 'virtual NCursesForm::~NCursesForm()': :info:build ../c++/cursesf.cc:164: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.cc: In member function 'void NCursesForm::setSubWindow(NCursesWindow&)': :info:build ../c++/cursesf.cc:184: error: 'OnError' was not declared in this scope :info:build make[1]: *** [../obj_s/cursesm.o] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build ../c++/cursesf.cc: In member function 'virtual int NCursesForm::driver(int)': :info:build ../c++/cursesf.cc:256: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.cc: In member function 'virtual NCursesFormField* NCursesForm::operator()()': :info:build ../c++/cursesf.cc:303: error: 'OnError' was not declared in this scope :info:build ../c++/cursesf.cc: In function 'bool _nc_xx_fld_fcheck(FIELD*, const void*)': :info:build ../c++/cursesf.cc:377: error: 'assert' was not declared in this scope :info:build ../c++/cursesf.cc: In function 'bool _nc_xx_fld_ccheck(int, const void*)': :info:build ../c++/cursesf.cc:386: error: 'assert' was not declared in this scope :info:build ../c++/cursesf.cc: In function 'bool _nc_xx_next_choice(FIELD*, const void*)': :info:build ../c++/cursesf.cc:409: error: 'assert' was not declared in this scope :info:build ../c++/cursesf.cc: In function 'bool _nc_xx_prev_choice(FIELD*, const void*)': :info:build ../c++/cursesf.cc:419: error: 'assert' was not declared in this scope :info:build make[1]: *** [../obj_s/cursesf.o] Error 1 :info:build make: *** [all] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/ncurses-5.8" && /usr/bin/make -j2 all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for ncurses): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log
Change History (2)
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to jmr@… |
Summary: | port install ncurses fails with Error: Status 1 during processing → ncurses: error: expected ';' before 'THROWS' |
comment:2 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This is the same as #26791, which I also couldn't reproduce and which also doesn't have a complete log.