cameron314 / cameron314/readerwriterqueue
the compilation time prompts: The object allocated on the heap may not be aligned 64
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 4.6k
- Forks
- 736
- Avg merge
- 10d 5h
- Merged PRs (30d)
- 1
Description
After using the following statement ReaderWriterQueue<int> q(100);
, the compilation time prompts: The object allocated on the heap may not be aligned 64, I use MSVC(ver2022,c++14) to develop, how to solve it?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the MSVC 2022, C++14 diagnostic with ReaderWriterQueue<int> q(100);; the issue names no source file or test to begin with. Inspect the queue's allocation and alignment-related code, then verify that the warning is resolved without breaking queue construction or use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100