Jeffrey Walton added the comment: If interested, I think the warnings can be selectively turned off:
#if defined (__GNUC__) && ((__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || (__GNUC__ >= 5)) # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wformat-security" #endif unicode_fromformat_arg(...) { ... } #if defined (__GNUC__) && ((__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || (__GNUC__ >= 5)) # pragma GCC diagnostic pop #endif Microsoft has a similar mechanism. It should allow the project to compile with -Wformat-security full time while maintinaing a quiet compile (silent is good). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20948> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com