From 864a546af6e1c17e0de2dc2be6da105f454b6e54 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 21 Jun 2019 20:27:31 -0400 Subject: Build with -fvisibility=hidden when supported --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index e555a10a..b6d98291 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2019-06-21 Jay Berkenbilt + * When supported, qpdf builds with -fvisibility=hidden, which + removes non-exported symbols from the shared library in a manner + similar to how Windows DLLs work. This is better for performance + and also better for safety and protection of private interfaces. + See https://gcc.gnu.org/wiki/Visibility. *NOTE*: If you are + getting linker errors trying to catch exceptions or derive things + from a base class in the qpdf library, it's possible that a + QPDF_DLL_CLASS declaration is missing somewhere. Please report + this as a bug at https://github.com/qpdf/qpdf/issues. + * Source-level incompatibility: remove the version QPDF::copyForeignObject with an unused boolean parameter. If you were, for some reason, calling this, just take the parameter away. -- cgit v1.2.3-54-g00ecf