SHARE
TWEET

Untitled

a guest May 23rd, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. main.cpp
  2. 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
  3. In file included from D:/TestCode/source/l2c_imports.hpp:6,
  4.                  from D:/TestCode/source/main.cpp:18:
  5. D:/TestCode/source/lua_bind_hash.hpp: In function 'uint64_t lua_bind_hash(void*, size_t)':
  6. D:/TestCode/source/lua_bind_hash.hpp:7:21: warning: invalid conversion from 'void*' to 'int64_t*' {aka 'long int*'} [-fpermissive]
  7.      int64_t *data = data_;
  8.                      ^~~~~
  9. In file included from D:/TestCode/source/main.cpp:18:
  10. D:/TestCode/source/l2c_imports.hpp: In function 'int lib::lua_const(const char*)':
  11. D:/TestCode/source/l2c_imports.hpp:99:50: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  12.          if (lua_bind_get_value(lua_bind_hash_str(str), &val))
  13.                                                   ^~~
  14. In file included from D:/TestCode/source/l2c_imports.hpp:6,
  15.                  from D:/TestCode/source/main.cpp:18:
  16. D:/TestCode/source/lua_bind_hash.hpp:95:34: note:   initializing argument 1 of 'uint64_t lua_bind_hash_str(char*)'
  17.  uint64_t lua_bind_hash_str(char* str) {
  18.                             ~~~~~~^~~
  19. In file included from D:/TestCode/source/script_replacement.hpp:9,
  20.                  from D:/TestCode/source/main.cpp:21:
  21. D:/TestCode/source/acmd_wrapper.hpp: In member function 'void ACMD::frame(float)':
  22. D:/TestCode/source/acmd_wrapper.hpp:40:29: error: no matching function for call to 'lib::L2CValue::L2CValue(float&)'
  23.          L2CValue frame_val(f);
  24.                              ^
  25. In file included from D:/TestCode/source/main.cpp:18:
  26. D:/TestCode/source/l2c_imports.hpp:49:12: note: candidate: 'lib::L2CValue::L2CValue()'
  27.      struct L2CValue
  28.             ^~~~~~~~
  29. D:/TestCode/source/l2c_imports.hpp:49:12: note:   candidate expects 0 arguments, 1 provided
  30. D:/TestCode/source/l2c_imports.hpp:49:12: note: candidate: 'constexpr lib::L2CValue::L2CValue(const lib::L2CValue&)'
  31. D:/TestCode/source/l2c_imports.hpp:49:12: note:   no known conversion for argument 1 from 'float' to 'const lib::L2CValue&'
  32. D:/TestCode/source/l2c_imports.hpp:49:12: note: candidate: 'constexpr lib::L2CValue::L2CValue(lib::L2CValue&&)'
  33. D:/TestCode/source/l2c_imports.hpp:49:12: note:   no known conversion for argument 1 from 'float' to 'lib::L2CValue&&'
  34. In file included from D:/TestCode/source/script_replacement.hpp:9,
  35.                  from D:/TestCode/source/main.cpp:21:
  36. D:/TestCode/source/acmd_wrapper.hpp: In member function 'void ACMD::wait(float)':
  37. D:/TestCode/source/acmd_wrapper.hpp:48:29: error: no matching function for call to 'lib::L2CValue::L2CValue(float&)'
  38.          L2CValue frame_val(f);
  39.                              ^
  40. In file included from D:/TestCode/source/main.cpp:18:
  41. D:/TestCode/source/l2c_imports.hpp:49:12: note: candidate: 'lib::L2CValue::L2CValue()'
  42.      struct L2CValue
  43.             ^~~~~~~~
  44. D:/TestCode/source/l2c_imports.hpp:49:12: note:   candidate expects 0 arguments, 1 provided
  45. D:/TestCode/source/l2c_imports.hpp:49:12: note: candidate: 'constexpr lib::L2CValue::L2CValue(const lib::L2CValue&)'
  46. D:/TestCode/source/l2c_imports.hpp:49:12: note:   no known conversion for argument 1 from 'float' to 'const lib::L2CValue&'
  47. D:/TestCode/source/l2c_imports.hpp:49:12: note: candidate: 'constexpr lib::L2CValue::L2CValue(lib::L2CValue&&)'
  48. D:/TestCode/source/l2c_imports.hpp:49:12: note:   no known conversion for argument 1 from 'float' to 'lib::L2CValue&&'
  49. In file included from D:/TestCode/source/script_replacement.hpp:9,
  50.                  from D:/TestCode/source/main.cpp:21:
  51. D:/TestCode/source/acmd_wrapper.hpp:50:26: error: 'wait' is not a member of 'app::sv_animcmd'
  52.          app::sv_animcmd::wait(l2c_agent->lua_state_agent, f);
  53.                           ^~~~
  54. In file included from D:/TestCode/source/main.cpp:21:
  55. D:/TestCode/source/script_replacement.hpp: In function 'void replace_scripts(lib::L2CAgent*, u8, uint)':
  56. D:/TestCode/source/script_replacement.hpp:25:18: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  57.          if (kind == FIGHTER_KIND_FOX) {
  58. 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]
  59.              l2c_agent->sv_set_function_hash(&shine_replace, hash40("game_speciallwstart"));
  60.                                              ^~~~~~~~~~~~~~
  61. In file included from D:/TestCode/source/main.cpp:18:
  62. D:/TestCode/source/l2c_imports.hpp:91:38: note:   initializing argument 1 of 'u64 lib::L2CAgent::sv_set_function_hash(void*, u64)'
  63.        u64 sv_set_function_hash(void* func, u64 hash) asm("_ZN3lib8L2CAgent20sv_set_function_hashEPvN3phx6Hash40E") LINKABLE;
  64.                                 ~~~~~~^~~~
  65. In file included from D:/TestCode/source/main.cpp:21:
  66. 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]
  67.              l2c_agent->sv_set_function_hash(&shine_replace, hash40("game_specialairlwstart"));
  68.                                              ^~~~~~~~~~~~~~
  69. In file included from D:/TestCode/source/main.cpp:18:
  70. D:/TestCode/source/l2c_imports.hpp:91:38: note:   initializing argument 1 of 'u64 lib::L2CAgent::sv_set_function_hash(void*, u64)'
  71.        u64 sv_set_function_hash(void* func, u64 hash) asm("_ZN3lib8L2CAgent20sv_set_function_hashEPvN3phx6Hash40E") LINKABLE;
  72.                                 ~~~~~~^~~~
  73. In file included from D:/TestCode/source/main.cpp:21:
  74. D:/TestCode/source/script_replacement.hpp:31:18: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  75.          if (kind == FIGHTER_KIND_CAPTAIN) {
  76. 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]
  77.              l2c_agent->sv_set_function_hash(&knee_replace, hash40("game_attackairf"));
  78.                                              ^~~~~~~~~~~~~
  79. In file included from D:/TestCode/source/main.cpp:18:
  80. D:/TestCode/source/l2c_imports.hpp:91:38: note:   initializing argument 1 of 'u64 lib::L2CAgent::sv_set_function_hash(void*, u64)'
  81.        u64 sv_set_function_hash(void* func, u64 hash) asm("_ZN3lib8L2CAgent20sv_set_function_hashEPvN3phx6Hash40E") LINKABLE;
  82.                                 ~~~~~~^~~~
  83. In file included from D:/TestCode/source/main.cpp:21:
  84. D:/TestCode/source/script_replacement.hpp: In function 'u64 knee_replace(lib::L2CAgent*, void*)':
  85. 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)'
  86.  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);
  87.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ^
  88. In file included from D:/TestCode/source/script_replacement.hpp:9,
  89.                  from D:/TestCode/source/main.cpp:21:
  90. 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)'
  91.      void ATTACK(
  92.           ^~~~~~
  93. D:/TestCode/source/acmd_wrapper.hpp:62:10: note:   candidate expects 33 arguments, 36 provided
  94. D:/TestCode/source/main.cpp: In function 'void __libnx_exit(int)':
  95. D:/TestCode/source/main.cpp:67:1: warning: 'noreturn' function does return
  96.  }
  97.  ^
  98. make[1]: *** [/opt/devkitpro/devkitA64/base_rules:14: main.o] Error 1
  99. make: *** [Makefile:141: build] Error 2
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top