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
Describe the bug
The following error occurs when using amqpcpp:
E:\vcpkg01\installed\x64-windows\include\amqpcpp\message.h(85,42): error C2589: '(': illegal token on right side of '::'
E:\vcpkg01\installed\x64-windows\include\amqpcpp\message.h(85,42): error C2059: syntax error: ')'
E:\vcpkg01\installed\x64-windows\include\amqpcpp\message.h(85,1): error C2059: syntax error: ')'
E:\vcpkg01\installed\x64-windows\include\amqpcpp\message.h(103,25): error C2589: '(': illegal token on right side of '::'
E:\vcpkg01\installed\x64-windows\include\amqpcpp\message.h(103,1): error C2062: type 'unknown-type' unexpected
E:\vcpkg01\installed\x64-windows\include\amqpcpp\message.h(103,1): error C2059: syntax error: ')'
E:\vcpkg01\installed\x64-windows\include\amqpcpp\message.h(126,28): error C2589: '(': illegal token on right side of '::'
E:\vcpkg01\installed\x64-windows\include\amqpcpp\message.h(126,1): error C2062: type 'unknown-type' unexpected
E:\vcpkg01\installed\x64-windows\include\amqpcpp\message.h(126,1): error C2059: syntax error: ')'
Expected behavior and actual behavior
Can be linked normally and find the header file amqpcpp.h.
Sample code
usage:
amqpcpp provides CMake targets:
# this is heuristically generated, and may not be correct
find_package(amqpcpp CONFIG REQUIRED)
target_link_libraries(main PRIVATE amqpcpp)
Describe the bug
The following error occurs when using
amqpcpp
:Expected behavior and actual behavior
Can be linked normally and find the header file
amqpcpp.h
.Sample code
usage:
CMakeFindUsage.cpp
CMakeLists.txt
Reproduce environment:
Related PR: microsoft/vcpkg#31271
The text was updated successfully, but these errors were encountered: