Hi,
I'm trying to build and run the relacy tests under CentOS (using g++ version 5.3.1), and the build is bombing out with the following:
[user@localhost concurrentqueue-master]$ cd tests/relacy/
[user@localhost relacy]$ make
g++ -std=c++11 -fpermissive -pthread -lrt -O3 -g freelist.cpp -o freelist
In file included from freelist.cpp:3:0:
relacy/relacy/relacy_std.hpp:22:15: error: ‘memory_order’ is already declared in this scope
using rl::memory_order;
^
relacy/relacy/relacy_std.hpp:30:15: error: ‘atomic’ is already declared in this scope
using rl::atomic;
^
make: *** [freelist] Error 1
[user@localhost relacy]$
Any thoughts? Happy holidays!
Hi,
I'm trying to build and run the relacy tests under CentOS (using g++ version 5.3.1), and the build is bombing out with the following:
[user@localhost concurrentqueue-master]$ cd tests/relacy/
[user@localhost relacy]$ make
g++ -std=c++11 -fpermissive -pthread -lrt -O3 -g freelist.cpp -o freelist
In file included from freelist.cpp:3:0:
relacy/relacy/relacy_std.hpp:22:15: error: ‘memory_order’ is already declared in this scope
using rl::memory_order;
^
relacy/relacy/relacy_std.hpp:30:15: error: ‘atomic’ is already declared in this scope
using rl::atomic;
^
make: *** [freelist] Error 1
[user@localhost relacy]$
Any thoughts? Happy holidays!