This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jeffrey.Walton
Recipients Jeffrey.Walton
Date 2014-03-16.17:58:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394992703.89.0.915867274452.issue20948@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2014-03-16 17:58:23Jeffrey.Waltonsetrecipients: + Jeffrey.Walton
2014-03-16 17:58:23Jeffrey.Waltonsetmessageid: <1394992703.89.0.915867274452.issue20948@psf.upfronthosting.co.za>
2014-03-16 17:58:23Jeffrey.Waltonlinkissue20948 messages
2014-03-16 17:58:23Jeffrey.Waltoncreate