expected Clang 10.0.0 or newer
Closed this issue · 1 comments
andreas-mausch commented
Hi,
I tried to build the docker image for msvc16.
It took quite some time, then failed with:
Step 39/44 : RUN umask $WINE_UMASK && cd test && if [ "$MSVC" -gt "10" ] ; then clang-cl helloworld.cpp && vcwine helloworld.exe ; fi && cd .. && rm -rf test
---> Running in 5c09504c9b57
In file included from helloworld.cpp:1:
In file included from /opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/iostream:9:
/opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/yvals_core.h(494,2): error: STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
#error STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
^
In file included from helloworld.cpp:1:
In file included from /opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/iostream:11:
In file included from /opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/istream:11:
In file included from /opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/ostream:11:
In file included from /opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/ios:11:
In file included from /opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/xlocnum:15:
In file included from /opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/iterator:12:
In file included from /opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/xutility:15:
/opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/utility(137,9): error: expected member name or ';' after declaration specifiers
!_Is_implicitly_default_constructible<_Uty1>::value || !_Is_implicitly_default_constructible<_Uty2>::value)
^
/opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/utility(137,9): error: expected ')'
/opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/utility(136,23): note: to match this '('
constexpr explicit(
^
/opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/utility(218,24): error: expected member name or ';' after declaration specifiers
constexpr explicit(!is_convertible_v<const _Other1&, _Ty1> || !is_convertible_v<const _Other2&, _Ty2>)
~~~~~~~~~~~~~~~~~~ ^
/opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/utility(218,24): error: expected ')'
/opt/win/drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/include/utility(218,23): note: to match this '('
constexpr explicit(!is_convertible_v<const _Other1&, _Ty1> || !is_convertible_v<const _Other2&, _Ty2>)
^
5 errors generated.
I wasn't watching the logs constantly, but I'm pretty sure Clang 9 was installed (I can also see it here:
Line 97 in 128f8f2
Did I miss something or should you update the version?
Thanks
Andreas
paleozogt commented
Good catch! This is fixed in master.