[PyPy-issue] [issue635] build error with msvc(korean version)

Jongsoo Lee pypy-dev-issue at codespeak.net
Tue Feb 8 16:34:46 CET 2011


New submission from Jongsoo Lee <leejongsoo.club at gmail.com>:

build error with msvc(korean version).
pypy identify the msvc version using following regular expression.

 translator/platform/windows.py
 r = re.search('[Vv]ersion\W([0-9]+)\.([0-9]+)', stderr)

In korean VC, cl message user '버젼'(korean word of 'version') than 'version'
So this regular expression can't know the version number of msvc.

below code resolve this problem.
r = re.search(‘Microsoft.+C/C\+\+.+\s([0-9]+)\.([0-9]+).*’, stderr)

----------
effort: easy
messages: 2121
nosy: everyevery, pypy-issue
priority: bug
release: ???
status: unread
title: build error with msvc(korean version)

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue635>
_______________________________________________________



More information about the Pypy-issue mailing list