bruvzg / gdsdecomp

Godot reverse engineering tools
MIT License
1.54k stars 146 forks source link

error while rebuilding Godot #2

Closed Naeta2 closed 5 years ago

Naeta2 commented 5 years ago

hey, thank you for this program. I am trying to rebuild Godot with your module, but i systematically end up getting this error :

image

the translation could roughly be : "the expression has not been evaluated in constant failure is due to reading an obsolete variable see the use of 'bufsize' "

it points to these four identical lines in the code :

uint8_t buf[bufsize];

do you have any idea on how to fix that ? thanks a lot.

bruvzg commented 5 years ago

Looks like MSVC wants to have size of the array as constant, this should be fixed by 5da89a49718e45c41ce60cab3dcccec7f2c05323.

Naeta2 commented 5 years ago

thank you for the quick answer, i'll try this right away

Naeta2 commented 5 years ago

ok the compiling worked now ! thank you very much