Comments (1)
gcc
reports an error in your code:
error: ‘new’ of type ‘TestAtomicQueue’ with extended alignment 64 [-Werror=aligned-new=]
auto pObject = new TestAtomicQueue;
^~~~~~~~~~~~~~~
note: uses ‘void* operator new(std::size_t)’, which does not have an alignment parameter
note: use ‘-faligned-new’ to enable C++17 over-aligned new support
The error message also contains the solution for your problem.
When you post bug reports you should specify the error message verbatim. "broken here" is less than useful.
from atomic_queue.
Related Issues (20)
- Could you add more apis such as Front() and PushFront()? HOT 1
- moodycamel::ConcurrentQueue performs better if using enqueue instead of try_enqueue HOT 2
- Low latency programming? HOT 1
- CPU load at 100% HOT 2
- Elaborate in docs what "atomic elements" means. HOT 4
- Ever incresing queue size HOT 2
- Construct allocator-aware queues with allocator HOT 2
- Please document the meaning of the NIL template parameter clearly HOT 3
- how to put struct to queue HOT 1
- Create a queue with object ptrs as queue elements. HOT 1
- 'optimist atomic queue' description is something different in read.md HOT 3
- Question: memory order in fetch_add() HOT 11
- build failure with gcc-13 HOT 22
- why compare_exchange_strong() in a loop? HOT 5
- spin-locking HOT 1
- Create a `v1.6.2` release HOT 1
- Atomics are not trivial HOT 1
- push std::vector data package HOT 1
- Unbounded queue possible with atomic_queue? HOT 13
- Benchmark comments HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atomic_queue.