Author: jghali
Date: Sat Apr 4 15:49:38 2020
New Revision: 23555
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23555
Log:
Fix warning related to C++11 deprecation of dynamic exceptions specifications
in pgf library
Modified:
trunk/Scribus/scribus/third_party/pgf/PGFplatform.h
Modified: trunk/Scribus/scribus/third_party/pgf/PGFplatform.h
URL:
http://scribus.net/websvn/diff.php?repname=Scribus&rev=23555&path=/trunk/Scribus/scribus/third_party/pgf/PGFplatform.h
==============================================================================
--- trunk/Scribus/scribus/third_party/pgf/PGFplatform.h (original)
+++ trunk/Scribus/scribus/third_party/pgf/PGFplatform.h Sat Apr 4 15:49:38 2020
@@ -480,7 +480,12 @@
#define ReturnWithError2(err, ret) throw IOException(err)
#endif //NEXCEPTIONS
+// Dynamic exceptions specifications are deprecated in C++11
+#if __cplusplus < 201103L
#define THROW_ throw(IOException)
+#else
+#define THROW_
+#endif
#define CONST const
//-------------------------------------------------------------------------------
_______________________________________________
scribus-commit mailing list
[email protected]
http://lists.scribus.net/mailman/listinfo/scribus-commit