NSS/C++
< NSS
Jump to navigation
Jump to search
With MozPkix in NSS C++ is officially allowed in NSS. This page collects a number of rules for C++ code in NSS.
Dependencies
The code MUST NOT depend on anything other than libstdc++
.
APIs
All public facing APIs must be C APIs, wrapping the C++ code.
Target Compiler
All C++ must be compilable with GCC 4.4.x. Note that this requirement changes depending on RHEL's default compiler. Also note that GCC 4.4.x tests are limited on CI and mozpkix does not adhere to this requirement at this point. The list of supported C++11 features in GCC 4.4.x can be found here.