Author: sapient
Date: Sat May 2 04:21:56 2009
New Revision: 35407
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35407&view=rev
Log:
log_domain must be declared in each .cpp file
Modified:
trunk/src/scripting/lua.cpp
Modified: trunk/src/scripting/lua.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/scripting/lua.cpp?rev=35407&r1=35406&r2=35407&view=diff
==============================================================================
--- trunk/src/scripting/lua.cpp (original)
+++ trunk/src/scripting/lua.cpp Sat May 2 04:21:56 2009
@@ -25,6 +25,7 @@
#ifdef DISABLE_LUA
#include "log.hpp"
#include "scripting/lua.hpp"
+static lg::log_domain lua("scripting/lua");
LuaKernel::LuaKernel() {LOG_STREAM(err, lua) << "Lua support disabled in this
build";}
LuaKernel::~LuaKernel() {}
void LuaKernel::run_event(vconfig const&, game_events::queued_event const&) {}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits