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

the compilation time prompts: The object allocated on the heap may not be aligned 64 #159

Open
lovecomputer888 opened this issue Jul 20, 2024 · 2 comments

Comments

@lovecomputer888
Copy link

lovecomputer888 commented Jul 20, 2024

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?

@cameron314
Copy link
Owner

Can you post the full error message?

@lovecomputer888
Copy link
Author

This code:dataQueue = new moodycamel::ReaderWriterQueue(1024);
This is message: C4316 “moodycamel::ReaderWriterQueue<quint8,512>”: 在堆上分配的对象可能不是对齐 64

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

2 participants