Snippets for podofo 1.1.2 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/fp4pznm66xv1jidfx06vwssm4siq6nk2-podofo-1.1.2.drv.
-
/build/source/src/podofo/private/XMPUtils.cpp:1184:36: warning: cast from type 'const std::unordered_map<std::basic_string_view<char>, bool>*' to type 'void*' casts away qualifiers [-Wcast-qual] 1184 | xpctx->varLookupData = (void*)&vars; | ^~~~~~~~~~~~ -
/build/source/src/podofo/main/PdfContentStreamReader.cpp:606:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 606 | return reinterpret_cast<const shared_ptr<const PdfXObject>&>(Data.XObject); | ~~~~~^~~~~~~ -
/build/source/src/podofo/main/PdfImage.cpp:1095:32: warning: cast from type 'const unsigned char*' to type 'png_bytep' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] 1095 | if (len < 8 || png_sig_cmp((png_bytep)data, 0, 8)) | ^~~~~~~~~~~~~~~ -
/build/source/src/podofo/main/PdfSignerCms.h:40:23: warning: 'PoDoFo::PdfSignerCmsParams::Encryption' is deprecated: Encryption should be automatically detected from the public key in the certificate [-Wdeprecated-declarations] 40 | struct PODOFO_API PdfSignerCmsParams final | ^~~~~~~~~~~~~~~~~~ -
/build/source/test/unit/PainterTest.cpp:218:7: warning: extra tokens at end of '#else' directive [-Wendif-labels] 218 | #else PODOFO_ENABLE_AFDKO | ^~~~~~~~~~~~~~~~~~~ -
/build/source/test/unit/ParserTest.cpp:2703:17: warning: variable 'strSelfLoop' set but not used [-Wunused-but-set-variable] 2703 | string_view strSelfLoop = R"(%PDF-1.0 | ^~~~~~~~~~~