[ wxwindows-Bugs-1688249 ] Can't compile on Windows with WXWIN_COMPATIBILITY_2_6=0

6 views
Skip to first unread message

SourceForge.net

unread,
Mar 27, 2007, 10:13:43 AM3/27/07
to nor...@sourceforge.net
Bugs item #1688249, was opened at 2007-03-26 14:34
Message generated for change (Comment added) made by rsrus
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1688249&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: Platform specific
Status: Open
Resolution: None
Priority: 4
Private: No
Submitted By: Serg Repalov (rsrus)
Assigned to: Nobody/Anonymous (nobody)
Summary: Can't compile on Windows with WXWIN_COMPATIBILITY_2_6=0

Initial Comment:
It's seem like some of MSW controls still use defines that are deprecated in 2.8. So, I can't compile wxWidgets 2.8.3 with WXWIN_COMPATIBILITY_2_6=0.

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

>Comment By: Serg Repalov (rsrus)
Date: 2007-03-27 18:13

Message:
Logged In: YES
user_id=540997
Originator: YES

There are last lines of compilation log:
------------------------------
cl /c /nologo /TP /Fovc_msw\corelib_spinctrl.obj /MT /DWIN32
/Fd..\..\lib\vc_lib\wxmsw28_core.pdb /O2 /D__WXMSW__
/I..\..\lib\vc_lib\msw /I..\..\include /W4 /I..\..\src\tiff
/I..\..\src\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex
/I..\..\src\expat\lib /DwxUSE_BASE=0 /GR /EHsc /Yu"wx/wxprec.h"
/Fp"vc_msw\wxprec_corelib.pch" ..\..\src\msw\spinctrl.cpp
spinctrl.cpp
..\..\src\msw\spinctrl.cpp(90) : error C2065: 'wxEVT_SCROLL_ENDSCROLL' :
undeclared identifier
------------------------------

as I see, there are using deprecated define: wxEVT_SCROLL_ENDSCROLL.

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

Comment By: Vadim Zeitlin (vadz)
Date: 2007-03-26 15:18

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

What exact errors do you get when compiling?

Thanks!

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

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

SourceForge.net

unread,
Mar 29, 2007, 2:00:39 PM3/29/07
to nor...@sourceforge.net
Bugs item #1688249, was opened at 2007-03-26 12:34
Message generated for change (Comment added) made by vadz

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: Platform specific

>Status: Closed
>Resolution: Fixed


Priority: 4
Private: No
Submitted By: Serg Repalov (rsrus)
Assigned to: Nobody/Anonymous (nobody)
Summary: Can't compile on Windows with WXWIN_COMPATIBILITY_2_6=0

Initial Comment:
It's seem like some of MSW controls still use defines that are deprecated in 2.8. So, I can't compile wxWidgets 2.8.3 with WXWIN_COMPATIBILITY_2_6=0.

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

>Comment By: Vadim Zeitlin (vadz)
Date: 2007-03-29 20:00

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

Well, you should have also mentioned that you use wxUSE_EXTENDED_RTTI
(which is off by default thus explaining why nobody else saw it).

Anyhow, should be fixed now in both branches, thanks.

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

Comment By: Serg Repalov (rsrus)

Date: 2007-03-27 16:13

Message:
Logged In: YES
user_id=540997
Originator: YES

There are last lines of compilation log:
------------------------------
cl /c /nologo /TP /Fovc_msw\corelib_spinctrl.obj /MT /DWIN32
/Fd..\..\lib\vc_lib\wxmsw28_core.pdb /O2 /D__WXMSW__
/I..\..\lib\vc_lib\msw /I..\..\include /W4 /I..\..\src\tiff
/I..\..\src\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex
/I..\..\src\expat\lib /DwxUSE_BASE=0 /GR /EHsc /Yu"wx/wxprec.h"
/Fp"vc_msw\wxprec_corelib.pch" ..\..\src\msw\spinctrl.cpp
spinctrl.cpp
..\..\src\msw\spinctrl.cpp(90) : error C2065: 'wxEVT_SCROLL_ENDSCROLL' :
undeclared identifier
------------------------------

as I see, there are using deprecated define: wxEVT_SCROLL_ENDSCROLL.

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

Comment By: Vadim Zeitlin (vadz)

Date: 2007-03-26 13:18

Reply all
Reply to author
Forward
0 new messages