Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run ThemisPP tests with C++14 and C++17 #572

Merged
merged 3 commits into from
Dec 24, 2019

Conversation

ilammy
Copy link
Collaborator

@ilammy ilammy commented Dec 23, 2019

We boast in the docs about C++14 being “tested and supported“ so we’d better do that :) Explicitly test compatibility with C++14 and C++17.

C++20 is currently being finalized. It's somewhat supported in the compilers, but not in the versions shipped with Ubuntu 16.04.

Checklist

  • Change is covered by automated tests
  • Benchmark results are attached
  • The coding guidelines are followed
  • Public API has proper documentation
  • Example projects and code samples are updated
  • Changelog is updated

Explicitly test compatibility with those standard levels. C++20 is
currently being finalized. It's somewhat supported in the compilers,
but not in the versions shipped with Ubuntu 16.04.
@ilammy ilammy added W-ThemisPP ⚔️ Wrapper: ThemisPP, C++ API infrastructure Automated building and packaging labels Dec 23, 2019
It turned out that behavior wrt attributes might be different between
GCC and Clang, so let's test both compilers now.

Clang that we have in the Docker image does not support "-std=c++17",
so we do not test with that. (Actually, GCC support the option, but
__cplusplus value suggests that it's still in C++14 mode.)
Copy link
Contributor

@vixentael vixentael left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more tests to the god of tests

@ilammy ilammy merged commit a1375ef into cossacklabs:master Dec 24, 2019
@ilammy ilammy deleted the cpp-standards branch December 24, 2019 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Automated building and packaging W-ThemisPP ⚔️ Wrapper: ThemisPP, C++ API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants