You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JPL Institutional C++ Coding Standard mandates the use of C++ 14 with "all compiler warnings enabled at the highest warning level available, with no errors or warnings resulting." The native toolchain currently defaults to -std=c++11 without -Werror, which means that flight projects need to provide their own UT toolchain configuration in order to comply with the standard. It would be sensible for F Prime to provide a default toolchain configuration that is already compliant with institutional standards to make things easier for flight projects, especially since it results in higher-quality code.
I also recommend the use of -ggdb3 to provide higher-quality debugging information than the current -g.
The text was updated successfully, but these errors were encountered:
Feature Description
The native toolchain uses lax compiler options defaults. I suggest defaulting to the following options:
Rationale
The JPL Institutional C++ Coding Standard mandates the use of C++ 14 with "all compiler warnings enabled at the highest warning level available, with no errors or warnings resulting." The native toolchain currently defaults to
-std=c++11
without-Werror
, which means that flight projects need to provide their own UT toolchain configuration in order to comply with the standard. It would be sensible for F Prime to provide a default toolchain configuration that is already compliant with institutional standards to make things easier for flight projects, especially since it results in higher-quality code.I also recommend the use of
-ggdb3
to provide higher-quality debugging information than the current-g
.The text was updated successfully, but these errors were encountered: