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.

Title: define_macros uses incorrect parameter for msvc compilers
Type: Stage: resolved
Components: Windows Versions: Python 3.6, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 2.7
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: Szabolcs Dombi, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2016-07-10 16:49 by Szabolcs Dombi, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg270102 - (view) Author: Szabolcs Dombi (Szabolcs Dombi) Date: 2016-07-10 16:49
define_macros will generate parameters like -D
msvc compilers expect /D and ignore -D

msg270120 - (view) Author: Eryk Sun (eryksun) * (Python triager) Date: 2016-07-10 18:14
Did you try it? Using -D works fine for me, as it should [1]:

    Options are specified by either a forward slash (/) or 
    a dash (–). If an option takes an argument, the option's 
    description documents whether a space is allowed between 
    the option and the arguments.

Date User Action Args
2022-04-11 14:58:33adminsetgithub: 71662
2016-07-10 18:14:36eryksunsetstatus: open -> closed

nosy: + eryksun
messages: + msg270120

resolution: not a bug
stage: resolved
2016-07-10 16:49:07Szabolcs Dombicreate