[Haiku-commits] r31200 - haiku/trunk/src/apps/debugger/gui/team_window
Stephan Assmus
superstippi at gmx.de
Tue Jun 23 14:58:30 CEST 2009
Hi Ingo,
On 2009-06-23 at 14:18:44 [+0200], Ingo Weinhold <ingo_weinhold at gmx.de>
wrote:
> On 2009-06-23 at 14:12:10 [+0200], stippi at mail.berlios.de wrote:
> > + static int _CompareMarkers(const Marker* a,
> > + const Marker* b);
> > + static int _CompareBreakpointMarkers(
> > + const BreakpointMarker* a,
> > + const BreakpointMarker* b);
> >
> > template<typename MarkerType>
> > + static int _CompareLineMarkerTemplate(const
> > uint32* line,
> > + const MarkerType* marker);
>
> Not sure I understand what that is supposed to fix.
GCC2 was not able to resolve the "double templates":
/Code/home/Haiku/src/apps/debugger/gui/team_window/SourceView.cpp: In
method `void SourceView::MarkerView::_UpdateIPMarkers()':
/Code/home/Haiku/src/apps/debugger/gui/team_window/SourceView.cpp:604: no
matching function for call to
`BObjectList<SourceView::MarkerView::Marker>::SortItems (int (*)(const
MarkerType *, const MarkerType *))'
/Code/home/Haiku/headers/private/shared/ObjectList.h:613: candidates are:
void BObjectList<SourceView::MarkerView::Marker>::SortItems(int (*)(const
SourceView::MarkerView::Marker *, const SourceView::MarkerView::Marker *))
/Code/home/Haiku/headers/private/shared/ObjectList.h:620:
void BObjectList<SourceView::MarkerView::Marker>::SortItems(int (*)(const
SourceView::MarkerView::Marker *, const SourceView::MarkerView::Marker *,
void *), void *)
/Code/home/Haiku/src/apps/debugger/gui/team_window/SourceView.cpp: In
method `void SourceView::MarkerView::_UpdateBreakpointMarkers()':
"int (*)(const MarkerType *, const MarkerType *)" should in fact resolve to
"int (*)(const SourceView::MarkerView::Marker *, const
SourceView::MarkerView::Marker *)". But somehow GCC couldn't be made to
understand that it's the same thing. :-\
Best regards,
-Stephan
More information about the Haiku-commits
mailing list