c++.wxwindows - Building wxWidgets 2.4.2 with DM 8.41
- Michael Mayfield (22/22) Feb 24 2005 When compiling i get the error. Anyone have a clue?
- Arjan Knepper (6/26) Feb 24 2005 Change line 76 in oleutils.h like below to work around the problem. IRRC...
- Michael Mayfield (4/4) Feb 25 2005 Thanks, works now, after i sorted a problem with finding
When compiling i get the error. Anyone have a clue? dmc -c -cpp -Ae -Ar -mn -D_WINDOWS -6 -a8 -Nc -c -H -HD..\..\d_mars -HO-= = -DWXMSW -D__WIN32__ -D__WIN95__ -D__WXDEBUG__ -I..\..\include -I..\..\lib\_sc= = -I..\..\ contrib\include = -I..\../src/regex;..\../src/png;..\../src/jpeg;..\../src/zlib;.. \../src/tiff ..\..\src\msw\ole\dataobj.cpp -o..\..\src\msw\ole\dataobj.= obj ..\..\include\wx/msw/ole/oleutils.h(76) : Error: reference must refer to= = same ty pe or be const Had: unsigned long and: unsigned long & --- errorlevel 1 --- errorlevel 1 C:\wx\src\msw> -- = MMayfield45
Feb 24 2005
Michael Mayfield wrote:When compiling i get the error. Anyone have a clue? dmc -c -cpp -Ae -Ar -mn -D_WINDOWS -6 -a8 -Nc -c -H -HD..\..\d_mars -HO- -DWXMSW -D__WIN32__ -D__WIN95__ -D__WXDEBUG__ -I..\..\include -I..\..\lib\_sc -I..\..\ contrib\include -I..\../src/regex;..\../src/png;..\../src/jpeg;..\../src/zlib;.. \../src/tiff ..\..\src\msw\ole\dataobj.cpp -o..\..\src\msw\ole\dataobj.obj ..\..\include\wx/msw/ole/oleutils.h(76) : Error: reference must refer to same ty pe or be const Had: unsigned long and: unsigned long & --- errorlevel 1 --- errorlevel 1 C:\wx\src\msw>Change line 76 in oleutils.h like below to work around the problem. IRRC Matthew reported a simlular problem a few days ago. // ULONG& operator=(ULONG value) { return m_Value = value; } ULONG& operator=(ULONG value) { m_Value = value; return m_Value; } Arjan
Feb 24 2005
Thanks, works now, after i sorted a problem with finding "..\..\lib\wx_sc.lib" posted before. -- MMayfield45
Feb 25 2005