New submission from Zachary Ware:

Here's a patch to allow building (and using) pgen on Windows.

All changes outside of PCbuild are solely to avoid compiler warnings, namely 4 
instances of C4005 for PGEN being redefined and 2 instances of C4018, "'<' : 
signed/unsigned mismatch".

pgen.vcxproj is in large part copied directly from _freeze_importlib.vcxproj 
(and modified appropriately).

pgen is not set to build on any solution configuration, but it happily builds 
from a clean checkout so pythoncore.vcxproj could be made to depend on it.

----------
components: Build, Windows
files: windows_pgen.diff
keywords: patch
messages: 215218
nosy: loewis, tim.golden, tim.peters, zach.ware
priority: low
severity: normal
status: open
title: Add pgen.vcxproj to allow regenerating grammar files on Windows
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file34674/windows_pgen.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21107>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to