From 238e12ba4b87c36cabdb90d836f0b721af4542f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 17 Jun 2018 17:57:57 +0200 Subject: [PATCH] Fix expat_impl.h. Missing argument to XML_SetUnknownEncodingHandler (compare to lib/expat.h) causes compile error. Comment out as the fix would be more complex than appropriate for a 3party library copy. For some reasons e.g. gcc 6.3 seems to show no issue. --- 3party/expat/expat_impl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/3party/expat/expat_impl.h b/3party/expat/expat_impl.h index 3a6454a1af..b0a8959983 100644 --- a/3party/expat/expat_impl.h +++ b/3party/expat/expat_impl.h @@ -303,12 +303,15 @@ public: // @cmember Enable/Disable unknown encoding handler +// disabled because it causes compile errors with gcc 7 +#if 0 void EnableUnknownEncodingHandler (bool fEnable = true) { assert (m_p != NULL); XML_SetUnknownEncodingHandler (m_p, fEnable ? UnknownEncodingHandler : NULL); } +#endif // @cmember Enable/Disable start namespace handler