Related to ticket [#2448]. OpenSAF currently has a number of C preprocessor macros that control conditional compilation using #ifdef in the source code. This has a number of problems:
This ticket suggests that conditional compilation shall be removed when possible. One possible exception could be an OSAF_ENABLE_DEBUG macro that can create a separate debug build of OpenSAF. A debug build has some benefits for testing and trouble shooting but shouldn't be installed on a production system.
Diff:
Related
Tickets: #2448