[MacPorts] #48114: cccc-3.1.4 fails to build
#48114: cccc-3.1.4 fails to build ----------------------------------------+-------------------------------- Reporter: schmieder.matthias@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.3.3 Keywords: yosemite,erase,Xcode 6.3.2 | Port: cccc ----------------------------------------+-------------------------------- Hi, just tried to install cccc an my MacBook Pro with Yosemite installed but it failed. The log output brings up the following error message {{{ ./cccc_tbl.cc:99:7: error: use of undeclared identifier 'erase' erase(value_iterator); ^ this-> }}} tracing the error down I found a missing scope in said function. '''cccc_tbl.cpp:92''' {{{ template<class T> bool CCCC_Table<T>::remove(T* old_item_ptr) { bool retval=false; typename map_t::iterator value_iterator=map_t::find(old_item_ptr->key()); if(value_iterator!=map_t::end()) { erase(value_iterator); retval=true; } return retval; } }}} changing '''cccc_tbl.cpp:99''' to {{{ map_t::erase(value_iterator); }}} fixed to problem. I added to log file as well as a patch file to this ticket. BR Matthias -- Ticket URL: <https://trac.macports.org/ticket/48114> MacPorts <https://www.macports.org/> Ports system for OS X
#48114: cccc @3.1.4 fails to build -----------------------------------+-------------------------------- Reporter: schmieder.matthias@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: yosemite, haspatch Port: cccc | -----------------------------------+-------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => mww@… * priority: High => Normal * keywords: yosemite,erase,Xcode 6.3.2 => yosemite, haspatch * cc: mww@…, schmieder.matthias@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/48114#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48114: cccc @3.1.4 fails to build -----------------------------------+-------------------------------- Reporter: schmieder.matthias@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: yosemite, haspatch Port: cccc | -----------------------------------+-------------------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => fixed Comment: patch add but this port doesn't https://trac.macports.org/wiki/UsingTheRightCompiler r145394 r145395 -- Ticket URL: <https://trac.macports.org/ticket/48114#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts