I'm using Atmel 6.2 and writing an application for Arduino. I have a problem with these lines of code:
int total = 3;
uint64_t myarray[total] = {};
It gives the following error
error: array bound is not an integer constant before ']' token
Why is this happening?