[tex-k] poppler-0.84 compatibility problem
Akira Kakuto
kakuto at w32tex.org
Sun Dec 29 22:52:44 CET 2019
Dear Mikle,
> Seems like pdftexdir/utils.c now needs cstdio included
--- poppler-0.83.0/poppler/poppler-config.h.cmake Thu Nov 28 07:29:05 2019
+++ poppler-0.84.0/poppler/poppler-config.h.cmake Sat Dec 28 21:18:51 2019
@@ -139,7 +139,7 @@
//------------------------------------------------------------------------
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
-#include <stdio.h> // __MINGW_PRINTF_FORMAT is defined in the mingw stdio.h
+#include <cstdio> // __MINGW_PRINTF_FORMAT is defined in the mingw stdio.h
#ifdef __MINGW_PRINTF_FORMAT
#define GCC_PRINTF_FORMAT(fmt_index, va_index) \
__attribute__((__format__(__MINGW_PRINTF_FORMAT, fmt_index, va_index)))
Please ask the poppler developers to recover the
poppler-config.h.cmake in 0.83.0, because
poppler-config.h is also called from C programs.
Thanks,
Akira
More information about the tex-k
mailing list