-qkeepinlines (C++ only)

In IBM® XL C/C++ for AIX® 16.1.0 or earlier releases, the -qkeepinlines option keeps or discards definitions for unreferenced extern inline functions.

IBM Open XL C/C++ for AIX 17.1.3 does not support a functionally equivalent option to -qkeepinlines. Use the __attribute__((__used__)) function attribute as an alternative. For templates, you are recommended to use C++11 explicit template instantiations.

Related information