Forum Discussion

MSura2's avatar
MSura2
Icon for New Contributor rankNew Contributor
5 years ago

I'm having an issue using the Atomic Library in C++11, it's saying that I need to specify the flag std=c++11, but I don't know how to do that with I++ compiler. How do I correct this, since I need Compare and Swap behavior for my data structure?

Whereby when compiling my code with the command: g++ src/fpga_basic.cpp -march=x86-64 -std=c++11 -o test-x86_64 It compiles correctly and executes the behavior that is expected. However, when I t...