minGW GCC build of trunk broken on helpchm change.

Tim Stahlhut stahta01 at verizon.net
Sat Mar 1 21:09:51 PST 2008


FYI: 
the use WPARAM causes an error. I added the line below and it helped,
but I can not decide if it should be added to the cpp or to the h file.
Problem is likely caused by the fact that MinGW GCC build does not use
pre-compiled header.

#include "wx/msw/wrapwin.h" // WPARAM

Tim S

Error below

In file included from ../../src/msw/helpchm.cpp:22:
../../include/wx/msw/helpchm.h: In static member function 'static bool wxCHMHelpController::CallHtmlHelp(wxWindow*, const wxChar*, unsigned int, const void*)':
../../include/wx/msw/helpchm.h:59: error: expected type-specifier before 'WPARAM'
../../include/wx/msw/helpchm.h:59: error: expected `>' before 'WPARAM'
../../include/wx/msw/helpchm.h:59: error: expected `(' before 'WPARAM'
../../include/wx/msw/helpchm.h:59: error: 'WPARAM' was not declared in this scope
mingw32-make: *** [gcc_mswu_multi_26\corelib_helpchm.o] Error 1







More information about the wx-dev mailing list