SourceForge logo
SourceForge logo
Menu

[wxlua-users] Compilation errors without compat28 setting with the trunk version

From: Paul K <pau...@ya...> - 2014年02月07日 23:48:10
Hi John,
I came across few more compilation errors when compat28 flag is not used:
[ 17%] Building CXX object
modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_geometry.cpp.o
/home/paul/zbs/build/wxlua/wxLua/modules/wxbind/src/wxcore_defsutils.cpp:
In function 'int wxLua_wxMouseState_LeftDown(lua_State*)':
/home/paul/zbs/build/wxlua/wxLua/modules/wxbind/src/wxcore_defsutils.cpp:455:27:
error: 'class wxMouseState' has no member named 'LeftDown'
 bool returns = (self->LeftDown());
 ^
/home/paul/zbs/build/wxlua/wxLua/modules/wxbind/src/wxcore_defsutils.cpp:
In function 'int wxLua_wxMouseState_MiddleDown(lua_State*)':
/home/paul/zbs/build/wxlua/wxLua/modules/wxbind/src/wxcore_defsutils.cpp:487:27:
error: 'class wxMouseState' has no member named 'MiddleDown'
 bool returns = (self->MiddleDown());
 ^
/home/paul/zbs/build/wxlua/wxLua/modules/wxbind/src/wxcore_defsutils.cpp:
In function 'int wxLua_wxMouseState_RightDown(lua_State*)':
/home/paul/zbs/build/wxlua/wxLua/modules/wxbind/src/wxcore_defsutils.cpp:503:27:
error: 'class wxMouseState' has no member named 'RightDown'
 bool returns = (self->RightDown());
 ^
This is using the latest trunk of wxlua and wxwidgets (compiling on Linux).
The compilation proceeded successfully when I added --enable-compat28.
Paul.

View entire thread

Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /