Skip to content

clang > 3.2 but std=c++98 #123

Open
Open
@ecoon

Description

@ecoon

Recent changes seem to have introduced a "noexcept" call. When building with clang (>3.2) but without -std=c++11, I get the following error:

src/tests/TestTestMacros.cpp:167:27: error: expected ';' at end of declaration list
      ~FixtureDtorThrows() _NOEXCEPT_OP(false) {
                          ^
                          ;
1 error generated.
make[3]: *** [src/tests/TestTestMacros.o] Error 1

At first glance I'm guessing this is because the noexcept(false) that this macro resolves is not valid c++98?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions