Loading... (original) (raw)

The gcc build has -Wformat enabled. This warns if the format string in a printf-like function is not a string literal, because if so it can not check that the types of the arguments match the format specifiers.

In a row of places this warning is suppressed by a PRAGMA.

This change fixes all but three occurrences of PRAGMA_FORMAT_NONLITERAL_IGNORED

This especially improves heapInspection.hpp where a static buffer is used to print the format string, which is not multithreading safe.