[Python-bugs-list] [Bug #131237] multiple symbol definition - Py_DebugFlag
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 08 Feb 2001 19:01:16 -0800
Bug #131237, was updated on 2001-Feb-06 02:17
Here is a current snapshot of the bug.
Project: Python
Category: Windows
Status: Closed
Resolution: Invalid
Bug Group: Not a Bug
Priority: 5
Submitted by: mpmak
Assigned to : tim_one
Summary: multiple symbol definition - Py_DebugFlag
Details:
Some modules have its own definition of varius python core variables. MSVC
will only compile them if storage class is the same
__declspec(dllexport).
firstsets.c, grammar.c, pgen.c : Py_DebugFlag and Py_VerboseFlag
pgenmain.c : Py_DebugFlags, Py_VerboseFlag, Py_FatalError,
PySys_WriteStderr
Follow-Ups:
Date: 2001-Feb-08 19:01
By: tim_one
Comment:
Reassigned to me, closed as NotABug.
You should compile Python under MSVC using the MSVC workspace
PCbuild\python.dsw. See readme.txt in that directory for details. You
should see no warnings or errors (I sure don't, and I've been doing it
every day for months <wink>).
grammar.c etc are NOT normally compiled on Windows, and, indeed, python.dsw
has no idea they exist. They're only used when the Python grammar changes,
and the parser tables need to be rebuilt as a result. That step is
normally done on a Unix system, and the results checked in and merely used
on Windows. For example, Parser\metagrammar.c is an output of this
process, but is just an input to the Windows build.
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=131237&group_id=5470