stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r777607 - in /stdcxx/trunk: etc/config/src/ src/
Date Fri, 22 May 2009 16:35:43 GMT
Author: faridz
Date: Fri May 22 16:35:42 2009
New Revision: 777607

URL: http://svn.apache.org/viewvc?rev=777607&view=rev
Log:
2009-05-22  Farid Zaripov  <faridz@apache.org>

	Merged r777603 from 4.2.x branch

	* etc/config/src/DOMAIN_ERROR_DTOR.cpp: New configuration test checking for domain_error
dtor
	* etc/config/src/INVALID_ARGUMENT_DTOR.cpp: Same for invalid_argument.
	* etc/config/src/LENGTH_ERROR_DTOR.cpp: Same for length_error.
	* etc/config/src/LOGIC_ERROR_DTOR.cpp: Same for logic_error.
	* etc/config/src/OUT_OF_RANGE_DTOR.cpp: Same for out_of_range.
	* etc/config/src/OVERFLOW_ERROR_DTOR.cpp: Same for overflow_error.
	* etc/config/src/RANGE_ERROR_DTOR.cpp: Same for range_error.
	* etc/config/src/RUNTIME_ERROR_DTOR.cpp: Same for runtime_error.
	* etc/config/src/UNDERFLOW_ERROR_DTOR.cpp: Same for underflow_error.
	* src/domain_error.cpp: Define dtor if it is not defined in libc only.
	* src/invalid_argument.cpp: Ditto.
	* src/length_error.cpp: Ditto.
	* src/logic_error.cpp: Ditto.
	* src/out_of_range.cpp: Ditto.
	* src/overflow_error.cpp: Ditto.
	* src/range_error.cpp: Ditto.
	* src/runtime_error.cpp: Ditto.
	* src/underflow_error.cpp: Ditto.

Added:
    stdcxx/trunk/etc/config/src/DOMAIN_ERROR_DTOR.cpp
      - copied unchanged from r777603, stdcxx/branches/4.2.x/etc/config/src/DOMAIN_ERROR_DTOR.cpp
    stdcxx/trunk/etc/config/src/INVALID_ARGUMENT_DTOR.cpp
      - copied unchanged from r777603, stdcxx/branches/4.2.x/etc/config/src/INVALID_ARGUMENT_DTOR.cpp
    stdcxx/trunk/etc/config/src/LENGTH_ERROR_DTOR.cpp
      - copied unchanged from r777603, stdcxx/branches/4.2.x/etc/config/src/LENGTH_ERROR_DTOR.cpp
    stdcxx/trunk/etc/config/src/LOGIC_ERROR_DTOR.cpp
      - copied unchanged from r777603, stdcxx/branches/4.2.x/etc/config/src/LOGIC_ERROR_DTOR.cpp
    stdcxx/trunk/etc/config/src/OUT_OF_RANGE_DTOR.cpp
      - copied unchanged from r777603, stdcxx/branches/4.2.x/etc/config/src/OUT_OF_RANGE_DTOR.cpp
    stdcxx/trunk/etc/config/src/OVERFLOW_ERROR_DTOR.cpp
      - copied unchanged from r777603, stdcxx/branches/4.2.x/etc/config/src/OVERFLOW_ERROR_DTOR.cpp
    stdcxx/trunk/etc/config/src/RANGE_ERROR_DTOR.cpp
      - copied unchanged from r777603, stdcxx/branches/4.2.x/etc/config/src/RANGE_ERROR_DTOR.cpp
    stdcxx/trunk/etc/config/src/RUNTIME_ERROR_DTOR.cpp
      - copied unchanged from r777603, stdcxx/branches/4.2.x/etc/config/src/RUNTIME_ERROR_DTOR.cpp
    stdcxx/trunk/etc/config/src/UNDERFLOW_ERROR_DTOR.cpp
      - copied unchanged from r777603, stdcxx/branches/4.2.x/etc/config/src/UNDERFLOW_ERROR_DTOR.cpp
Modified:
    stdcxx/trunk/src/domain_error.cpp
    stdcxx/trunk/src/invalid_argument.cpp
    stdcxx/trunk/src/length_error.cpp
    stdcxx/trunk/src/logic_error.cpp
    stdcxx/trunk/src/out_of_range.cpp
    stdcxx/trunk/src/overflow_error.cpp
    stdcxx/trunk/src/range_error.cpp
    stdcxx/trunk/src/runtime_error.cpp
    stdcxx/trunk/src/underflow_error.cpp

Modified: stdcxx/trunk/src/domain_error.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/src/domain_error.cpp?rev=777607&r1=777606&r2=777607&view=diff
==============================================================================
--- stdcxx/trunk/src/domain_error.cpp (original)
+++ stdcxx/trunk/src/domain_error.cpp Fri May 22 16:35:42 2009
@@ -32,6 +32,8 @@
 
 _RWSTD_NAMESPACE (std) {
 
+#ifdef _RWSTD_NO_DOMAIN_ERROR_DTOR
+
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ domain_error::
@@ -40,4 +42,6 @@
     // no-op
 }
 
+#endif   // _RWSTD_NO_DOMAIN_ERROR_DTOR
+
 }   // namespace std

Modified: stdcxx/trunk/src/invalid_argument.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/src/invalid_argument.cpp?rev=777607&r1=777606&r2=777607&view=diff
==============================================================================
--- stdcxx/trunk/src/invalid_argument.cpp (original)
+++ stdcxx/trunk/src/invalid_argument.cpp Fri May 22 16:35:42 2009
@@ -32,6 +32,8 @@
 
 _RWSTD_NAMESPACE (std) {
 
+#ifdef _RWSTD_NO_INVALID_ARGUMENT_DTOR
+
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ invalid_argument::
@@ -40,4 +42,6 @@
     // no-op
 }
 
+#endif   // _RWSTD_NO_INVALID_ARGUMENT_DTOR
+
 }   // namespace std

Modified: stdcxx/trunk/src/length_error.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/src/length_error.cpp?rev=777607&r1=777606&r2=777607&view=diff
==============================================================================
--- stdcxx/trunk/src/length_error.cpp (original)
+++ stdcxx/trunk/src/length_error.cpp Fri May 22 16:35:42 2009
@@ -32,6 +32,8 @@
 
 _RWSTD_NAMESPACE (std) {
 
+#ifdef _RWSTD_NO_LENGTH_ERROR_DTOR
+
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ length_error::
@@ -40,4 +42,6 @@
     // no-op
 }
 
+#endif   // _RWSTD_NO_LENGTH_ERROR_DTOR
+
 }   // namespace std

Modified: stdcxx/trunk/src/logic_error.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/src/logic_error.cpp?rev=777607&r1=777606&r2=777607&view=diff
==============================================================================
--- stdcxx/trunk/src/logic_error.cpp (original)
+++ stdcxx/trunk/src/logic_error.cpp Fri May 22 16:35:42 2009
@@ -32,6 +32,8 @@
 
 _RWSTD_NAMESPACE (std) {
 
+#ifdef _RWSTD_NO_LOGIC_ERROR_DTOR
+
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ logic_error::
@@ -40,4 +42,6 @@
     // no-op
 }
 
+#endif   // _RWSTD_NO_LOGIC_ERROR_DTOR
+
 }   // namespace std

Modified: stdcxx/trunk/src/out_of_range.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/src/out_of_range.cpp?rev=777607&r1=777606&r2=777607&view=diff
==============================================================================
--- stdcxx/trunk/src/out_of_range.cpp (original)
+++ stdcxx/trunk/src/out_of_range.cpp Fri May 22 16:35:42 2009
@@ -32,6 +32,8 @@
 
 _RWSTD_NAMESPACE (std) {
 
+#ifdef _RWSTD_NO_OUT_OF_RANGE_DTOR
+
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ out_of_range::
@@ -40,4 +42,6 @@
     // no-op
 }
 
+#endif   // _RWSTD_NO_OUT_OF_RANGE_DTOR
+
 }   // namespace std

Modified: stdcxx/trunk/src/overflow_error.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/src/overflow_error.cpp?rev=777607&r1=777606&r2=777607&view=diff
==============================================================================
--- stdcxx/trunk/src/overflow_error.cpp (original)
+++ stdcxx/trunk/src/overflow_error.cpp Fri May 22 16:35:42 2009
@@ -32,6 +32,8 @@
 
 _RWSTD_NAMESPACE (std) {
 
+#ifdef _RWSTD_NO_OVERFLOW_ERROR_DTOR
+
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ overflow_error::
@@ -40,4 +42,6 @@
     // no-op
 }
 
+#endif   // _RWSTD_NO_OVERFLOW_ERROR_DTOR
+
 }   // namespace std

Modified: stdcxx/trunk/src/range_error.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/src/range_error.cpp?rev=777607&r1=777606&r2=777607&view=diff
==============================================================================
--- stdcxx/trunk/src/range_error.cpp (original)
+++ stdcxx/trunk/src/range_error.cpp Fri May 22 16:35:42 2009
@@ -32,6 +32,8 @@
 
 _RWSTD_NAMESPACE (std) {
 
+#ifdef _RWSTD_NO_RANGE_ERROR_DTOR
+
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ range_error::
@@ -40,4 +42,6 @@
     // no-op
 }
 
+#endif   // _RWSTD_NO_RANGE_ERROR_DTOR
+
 }   // namespace std

Modified: stdcxx/trunk/src/runtime_error.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/src/runtime_error.cpp?rev=777607&r1=777606&r2=777607&view=diff
==============================================================================
--- stdcxx/trunk/src/runtime_error.cpp (original)
+++ stdcxx/trunk/src/runtime_error.cpp Fri May 22 16:35:42 2009
@@ -32,6 +32,8 @@
 
 _RWSTD_NAMESPACE (std) {
 
+#ifdef _RWSTD_NO_RUNTIME_ERROR_DTOR
+
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ runtime_error::
@@ -40,4 +42,6 @@
     // no-op
 }
 
+#endif   // _RWSTD_NO_RUNTIME_ERROR_DTOR
+
 }   // namespace std

Modified: stdcxx/trunk/src/underflow_error.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/src/underflow_error.cpp?rev=777607&r1=777606&r2=777607&view=diff
==============================================================================
--- stdcxx/trunk/src/underflow_error.cpp (original)
+++ stdcxx/trunk/src/underflow_error.cpp Fri May 22 16:35:42 2009
@@ -32,6 +32,8 @@
 
 _RWSTD_NAMESPACE (std) {
 
+#ifdef _RWSTD_NO_UNDERFLOW_ERROR_DTOR
+
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ underflow_error::
@@ -40,4 +42,6 @@
     // no-op
 }
 
+#endif   // _RWSTD_NO_UNDERFLOW_ERROR_DTOR
+
 }   // namespace std



Mime
View raw message