[New-bugs-announce] [issue17791] PC/pyconfig.h defines PREFIX macro
Christian Heimes
report at bugs.python.org
Thu Apr 18 21:46:19 CEST 2013
New submission from Christian Heimes:
The pyconfig.h file of the Windows build environment defines at least two macros without a Py/PY prefix:
PC/pyconfig.h:#define PREFIX ""
PC/pyconfig.h:#define EXEC_PREFIX ""
This has caused multiple issues in the past. For example libexpat uses PREFIX, too. When I was working on my XML patches it took me about half an hour to fix the build on Windows. PyLucence's JCC has run into the same issue, too. http://mail-archives.apache.org/mod_mbox/lucene-pylucene-dev/201304.mbox/browser
Can we change the name of PREFIX to PY_PREFIX nad EXEC_PREFIX to PY_EXEC_PREFIX?
----------
components: Build, Windows
messages: 187284
nosy: christian.heimes, loewis
priority: normal
severity: normal
stage: needs patch
status: open
title: PC/pyconfig.h defines PREFIX macro
type: compile error
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17791>
_______________________________________
More information about the New-bugs-announce
mailing list