Skip to content

warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions] #235

Description

@thelfer

clang complains. In C++-20, only __LINE__ is standard. Would using __LINE__ be enough ? If so, would you mind changing the code by testing the C++ standard and using __LINE__ for C++-20 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions