Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / external / poppler / gcc7-EntityInfo.patch.1
blob1dd7c83ad475b244daf8f709a7a6b3fafd12be39
1 gcc 7.3.1 says:
3 workdir/UnpackedTarball/poppler/poppler/CertificateInfo.cc:42:34: error: function ‘X509CertificateInfo::EntityInfo& X509CertificateInfo::EntityInfo::operator=(X509CertificateInfo::EntityInfo&&)’ defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification ‘’
5 workdir/UnpackedTarball/poppler/poppler/CertificateInfo.cc: In member function ‘void X509CertificateInfo::setPublicKeyInfo(X509CertificateInfo::PublicKeyInfo&&)’:
6 workdir/UnpackedTarball/poppler/poppler/CertificateInfo.cc:106:39: error: use of deleted function ‘X509CertificateInfo::PublicKeyInfo& X509CertificateInfo::PublicKeyInfo::operator=(X509CertificateInfo::PublicKeyInfo&&)’
7      public_key_info = std::move(pkInfo);
8                                        ^
9 In file included from workdir/UnpackedTarball/poppler/poppler/CertificateInfo.cc:15:0:
10 workdir/UnpackedTarball/poppler/poppler/CertificateInfo.h:58:24: note: ‘X509CertificateInfo::PublicKeyInfo& X509CertificateInfo::PublicKeyInfo::operator=(X509CertificateInfo::PublicKeyInfo&&) noexcept’ is implicitly deleted because its exception-specification does not match the implicit exception-specification ‘’
11          PublicKeyInfo &operator=(PublicKeyInfo &&) noexcept = default;
12                         ^~~~~~~~
14 --- poppler/poppler/CertificateInfo.h.orig      2023-06-05 19:29:14.000000000 +0900
15 +++ poppler/poppler/CertificateInfo.h   2023-06-19 18:10:55.760031700 +0900
16 @@ -55,7 +55,7 @@
17          PublicKeyInfo() = default;
19          PublicKeyInfo(PublicKeyInfo &&) noexcept = default;
20 -        PublicKeyInfo &operator=(PublicKeyInfo &&) noexcept = default;
21 +        PublicKeyInfo &operator=(PublicKeyInfo &&) /*noexcept*/ = default;
23          PublicKeyInfo(const PublicKeyInfo &) = delete;
24          PublicKeyInfo &operator=(const PublicKeyInfo &) = delete;
25 @@ -71,7 +71,7 @@
26          ~EntityInfo() = default;
28          EntityInfo(EntityInfo &&) noexcept = default;
29 -        EntityInfo &operator=(EntityInfo &&) noexcept = default;
30 +        EntityInfo &operator=(EntityInfo &&) /*noexcept*/ = default;
32          EntityInfo(const EntityInfo &) = delete;
33          EntityInfo &operator=(const EntityInfo &) = delete;
34 --- poppler/poppler/GfxFont.cc.orig     2022-09-14 20:24:32.569607333 +0200
35 +++ poppler/poppler/GfxFont.cc  2022-09-14 20:24:52.323596186 +0200
36 @@ -180,7 +180,7 @@
38  GfxFontLoc::GfxFontLoc(GfxFontLoc &&other) noexcept = default;
40 -GfxFontLoc &GfxFontLoc::operator=(GfxFontLoc &&other) noexcept = default;
41 +GfxFontLoc &GfxFontLoc::operator=(GfxFontLoc &&other) /*noexcept*/ = default;
43  void GfxFontLoc::setPath(GooString *pathA)
44  {
45 --- poppler/poppler/GfxFont.h.orig      2022-09-14 20:24:30.784608340 +0200
46 +++ poppler/poppler/GfxFont.h   2022-09-14 20:25:08.850586861 +0200
47 @@ -124,7 +124,7 @@
48      GfxFontLoc(const GfxFontLoc &) = delete;
49      GfxFontLoc(GfxFontLoc &&) noexcept;
50      GfxFontLoc &operator=(const GfxFontLoc &) = delete;
51 -    GfxFontLoc &operator=(GfxFontLoc &&other) noexcept;
52 +    GfxFontLoc &operator=(GfxFontLoc &&other) /*noexcept*/;
54      // Set the 'path' string from a GooString on the heap.
55      // Ownership of the object is taken.