freebsd-ports/devel/stlport/files/patch-stlport::stdexcept
Pav Lucistnik e8f0564a71 - Update to 4.6.2
PR:		ports/73604
Submitted by:	Sepherosa Ziehau <sepherosa@softhome.net>
Approved by:	maintainer timeout (2 weeks)
2004-11-20 16:03:49 +00:00

14 lines
407 B
Text

--- stlport/stdexcept.orig Sun Nov 2 16:59:01 2003
+++ stlport/stdexcept Sun Oct 31 17:05:34 2004
@@ -60,6 +60,11 @@
# endif
# define _STLP_EXCEPTION_BASE exception
+/* maybe limit to gcc 3.x */
+#if defined( __GNUC__)
+#define _STLP_NOTHROW_INHERENTLY throw()
+#endif
+
class _STLP_CLASS_DECLSPEC __Named_exception : public _STLP_EXCEPTION_BASE {
public:
__Named_exception(const string& __str)