E0004: Java-style array declarations aren't supported
Unsupported Java SyntaxWhat it means
Writing "int[] a = new int[10];" the way you would in Java doesn't work in C++. CppMode catches this specific pattern before compiling and points you to the right way to write it instead.
How to fix it
Use Array<T> instead, with the size in parentheses.
Example
Before
int[] a = new int[10];
After
Array<int> a(10);
Notes
Array<int> behaves exactly like a Java int array: it starts out filled with zeros, it has a fixed length, and reading or writing past the end of it throws a clear error instead of silently corrupting memory.