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: graminit.[ch] don't build on windows
Type: Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: tim.peters Nosy List: duncanb, tim.peters
Priority: normal Keywords:

Created on 2003-06-10 14:47 by duncanb, last changed 2022-04-10 16:09 by admin. This issue is now closed.

Messages (2)
msg16327 - (view) Author: Duncan Booth (duncanb) Date: 2003-06-10 14:47
Using grammar.mak to build new graminit.c and 
graminit.h files doesn't currently work on windows.

The line in grammar.mak:

CFLAGS= /I ..\Include /I ..\PC /D 
MS_NO_COREDLL  /MD

needs to be changed to:

CFLAGS= /I ..\Include /I ..\PC /D 
MS_NO_COREDLL /D PGEN /MD

otherwise you get an undefined symbol when 
attempting to link caused by a reference to 
PyExc_DeprecationWarning in tokenizer.c.
msg16328 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2003-06-17 00:07
Logged In: YES 
user_id=31435

Thanks!  Changes applied, in Parser/grammar.mak, rev 1.3.
History
Date User Action Args
2022-04-10 16:09:07adminsetgithub: 38625
2003-06-10 14:47:22duncanbcreate