PR# 19523 [er] Wrong version of MSC for the files in $ISE_EIFFEL\studio\spec\win64\lib\msc

Problem Report Summary
Submitter: axarosenberg
Category: C Compilation
Priority: Low
Date: 2019/02/14
Class: Bug
Severity: Serious
Number: 19523
Release: 19.01.10.2771
Confidential: No
Status: Closed
Responsible:
Environment: win
Synopsis: [er] Wrong version of MSC for the files in $ISE_EIFFEL\studio\spec\win64\lib\msc

Description
It looks like the files in $ISE_EIFFEL\studio\spec\win64\lib\msc have been compiled with the wrong version of MSC (>= vc14 whereas it should have been with vc12 or lower).
Here is the output I get at the end of the C compilation:

~~~~~~~~~~~~~~~~~~~~~
Preparing C compilation using already configured msc C compiler...
[...]
Microsoft (R) Incremental Linker Version 12.00.31101.0
Copyright (C) Microsoft Corporation.  All rights reserved.

"/subsystem:windows,5.02" 
-STACK:5000000 -NODEFAULTLIB:libc -STACK:5000000 -NODEFAULTLIB:libc -SUBSYSTEM:CONSOLE -OUT:rose_console.exe 
e1\emain.obj 
"e:\estudio\64bit\19.01.10.2771\studio\spec\win64\lib\msc\mtwkbench.lib" "e:\estudio\64bit\19.01.10.2771\library\wel\spec\msc\win64\lib\mtwel.lib" "shcore.lib" "e:\estudio\64bit\19.01.10.2771\library\vision2\spec\msc\win64\lib\mtvision2.lib" "e:\estudio\64bit\19.01.10.2771\C_library\libpng\spec\msc\win64\lib\libpng.lib" "e:\estudio\64bit\19.01.10.2771\C_library\zlib\spec\msc\win64\lib\zlib.lib" "e:\estudio\64bit\19.01.10.2771\library\net\spec\msc\win64\lib\mtnet.lib" "e:\estudio\64bit\19.01.10.2771\library\com\spec\msc\win64\lib\mtcom_runtime.lib" "e:\estudio\64bit\19.01.10.2771\library\com\spec\msc\win64\lib\mtcom.lib"  "kernel32.lib" "shell32.lib" "user32.lib" "userenv.lib" "comctl32.lib" "wininet.lib" "Secur32.lib" "version.lib" "Netapi32.lib" "Psapi.lib" "shlwapi.lib" "mapi32.lib" "msxml2.lib" "WLDAP32.LIB" "ole32.lib" "oleaut32.lib" "Rpcrt4.lib" "Crypt32.lib" "e:\estudio\64bit\19.01.10.2771\library\web_browser\spec\msc\win64\lib\ole_ie.lib" "winhttp.lib" Mswsock.lib 
USER32.lib WS2_32.lib ADVAPI32.lib GDI32.lib SHELL32.lib MSIMG32.lib COMDLG32.lib UUID.lib OLE32.lib OLEAUT32.lib COMCTL32.lib MPR.LIB SHLWAPI.LIB WINSPOOL.LIB 
[...]
mtvision2.lib(MTload_pixmap.obj) : error LNK2019: unresolved external symbol __acrt_iob_func referenced in function c_ev_load_windows_file
libpng.lib(pngerror.obj) : error LNK2001: unresolved external symbol __acrt_iob_func
mtnet.lib(MTnetwork.obj) : error LNK2001: unresolved external symbol __acrt_iob_func
mtwkbench.lib(MTapp_proto.obj) : error LNK2001: unresolved external symbol __acrt_iob_func
mtwkbench.lib(MTnetwork.obj) : error LNK2001: unresolved external symbol __acrt_iob_func
mtwkbench.lib(MTwconsole.obj) : error LNK2001: unresolved external symbol __acrt_iob_func
mtwkbench.lib(MTwfile.obj) : error LNK2001: unresolved external symbol __acrt_iob_func
mtwkbench.lib(MTwoption.obj) : error LNK2001: unresolved external symbol __acrt_iob_func
mtwkbench.lib(MTupdate.obj) : error LNK2001: unresolved external symbol __acrt_iob_func
mtwkbench.lib(MTweconsole.obj) : error LNK2001: unresolved external symbol __acrt_iob_func
mtwkbench.lib(MTdebug.obj) : error LNK2001: unresolved external symbol __acrt_iob_func
mtwkbench.lib(MTwmain.obj) : error LNK2001: unresolved external symbol __acrt_iob_func
mtwkbench.lib(MTweif_threads.obj) : error LNK2001: unresolved external symbol __acrt_iob_func
mtwkbench.lib(MTwexcept.obj) : error LNK2001: unresolved external symbol __acrt_iob_func
mtwkbench.lib(MTwsig.obj) : error LNK2001: unresolved external symbol __acrt_iob_func
mtnet.lib(MTnetwork.obj) : error LNK2001: unresolved external symbol __stdio_common_vfprintf
mtwkbench.lib(MTnetwork.obj) : error LNK2001: unresolved external symbol __stdio_common_vfprintf
mtwkbench.lib(MTwfile.obj) : error LNK2001: unresolved external symbol __stdio_common_vfprintf
mtvision2.lib(MTload_pixmap.obj) : error LNK2001: unresolved external symbol __stdio_common_vfprintf
libpng.lib(pngerror.obj) : error LNK2001: unresolved external symbol __stdio_common_vfprintf
mtwkbench.lib(MTwmain.obj) : error LNK2001: unresolved external symbol __stdio_common_vfprintf
mtwkbench.lib(MTwsig.obj) : error LNK2001: unresolved external symbol __stdio_common_vfprintf
mtwkbench.lib(MTwoption.obj) : error LNK2001: unresolved external symbol __stdio_common_vfprintf
mtwkbench.lib(MTweconsole.obj) : error LNK2001: unresolved external symbol __stdio_common_vfprintf
mtcom.lib(MTecom_exception.obj) : error LNK2001: unresolved external symbol __stdio_common_vsprintf
mtwkbench.lib(MTapp_proto.obj) : error LNK2001: unresolved external symbol __stdio_common_vsprintf
mtwkbench.lib(MTidentify.obj) : error LNK2001: unresolved external symbol __stdio_common_vsprintf
mtwkbench.lib(MTwout.obj) : error LNK2001: unresolved external symbol __stdio_common_vsprintf
mtwkbench.lib(MTwfile.obj) : error LNK2001: unresolved external symbol __stdio_common_vsprintf
mtwkbench.lib(MTwexcept.obj) : error LNK2001: unresolved external symbol __stdio_common_vsprintf
mtwkbench.lib(MTwoption.obj) : error LNK2001: unresolved external symbol __stdio_common_vsprintf
mtwkbench.lib(MTwrun_idr.obj) : error LNK2001: unresolved external symbol __stdio_common_vsprintf
mtwkbench.lib(MTwstore.obj) : error LNK2001: unresolved external symbol __stdio_common_vsprintf
mtwkbench.lib(MTweconsole.obj) : error LNK2019: unresolved external symbol __stdio_common_vfscanf referenced in function _vfscanf_l
mtwkbench.lib(MTwfile.obj) : error LNK2001: unresolved external symbol __stdio_common_vfscanf
mtwkbench.lib(MTwretrieve.obj) : error LNK2019: unresolved external symbol __stdio_common_vsscanf referenced in function _vsscanf_l
mtwkbench.lib(MTwrun_idr.obj) : error LNK2001: unresolved external symbol __stdio_common_vsscanf
Cobj6.lib(big_file_C6_c.obj) : error LNK2019: unresolved external symbol SetThreadDpiAwarenessContext referenced in function inline_F167_2187
Cobj6.lib(big_file_C6_c.obj) : error LNK2019: unresolved external symbol GetThreadDpiAwarenessContext referenced in function inline_F167_2188
Cobj6.lib(big_file_C6_c.obj) : error LNK2019: unresolved external symbol GetDpiForWindow referenced in function F167_2178
mtnet.lib(MTipv6.obj) : error LNK2019: unresolved external symbol __stdio_common_vsprintf_s referenced in function _vsprintf_s_l
mtcom.lib(MTecom_exception.obj) : error LNK2019: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z) referenced in function "public: virtual void * __cdecl Formatter::`scalar deleting destructor'(unsigned int)" (??_GFormatter@@UEAAPEAXI@Z)
rose_console.exe : fatal error LNK1120: 10 unresolved externals
NMAKE : fatal error U1077: '"c:\program files (x86)\microsoft visual studio 12.0\vc\bin\x86_amd64\link.EXE"' : return code '0x460'
~~~~~~~~~~~~~~~~~~~~~


In passing, we can also see that the pathname convension is different in some places:

...\studio\           spec\win64\lib\msc\    mtwkbench.lib
...\library\wel\      spec\msc\win64\lib\    mtwel.lib

--
Eric Bezault
To Reproduce

										
Problem Report Interactions
From:jfiat_es    Date:2019/03/05    Status: Closed    Download   
The next beta version will support VC110 (but not VC100).
And this issue with "msc" should be fixed.

From:jfiat_es    Date:2019/02/14    Status: Analyzed    Download   
Dear Eric,

I will see what I can do.
It sounds the VisualStudio 2010 C compiler installed on new "beta" delivery machine has trouble.

From:axarosenberg    Date:2019/02/14    Status: Open    Download   
Is it possible to have new lib files for this version, or do we have to wait for 19.02?

--
Eric Bezault