[ wxwindows-Bugs-1726117 ] dynload.cpp cannot be built
SourceForge.net
noreply at sourceforge.net
Mon Jun 4 06:59:34 PDT 2007
Bugs item #1726117, was opened at 2007-05-26 17:16
Message generated for change (Comment added) made by vadz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1726117&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Common
Group: Must fix
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Hartwig Wiesmann (hwiesmann)
Assigned to: Nobody/Anonymous (nobody)
Summary: dynload.cpp cannot be built
Initial Comment:
Due to an illegal implicit conversion dynload.cpp cannot be built (at least not using the old Metrowerks compiler).
in line 80 the statement
m_before = wxClassInfo::GetFirst()
and
in line 82
m_after = wxClassInfo::GetFirst()
are trying to cast the constness of the pointer away. This is a compiler error on the Mac.
So, they should be replaced by
m_before = const_cast<wxClassInfo*>(wxClassInfo::GetFirst())
and the same with m_last
Hartwig
----------------------------------------------------------------------
>Comment By: Vadim Zeitlin (vadz)
Date: 2007-06-04 15:59
Message:
Logged In: YES
user_id=71618
Originator: NO
You seem to have a mix of 2.8 and HEAD sources: this code only uses
GetFirst() in HEAD but m_before is a const pointer there. Please check that
your wx sources correspond to either 2.8 or HEAD but not both.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1726117&group_id=9863
More information about the wx-dev
mailing list