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

installed concurrentqueue using vcpkg, but can not make. #368

Open
yangqun opened this issue Dec 2, 2023 · 0 comments
Open

installed concurrentqueue using vcpkg, but can not make. #368

yangqun opened this issue Dec 2, 2023 · 0 comments

Comments

@yangqun
Copy link

yangqun commented Dec 2, 2023

just include "concurrentqueue/concurrentqueue.h" when cmake program errors appears:
/opt/vcpkg/installed/x64-linux/include/concurrentqueue/concurrentqueue.h: In static member function ‘static U* moodycamel::ConcurrentQueue<T, Traits>::create_array(moodycamel::ConcurrentQueue<T, Traits>::size_t)’:
/opt/vcpkg/installed/x64-linux/include/concurrentqueue/concurrentqueue.h:3612:40: error: expected type-specifier before ‘;’ token
3612 | new (p + i) U();
| ^
/opt/vcpkg/installed/x64-linux/include/concurrentqueue/concurrentqueue.h: In static member function ‘static void moodycamel::ConcurrentQueue<T, Traits>::destroy_array(U*, moodycamel::ConcurrentQueue<T, Traits>::size_t)’:
/opt/vcpkg/installed/x64-linux/include/concurrentqueue/concurrentqueue.h:3622:48: error: expected identifier before ‘;’ token
3622 |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant