[MacPorts] #48114: cccc-3.1.4 fails to build

MacPorts noreply at macports.org
Sat Jun 20 00:10:17 PDT 2015


#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


More information about the macports-tickets mailing list