[Commits] [wesnoth/wesnoth] b892e1: include lua/... files after others
GitHub
noreply at github.com
Thu Mar 26 23:56:18 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: b892e16b9487576e6f5699129801c1d2478f10a5
https://github.com/wesnoth/wesnoth/commit/b892e16b9487576e6f5699129801c1d2478f10a5
Author: gfgtdf <f492343 at rmqkr.net>
Date: 2015-03-27 (Fri, 27 Mar 2015)
Changed paths:
M src/ai/lua/core.cpp
M src/scripting/application_lua_kernel.cpp
M src/scripting/game_lua_kernel.cpp
M src/scripting/lua_api.cpp
M src/scripting/lua_common.cpp
M src/scripting/lua_cpp_function.cpp
M src/scripting/lua_fileops.cpp
M src/scripting/lua_gui2.cpp
M src/scripting/lua_kernel_base.cpp
M src/scripting/lua_map_location_ops.cpp
M src/scripting/lua_race.cpp
M src/scripting/lua_rng.cpp
M src/scripting/lua_team.cpp
M src/scripting/lua_unit_type.cpp
M src/scripting/mapgen_lua_kernel.cpp
Log Message:
-----------
include lua/... files after others
headers from lua/.. contain macros that can break other headers in
wesnoth, boost or other libraries.
In this case it was a macro
#define cast(t, exp) ((t)(exp))
defined in lua/llimits.h that broke a boost header.
More information about the Commits
mailing list