[botan-devel] Deprecating public use of many Botan headers
Christian.Kandeler at qt.io
Tue Aug 6 08:55:48 EDT 2019
On Tue, 6 Aug 2019 07:42:51 -0400
Jack Lloyd <jack at randombit.net> wrote:
> * Reducing shared lib exports. If the compiler knows a symbol is not exported
> (and thus cannot be overridden eg via LD_PRELOAD) then it can optimize
> somewhat better. This last is a bit marginal since a lot of functionality is
> already exported (only) for tests which use them via the internal headers.
Isn't this easily solved by using a separate AUTOTEST_EXPORT macro which expands to an actual export only if tests are enabled?
More information about the botan-devel