X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/223236c5a4b3ff5164042c3e62454e2148ce5a1e..99a15481d052df2d753805deb62b679b22e59392:/src/surf/xml/surfxml_parseplatf.cpp diff --git a/src/surf/xml/surfxml_parseplatf.cpp b/src/surf/xml/surfxml_parseplatf.cpp index 52019960a3..2576e498ba 100644 --- a/src/surf/xml/surfxml_parseplatf.cpp +++ b/src/surf/xml/surfxml_parseplatf.cpp @@ -72,6 +72,11 @@ void parse_platform_file(const std::string& file) */ 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);