• Daniel Trebbien's avatar
    Work around some platforms' lack of support for std::exception_ptr · 4ec92367
    Daniel Trebbien authored
    * libxml++/exceptions/wrapped_exception.[cc|h]: Declare the wrapped_exception
    class only if LIBXMLXX_HAVE_EXCEPTION_PTR is defined.
    * libxml++/parsers/parser.[cc|h]:
    * libxml++/parsers/saxparser.cc: Add Parser::handle_exception(), and call
    it instead the handleException().
    * libxml++/validators/validator.[cc|h]: Add Validator::handle_exception(),
    and call it instead the handleException().
    * tests/saxparser_chunk_parsing_inconsistent_state/main.cc:
    * tests/saxparser_parse_double_free/main.cc:
    * tests/saxparser_parse_stream_inconsistent_state/main.cc: Catch
    xmlpp::exception, if LIBXMLXX_HAVE_EXCEPTION_PTR is not defined.
    Bug #757042.
    
    Kjell Ahlstedt <kjell.ahlstedt@bredband.net> added handle_exception() and
    modified Daniel Trebbien's patch to fit with the previous commit.
    4ec92367
Name
Last commit
Last update
MSVC_Net2010 Loading commit data...
build Loading commit data...
docs Loading commit data...
examples Loading commit data...
libxml++ Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-2-36-0 Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
libxml++-2.6.pc.in Loading commit data...
libxml++.doap Loading commit data...
libxml++config.h.in Loading commit data...