Opened 9 years ago
Closed 9 years ago
#48114 closed defect (fixed)
cccc @3.1.4 fails to build
Reported by: | schmieder.matthias@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | yosemite, haspatch | Cc: | kurthindenburg (Kurt Hindenburg) |
Port: | cccc |
Description
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
Attachments (2)
Change History (5)
Changed 9 years ago by schmieder.matthias@…
Attachment: | cccc_tbl.cc.patch added |
---|
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mww@… schmieder.matthias@… removed |
---|---|
Keywords: | haspatch added; erase Xcode 6.3.2 removed |
Owner: | changed from macports-tickets@… to mww@… |
Priority: | High → Normal |
Summary: | cccc-3.1.4 fails to build → cccc @3.1.4 fails to build |
comment:3 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)
Resolution: | → fixed |
---|---|
Status: | new → closed |
patch add but this port doesn't https://trac.macports.org/wiki/UsingTheRightCompiler
Note: See
TracTickets for help on using
tickets.
patch file