[New-bugs-announce] [issue42009] Unable to compile with message compiler due to source order

Chris Burr report at bugs.python.org
Mon Oct 12 02:25:42 EDT 2020


New submission from Chris Burr <christopher.burr at cern.ch>:

Since bpo-36302 was implemented, extension sources are now sorted for reproducibility. This is causing an issue in pywin32 as the *.mc files must be processed first to ensure the *.h files are generated before trying to compile the actual sources. I'm not very familiar with Windows but there are more details in: https://github.com/mhammond/pywin32/issues/1590

As suggested in the issue, the solution is probably to modify msvccompiler.py to process the .rc and .mc files before any C/C++ sources.

----------
components: Distutils
messages: 378471
nosy: chrisburr, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: Unable to compile with message compiler due to source order
versions: Python 3.10, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42009>
_______________________________________


More information about the New-bugs-announce mailing list