aboutsummaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2012-06-20 18:48:27 +0200
committerJay Berkenbilt <ejb@ql.org>2012-06-20 21:18:12 +0200
commit92c94e7df230dd86eb46e8edf8e9d92531d5f6ef (patch)
treec64e1c979f910884bddd47d42cf9a7913cb56cc4 /TODO
parent81fc594342925137b55b3decb4992b283a52967f (diff)
downloadqpdf-92c94e7df230dd86eb46e8edf8e9d92531d5f6ef.tar.zst
Add symbol versioning
For ELF systems, turn on versioned symbols by default, and add a configure option to enable or disable them.
Diffstat (limited to 'TODO')
-rw-r--r--TODO53
1 files changed, 7 insertions, 46 deletions
diff --git a/TODO b/TODO
index 9ca8b858..0083c89f 100644
--- a/TODO
+++ b/TODO
@@ -4,6 +4,13 @@ Next
* Get rid of off_t. size_t is okay. Use autoconf to figure out what
type to use for offsets.
+ * Get rid of int/size_t/off_t inconsistencies. MSVC 2010 can find
+ these if you add /w14267 to the compilation. We might want to do
+ this by default. The easiest way to fix this on Windows is to
+ modify msvc.mk to add this to both cl /c lines and run
+
+ make 2>&1 | tee build.log
+
* Deal with portability issues from gcc 4.7. See portability.patch
from debian package.
@@ -11,52 +18,6 @@ Next
to build and test cleanly in 2.3.1. Hopefully the next release
will include 64-bit binary distributions and external libraries.
- * Add versioned symbols. Fix below to not use AM_CONDITIONAL. Just
- set some variable that can be part of LDFLAGS, like
- LD_VERSION_SCRIPT, instead.
-
-# Check if LD supports linker scripts, and define conditional
-# HAVE_LD_VERSION_SCRIPT if so. This functionality is currently
-# constrained to compilers using GNU ld on ELF systems or systems
-# which provide an adequate emulation thereof.
-AC_ARG_ENABLE([ld-version-script],
- AS_HELP_STRING([--enable-ld-version-script],
- [enable linker version script (default is disabled)]),
- [have_ld_version_script=$enableval], [have_ld_version_script=no])
-if test "$have_ld_version_script" != no; then
- AC_MSG_CHECKING([if LD -Wl,--version-script works])
- save_LDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map"
- cat > conftest.map <<EOF
-VERS_1 {
- global: sym;
-};
-
-VERS_2 {
- global: sym;
-} VERS_1;
-EOF
- AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
- [have_ld_version_script=yes], [have_ld_version_script=no])
- rm -f conftest.map
- LDFLAGS="$save_LDFLAGS"
- AC_MSG_RESULT($have_ld_version_script)
-fi
-AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes")
-
-----
-
-if HAVE_LD_VERSION_SCRIPT
-libtiff_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libtiff.map
-endif
-
-----
-
-LIBQPDF_3 {
- global:
- *;
-};
-
* Provide an option to copy encryption parameters from another file.
This would make it possible to decrypt a file, manually work with
it, and then re-encrypt it using the original encryption parameters