Guidelines for writing diagnostic programs using C++
- The standard library libC.a is not supported. Do not use this library's API.
- All of the language support functions in libC.a need to be statically linked at compile time. Use -lCns.a and -bI:/usr/lpp/xlC/lib/libC.imp arguments to compile with xlC.
- Use an exception only for exceptional cases. For example, an exception should not be used for a program's normal flow of control.
- Never throw an exception across a shared library and executable boundaries.
- No kernel extension shall be written in C++.