You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling for Windows (actually cross-compiling using cl in wine), I get the following error:
z:\git\adpandablocks\adpandablocksapp\src\adpandablocks.cpp(1044): error C2131: expression did not evaluate to a constant
z:\git\adpandablocks\adpandablocksapp\src\adpandablocks.cpp(1044): note: failure was caused by a read of a variable outside its lifetime
z:\git\adpandablocks\adpandablocksapp\src\adpandablocks.cpp(1044): note: see usage of 'readBytes'
Not all compilers allow variable length arrays on the stack. It is probably more portable to use malloc().
The text was updated successfully, but these errors were encountered:
Hi Dirk, thanks for the report. Unfortunately everyone who has worked on this codebase in the past has now left Diamond, so we're short of effort on this repo. If you have a patch I'd gladly accept it, otherwise it may be a while before this is fixed.
When compiling for Windows (actually cross-compiling using cl in wine), I get the following error:
Not all compilers allow variable length arrays on the stack. It is probably more portable to use
malloc()
.The text was updated successfully, but these errors were encountered: