Skip to content

Atomic issues #6

Open
Open
@asmodehn

Description

@asmodehn

Recent compilers seem to have an issue with atomic :

/home/alexv/Projects/tinythreadpp/test/test.cpp:51:1: error: reference to ‘atomic_flag’ is ambiguous
 atomic_flag gFlag(ATOMIC_FLAG_INIT);

Indeed atomic_flag is redefined in tinythread.h, even if it might not be necessary (already included in standard atomic_base.h)

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