When I build my project for an Android shared library in Visual Studio, I got a warning message below.
warning : suggest braces around initialization of subobject
[-Wmissing-braces]
This message is indicating an array initialization statement which uses only a pair of braces.
int myArray[ROW][COL] = { 1, 2, 3, 4, 5, 6, ..., 451, 452, 453 };
The reason why I can't write with two pairs of them is there are possibilities for changing sizes of ROW and COL in the future.
It works fine but I'm not sure if it's okay to leave the project like this, because I've never seen such a warning message when writing code for Windows only applications.
Do I have to take this seriously?