Skip to content

Relacy tests fail to compile on Linux/g++5.3.1 #102

@alcontre

Description

@alcontre

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions