Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- main.cpp
- aarch64-none-elf-g++ -MMD -MP -MF /d/TestCode/build/main.d -Wall -O2 -ffast-math -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -fno-plt -export-dynamic -s -I/d/TestCode/include -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/d/TestCode/build -DSWITCH -fno-rtti -fno-exceptions -fpermissive -Wno-parentheses -Wno-write-strings -std=gnu++11 -c /d/TestCode/source/main.cpp -o main.o
- In file included from D:/TestCode/source/l2c_imports.hpp:6,
- from D:/TestCode/source/main.cpp:18:
- D:/TestCode/source/lua_bind_hash.hpp: In function 'uint64_t lua_bind_hash(void*, size_t)':
- D:/TestCode/source/lua_bind_hash.hpp:7:21: warning: invalid conversion from 'void*' to 'int64_t*' {aka 'long int*'} [-fpermissive]
- int64_t *data = data_;
- ^~~~~
- In file included from D:/TestCode/source/main.cpp:18:
- D:/TestCode/source/l2c_imports.hpp: In function 'int lib::lua_const(const char*)':
- D:/TestCode/source/l2c_imports.hpp:99:50: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
- if (lua_bind_get_value(lua_bind_hash_str(str), &val))
- ^~~
- In file included from D:/TestCode/source/l2c_imports.hpp:6,
- from D:/TestCode/source/main.cpp:18:
- D:/TestCode/source/lua_bind_hash.hpp:95:34: note: initializing argument 1 of 'uint64_t lua_bind_hash_str(char*)'
- uint64_t lua_bind_hash_str(char* str) {
- ~~~~~~^~~
- In file included from D:/TestCode/source/script_replacement.hpp:9,
- from D:/TestCode/source/main.cpp:21:
- D:/TestCode/source/acmd_wrapper.hpp: In member function 'void ACMD::frame(float)':
- D:/TestCode/source/acmd_wrapper.hpp:40:29: error: no matching function for call to 'lib::L2CValue::L2CValue(float&)'
- L2CValue frame_val(f);
- ^
- In file included from D:/TestCode/source/main.cpp:18:
- D:/TestCode/source/l2c_imports.hpp:49:12: note: candidate: 'lib::L2CValue::L2CValue()'
- struct L2CValue
- ^~~~~~~~
- D:/TestCode/source/l2c_imports.hpp:49:12: note: candidate expects 0 arguments, 1 provided
- D:/TestCode/source/l2c_imports.hpp:49:12: note: candidate: 'constexpr lib::L2CValue::L2CValue(const lib::L2CValue&)'
- D:/TestCode/source/l2c_imports.hpp:49:12: note: no known conversion for argument 1 from 'float' to 'const lib::L2CValue&'
- D:/TestCode/source/l2c_imports.hpp:49:12: note: candidate: 'constexpr lib::L2CValue::L2CValue(lib::L2CValue&&)'
- D:/TestCode/source/l2c_imports.hpp:49:12: note: no known conversion for argument 1 from 'float' to 'lib::L2CValue&&'
- In file included from D:/TestCode/source/script_replacement.hpp:9,
- from D:/TestCode/source/main.cpp:21:
- D:/TestCode/source/acmd_wrapper.hpp: In member function 'void ACMD::wait(float)':
- D:/TestCode/source/acmd_wrapper.hpp:48:29: error: no matching function for call to 'lib::L2CValue::L2CValue(float&)'
- L2CValue frame_val(f);
- ^
- In file included from D:/TestCode/source/main.cpp:18:
- D:/TestCode/source/l2c_imports.hpp:49:12: note: candidate: 'lib::L2CValue::L2CValue()'
- struct L2CValue
- ^~~~~~~~
- D:/TestCode/source/l2c_imports.hpp:49:12: note: candidate expects 0 arguments, 1 provided
- D:/TestCode/source/l2c_imports.hpp:49:12: note: candidate: 'constexpr lib::L2CValue::L2CValue(const lib::L2CValue&)'
- D:/TestCode/source/l2c_imports.hpp:49:12: note: no known conversion for argument 1 from 'float' to 'const lib::L2CValue&'
- D:/TestCode/source/l2c_imports.hpp:49:12: note: candidate: 'constexpr lib::L2CValue::L2CValue(lib::L2CValue&&)'
- D:/TestCode/source/l2c_imports.hpp:49:12: note: no known conversion for argument 1 from 'float' to 'lib::L2CValue&&'
- In file included from D:/TestCode/source/script_replacement.hpp:9,
- from D:/TestCode/source/main.cpp:21:
- D:/TestCode/source/acmd_wrapper.hpp:50:26: error: 'wait' is not a member of 'app::sv_animcmd'
- app::sv_animcmd::wait(l2c_agent->lua_state_agent, f);
- ^~~~
- In file included from D:/TestCode/source/main.cpp:21:
- D:/TestCode/source/script_replacement.hpp: In function 'void replace_scripts(lib::L2CAgent*, u8, uint)':
- D:/TestCode/source/script_replacement.hpp:25:18: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare]
- if (kind == FIGHTER_KIND_FOX) {
- D:/TestCode/source/script_replacement.hpp:26:45: warning: invalid conversion from 'u64 (*)(lib::L2CAgent*, void*)' {aka 'long unsigned int (*)(lib::L2CAgent*, void*)'} to 'void*' [-fpermissive]
- l2c_agent->sv_set_function_hash(&shine_replace, hash40("game_speciallwstart"));
- ^~~~~~~~~~~~~~
- In file included from D:/TestCode/source/main.cpp:18:
- D:/TestCode/source/l2c_imports.hpp:91:38: note: initializing argument 1 of 'u64 lib::L2CAgent::sv_set_function_hash(void*, u64)'
- u64 sv_set_function_hash(void* func, u64 hash) asm("_ZN3lib8L2CAgent20sv_set_function_hashEPvN3phx6Hash40E") LINKABLE;
- ~~~~~~^~~~
- In file included from D:/TestCode/source/main.cpp:21:
- D:/TestCode/source/script_replacement.hpp:27:45: warning: invalid conversion from 'u64 (*)(lib::L2CAgent*, void*)' {aka 'long unsigned int (*)(lib::L2CAgent*, void*)'} to 'void*' [-fpermissive]
- l2c_agent->sv_set_function_hash(&shine_replace, hash40("game_specialairlwstart"));
- ^~~~~~~~~~~~~~
- In file included from D:/TestCode/source/main.cpp:18:
- D:/TestCode/source/l2c_imports.hpp:91:38: note: initializing argument 1 of 'u64 lib::L2CAgent::sv_set_function_hash(void*, u64)'
- u64 sv_set_function_hash(void* func, u64 hash) asm("_ZN3lib8L2CAgent20sv_set_function_hashEPvN3phx6Hash40E") LINKABLE;
- ~~~~~~^~~~
- In file included from D:/TestCode/source/main.cpp:21:
- D:/TestCode/source/script_replacement.hpp:31:18: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare]
- if (kind == FIGHTER_KIND_CAPTAIN) {
- D:/TestCode/source/script_replacement.hpp:32:45: warning: invalid conversion from 'u64 (*)(lib::L2CAgent*, void*)' {aka 'long unsigned int (*)(lib::L2CAgent*, void*)'} to 'void*' [-fpermissive]
- l2c_agent->sv_set_function_hash(&knee_replace, hash40("game_attackairf"));
- ^~~~~~~~~~~~~
- In file included from D:/TestCode/source/main.cpp:18:
- D:/TestCode/source/l2c_imports.hpp:91:38: note: initializing argument 1 of 'u64 lib::L2CAgent::sv_set_function_hash(void*, u64)'
- u64 sv_set_function_hash(void* func, u64 hash) asm("_ZN3lib8L2CAgent20sv_set_function_hashEPvN3phx6Hash40E") LINKABLE;
- ~~~~~~^~~~
- In file included from D:/TestCode/source/main.cpp:21:
- D:/TestCode/source/script_replacement.hpp: In function 'u64 knee_replace(lib::L2CAgent*, void*)':
- D:/TestCode/source/script_replacement.hpp:65:800: error: no matching function for call to 'ACMD::ATTACK(int, int, uint64_t, double, int, int, int, int, double, double, double, double, double, double, double, double, double, int, int, bool, int, double, int, bool, bool, bool, bool, bool, int, int, int, bool, uint64_t, int, int, int)'
- acmd.ATTACK(/*ID*/ 0, /*Part*/ 0, /*Bone*/ hash40("legl"), /*Damage*/ 22.0, /*Angle*/ 32, /*KBG*/ 81, /*FKB*/ 0, /*BKB*/ 30, /*Size*/ 3.0, /*X*/ 4.4, /*Y*/ -0.2, /*Z*/ -1.0, /*X2*/ 4.4, /*Y2*/ 0.3, /*Z2*/ 1.0, /*Hitlag*/ 1.2, /*SDI*/ 1.0, /*Clang/Rebound*/ ATTACK_SETOFF_KIND_ON, /*FacingRestrict*/ ATTACK_LR_CHECK_F, /*SetWeight*/ false, /*ShieldDamage*/ 0, /*Trip*/ 0.0, /*Rehit*/ 0, /*Reflectable*/ false, /*Absorbable*/ false, /*Flinchless*/ false, /*DisableHitlag*/ false, /*Direct/Indirect*/ true, /*Ground/Air*/ COLLISION_SITUATION_MASK_GA, /*Hitbits*/ COLLISION_CATEGORY_MASK_ALL, /*CollisionPart*/ COLLISION_PART_MASK_ALL, /*FriendlyFire*/ false, /*Effect*/ hash40("collision_attr_elec"), /*SFXLevel*/ ATTACK_SOUND_LEVEL_L, /*SFXType*/ COLLISION_SOUND_ATTR_KICK, /*Type*/ ATTACK_REGION_KNEE);
- ^
- In file included from D:/TestCode/source/script_replacement.hpp:9,
- from D:/TestCode/source/main.cpp:21:
- D:/TestCode/source/acmd_wrapper.hpp:62:10: note: candidate: 'void ACMD::ATTACK(u64, u64, u64, float, u64, u64, u64, u64, float, float, float, float, float, float, u64, u64, u64, u64, float, u64, u64, u64, u64, u64, u64, u64, u64, u64, u64, u64, u64, u64, u64)'
- void ATTACK(
- ^~~~~~
- D:/TestCode/source/acmd_wrapper.hpp:62:10: note: candidate expects 33 arguments, 36 provided
- D:/TestCode/source/main.cpp: In function 'void __libnx_exit(int)':
- D:/TestCode/source/main.cpp:67:1: warning: 'noreturn' function does return
- }
- ^
- make[1]: *** [/opt/devkitpro/devkitA64/base_rules:14: main.o] Error 1
- make: *** [Makefile:141: build] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement