neikeq / GodotSharp

Moved to the Godot repo: https://github.com/godotengine/godot/tree/master/modules/mono
MIT License
60 stars 8 forks source link

Error Compiling gd_mono_class.cpp, varible-sized object may not be initialized #36

Closed BrainBlasted closed 7 years ago

BrainBlasted commented 7 years ago
[ 15%] Compiling ==> modules/mono/mono_wrapper/gd_mono_class.cpp
modules/mono/mono_wrapper/gd_mono_class.cpp:351:33: error: 
      variable-sized object may not be initialized
  ...GDMonoMethod *deleted_methods[methods.size()] = { NULL };
                                   ^~~~~~~~~~~~~~
1 error generated.
scons: *** [modules/mono/mono_wrapper/gd_mono_class.x11.tools.64.llvm.o] Error 1
scons: building terminated because of errors.