Wformat-truncation

Pretty impressive new feature of gcc/g++ available in the latest devkitarm.Look at that. MapWindow.cxx:377:23: warning: %i directive output may be truncated writing  between 1 and 2 bytes into a region of size between 0 and 9 [-Wformat-truncation]snprintf(msg, 32, \"@%i,%i : %s [%ix%i]\",xpos, ypos, why,                   ^~~~~~~~~~~~~~~~~~~~~MapWindow.cxx:689:12: report(\"editing meta-layer\");                       ~~~~~~~~~~~~~~~~~~~~MapWindow.cxx:377:23: note: directive argument in the range … Continue reading Wformat-truncation