You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2007/03/07 22:46:56 UTC
svn commit: r515784 [2/2] - /incubator/stdcxx/trunk/etc/config/src/
Modified: incubator/stdcxx/trunk/etc/config/src/STD_NOTHROW.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/STD_NOTHROW.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/STD_NOTHROW.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/STD_NOTHROW.cpp Wed Mar 7 13:46:51 2007
@@ -1,9 +1,5 @@
// checking for std::nothrow
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
-
// will fail if namespaces aren't supported
namespace std {
Modified: incubator/stdcxx/trunk/etc/config/src/STD_NOTHROW_T.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/STD_NOTHROW_T.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/STD_NOTHROW_T.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/STD_NOTHROW_T.cpp Wed Mar 7 13:46:51 2007
@@ -2,9 +2,7 @@
#include <stddef.h> // for size_t
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
+#include "config.h"
// will fail if namespaces aren't supported
Modified: incubator/stdcxx/trunk/etc/config/src/STD_SET_NEW_HANDLER.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/STD_SET_NEW_HANDLER.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/STD_SET_NEW_HANDLER.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/STD_SET_NEW_HANDLER.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,6 @@
// checking for std::set_new_handler()
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
+#include "config.h"
#ifdef _RWSTD_NO_EXCEPTION_SPECIFICATION
Modified: incubator/stdcxx/trunk/etc/config/src/STD_SET_TERMINATE.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/STD_SET_TERMINATE.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/STD_SET_TERMINATE.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/STD_SET_TERMINATE.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,6 @@
// checking for std::set_terminate()
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
+#include "config.h"
#ifdef _RWSTD_NO_EXCEPTION_SPECIFICATION
Modified: incubator/stdcxx/trunk/etc/config/src/STD_SET_UNEXPECTED.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/STD_SET_UNEXPECTED.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/STD_SET_UNEXPECTED.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/STD_SET_UNEXPECTED.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,7 @@
// checking for std::set_unexpected()
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
+#include "config.h"
+
#ifdef _RWSTD_NO_EXCEPTION_SPECIFICATION
Modified: incubator/stdcxx/trunk/etc/config/src/STD_TERMINATE.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/STD_TERMINATE.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/STD_TERMINATE.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/STD_TERMINATE.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,6 @@
// checking for std::terminate()
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
+#include "config.h"
// will fail if namespaces aren't supported
namespace std {
Modified: incubator/stdcxx/trunk/etc/config/src/STD_TYPE_INFO.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/STD_TYPE_INFO.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/STD_TYPE_INFO.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/STD_TYPE_INFO.cpp Wed Mar 7 13:46:51 2007
@@ -1,9 +1,5 @@
// checking for class std::type_info
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif
-
namespace std {
Modified: incubator/stdcxx/trunk/etc/config/src/STD_UNCAUGHT_EXCEPTION.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/STD_UNCAUGHT_EXCEPTION.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/STD_UNCAUGHT_EXCEPTION.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/STD_UNCAUGHT_EXCEPTION.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,6 @@
// checking for std::uncaught_exception()
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
+#include "config.h"
#ifndef _RWSTD_NO_HONOR_STD
Modified: incubator/stdcxx/trunk/etc/config/src/STD_UNEXPECTED.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/STD_UNEXPECTED.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/STD_UNEXPECTED.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/STD_UNEXPECTED.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,5 @@
// checking for std::unexpected()
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
// will fail if namespaces aren't supported
namespace std {
Modified: incubator/stdcxx/trunk/etc/config/src/TEMPLATE_DEFAULT_ARG_CONVERSION.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/TEMPLATE_DEFAULT_ARG_CONVERSION.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/TEMPLATE_DEFAULT_ARG_CONVERSION.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/TEMPLATE_DEFAULT_ARG_CONVERSION.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,5 @@
// checking for conversion in template default arguments
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
template <class T>
struct A { };
Modified: incubator/stdcxx/trunk/etc/config/src/TEMPLATE_ON_RETURN_TYPE.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/TEMPLATE_ON_RETURN_TYPE.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/TEMPLATE_ON_RETURN_TYPE.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/TEMPLATE_ON_RETURN_TYPE.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,4 @@
-// checking for template on return type
-
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
+// checking template overloads on return type
template <class T>
Modified: incubator/stdcxx/trunk/etc/config/src/TYPENAME.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/TYPENAME.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/TYPENAME.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/TYPENAME.cpp Wed Mar 7 13:46:51 2007
@@ -1,9 +1,5 @@
// checking the typename keyword
-#if defined _RWSTD_USE_CONFIG
-# include "config.h"
-#endif // _RWSTD_USE_CONFGI
-
struct A
{
Modified: incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_BEFORE.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_BEFORE.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_BEFORE.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_BEFORE.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,6 @@
// checking for type_info::before()
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif
+#include "config.h"
#ifndef _RWSTD_NO_STD_TYPE_INFO
Modified: incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_DTOR.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_DTOR.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_DTOR.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_DTOR.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,6 @@
// checking for type_info dtor
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif
+#include "config.h"
#ifndef _RWSTD_NO_HONOR_STD
Modified: incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_EQUALITY.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_EQUALITY.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_EQUALITY.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_EQUALITY.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,6 @@
// checking for type_info::operator==()
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif
+#include "config.h"
#ifndef _RWSTD_NO_STD_TYPE_INFO
Modified: incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_INEQUALITY.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_INEQUALITY.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_INEQUALITY.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_INEQUALITY.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,6 @@
// checking for type_info::operator!=()
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif
+#include "config.h"
#ifndef _RWSTD_NO_STD_TYPE_INFO
Modified: incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_NAME.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_NAME.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_NAME.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/TYPE_INFO_NAME.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,6 @@
// checking for type_info::name()
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif
+#include "config.h"
#ifndef _RWSTD_NO_STD_TYPE_INFO
Modified: incubator/stdcxx/trunk/etc/config/src/UNAME.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/UNAME.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/UNAME.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/UNAME.cpp Wed Mar 7 13:46:51 2007
@@ -47,12 +47,6 @@
int main ()
{
-#if !defined (_RWSTD_USE_CONFIG)
-
- printf ("/**/\n#undef _RWSTD_NO_UNAME\n");
-
-#endif // _RWSTD_USE_CONFIG
-
#if !defined (_WIN32) && !defined (_WIN64)
struct utsname uts;
Modified: incubator/stdcxx/trunk/etc/config/src/UNISTD_DECL.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/UNISTD_DECL.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/UNISTD_DECL.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/UNISTD_DECL.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,6 @@
// checking the contents of <unistd.h>
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
+#include "config.h"
#include <sys/types.h>
#include <fcntl.h>
@@ -118,12 +116,6 @@
int main ()
{
-#if !defined (_RWSTD_USE_CONFIG)
-
- printf ("/**/\n#undef _RWSTD_UNISTD_DECL\n");
-
-#endif // _RWSTD_USE_CONFIG
-
print_macros ();
off_t off = 0;
Modified: incubator/stdcxx/trunk/etc/config/src/VA_LIST.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/VA_LIST.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/VA_LIST.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/VA_LIST.cpp Wed Mar 7 13:46:51 2007
@@ -1,9 +1,6 @@
// checking the type of va_list
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
-
+#include "config.h"
#include <stdarg.h>
#include <stdio.h>
@@ -151,12 +148,6 @@
int main ()
{
-#if !defined (_RWSTD_USE_CONFIG)
-
- printf ("/**/\n#undef _RWSTD_VA_LIST\n");
-
-#endif // _RWSTD_USE_CONFIG
-
#if defined (va_copy)
// comment out the macro #defined below when va_copy() exists
Modified: incubator/stdcxx/trunk/etc/config/src/VSNPRINTF_RETURN.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/VSNPRINTF_RETURN.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/VSNPRINTF_RETURN.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/VSNPRINTF_RETURN.cpp Wed Mar 7 13:46:51 2007
@@ -3,9 +3,7 @@
#include <stdarg.h>
#include <stdio.h>
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
+#include "config.h"
#ifdef _RWSTD_NO_VSNPRINTF
@@ -113,12 +111,6 @@
int main ()
{
-#if !defined (_RWSTD_USE_CONFIG)
-
- printf ("/**/\n#undef _RWSTD_VSNPRINTF_RETURN\n");
-
-#endif // _RWSTD_USE_CONFIG
-
test_vsnprintf (0);
test_vsnprintf (1);
Modified: incubator/stdcxx/trunk/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,6 @@
// checking for wcsftime() in <wchar.h>
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
+#include "config.h"
#include <stddef.h> // for size_t
#include <stdio.h> // for printf()
@@ -47,13 +45,6 @@
int main ()
{
-
-#if !defined (_RWSTD_USE_CONFIG)
-
- printf ("/**/\n#undef _RWSTD_WCSFTIME_WCHAR_T_FMAT\n");
-
-#endif // _RWSTD_USE_CONFIG
-
const char *argtype = bar ();
if (*(argtype+6) == 'c') {
printf ("#define _RWSTD_NO_WCSFTIME_WCHAR_T_FMAT\n");
@@ -72,12 +63,6 @@
int main ()
{
-#if !defined (_RWSTD_USE_CONFIG)
-
- printf ("/**/\n#undef _RWSTD_WCSFTIME_WCHAR_T_FMAT\n");
-
-#endif // _RWSTD_USE_CONFIG
-
wchar_t buf [40] = { 0 };
// format using a wchar_t format string; if the function takes
@@ -100,7 +85,6 @@
printf ("#define _RWSTD_NO_WCSFTIME_WCHAR_T_FMAT\n");
}
-
printf ("#define _RWSTD_WCSFTIME_ARG3_T %s\n", argtype);
Modified: incubator/stdcxx/trunk/etc/config/src/WINT_T.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/WINT_T.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/WINT_T.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/WINT_T.cpp Wed Mar 7 13:46:51 2007
@@ -1,8 +1,6 @@
// checking for wint_t in <wchar.h> and <wctype.h>
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
+#include "config.h"
#ifndef _RWSTD_NO_WCHAR_H
# include <wchar.h>
@@ -29,12 +27,6 @@
int main ()
{
-#if !defined (_RWSTD_USE_CONFIG)
-
- printf ("/**/\n#undef _RWSTD_WINT_T\n");
-
-#endif // _RWSTD_USE_CONFIG
-
//////////////////////////////////////////////////////////////////
// determine the underlying arithmetic type
Modified: incubator/stdcxx/trunk/etc/config/src/extern_template_before_definition_imp.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/extern_template_before_definition_imp.cpp?view=diff&rev=515784&r1=515783&r2=515784
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/extern_template_before_definition_imp.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/extern_template_before_definition_imp.cpp Wed Mar 7 13:46:51 2007
@@ -1,7 +1,5 @@
-#if defined (_RWSTD_USE_CONFIG)
-# include "config.h"
-#endif // _RWSTD_USE_CONFIG
+#include "config.h"
#ifdef _RWSTD_NO_IMPLICIT_INCLUSION
// tell "instantiation_before_definition.h" to #include its