mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-43166: Disable ceval.c optimisations for Windows debug builds (GH-24485)
This ensures that ceval.c can be debugged. Also remove some irrelevant options from the pragma.
This commit is contained in:
parent
da21f7b6e1
commit
b74396c316
1 changed files with 3 additions and 3 deletions
|
@ -180,9 +180,9 @@ typedef int Py_ssize_clean_t;
|
|||
*/
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# if defined(PY_LOCAL_AGGRESSIVE)
|
||||
/* enable more aggressive optimization for visual studio */
|
||||
# pragma optimize("agtw", on)
|
||||
# if defined(PY_LOCAL_AGGRESSIVE) && !defined(Py_DEBUG)
|
||||
/* enable more aggressive optimization for MSVC */
|
||||
# pragma optimize("gt", on)
|
||||
#endif
|
||||
/* ignore warnings if the compiler decides not to inline a function */
|
||||
# pragma warning(disable: 4710)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue