perbone / luascript

Lua language support for Godot Engine
Apache License 2.0
629 stars 44 forks source link

build error with android plantform #65

Closed Bayonetta5 closed 8 months ago

Bayonetta5 commented 8 months ago

with this line "// #define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))" in modules\luascript\debug.h file ,line:31

D:\15-Godot\SDK\godot-v4.2>scons platform=android target=template_debug arch=arm64 module_luascript_enabled=yes scons: Reading SConscript files ... Auto-detected 20 CPU cores available for build parallelism. Using 19 cores by default. You can override it with the -j argument. Checking for Android NDK... Building for platform "android", architecture "arm64", target "template_debug". Checking for C header file mntent.h... (cached) yes scons: done reading SConscript files. scons: Building targets ... [ 2%] Compiling shared platform\android\os_android.cpp ... [ 2%] Compiling shared platform\android\android_input_handler.cpp ... [ 2%] Compiling shared platform\android\file_access_android.cpp ... [ 2%] Compiling shared platform\android\file_access_filesystem_jandroid.cpp ... [ 2%] Compiling shared platform\android\audio_driver_opensl.cpp ... [ 2%] Compiling shared platform\android\dir_access_jandroid.cpp ... [ 2%] Compiling shared platform\android\tts_android.cpp ... [ 2%] Compiling shared platform\android\thread_jandroid.cpp ... [ 2%] Compiling shared platform\android\net_socket_android.cpp ... [ 2%] Compiling shared platform\android\java_godot_lib_jni.cpp ... [ 2%] Compiling shared platform\android\java_class_wrapper.cpp ... [ 2%] Compiling shared platform\android\java_godot_wrapper.cpp ... [ 2%] Compiling shared platform\android\java_godot_view_wrapper.cpp ... [ 2%] Compiling shared platform\android\java_godot_io_wrapper.cpp ... [ 2%] Compiling shared platform\android\jni_utils.cpp ... [ 2%] Compiling shared platform\android\android_keys_utils.cpp ... [ 6%] Compiling shared platform\android\display_server_android.cpp ... [ 6%] Compiling shared platform\android\plugin\godot_plugin_jni.cpp ... [ 6%] Compiling shared platform\android\vulkan_context_android.cpp ... [ 6%] Compiling shared thirdparty\misc\ifaddrs-android.cc ... [ 33%] Compiling modules\luascript\debug.cpp ... [ 33%] Compiling modules\luascript\lua_script.cpp ... [ 33%] Compiling modules\luascript\lua_script_instance.cpp ... [ 33%] Compiling modules\luascript\lua_script_language.cpp ... [ 33%] Compiling modules\luascript\lua_script_resource_formate_loader.cpp ... [ 33%] Compiling modules\luascript\lua_script_resource_formate_saver.cpp ... [ 33%] Compiling modules\luascript\register_types.cpp ... [ 39%] ===== In file included from modules\luascript\lua_script.cpp:23: modules\luascript/lua_script_language.h:117:3: error: expected expression print_debug("_LuaScriptLanguage::get_singleton"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

In file included from modules\luascript\lua_script.cpp:23: modules\luascript/lua_script_language.h:123:3: error: expected expression print_debug("_LuaScriptLanguage::acquire"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:32:2: error: expected expression print_debug("LuaScript::constructor"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:41:2: error: expected expression print_debug("LuaScript::destructor"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:50:2: error: expected expression print_debug("LuaScript::can_instantiate"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:57:2: error: expected expression print_debug("LuaScript::get_base_script"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:63:2: error: expected expression print_debug("LuaScript::get_global_name"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:69:2: error: expected expression print_debug("LuaScript::inherits_script"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:75:2: error: expected expression print_debug("LuaScript::get_instance_base_type"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:81:2: error: expected expression print_debug("LuaScript::instance_create( p_this = " + p_this->get_class_name() + " )"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:116:2: error: expected expression print_debug("LuaScript::instance_has( p_this = " + p_this->get_class_name() + " ) found = " + (found ? "yes" : "no") + " )"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:122:2: error: expected expression print_debug("LuaScript::has_source_code"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:128:2: error: expected expression print_debug("LuaScript::get_source_code"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:134:2: error: expected expression print_debug("LuaScript::set_source_code"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:194:2: error: expected expression print_debug("LuaScript::is_tool"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:200:2: error: expected expression print_debug("LuaScript::is_valid"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:206:2: error: expected expression print_debug("LuaScript::is_abstract"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:212:2: error: expected expression print_debug("LuaScript::get_language"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script.cpp:224:2: error: expected expression print_debug("LuaScript::get_script_signal_list"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated.

=====

modules\luascript\lua_script_resource_formate_saver.cpp:26:2: error: expected expression print_debug("LuaScriptResourceFormatSaver::constructor"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_resource_formate_saver.cpp:30:2: error: expected expression print_debug("LuaScriptResourceFormatSaver::destructor"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_resource_formate_saver.cpp:33:2: error: expected expression print_debug("LuaScriptResourceFormatSaver::save( p_path = " + p_path + " )"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_resource_formate_saver.cpp:57:2: error: expected expression print_debug("LuaScriptResourceFormatSaver::get_recognized_extensions"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_resource_formate_saver.cpp:65:2: error: expected expression print_debug("LuaScriptResourceFormatSaver::recognize"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

5 errors generated. [ 39%]

[ 39%] ===== In file included from modules\luascript\lua_script_instance.cpp:24: modules\luascript/lua_script_language.h:117:3: error: expected expression print_debug("_LuaScriptLanguage::get_singleton"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

In file included from modules\luascript\lua_script_instance.cpp:24: modules\luascript/lua_script_language.h:123:3: error: expected expression print_debug("_LuaScriptLanguage::acquire"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_instance.cpp:33:2: error: expected expression print_debug("LuaScriptInstance::destructor"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_instance.cpp:54:2: error: expected expression print_debug("LuaScriptInstance::get_property_list"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_instance.cpp:65:2: error: expected expression print_debug("LuaScriptInstance::validate_property"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_instance.cpp:80:2: error: expected expression print_debug("LuaScriptInstance::get_owner"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_instance.cpp:86:2: error: expected expression print_debug("LuaScriptInstance::get_property_state"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_instance.cpp:90:2: error: expected expression print_debug("LuaScriptInstance::get_method_list"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_instance.cpp:95:2: error: expected expression print_debug("LuaScriptInstance::has_method( p_method = " + p_method + " )"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_instance.cpp:101:2: error: expected expression print_debug("LuaScriptInstance::callp( p_method = " + p_method + " ) " + baseClassName); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_instance.cpp:126:2: error: expected expression print_debug("LuaScriptInstance::refcount_incremented"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_instance.cpp:131:2: error: expected expression print_debug("LuaScriptInstance::refcount_decremented"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_instance.cpp:137:2: error: expected expression print_debug("LuaScriptInstance::get_script"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_instance.cpp:143:2: error: expected expression print_debug("LuaScriptInstance::is_placeholder"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_instance.cpp:159:2: error: expected expression print_debug("LuaScriptInstance::get_rpc_config"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_instance.cpp:165:2: error: expected expression print_debug("LuaScriptInstance::get_language"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

16 errors generated. [ 39%]

[ 40%] ===== In file included from modules\luascript\lua_script_language.cpp:20: modules\luascript/lua_script_language.h:117:3: error: expected expression print_debug("_LuaScriptLanguage::get_singleton"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

In file included from modules\luascript\lua_script_language.cpp:20: modules\luascript/lua_script_language.h:123:3: error: expected expression print_debug("_LuaScriptLanguage::acquire"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:37:2: error: expected expression print_debug("LuaScriptLanguage::constructor"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:44:2: error: expected expression print_debug("LuaScriptLanguage::destructor"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:53:2: error: expected expression print_debug("LuaScriptLanguage::init"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:58:2: error: expected expression print_debug("LuaScriptLanguage::get_name"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:64:2: error: expected expression print_debug("LuaScriptLanguage::get_type"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:70:2: error: expected expression print_debug("LuaScriptLanguage::get_extension"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:76:2: error: expected expression print_debug("LuaScriptLanguage::finish"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:81:2: error: expected expression print_debug("LuaScriptLanguage::get_reserved_words"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:135:2: error: expected expression print_debug("LuaScriptLanguage::get_comment_delimiters"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:142:2: error: expected expression print_debug("LuaScriptLanguage::get_doc_comment_delimiters"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:146:2: error: expected expression print_debug("LuaScriptLanguage::get_string_delimiters"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:157:2: error: expected expression print_debug("LuaScriptLanguage::make_template( p_template = " + p_template + ", p_class_name = " + p_class_name + ", p_base_class_name = " + p_base_class_name + " )"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:192:2: error: expected expression print_debug("LuaScriptLanguage::get_built_in_templates"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:198:2: error: expected expression print_debug("LuaScriptLanguage::is_using_templates"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:227:2: error: expected expression print_debug("LuaScriptLanguage::validate_path( p_path = " + p_path + " )"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:233:2: error: expected expression print_debug("LuaScriptLanguage::create_script"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_language.cpp:239:2: error: expected expression print_debug("LuaScriptLanguage::has_named_classes"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [ 40%]

[ 40%] ===== In file included from modules\luascript\register_types.cpp:23: modules\luascript/lua_script_language.h:117:3: error: expected expression print_debug("_LuaScriptLanguage::get_singleton"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

In file included from modules\luascript\register_types.cpp:23: modules\luascript/lua_script_language.h:123:3: error: expected expression print_debug("_LuaScriptLanguage::acquire"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

2 errors generated.

=====

In file included from modules\luascript\lua_script_resource_formate_loader.cpp:24: modules\luascript/lua_script_language.h:117:3: error: expected expression print_debug("_LuaScriptLanguage::get_singleton"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

In file included from modules\luascript\lua_script_resource_formate_loader.cpp:24: modules\luascript/lua_script_language.h:123:3: error: expected expression print_debug("_LuaScriptLanguage::acquire"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_resource_formate_loader.cpp:27:2: error: expected expression print_debug("LuaScriptResourceFormatLoader::constructor"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_resource_formate_loader.cpp:31:2: error: expected expression print_debug("LuaScriptResourceFormatLoader::destructor"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_resource_formate_loader.cpp:35:2: error: expected expression print_debug("LuaScriptResourceFormatLoader::load( p_path = " + p_path + ", p_original_path = " + p_original_path + " )"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_resource_formate_loader.cpp:69:2: error: expected expression print_debug("LuaScriptResourceFormatLoader::get_recognized_extensions"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_resource_formate_loader.cpp:75:2: error: expected expression print_debug("LuaScriptResourceFormatLoader::handles_type( p_type = " + p_type + " )"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_resource_formate_loader.cpp:81:2: error: expected expression print_debug("LuaScriptResourceFormatLoader::get_resource_type( p_path = " + p_path + " )"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

modules\luascript\lua_script_resource_formate_loader.cpp:87:2: error: expected expression print_debug("LuaScriptResourceFormatLoader::get_dependencies( p_path = " + p_path + " )"); ^ modules\luascript/debug.h:31:67: note: expanded from macro 'print_debug'

define print_debug(fmt, ...) print_line(vformat(fmt, __VA_ARGS__))

                                                              ^

9 errors generated.

===== [ 99%] progress_finish(["progress_finish"], []) [100%] scons: [modules\luascript\lua_script.android.template_debug.arm64.o] Error 1 scons: [modules\luascript\lua_script_resource_formate_saver.android.template_debug.arm64.o] Error 1 scons: [modules\luascript\lua_script_instance.android.template_debug.arm64.o] Error 1 scons: [modules\luascript\lua_script_language.android.template_debug.arm64.o] Error 1 scons: [modules\luascript\register_types.android.template_debug.arm64.o] Error 1 scons: [modules\luascript\lua_script_resource_formate_loader.android.template_debug.arm64.o] Error 1 scons: building terminated because of errors. [Time elapsed: 00:00:11.880]

Bayonetta5 commented 8 months ago

duplicate with previous issues