Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error on MSVC 19.36 #56

Closed
valgur opened this issue Jan 16, 2024 · 1 comment
Closed

Compilation error on MSVC 19.36 #56

valgur opened this issue Jan 16, 2024 · 1 comment
Labels
bug Something isn't working p2

Comments

@valgur
Copy link

valgur commented 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:

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.

@valgur valgur changed the title Compilation error on Visual Studio 2022 Compilation error on MSVC 19.36 Jan 16, 2024
@mingxwa
Copy link
Collaborator

mingxwa commented Jan 16, 2024

Thanks for the information. We have updated the implementation. Please try 2.1.1.

@mingxwa mingxwa closed this as completed Jan 16, 2024
@mingxwa mingxwa added bug Something isn't working p2 labels Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p2
Projects
None yet
Development

No branches or pull requests

2 participants