aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2019-06-22 02:27:31 +0200
committerJay Berkenbilt <ejb@ql.org>2019-06-22 04:29:31 +0200
commit864a546af6e1c17e0de2dc2be6da105f454b6e54 (patch)
tree8c57f3d83d46b4391c40f093a22425c39db200de /ChangeLog
parent97833d7cf385b98854df62ee529b507d627cb829 (diff)
downloadqpdf-864a546af6e1c17e0de2dc2be6da105f454b6e54.tar.zst
Build with -fvisibility=hidden when supported
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e555a10a..b6d98291 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2019-06-21 Jay Berkenbilt <ejb@ql.org>
+ * 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.