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.

classification
Title: mingw: Allow Objects/exceptions.c to include "errmap.h"
Type: enhancement Stage: resolved
Components: Build, Windows Versions: Python 3.4
process
Status: closed Resolution: wont fix
Dependencies: Superseder: MinGW is unsupported - close all open issues and list them here.
View: 45538
Assigned To: Nosy List: martin.panter, paul.moore, rpetrov, steve.dower, tim.golden, zach.ware
Priority: normal Keywords: patch

Created on 2013-03-31 19:56 by rpetrov, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
0008-MINGW-add-srcdir-PC-to-CPPFLAGS.patch rpetrov, 2013-03-31 19:56
0007-MINGW-add-srcdir-PC-to-CPPFLAGS.patch rpetrov, 2014-08-03 06:12 status on 2014-08-02
move-errmap.patch martin.panter, 2016-03-10 11:49 review
Messages (2)
msg185657 - (view) Author: Roumen Petrov (rpetrov) * Date: 2013-03-31 19:56
split of issue3871.

May be best solution is to move "errmap.h" from PC/ to Objects/ and to use platform specific filename.
msg261496 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-03-10 11:49
Yes it makes more sense to me to move the file to a common directory. That should avoid any potential conflict with pyconfig.h. What did you mean by a platform-specific filename?

Here is a patch to move the file. I have not tested regenerating it however, so it would be good to get some feedback on that. I don’t have a Windows etc setup to check if I have broken anything.
History
Date User Action Args
2022-04-11 14:57:43adminsetgithub: 61797
2021-10-21 10:00:32iritkatrielsetresolution: duplicate -> wont fix
2021-10-20 12:48:33iritkatrielsetstatus: open -> closed
superseder: MinGW is unsupported - close all open issues and list them here.
resolution: duplicate
stage: patch review -> resolved
2016-03-11 21:04:42martin.panterlinkissue17605 dependencies
2016-03-10 11:49:32martin.pantersetfiles: + move-errmap.patch

components: + Windows, - Cross-Build
title: mingw: add $srcdir/PC to CPPFLAGS -> mingw: Allow Objects/exceptions.c to include "errmap.h"
nosy: + paul.moore, tim.golden, martin.panter, zach.ware, steve.dower

messages: + msg261496
stage: patch review
2014-08-03 06:12:34rpetrovsetfiles: + 0007-MINGW-add-srcdir-PC-to-CPPFLAGS.patch
2013-03-31 19:56:39rpetrovcreate