stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r448474 - in /incubator/stdcxx/trunk/tests: include/21.strings.h include/rw_char.h iostream/27.objects.cpp strings/21.cwchar.cpp
Date Thu, 21 Sep 2006 06:30:41 GMT
Author: faridz
Date: Wed Sep 20 23:30:40 2006
New Revision: 448474

URL: http://svn.apache.org/viewvc?view=rev&rev=448474
Log:
2006-09-21 Farid Zaripov <faridz@kyiv.vdiweb.com>

	* 21.string.h (StringState): Added _TEST_EXPORT specification
	* rw_char.h (UserCharFmatInit): Ditto
	* 21.cwchar.cpp: Added #ifndef/#endif guard to avoid double
	function definition
	* 27.objects.cpp (run_test): Corrected rw_warning() to rw_warn()

Modified:
    incubator/stdcxx/trunk/tests/include/21.strings.h
    incubator/stdcxx/trunk/tests/include/rw_char.h
    incubator/stdcxx/trunk/tests/iostream/27.objects.cpp
    incubator/stdcxx/trunk/tests/strings/21.cwchar.cpp

Modified: incubator/stdcxx/trunk/tests/include/21.strings.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/include/21.strings.h?view=diff&rev=448474&r1=448473&r2=448474
==============================================================================
--- incubator/stdcxx/trunk/tests/include/21.strings.h (original)
+++ incubator/stdcxx/trunk/tests/include/21.strings.h Wed Sep 20 23:30:40 2006
@@ -822,7 +822,7 @@
 // encapsulates the state of a string object without regard to type
 // used in exception safety tests to determine changes to the state
 // after a modifying operation throws an exception
-struct StringState
+struct _TEST_EXPORT StringState
 {
     const void*   data_;
     _RWSTD_SIZE_T size_;

Modified: incubator/stdcxx/trunk/tests/include/rw_char.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/include/rw_char.h?view=diff&rev=448474&r1=448473&r2=448474
==============================================================================
--- incubator/stdcxx/trunk/tests/include/rw_char.h (original)
+++ incubator/stdcxx/trunk/tests/include/rw_char.h Wed Sep 20 23:30:40 2006
@@ -499,7 +499,7 @@
 }
 
 
-static const struct UserCharFmatInit {
+static const struct _TEST_EXPORT UserCharFmatInit {
     UserCharFmatInit ();
 } _rw_user_char_fmat_init;
 

Modified: incubator/stdcxx/trunk/tests/iostream/27.objects.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/iostream/27.objects.cpp?view=diff&rev=448474&r1=448473&r2=448474
==============================================================================
--- incubator/stdcxx/trunk/tests/iostream/27.objects.cpp (original)
+++ incubator/stdcxx/trunk/tests/iostream/27.objects.cpp Wed Sep 20 23:30:40 2006
@@ -322,7 +322,7 @@
 
 #ifdef _RWSTD_NO_REPLACEABLE_NEW_DELETE
 
-    rw_warning (0, 0, __LINE__,
+    rw_warn (0, 0, __LINE__,
                 "replacement operators new and delete not tested: "
                 "_RWSTD_NO_REPLACEABLE_NEW_DELETE #defined");
 

Modified: incubator/stdcxx/trunk/tests/strings/21.cwchar.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/strings/21.cwchar.cpp?view=diff&rev=448474&r1=448473&r2=448474
==============================================================================
--- incubator/stdcxx/trunk/tests/strings/21.cwchar.cpp (original)
+++ incubator/stdcxx/trunk/tests/strings/21.cwchar.cpp Wed Sep 20 23:30:40 2006
@@ -810,7 +810,11 @@
 GET_TYPE_NAME (long);
 GET_TYPE_NAME (unsigned long);
 GET_TYPE_NAME (double);
+
+#ifndef _RWSTD_NO_NATIVE_WCHAR_T
 GET_TYPE_NAME (wchar_t);
+#endif
+
 GET_TYPE_NAME (wchar_t*);
 GET_TYPE_NAME (const wchar_t*);
 



Mime
View raw message