-
Notifications
You must be signed in to change notification settings - Fork 398
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
C++14 #220
Comments
At the moment, I think QCC 5.4 on QNX. But we might soon switch to QCC8. Then there would be nothing which prevents us to switch to C++14 |
AFAIK QCC 5.4 already fully supports C++14. As it is based on GCC see https://gcc.gnu.org/projects/cxx-status.html#cxx14 |
Hard agree. |
I'm the last one who wouldn't want to use C++14, but currently it seems there are some limitations for QCC 5.4. It seems QNX is switching to QCC 8, so we would get propper C++14 support. |
QNX 7.1 with QCC 8.3 was released about 2 weeks ago |
Hi, it seems that you are moving on to C++14, as one possible downstream user, our project will still stick to C++ in the foreseeable future. So, if the API/ABI/linking is compatible, we won't complain, if not, please consider making ver 1.0 C++11 -.- Discussions on stackoverflow seems that I should not worry too much: Looking forward to 1.0 ~ |
@elBoberido replying to #220 (comment):
If we check the status of gcc and libc++ we indeed see that all C++14 features are implemented in the lowest of the above versions: QNX also has a certified version (QNX OS for Safety 2.2) https://backendnews.net/blackberry-qnx-adds-another-certification-to-its-embedded-software-portfolio/ but this one is also OK wrt the C++14. For me there is no brainer that |
@dejanpan totally agree |
The discussion that is slightly harder is whether For that I would like to give a perspective from the point of view of our company, Apex.AI, that is certifying ROS 2 (currently still written in C++ 14) according to ISO 26262 (ASIL-D). For this discussion relevant are these simplified steps that happen on the code:
For us to now decide whether we can switch to the newest version of C++ we need to consider if above RTOSes and tools support, in this case, C++17.
What is unknown/show stopper:
In conclusion: Apex.AI would be willing to switch to C++17 as soon as the Adaptive Autosar Coding Guidelines for C++17 will be available. |
Sounds good. QNX SDP 7 mentions ISO 26262 ASIL D for automotive and C++14 support. However, the "Revision List of the QNX OS for Safety (QOS)" lists the C++ Library as ASIL B? |
@marthtz that is correct. Which means that for ASIL-D applications that are using such ASIL B certified libc++ one will need to certify the used parts of the libc++ as in context of that application. |
Signed-off-by: Mathias Kraus <[email protected]>
… [[deprecated]] attribute Signed-off-by: Mathias Kraus <[email protected]>
…_CXX_STANDARD Signed-off-by: Mathias Kraus <[email protected]>
Signed-off-by: Mathias Kraus <[email protected]>
Signed-off-by: Mathias Kraus <[email protected]>
Signed-off-by: Mathias Kraus <[email protected]>
iox-#220 require C++14 for iceoryx
Brief feature description
As described in CONTRIBUTING.MD we'd like to move on to support C++ 14.
Detailed information
What's holding us back?
The text was updated successfully, but these errors were encountered: