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 sylvain.corlay
Recipients dstufft, eric.araujo, sylvain.corlay
Date 2016-04-03.00:31:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459643481.74.0.720699620632.issue26689@psf.upfronthosting.co.za>
In-reply-to
Content
I would be very useful to have a `has_flag` method in `distutils.CCompiler` similar to `has_function`, allowing to check if the compiler supports certain flags.

Cmake has a `CHECK_CXX_COMPILER_FLAG` macro for that purpose, which checks if a simple C++ file compiles with the said flag.
History
Date User Action Args
2016-04-03 00:31:21sylvain.corlaysetrecipients: + sylvain.corlay, eric.araujo, dstufft
2016-04-03 00:31:21sylvain.corlaysetmessageid: <1459643481.74.0.720699620632.issue26689@psf.upfronthosting.co.za>
2016-04-03 00:31:21sylvain.corlaylinkissue26689 messages
2016-04-03 00:31:19sylvain.corlaycreate