OSDN Git Service

2008-04-23 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Apr 2008 23:28:45 +0000 (23:28 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Apr 2008 23:28:45 +0000 (23:28 +0000)
* config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
_GLIBCXX_BEGIN_EXTERN_C, etc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134607 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/config.h.in
libstdc++-v3/config/os/hpux/os_defines.h

index dfa4a47..14b75c9 100644 (file)
@@ -1,3 +1,8 @@
+2008-04-23  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
+       _GLIBCXX_BEGIN_EXTERN_C, etc.
+
 2008-04-23  Johannes Singler  <singler@ira.uka.de>
 
         * include/parallel/quicksort.h: Reformat,
 2008-04-14  Benjamin Kosnik  <bkoz@redhat.com>
 
        * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
-       
+
 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
 
        * doc/html/*: Regenerate.
-       
+
 2008-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
 
        * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
        insertors. Correct omp_set_num_threads example.
-       
+
 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
 
        * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
        * include/Makefile.am (cstdatomic, stdatomic.h): Add.
        * src/Makefile.am (atomic.c): Add.
        * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
-       * configure.ac: Call it.        
+       * configure.ac: Call it.
        * include/Makefile.in: Regenerate.
        * src/Makefile.in: Same.
        * Makefile.in: Same.
        * libsupc++/Makefile.in: Same.
        * config.h.in: Same.
        * configure: Same.
-       
+
        * config/abi/pre/gnu.ver: Add atomics exports.
 
        * include/ext/typelist.h (apply_generator): New.
        * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
        (_GLIBCXX_END_EXTERN_C): New.
        Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
-       compiling as C. 
+       compiling as C.
        * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
        flag for libstdc++.
        * testsuite/util/testsuite_common_types.h (integral_types): New
        typelist.
        (atomics, atomics_tl): Same.
        (assignable, default_constructible, copy_constructible,
-       explicit_value_constructible): New.     
+       explicit_value_constructible): New.
        * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
        * testsuite/29_atomics: New.
        * testsuite/29_atomics/atomic_address: Same.
        * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
        * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
        * testsuite/29_atomics/atomic_flag/requirements: Same.
-       * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc: 
+       * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
        Same.
        * testsuite/29_atomics/atomic_flag/
        atomic_global_fence_compatibility.cc: Same.
        * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
        * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
        1.cc: Same.
-       
+
 2008-04-10  Lawrence Crowl  <crowl@google.com>
 
        * include/c_global/cstdatomic: New.
 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
 
        * include/std/tuple: Consistency check for include guard, doxygen
-       file markup.    
+       file markup.
        * include/std/date_time: Same.
        * include/std/type_traits: Same.
        * include/std/regex: Same.
        * include/std/array: Same.
-       * include/std/system_error: Same, add error_code ctor.  
-
+       * include/std/system_error: Same, add error_code ctor.
+       
 2008-04-07  Johannes Singler  <singler@ira.uka.de>
 
        * include/parallel/multiway_merge.h: Moved decisions to
        * config/abi/compatibility.h: Adjust file name.
 
        * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
-       line numbers.   
+       line numbers.
        * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
        * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
 
        * testsuite/util/testsuite_abi.cc: Add support for not counting
        GLIBCXX_LDBL_* compat symbols missing if no long double compat
        symbols under test.
-       
+
 2008-03-20  Paolo Carlini  <pcarlini@suse.de>
 
        PR libstdc++/35637
index 52acd2c..f02fac2 100644 (file)
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
+/* The size of a `char', as computed by sizeof. */
+#undef SIZEOF_CHAR
+
+/* The size of a `int', as computed by sizeof. */
+#undef SIZEOF_INT
+
+/* The size of a `long', as computed by sizeof. */
+#undef SIZEOF_LONG
+
+/* The size of a `short', as computed by sizeof. */
+#undef SIZEOF_SHORT
+
+/* The size of a `void *', as computed by sizeof. */
+#undef SIZEOF_VOID_P
+
 /* Define to 1 if you have the ANSI C header files. */
 #undef STDC_HEADERS
 
index 6118a26..515f421 100644 (file)
@@ -1,6 +1,6 @@
 // Specific definitions for HPUX  -*- C++ -*-
 
-// Copyright (C) 2000, 2002, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2000, 2002, 2004, 2005, 2008 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 
    We also force _GLIBCXX_USE_LONG_LONG here so that we don't have
    to bastardize configure to deal with this sillyness.  */
-namespace std 
-{
+
+_GLIBCXX_BEGIN_NAMESPACE(std)
+_GLIBCXX_BEGIN_EXTERN_C
+
 #ifndef __LP64__
-  __extension__ extern "C" long long strtoll (const char *, char **, int)
+  __extension__ long long strtoll (const char *, char **, int)
     __asm  ("__strtoll");
-  __extension__ extern "C" unsigned long long strtoull (const char *, char **, int)
+  __extension__ unsigned long long strtoull (const char *, char **, int)
     __asm  ("__strtoull");
 #else
-  __extension__ extern "C" long long strtoll (const char *, char **, int)
+  __extension__ long long strtoll (const char *, char **, int)
     __asm  ("strtol");
-  __extension__ extern "C" unsigned long long strtoull (const char *, char **, int)
+  __extension__ unsigned long long strtoull (const char *, char **, int)
     __asm  ("strtoul");
 #endif
-}
+
+_GLIBCXX_END_EXTERN_C
+_GLIBCXX_END_NAMESPACE
 
 #define _GLIBCXX_USE_LONG_LONG 1