Open senbrow opened 1 year ago
PSTR() is only appropriate when passed to a printf()-style function, and will cause compiler warnings when passed to char* parameters.
PSTR()
char*
Instead, the F() macro should be used in such scenarios.
F()
Eliminates all current build warnings (and undefined behavior). This makes the build output clean so new warnings are not accidentally ignored.
Description
PSTR()
is only appropriate when passed to a printf()-style function, and will cause compiler warnings when passed tochar*
parameters.Instead, the
F()
macro should be used in such scenarios.Benefits
Eliminates all current build warnings (and undefined behavior). This makes the build output clean so new warnings are not accidentally ignored.