cameron314 / cameron314/concurrentqueue

installed concurrentqueue using vcpkg, but can not make.

Open
#368 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
12.5k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

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 |

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the CMake include failure with the reported concurrentqueue/concurrentqueue.h header and capture the compiler and build configuration. Inspect the reported create_array and destroy_array locations around lines 3612 and 3622; done means the header compiles successfully in the affected setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.