MSVC version detection fails
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
People
(Reporter: Itms, Unassigned)
Details
Attachments
(2 files, 1 obsolete file)
|
7.05 KB,
text/x-log
|
Details | |
|
1.73 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
| Reporter | ||
Comment 1•10 years ago
|
||
Comment 2•10 years ago
|
||
| Reporter | ||
Comment 3•10 years ago
|
||
| Reporter | ||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
| Reporter | ||
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
| Reporter | ||
Comment 8•10 years ago
|
||
Comment 9•10 years ago
|
||
Updated•10 years ago
|
Comment 10•10 years ago
|
||
Updated•10 years ago
|
Comment 11•9 years ago
|
||
Updated•9 years ago
|
Comment 12•9 years ago
|
||
Comment 13•9 years ago
|
||
Comment 14•7 years ago
|
||
On Windows 7 with Visual Studio 2017, I encounter a building problem on LibreOffice (which uses nss and nspr as third party modules) related to regexp provided to sed.
I use French UI and indeed cl.exe doesn't give plain spaces in my cases why makes regexp fail.
Considering the patch provided, I see that regexp has been replaced by:
's|.^!-~.|\1|p'
shouldn't it be:
s|.[^!-~]([0-9]+.[0-9]+.[0-9]+(.[0-9]+)?).|\1|p
?
See http://document-foundation-mail-archive.969070.n3.nabble.com/Could-not-determine-MSC-version-Visual-Studio-2017-td4256538.html for all the details.
Comment 15•7 years ago
|
||
Sorry, automatic reformat changed the regexp:
patch proposed:
s|.*[^!-~]([0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?).*|\1|p
I'd rather suggest:
s|.*[^!-~]\([0-9]\+\.[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).*|\1|p
Updated•3 years ago
|
Description
•