Commit d780954bb31dbf98af2ed61a00e22cf7680dd42c

Authored by Jay Berkenbilt
1 parent 416d9668

Add some missing QPDF_DLL markers

These markers are being added for nested classes that are already
marked with QPDF_DLL_CLASS. They don't make any different on Linux,
but they matter on Windows.
ChangeLog
1 1 2022-09-12 Jay Berkenbilt <ejb@ql.org>
2 2  
  3 + * Add some missing DLL exports that only affect the Windows build.
  4 +
3 5 * Remove compile-time test for LL_FMT. It's unlikely that any
4 6 compiler new enough to build qpdf still doesn't support %lld.
5 7  
... ...
include/qpdf/InputSource.hh
... ... @@ -47,7 +47,9 @@ class QPDF_DLL_CLASS InputSource
47 47 class QPDF_DLL_CLASS Finder
48 48 {
49 49 public:
  50 + QPDF_DLL
50 51 Finder() = default;
  52 + QPDF_DLL
51 53 virtual ~Finder() = default;
52 54 virtual bool check() = 0;
53 55 };
... ...
include/qpdf/Pl_DCT.hh
... ... @@ -41,7 +41,9 @@ class QPDF_DLL_CLASS Pl_DCT: public Pipeline
41 41 class QPDF_DLL_CLASS CompressConfig
42 42 {
43 43 public:
  44 + QPDF_DLL
44 45 CompressConfig() = default;
  46 + QPDF_DLL
45 47 virtual ~CompressConfig() = default;
46 48 virtual void apply(jpeg_compress_struct*) = 0;
47 49 };
... ...
include/qpdf/QPDFWriter.hh
... ... @@ -81,6 +81,7 @@ class QPDFWriter
81 81 class QPDF_DLL_CLASS ProgressReporter
82 82 {
83 83 public:
  84 + QPDF_DLL
84 85 virtual ~ProgressReporter();
85 86  
86 87 // This method is called with a value from 0 to 100 to
... ... @@ -95,8 +96,11 @@ class QPDFWriter
95 96 class QPDF_DLL_CLASS FunctionProgressReporter: public ProgressReporter
96 97 {
97 98 public:
  99 + QPDF_DLL
98 100 FunctionProgressReporter(std::function<void(int)>);
  101 + QPDF_DLL
99 102 virtual ~FunctionProgressReporter();
  103 + QPDF_DLL
100 104 virtual void reportProgress(int) override;
101 105  
102 106 private:
... ...
manual/release-notes.rst
... ... @@ -14,6 +14,9 @@ For a detailed list of changes, please see the file
14 14 - Remove ``LL_FMT`` tests, which were broken for cross
15 15 compilation. The code just uses ``%lld`` now.
16 16  
  17 + - Some symbols were not properly exported for the Windows DLL
  18 + build.
  19 +
17 20 11.0.0: September 10, 2022
18 21 - Replacement of ``PointerHolder`` with ``std::shared_ptr``
19 22  
... ...