diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2018-06-17 18:57:57 +0300 |
---|---|---|
committer | Tatiana Yan <tatiana.kondakova@gmail.com> | 2018-06-20 17:26:21 +0300 |
commit | 238e12ba4b87c36cabdb90d836f0b721af4542f9 (patch) | |
tree | cdbf6fa67885a663002ce2f4756733bc1cc28f1a /3party | |
parent | 54136f335585dc2837df9a15ddcf480300ff6792 (diff) |
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.
Diffstat (limited to '3party')
-rw-r--r-- | 3party/expat/expat_impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |