I am trying to debug my code in Xcode, but I can't compile in debug mode. I have a C++ command-line utility that compiles just fine in the release configuration mode, but I get two identical errors in debug mode. I have copied the error at the end of this file.
I don't have a specific question, just looking for suggestions of what I can try to get my code to build in debug mode. Any suggestions?
/Users/jlconlin/Documents/Education/Thesis/Code/trunk/cpp/Xcode/../Geometry/OneDMesh/Iterators/SweepIter.hh:38: error: no matching function for call to '__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<Zone* const*, __gnu_norm::vector<Zone*, std::allocator<Zone*> > >, __gnu_debug_def::vector<Zone*, std::allocator<Zone*> > >::_Safe_iterator(int)'
/Developer/SDKs/MacOSX10.5.sdk/usr/include/c++/4.0.0/debug/safe_iterator.h:121: note: candidates are: __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator(const __gnu_debug::_Safe_iterator<_Iterator, _Sequence>&) [with _Iterator = __gnu_cxx::__normal_iterator<Zone* const*, __gnu_norm::vector<Zone*, std::allocator<Zone*> > >, _Sequence = __gnu_debug_def::vector<Zone*, std::allocator<Zone*> >]
/Developer/SDKs/MacOSX10.5.sdk/usr/include/c++/4.0.0/debug/safe_iterator.h:109: note: __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator(const _Iterator&, const _Sequence*) [with _Iterator = __gnu_cxx::__normal_iterator<Zone* const*, __gnu_norm::vector<Zone*, std::allocator<Zone*> > >, _Sequence = __gnu_debug_def::vector<Zone*, std::allocator<Zone*> >]
/Developer/SDKs/MacOSX10.5.sdk/usr/include/c++/4.0.0/debug/safe_iterator.h:100: note: __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator() [with _Iterator = __gnu_cxx::__normal_iterator<Zone* const*, __gnu_norm::vector<Zone*, std::allocator<Zone*> > >, _Sequence = __gnu_debug_def::vector<Zone*, std::allocator<Zone*> >]