[ wxwindows-Bugs-1726767 ] [2.8.4] XTI compilation failure, MingW

SourceForge.net noreply at sourceforge.net
Sun Jun 3 15:41:48 PDT 2007


Bugs item #1726767, was opened at 2007-05-28 11:35
Message generated for change (Comment added) made by vadz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1726767&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: Build -- windows
Group: Must fix
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: Pavel Vozenilek (pvozenilek)
Assigned to: Nobody/Anonymous (nobody)
>Summary: [2.8.4] XTI compilation failure, MingW

Initial Comment:
Version 2.8.4, compiler using MingW MSYS (GCC 3.4.2) configure under Windows XP.

First problem: in wx/object.h, class wxDynamicObject, function GetClassInfo the const_cast is incorrect and needs to be removed (const cast can only add or remove const, not change type).

Second problem: compilation error

/c/temp/a/wxWidgets-2.8.4/result/bk-deps g++ -c -o monolib_odcombo.o -I.pch/wxprec_monolib -D__WXMSW__     -I../src/tiff -I../src/jpeg -I../src/png -I../src/zlib  -I../src/regex -I../src/expat/lib -DwxUSE_BASE=1 -DWX_PRECOMP -I/c/temp/a/wxWidgets-2.8.4/result/lib/wx/include/msw-ansi-release-static-2.8 -I../include -mthreads -Wall -Wundef -Wno-ctor-dtor-privacy -Os -DWXMAKINGDLL -fno-strict-aliasing ../src/generic/odcombo.cpp
../src/generic/odcombo.cpp:800: error: no matching function for call to `wxClassInfo::wxClassInfo(const wxClassInfo*[3], const char[1], const char[21], int, wxObject*(*)(), wxPropertyInfo*, wxHandlerInfo*, wxConstructorBridge*&, const wxChar*[], const int&, wxObject*(&)(wxxVariant&), wxxVariant (&)(wxObject*))'
../include/wx/xti.h:1828: note: candidates are: wxClassInfo::wxClassInfo(const wxClassInfo&)
../include/wx/xti.h:1633: note:                 wxClassInfo::wxClassInfo(const wxChar*, const wxChar*, const wxClassInfo**)
../include/wx/xti.h:1610: note:                 wxClassInfo::wxClassInfo(const wxClassInfo**, const wxChar*, const wxChar*, int, wxObject*(*)(), wxPropertyInfo*, wxHandlerInfo*, wxConstructorBridge*, const wxChar**, int, wxObject*(*)(wxxVariant&), wxObject*(*)(wxxVariant&), wxxVariant (*)(wxObject*), bool (*)(const wxObject*, wxWriter*, wxPersister*, wxxVariantArray&))
make: *** [monolib_odcombo.o] Error 1


----------------------------------------------------------------------

>Comment By: Vadim Zeitlin (vadz)
Date: 2007-06-04 00:41

Message:
Logged In: YES 
user_id=71618
Originator: NO

I don't think you should spend time trying to use wxUSE_EXTENDED_RTTI in
2.8, it's unfinished there and will change during the summar as
finishing/improving it is one of the GSoC tasks. So please try to use it in
the SOC2007_XTI branch of the current cvs.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1726767&group_id=9863




More information about the wx-dev mailing list