Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n file included from src/godot_registration.cpp:5:
- src/gd_world.cpp:20:12: error: ambiguous conversion for C-style cast from 'godot::Variant' to 'godot::Array'
- auto f = (Array) (scene->call("get_food_types"));
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:26:2: note: candidate constructor
- Array(const Array & other);
- ^
- /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:29:2: note: candidate constructor
- Array(const PoolByteArray& a);
- ^
- /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:31:2: note: candidate constructor
- Array(const PoolIntArray& a);
- ^
- /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:33:2: note: candidate constructor
- Array(const PoolRealArray& a);
- ^
- /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:35:2: note: candidate constructor
- Array(const PoolStringArray& a);
- ^
- /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:37:2: note: candidate constructor
- Array(const PoolVector2Array& a);
- ^
- /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:39:2: note: candidate constructor
- Array(const PoolVector3Array& a);
- ^
- /home/jackprob/Libraries/godot-cpp/include/core/Array.hpp:41:2: note: candidate constructor
- Array(const PoolColorArray& a);
- ^
- 1 error generated.
- scons: *** [src/godot_registration.os] Error 1
- scons: building terminated because of errors.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement