I did some testing with 2.8. I took a fresh clone of
and tried to compile the library and the samples with three compilers. Also configured three test environments (VMware): Windows 95, XP and, Windows 7. All of them 32-bit installations. My build environment was a Windows XP SP3 Professional (32-bit).
1. I gave it a try with the latest TDM-GCC (5.1.0-3).
Build succeeded (with lots of warnings). No samples did start on Windows 95, only on XP and Windows 7. This means a
.
accordingly.
It gave me an error.
Code: Select all
if not exist ..\..\lib\gcc_lib\msw mkdir ..\..\lib\gcc_lib\msw
if not exist ..\..\lib\gcc_lib\msw\wx mkdir ..\..\lib\gcc_lib\msw\wx
g++ -c -o gcc_msw\corelib_display.o -O2 -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -I..\..\lib\gcc_lib\msw -I..\..\include -W -Wall -DWXBUILDING -I..\..\src\tiff -I..\..\src\jpeg -I..\..\src\png -I..\..\src\zlib -I..\..\src\regex -I..\..\src\expat\lib -DwxUSE_BASE=0 -Wno-ctor-dtor-privacy -D_WIN32_WINNT=0x0400 -MTgcc_msw\corelib_display.o -MFgcc_msw\corelib_display.o.d -MD -MP ../../src/msw/display.cpp
Makefile.gcc:10728: recipe for target 'gcc_msw\corelib_display.o' failed
In file included from ..\..\include/wx/defs.h:521:0,
from ..\..\include/wx/wxprec.h:13,
from ../../src/msw/display.cpp:22:
..\..\include/wx/dynarray.h: In member function 'void wxArrayShort::Remove(_wxArraywxArrayShort)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/dynarray.h:353:7: note: in expansion of macro 'wxCHECK2_MSG'
wxCHECK2_MSG( iIndex != wxNOT_FOUND, return, \
^
..\..\include/wx/dynarray.h:486:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_HELPER'
_WX_DEFINE_TYPEARRAY_HELPER(T, name, base, classexp, _WX_PTROP_NONE)
^
..\..\include/wx/dynarray.h:669:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR'
_WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl)
^
..\..\include/wx/dynarray.h:849:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR'
WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode)
^
..\..\include/wx/dynarray.h:993:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT'
WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE);
^
..\..\include/wx/dynarray.h: In member function 'void wxArrayInt::Remove(_wxArraywxArrayInt)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/dynarray.h:353:7: note: in expansion of macro 'wxCHECK2_MSG'
wxCHECK2_MSG( iIndex != wxNOT_FOUND, return, \
^
..\..\include/wx/dynarray.h:486:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_HELPER'
_WX_DEFINE_TYPEARRAY_HELPER(T, name, base, classexp, _WX_PTROP_NONE)
^
..\..\include/wx/dynarray.h:669:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR'
_WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl)
^
..\..\include/wx/dynarray.h:856:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR'
WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode)
^
..\..\include/wx/dynarray.h:994:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT'
WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE);
^
..\..\include/wx/dynarray.h: In member function 'void wxArrayDouble::Remove(_wxArraywxArrayDouble)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/dynarray.h:353:7: note: in expansion of macro 'wxCHECK2_MSG'
wxCHECK2_MSG( iIndex != wxNOT_FOUND, return, \
^
..\..\include/wx/dynarray.h:486:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_HELPER'
_WX_DEFINE_TYPEARRAY_HELPER(T, name, base, classexp, _WX_PTROP_NONE)
^
..\..\include/wx/dynarray.h:669:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR'
_WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl)
^
..\..\include/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR'
WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode)
^
..\..\include/wx/dynarray.h:995:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE'
WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE);
^
..\..\include/wx/dynarray.h: In member function 'void wxArrayLong::Remove(_wxArraywxArrayLong)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/dynarray.h:353:7: note: in expansion of macro 'wxCHECK2_MSG'
wxCHECK2_MSG( iIndex != wxNOT_FOUND, return, \
^
..\..\include/wx/dynarray.h:486:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_HELPER'
_WX_DEFINE_TYPEARRAY_HELPER(T, name, base, classexp, _WX_PTROP_NONE)
^
..\..\include/wx/dynarray.h:669:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR'
_WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl)
^
..\..\include/wx/dynarray.h:863:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR'
WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode)
^
..\..\include/wx/dynarray.h:996:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG'
WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE);
^
..\..\include/wx/dynarray.h: In member function 'void wxArrayPtrVoid::Remove(_wxArraywxArrayPtrVoid)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/dynarray.h:353:7: note: in expansion of macro 'wxCHECK2_MSG'
wxCHECK2_MSG( iIndex != wxNOT_FOUND, return, \
^
..\..\include/wx/dynarray.h:486:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_HELPER'
_WX_DEFINE_TYPEARRAY_HELPER(T, name, base, classexp, _WX_PTROP_NONE)
^
..\..\include/wx/dynarray.h:669:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR'
_WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl)
^
..\..\include/wx/dynarray.h:835:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR'
WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayPtrVoid, wxARRAY_EMPTY expmode)
^
..\..\include/wx/dynarray.h:997:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_PTR'
WX_DEFINE_USER_EXPORTED_ARRAY_PTR(void *, wxArrayPtrVoid, class WXDLLIMPEXP_BASE);
^
..\..\include/wx/buffer.h: In member function 'void wxMemoryBuffer::AppendByte(char)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/debug.h:233:38: note: in expansion of macro 'wxCHECK2_MSG'
#define wxCHECK_RET(cond, msg) wxCHECK2_MSG(cond, return, msg)
^
..\..\include/wx/buffer.h:289:9: note: in expansion of macro 'wxCHECK_RET'
wxCHECK_RET( m_bufdata->m_data, wxT("invalid wxMemoryBuffer") );
^
..\..\include/wx/vector.h: In member function 'wxVectorBase& wxVectorBase::operator=(const wxVectorBase&)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/debug.h:186:38: note: in expansion of macro 'wxCHECK2_MSG'
#define wxCHECK_MSG(cond, rc, msg) wxCHECK2_MSG(cond, return rc, msg)
^
..\..\include/wx/debug.h:183:38: note: in expansion of macro 'wxCHECK_MSG'
#define wxCHECK(cond, rc) wxCHECK_MSG(cond, rc, NULL)
^
..\..\include/wx/vector.h:129:9: note: in expansion of macro 'wxCHECK'
wxCHECK(copy(vb), *this);
^
..\..\include/wx/clntdata.h: In copy constructor 'wxClientDataDictionaryPairVector::wxClientDataDictionaryPairVector(const wxClientDataDictionaryPairVector&)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/debug.h:189:38: note: in expansion of macro 'wxCHECK2_MSG'
#define wxCHECK2(cond, op) wxCHECK2_MSG(cond, op, NULL)
^
..\..\include/wx/vector.h:148:9: note: in expansion of macro 'wxCHECK2'
wxCHECK2(copy(c), return);\
^
..\..\include/wx/vector.h:158:5: note: in expansion of macro 'WX_DECLARE_VECTORBASE'
WX_DECLARE_VECTORBASE(obj, cls)\
^
..\..\include/wx/clntdata.h:172:1: note: in expansion of macro '_WX_DECLARE_VECTOR'
_WX_DECLARE_VECTOR(
^
..\..\include/wx/clntdata.h: In member function 'void wxClientDataDictionaryPairVector::push_back(const wxClientDataDictionaryPair&)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/debug.h:189:38: note: in expansion of macro 'wxCHECK2_MSG'
#define wxCHECK2(cond, op) wxCHECK2_MSG(cond, op, NULL)
^
..\..\include/wx/vector.h:162:9: note: in expansion of macro 'wxCHECK2'
wxCHECK2(Alloc(size() + 1), return);\
^
..\..\include/wx/clntdata.h:172:1: note: in expansion of macro '_WX_DECLARE_VECTOR'
_WX_DECLARE_VECTOR(
^
..\..\include/wx/event.h: In member function 'void wxCloseEvent::Veto(bool)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/debug.h:233:38: note: in expansion of macro 'wxCHECK2_MSG'
#define wxCHECK_RET(cond, msg) wxCHECK2_MSG(cond, return, msg)
^
..\..\include/wx/event.h:1409:9: note: in expansion of macro 'wxCHECK_RET'
wxCHECK_RET( m_canVeto,
^
..\..\include/wx/event.h: In member function 'void wxEventTableEntryPointerArray::Remove(_wxArraywxEventTableEntryPointerArray)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/dynarray.h:353:7: note: in expansion of macro 'wxCHECK2_MSG'
wxCHECK2_MSG( iIndex != wxNOT_FOUND, return, \
^
..\..\include/wx/dynarray.h:486:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_HELPER'
_WX_DEFINE_TYPEARRAY_HELPER(T, name, base, classexp, _WX_PTROP_NONE)
^
..\..\include/wx/dynarray.h:669:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR'
_WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl)
^
..\..\include/wx/dynarray.h:649:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR'
WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT)
^
..\..\include/wx/dynarray.h:825:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR'
WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayPtrVoid)
^
..\..\include/wx/event.h:2324:1: note: in expansion of macro 'WX_DEFINE_ARRAY_PTR'
WX_DEFINE_ARRAY_PTR(const wxEventTableEntry*, wxEventTableEntryPointerArray);
^
..\..\include/wx/event.h: In function 'void wxPostEvent(wxEvtHandler*, wxEvent&)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/debug.h:233:38: note: in expansion of macro 'wxCHECK2_MSG'
#define wxCHECK_RET(cond, msg) wxCHECK2_MSG(cond, return, msg)
^
..\..\include/wx/event.h:2568:5: note: in expansion of macro 'wxCHECK_RET'
wxCHECK_RET( dest, wxT("need an object to post event to in wxPostEvent") );
^
..\..\include/wx/datetime.h: In member function 'void wxHolidayAuthoritiesArray::Remove(_wxArraywxHolidayAuthoritiesArray)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/dynarray.h:353:7: note: in expansion of macro 'wxCHECK2_MSG'
wxCHECK2_MSG( iIndex != wxNOT_FOUND, return, \
^
..\..\include/wx/dynarray.h:486:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_HELPER'
_WX_DEFINE_TYPEARRAY_HELPER(T, name, base, classexp, _WX_PTROP_NONE)
^
..\..\include/wx/dynarray.h:669:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR'
_WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl)
^
..\..\include/wx/dynarray.h:835:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR'
WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayPtrVoid, wxARRAY_EMPTY expmode)
^
..\..\include/wx/datetime.h:1506:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_PTR'
WX_DEFINE_USER_EXPORTED_ARRAY_PTR(wxDateTimeHolidayAuthority *,
^
..\..\include/wx/module.h: In member function 'void wxArrayClassInfo::Remove(_wxArraywxArrayClassInfo)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/dynarray.h:353:7: note: in expansion of macro 'wxCHECK2_MSG'
wxCHECK2_MSG( iIndex != wxNOT_FOUND, return, \
^
..\..\include/wx/dynarray.h:486:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_HELPER'
_WX_DEFINE_TYPEARRAY_HELPER(T, name, base, classexp, _WX_PTROP_NONE)
^
..\..\include/wx/dynarray.h:669:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR'
_WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl)
^
..\..\include/wx/dynarray.h:835:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR'
WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayPtrVoid, wxARRAY_EMPTY expmode)
^
..\..\include/wx/module.h:24:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_PTR'
WX_DEFINE_USER_EXPORTED_ARRAY_PTR(wxClassInfo *, wxArrayClassInfo,
^
..\..\include/wx/module.h: In member function 'void wxModule::AddDependency(wxClassInfo*)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/debug.h:233:38: note: in expansion of macro 'wxCHECK2_MSG'
#define wxCHECK_RET(cond, msg) wxCHECK2_MSG(cond, return, msg)
^
..\..\include/wx/module.h:71:9: note: in expansion of macro 'wxCHECK_RET'
wxCHECK_RET( dep, wxT("NULL module dependency") );
^
../../src/msw/display.cpp: In member function 'void wxDisplayInfoArray::Remove(_wxArraywxDisplayInfoArray)':
..\..\include/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
#define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
^
..\..\include/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
wxFORCE_SEMICOLON /* just to force a semicolon */
^
..\..\include/wx/dynarray.h:353:7: note: in expansion of macro 'wxCHECK2_MSG'
wxCHECK2_MSG( iIndex != wxNOT_FOUND, return, \
^
..\..\include/wx/dynarray.h:486:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_HELPER'
_WX_DEFINE_TYPEARRAY_HELPER(T, name, base, classexp, _WX_PTROP_NONE)
^
..\..\include/wx/dynarray.h:669:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR'
_WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl)
^
..\..\include/wx/dynarray.h:649:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR'
WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT)
^
..\..\include/wx/dynarray.h:825:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR'
WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayPtrVoid)
^
../../src/msw/display.cpp:177:1: note: in expansion of macro 'WX_DEFINE_ARRAY_PTR'
WX_DEFINE_ARRAY_PTR(wxDisplayInfo *, wxDisplayInfoArray);
^
../../src/msw/display.cpp: In member function 'virtual bool wxDisplayImplWin32Base::IsPrimary() const':
../../src/msw/display.cpp:481:30: error: 'MONITORINFOF_PRIMARY' was not declared in this scope
return (m_info.m_flags & MONITORINFOF_PRIMARY) != 0;
^
../../src/msw/display.cpp: In member function 'virtual int wxDisplayFactoryWin32Base::GetFromPoint(const wxPoint&)':
../../src/msw/display.cpp:580:56: error: 'MONITOR_DEFAULTTONULL' was not declared in this scope
MONITOR_DEFAULTTONULL));
^
../../src/msw/display.cpp: In member function 'virtual int wxDisplayFactoryWin32Base::GetFromWindow(wxWindow*)':
../../src/msw/display.cpp:586:57: error: 'MONITOR_DEFAULTTONULL' was not declared in this scope
MONITOR_DEFAULTTONULL));
^
mingw32-make: *** [gcc_msw\corelib_display.o] Error 1
2. My second try was with an older version of TDM-GCC (4.5.2).
Build succeeded (with only a few warnings). Samples did start on Windows 95, even without the
defines. This means
3. My third one was (just out of curiosity) MSVC++ 6.0.
At first sight it gave the best results. No compiler warnings at all. Really fast compilation. Three times smaller binaries than with GCC. All samples did work on Windows 95 and on Windows 7 as well.
What if I used MSVC++ 6.0 for compilation? What disadvantages will I have if I use MSVC 6.0 for compilation? Are there any known issues (that will never be fixed, because MSVC 6 is not supported anymore)?