From 736119232825a1809a66dcd6d654581058003b6f Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 14 Apr 2021 19:58:03 +0200 Subject: According to the docs, "/Od" is the default in MSVC, so in order to get it, it should be enough to clear CFLAGS. Setting it generates warnings in Py3.9 on appveyor ("source file '"/Od"' ignored"), suggesting that the option is not recognised as such. https://docs.microsoft.com/en-us/cpp/build/reference/od-disable-debug?view=msvc-160 --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 5804d2c24..370b0072a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -90,7 +90,7 @@ build_script: test: off test_script: - "%PYTHON%\\Scripts\\pip.exe install -r test-requirements.txt" - - "set CFLAGS=/Od" + - "set CFLAGS=" - "%WITH_ENV% %PYTHON%\\python.exe runtests.py -vv --no-cpp --no-code-style -j5" artifacts: -- cgit v1.2.1