File libxml++-4.0.1-mingw-build-fixes.patch of Package mingw64-libxml++
--- a/libxml++/exceptions/exception.h 2022-03-21 21:07:22.783526806 +0000
+++ b/libxml++/exceptions/exception.h 2022-03-21 21:07:43.175513821 +0000
@@ -36,17 +36,16 @@
/** Base class for all xmlpp exceptions.
*/
-class exception : public std::exception
+class LIBXMLPP_API exception : public std::exception
{
public:
- LIBXMLPP_API
explicit exception(const Glib::ustring& message);
- LIBXMLPP_API ~exception() noexcept override;
+ ~exception() noexcept override;
- LIBXMLPP_API const char* what() const noexcept override;
+ const char* what() const noexcept override;
- LIBXMLPP_API virtual void raise() const;
- LIBXMLPP_API virtual exception* clone() const;
+ virtual void raise() const;
+ virtual exception* clone() const;
private:
Glib::ustring message_;