SimGrid (3.27.1) NOT RELEASED YET (v3.28 expected June 21. 2021, 03:32 UTC)
+LUA:
+ - Lua platform files are deprecated. Their support will be dropped after v3.31.
+
XBT:
- xbt_assert is not disabled anymore, even when built with enable_debug=off.
*/
if (is_lua) {
#if SIMGRID_HAVE_LUA
+ static bool already_warned = false;
+ if (not already_warned) { // XBT_ATTRIB_DEPRECATED_v332
+ XBT_WARN("You are using a lua platform file. This feature is deprecated and will disappear after SimGrid v3.31.");
+ already_warned = true;
+ }
lua_State* L = luaL_newstate();
luaL_openlibs(L);