On Sat, 2017-02-11 at 03:12 +0100, Sandro Mani wrote: > So rather than just removing -std=c++98 from the CMakeLists, the > code must be changed to ensure the size of the enum is always the > same regardless of the language standard one is using.
Hi, nice catch. So it's a mismatch between the compilation of the PoDoFo itself and the compilation of the application which uses PoDoFo. Let's populate PODOFO_ENUM_UINT8 in configure time, not in build time, which should make it work. I see a similar regression with respect of openssl headers being required when building against PoDoFo, which can result in the same issue. I currently deal with some other 0.9.5 regressions for which I have some fixes. I'll commit them once I finish the testing. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users