You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the process of adding proxy to Conan Center Index (conan-io/conan-center-index#22362) and a test build of proxy v2.1.0 against a copy of the main.cpp example provided in the repo fails on MSVC 19.36.32532.0:
proxy/proxy.h(622,45): error C3546: '...': there are no parameter packs available to expand
proxy/proxy.h(624,2): message : see reference to class template instantiation 'pro::details::combined_dispatch_prototype<Ds...>' being compiled
Full log:
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=20
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows
======== Testing the package: Building ========
proxy/2.1.0 (test package): RUN: cmake -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE="C:/J2/w/prod-v2/bsr/cci-b6f0142c/recipes/proxy/all/test_package/build/msvc-193-x86_64-20-release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J2/w/prod-v2/bsr/cci-b6f0142c/recipes/proxy/all/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J2\w\prod-v2\bsr\cci-b6f0142c\recipes\proxy\all\test_package"
-- Using Conan toolchain: C:/J2/w/prod-v2/bsr/cci-b6f0142c/recipes/proxy/all/test_package/build/msvc-193-x86_64-20-release/generators/conan_toolchain.cmake
-- Conan toolchain: C++ Standard 20 with extensions OFF
-- The CXX compiler identification is MSVC 19.36.32532.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: Target declared 'msft_proxy'
-- Configuring done
-- Generating done
-- Build files have been written to: C:/J2/w/prod-v2/bsr/cci-b6f0142c/recipes/proxy/all/test_package/build/msvc-193-x86_64-20-release
proxy/2.1.0 (test package): Running CMake.build()
proxy/2.1.0 (test package): RUN: cmake --build "C:\J2\w\prod-v2\bsr\cci-b6f0142c\recipes\proxy\all\test_package\build\msvc-193-x86_64-20-release" --config Release
MSBuild version 17.6.3+07e294721 for .NET Framework
Checking Build System
Building Custom Rule C:/J2/w/prod-v2/bsr/cci-b6f0142c/recipes/proxy/all/test_package/CMakeLists.txt
test_package.cpp
C:\J2\w\prod-v2\bsr\75336\ccfff\p\proxy5414b57492048\p\include\proxy/proxy.h(622,45): error C3546: '...': there are no parameter packs available to expand [C:\J2\w\prod-v2\bsr\cci-b6f0142c\recipes\proxy\all\test_package\build\msvc-193-x86_64-20-release\test_package.vcxproj]
C:\J2\w\prod-v2\bsr\75336\ccfff\p\proxy5414b57492048\p\include\proxy/proxy.h(624,2): message : see reference to class template instantiation 'pro::details::combined_dispatch_prototype<Ds...>' being compiled [C:\J2\w\prod-v2\bsr\cci-b6f0142c\recipes\proxy\all\test_package\build\msvc-193-x86_64-20-release\test_package.vcxproj]
GCC, Clang and AppleClang built without issues in the CI.
The text was updated successfully, but these errors were encountered:
valgur
changed the title
Compilation error on Visual Studio 2022
Compilation error on MSVC 19.36
Jan 16, 2024
I'm in the process of adding proxy to Conan Center Index (conan-io/conan-center-index#22362) and a test build of proxy v2.1.0 against a copy of the
main.cpp
example provided in the repo fails on MSVC 19.36.32532.0:Full log:
GCC, Clang and AppleClang built without issues in the CI.
The text was updated successfully, but these errors were encountered: