ソースを参照

Use #error instead of #warning

Ole Krüger 10 年 前
コミット
17b852e72e
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      lib/luwra/common.h

+ 2 - 2
lib/luwra/common.h

@@ -15,8 +15,8 @@
 #include <lua.hpp>
 
 // Check for proper Lua version
-#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 503 || LUA_VERSION >= 600
-	#warning "Luwra has not been tested against your installed version of Lua"
+#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 503 || LUA_VERSION_NUM >= 600
+	#error "Luwra has not been tested against your installed version of Lua"
 #endif
 
 #define LUWRA_NS_BEGIN namespace luwra {