Menu

#13 typo error and cannot compile under msw

open
nobody
None
5
2005-11-04
2005-11-04
Anonymous
No

Hi,

First there's a typo error line 35 in
src/msw/toolbutton_msw.cpp

#undef LONG_PTR;

compiler doesn't like semi-colon

Secondly,
when I try to compile it under WinXP with wxwidgets 2.6
by using the command line I get this:

D:\Projet En cours\wxDockit\build\msw>nmake -f
makefile.vc WX_DEBUG=0 WX_UNICODE
=0 WX_SHARED=0 WX_VERSION=26
D:\Projet En cours\wxDockit\build\msw>nmake -f
makefile.vc WX_DEBUG=0 WX_UNICODE
=0 WX_SHARED=0 WX_VERSION=26

Microsoft (R) Program Maintenance Utility Version
6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights
reserved.

cl /c /nologo /TP
/Fomsvc\wxdockit_lib_gdi_msw.obj /MD /DWIN32 /D__WX
MSW__ /ID:\Logiciels\wxWidgets-2.6.2\lib\vc_lib\msw
/ID:\Logiciels\wxWidgets-2
.6.2\include /I..\..\include /w /O2
/Fd..\..\lib\vc_lib\wxdockit.pdb /GR /E
Hsc ..\..\src\msw\gdi_msw.cpp
gdi_msw.cpp
..\..\src\msw\gdi_msw.cpp(22) : error C2632: 'long'
followed by 'long' is illega
l
..\..\src\msw\gdi_msw.cpp(22) : error C2143: syntax
error : missing ';' before '
,'
..\..\src\msw\gdi_msw.cpp(22) : error C2143: syntax
error : missing ';' before '
,'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

D:\Projet En cours\wxDockit\build\msw>

Any idea

Discussion


Log in to post a comment.