Skip to content
Snippets Groups Projects
Commit 5dcc5ff8 authored by Steve Lhomme's avatar Steve Lhomme Committed by Thomas Guillem
Browse files

switch C++ support to C++17

As contribs keep being updated with newer versions of the language, we need to
support a more modern version of C++ going forward.

Setting -std=c++17 should not break existing contribs that are built with C++11 or C++14.
In fact we already support the mix of versions between 11 and 14 without problem.
Modern C++ compilers are designed to take care of this [1].
When switching to a new C++ version there might however be some slight differences on how the
code is interpreted. These differences [2] might trigger some build errors for removed parts.

[1] https://stackoverflow.com/questions/46746878/is-it-safe-to-link-c17-c14-and-c11-objects
[2] https://www.open-std.org/JTC1/SC22/WG21/docs/papers/2018/p0636r3.html
parent fc787fe3
No related branches found
No related tags found
1 merge request!4765switch C++ support to C++17
Pipeline #430792 passed with stage
in 15 minutes and 46 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment