Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. n file included from src/godot_registration.cpp:5:
  2. src/gd_world.cpp:20:12: error: ambiguous conversion for C-style cast from 'godot::Variant' to 'godot::Array'
  3. auto f = (Array) (scene->call("get_food_types"));
  4. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:26:2: note: candidate constructor
  6. Array(const Array & other);
  7. ^
  8. /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:29:2: note: candidate constructor
  9. Array(const PoolByteArray& a);
  10. ^
  11. /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:31:2: note: candidate constructor
  12. Array(const PoolIntArray& a);
  13. ^
  14. /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:33:2: note: candidate constructor
  15. Array(const PoolRealArray& a);
  16. ^
  17. /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:35:2: note: candidate constructor
  18. Array(const PoolStringArray& a);
  19. ^
  20. /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:37:2: note: candidate constructor
  21. Array(const PoolVector2Array& a);
  22. ^
  23. /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:39:2: note: candidate constructor
  24. Array(const PoolVector3Array& a);
  25. ^
  26. /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:41:2: note: candidate constructor
  27. Array(const PoolColorArray& a);
  28. ^
  29. 1 error generated.
  30. scons: *** [src/godot_registration.os] Error 1
  31. scons: building terminated because of errors.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement