Open
Description
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()
.
Metadata
Metadata
Assignees
Labels
No labels