warning: format not a string literal and no format arguments
This warning is gcc’s way of telling you that it cannot verify the format string argument to the printf style function (printf, fprintf… etc). This warning is generated when the compiler can’t manually peek into the string and ensure that everything will go as you intend during runtime. Lets look at a couple of examples. … Read more