Re: Could not determine MSC version (Visual Studio 2017)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sberg wrote
> On 25/01/2019 10:55, julien2412 wrote:
>> $
>> C:/PROGRA~2/MIB055~1/2017/COMMUN~1/VC/Tools/MSVC/1416~1.270/bin/HostX64/x64/cl.exe
>> -v
>> Compilateur d'optimisation Microsoft (R) C/C++ version▒19.16.27026.1 pour
> 
> So that character between "version" and "19" (presumably meant to be a 
> no-break space) obviously isn't liked by that sed regex in nss's 
> configure.in; it expects to see a true space before the digit sequence.
> ..

Just for curiosity, what's the result for you with the cl commands you
provided me?
I mean I suppose you must have this non break character too and so sed
command should also fail for you, shouldn't it?

I changed the sed command and runned:
$
C:/PROGRA~2/MIB055~1/2017/COMMUN~1/VC/Tools/MSVC/1416~1.270/bin/HostX64/x64/cl.exe
-v 2>&1 | sed -ne
's|.*\([0-9]\+[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).*|\1|p'

I got:
$ 19.16.27026.1

Here's the before/after of sed:
sed -ne 's|.* \([0-9]\+\.[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).*|\1|p'
sed -ne
's|.*\([0-9]\+[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).*|\1|p'

Does it seem ok to you?

Julien



--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux