This repository was archived by the owner on Jul 5, 2023. It is now read-only.
Description I was working on appveyor builds of mypy, and when I initially tested Python 3.3 and 3.4, which use the older Visual Studio 2010 compiler, compilation failed. It'd be great if typed_ast were to compile for Python 3.3 and 3.4 on Windows
here is the log:
$ py -3.4 setup.py install
running install
running bdist_egg
running egg_info
writing top-level names to typed_ast.egg-info\t op_level.txt
writing typed_ast.egg-info\P KG-INFO
writing dependency_links to typed_ast.egg-info\d ependency_links.txt
reading manifest file ' typed_ast.egg-info\SOURCES.txt'
reading manifest template ' MANIFEST.in'
writing manifest file ' typed_ast.egg-info\SOURCES.txt'
installing library code to build\b dist.win32\e gg
running install_lib
running build_py
running build_ext
building ' _ast27' extension
c:\P rogram Files (x86)\M icrosoft Visual Studio 10.0\V C\B IN\c l.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Iast27/Include -IC:\P ython34\i nclude -IC:\P ython34\i nclude /Tcast27/Parser/acceler.c /Fobuild\t emp.win32-3.4\R elease\a st27/Parser/acceler.obj
acceler.c
c:\P rogram Files (x86)\M icrosoft Visual Studio 10.0\V C\B IN\c l.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Iast27/Include -IC:\P ython34\i nclude -IC:\P ython34\i nclude /Tcast27/Parser/bitset.c /Fobuild\t emp.win32-3.4\R elease\a st27/Parser/bitset.obj
bitset.c
c:\P rogram Files (x86)\M icrosoft Visual Studio 10.0\V C\B IN\c l.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Iast27/Include -IC:\P ython34\i nclude -IC:\P ython34\i nclude /Tcast27/Parser/grammar.c /Fobuild\t emp.win32-3.4\R elease\a st27/Parser/grammar.obj
grammar.c
c:\P rogram Files (x86)\M icrosoft Visual Studio 10.0\V C\B IN\c l.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Iast27/Include -IC:\P ython34\i nclude -IC:\P ython34\i nclude /Tcast27/Parser/grammar1.c /Fobuild\t emp.win32-3.4\R elease\a st27/Parser/grammar1.obj
grammar1.c
c:\P rogram Files (x86)\M icrosoft Visual Studio 10.0\V C\B IN\c l.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Iast27/Include -IC:\P ython34\i nclude -IC:\P ython34\i nclude /Tcast27/Parser/node.c /Fobuild\t emp.win32-3.4\R elease\a st27/Parser/node.obj
node.c
c:\P rogram Files (x86)\M icrosoft Visual Studio 10.0\V C\B IN\c l.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Iast27/Include -IC:\P ython34\i nclude -IC:\P ython34\i nclude /Tcast27/Parser/parser.c /Fobuild\t emp.win32-3.4\R elease\a st27/Parser/parser.obj
parser.c
c:\P rogram Files (x86)\M icrosoft Visual Studio 10.0\V C\B IN\c l.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Iast27/Include -IC:\P ython34\i nclude -IC:\P ython34\i nclude /Tcast27/Parser/parsetok.c /Fobuild\t emp.win32-3.4\R elease\a st27/Parser/parsetok.obj
parsetok.c
c:\P rogram Files (x86)\M icrosoft Visual Studio 10.0\V C\B IN\c l.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Iast27/Include -IC:\P ython34\i nclude -IC:\P ython34\i nclude /Tcast27/Parser/tokenizer.c /Fobuild\t emp.win32-3.4\R elease\a st27/Parser/tokenizer.obj
tokenizer.c
ast27/Parser/tokenizer.c(1380) : error C2143: syntax error : missing ' ;' before ' const'
ast27/Parser/tokenizer.c(1381) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1381) : warning C4047: ' =' : ' int' differs in levels of indirection from ' char *'
ast27/Parser/tokenizer.c(1382) : error C2065: ' prefix' : undeclared identifier
ast27/Parser/tokenizer.c(1382) : warning C4047: ' =' : ' int' differs in levels of indirection from ' const char *'
ast27/Parser/tokenizer.c(1383) : error C2065: ' prefix' : undeclared identifier
ast27/Parser/tokenizer.c(1383) : error C2100: illegal indirection
ast27/Parser/tokenizer.c(1383) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1383) : warning C4047: ' <' : ' int' differs in levels of indirection from ' char *'
ast27/Parser/tokenizer.c(1384) : error C2065: ' prefix' : undeclared identifier
ast27/Parser/tokenizer.c(1384) : error C2100: illegal indirection
ast27/Parser/tokenizer.c(1385) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1385) : error C2100: illegal indirection
ast27/Parser/tokenizer.c(1385) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1385) : error C2100: illegal indirection
ast27/Parser/tokenizer.c(1386) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1387) : error C2065: ' prefix' : undeclared identifier
ast27/Parser/tokenizer.c(1387) : error C2100: illegal indirection
ast27/Parser/tokenizer.c(1387) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1387) : error C2100: illegal indirection
ast27/Parser/tokenizer.c(1388) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1393) : error C2065: ' prefix' : undeclared identifier
ast27/Parser/tokenizer.c(1397) : error C2065: ' prefix' : undeclared identifier
ast27/Parser/tokenizer.c(1397) : error C2100: illegal indirection
ast27/Parser/tokenizer.c(1401) : error C2065: ' type_start' : undeclared identifier
ast27/Parser/tokenizer.c(1401) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1403) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1403) : warning C4047: ' >=' : ' char *' differs in levels of indirection from ' int'
ast27/Parser/tokenizer.c(1403) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1403) : warning C4022: ' memcmp' : pointer mismatch for actual parameter 1
ast27/Parser/tokenizer.c(1404) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1405) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1405) : warning C4047: ' <' : ' int' differs in levels of indirection from ' char *'
ast27/Parser/tokenizer.c(1406) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1406) : error C2100: illegal indirection
ast27/Parser/tokenizer.c(1408) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1408) : error C2100: illegal indirection
ast27/Parser/tokenizer.c(1408) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1408) : error C2100: illegal indirection
ast27/Parser/tokenizer.c(1409) : error C2065: ' p' : undeclared identifier
ast27/Parser/tokenizer.c(1420) : error C2065: ' type_start' : undeclared identifier Reactions are currently unavailable
I was working on appveyor builds of mypy, and when I initially tested Python 3.3 and 3.4, which use the older Visual Studio 2010 compiler, compilation failed. It'd be great if typed_ast were to compile for Python 3.3 and 3.4 on Windows
here is the log: