diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-cpp/libcutl/files/libcutl-1.10.0-fix-c++14.patch | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-cpp/libcutl/files/libcutl-1.10.0-fix-c++14.patch')
-rw-r--r-- | dev-cpp/libcutl/files/libcutl-1.10.0-fix-c++14.patch | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/dev-cpp/libcutl/files/libcutl-1.10.0-fix-c++14.patch b/dev-cpp/libcutl/files/libcutl-1.10.0-fix-c++14.patch deleted file mode 100644 index a6f1a505485b..000000000000 --- a/dev-cpp/libcutl/files/libcutl-1.10.0-fix-c++14.patch +++ /dev/null @@ -1,53 +0,0 @@ -Make dtors noexcept(false) when compiling in C++11 and above. This avoids silent -breakage due to the semantic exception changes between C++98 and C++11. - ---- a/cutl/fs/auto-remove.cxx -+++ b/cutl/fs/auto-remove.cxx -@@ -13,6 +13,9 @@ - { - auto_remove:: - ~auto_remove () -+#if __cplusplus >= 201103L -+ noexcept(false) -+#endif - { - if (!canceled_) - { -@@ -23,6 +26,9 @@ - - auto_removes:: - ~auto_removes () -+#if __cplusplus >= 201103L -+ noexcept(false) -+#endif - { - if (!canceled_) - { ---- a/cutl/fs/auto-remove.hxx -+++ b/cutl/fs/auto-remove.hxx -@@ -26,7 +26,11 @@ - { - } - -- ~auto_remove (); -+ ~auto_remove () -+#if __cplusplus >= 201103L -+ noexcept(false) -+#endif -+ ; - - void - cancel () -@@ -51,7 +55,11 @@ - struct LIBCUTL_EXPORT auto_removes - { - auto_removes (): canceled_ (false) {} -- ~auto_removes (); -+ ~auto_removes () -+#if __cplusplus >= 201103L -+ noexcept(false) -+#endif -+ ; - - void - add (path const& p) |