Message 76279 - Python tracker
You receive these messages because PyString_FromFormat is declared with a special directive __attribute__(format(printf, 1, 2)). Gcc then takes the format string as a regular printf format and validates it against the passed arguments. You can safely ignore these warnings. Maybe python should disable this __attribute__ for old compilers.