Make all <cxxx> headers include <bits/c++config.h>
authorJonathan Wakely <jwakely@redhat.com>
Fri, 4 Sep 2015 09:16:29 +0000 (10:16 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 4 Sep 2015 09:16:29 +0000 (10:16 +0100)
PR libstdc++/65473
* include/c/cassert: Include <bits/c++config.h>.
* include/c/cerrno: Likewise.
* include/c/cfloat: Likewise.
* include/c/ciso646: Likewise.
* include/c/climits: Likewise.
* include/c_global/cassert: Likewise.
* include/c_global/cerrno: Likewise.
* include/c_global/cfloat: Likewise.
* include/c_global/ciso646: Likewise.
* include/c_global/climits: Likewise.
* include/c_std/cassert: Likewise.
* include/c_std/cerrno: Likewise.
* include/c_std/cfloat: Likewise.
* include/c_std/ciso646: Likewise.
* include/c_std/climits: Likewise.

From-SVN: r227484

16 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/c/cassert
libstdc++-v3/include/c/cerrno
libstdc++-v3/include/c/cfloat
libstdc++-v3/include/c/ciso646
libstdc++-v3/include/c/climits
libstdc++-v3/include/c_global/cassert
libstdc++-v3/include/c_global/cerrno
libstdc++-v3/include/c_global/cfloat
libstdc++-v3/include/c_global/ciso646
libstdc++-v3/include/c_global/climits
libstdc++-v3/include/c_std/cassert
libstdc++-v3/include/c_std/cerrno
libstdc++-v3/include/c_std/cfloat
libstdc++-v3/include/c_std/ciso646
libstdc++-v3/include/c_std/climits

index ced20a31a5a8aa72bf1a3ad767621119b209eaaf..68464ead640de199c4bb992877f78233e58589ac 100644 (file)
@@ -1,3 +1,22 @@
+2015-09-04  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/65473
+       * include/c/cassert: Include <bits/c++config.h>.
+       * include/c/cerrno: Likewise.
+       * include/c/cfloat: Likewise.
+       * include/c/ciso646: Likewise.
+       * include/c/climits: Likewise.
+       * include/c_global/cassert: Likewise.
+       * include/c_global/cerrno: Likewise.
+       * include/c_global/cfloat: Likewise.
+       * include/c_global/ciso646: Likewise.
+       * include/c_global/climits: Likewise.
+       * include/c_std/cassert: Likewise.
+       * include/c_std/cerrno: Likewise.
+       * include/c_std/cfloat: Likewise.
+       * include/c_std/ciso646: Likewise.
+       * include/c_std/climits: Likewise.
+
 2015-09-03  Jonathan Wakely  <jwakely@redhat.com>
 
        * include/bits/shared_ptr_base.h: Add required header.
index 46e4172fc2a7f5b7c25d6bfdbfafbb4e9427fb64..3965d1684171547616ae16ae08bd35bf5f240946 100644 (file)
@@ -30,4 +30,5 @@
 
 #pragma GCC system_header
 
+#include <bits/c++config.h>
 #include_next <assert.h>
index 1d56cb409df9a18608290e2bc9fc7e624e148145..6ea1d4c1119d2eb20ab2880f8d718af0a84ec1a6 100644 (file)
@@ -40,6 +40,7 @@
 
 #pragma GCC system_header
 
+#include <bits/c++config.h>
 #include_next <errno.h>
 
 // Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
index 25cfa6454e41931908e818d7dd9a67dba560e5eb..282eb31e57b2dac6f88a33eb3fe253afeb0aa64d 100644 (file)
@@ -31,6 +31,7 @@
 
 #pragma GCC system_header
 
+#include <bits/c++config.h>
 #include_next <float.h>
 
 #endif
index 125f16690f36c020daac1ab3d9ef31a125c1baa4..6eca2742f451325b437b2f938f424bc0a8c41605 100644 (file)
  *  in your programs, rather than any of the "*.h" implementation files.
  *
  *  This is the C++ version of the Standard C Library header @c iso646.h,
- *  and its contents are (mostly) the same as that header, but are all
- *  contained in the namespace @c std.
+ *  which is empty in C++.
  */
+#ifndef _GLIBCXX_CISO646
+#define _GLIBCXX_CISO646
+
+#pragma GCC system_header
+
+#include <bits/c++config.h>
+#endif
index f8b19d5b4ed07cfea59184c7c3b67a5ca8ae4671..5333af970bf835349229e7364446831e26f7b0a8 100644 (file)
@@ -31,6 +31,7 @@
 
 #pragma GCC system_header
 
+#include <bits/c++config.h>
 #include_next <limits.h>
 
 #endif
index e555a3857f0d5d6b7187215a37905d344a63d4d2..f404560d8762c909852a1bd3f1f2bba9e7051c2b 100644 (file)
@@ -40,4 +40,5 @@
 
 #pragma GCC system_header
 
+#include <bits/c++config.h>
 #include <assert.h>
index 7060b1e1e98d8599c73ab49a620466f365757fc3..9f173c50a58a8c8b162fd0a4c4199b459f5a3c3e 100644 (file)
@@ -38,6 +38,7 @@
 
 #pragma GCC system_header
 
+#include <bits/c++config.h>
 #include <errno.h>
 
 #ifndef _GLIBCXX_CERRNO
index 2c4ae284c16e57631df10da212b0f2f29250c419..50f7d3d54428bf772af9f4843228e1d501407463 100644 (file)
@@ -38,6 +38,7 @@
 
 #pragma GCC system_header
 
+#include <bits/c++config.h>
 #include <float.h>
 
 #ifndef _GLIBCXX_CFLOAT
index 818db67db0ae29e4c6228fef94f5cd3dc318f761..93fded401cddbb363ef0431e764788888487cd22 100644 (file)
  *  in your programs, rather than any of the @a *.h implementation files.
  *
  *  This is the C++ version of the Standard C Library header @c iso646.h,
- *  and its contents are (mostly) the same as that header, but are all
- *  contained in the namespace @c std (except for names which are defined
- *  as macros in C).
+ *  which is empty in C++.
  */
+#ifndef _GLIBCXX_CISO646
+#define _GLIBCXX_CISO646
+
+#pragma GCC system_header
+
+#include <bits/c++config.h>
+#endif
index e3da66ce13e2815c151b2dd68f4e871d14d56f65..d6e7994a894045f7d9dc23425b28ccee05585c9e 100644 (file)
@@ -38,6 +38,7 @@
 
 #pragma GCC system_header
 
+#include <bits/c++config.h>
 #include <limits.h>
 
 #ifndef _GLIBCXX_CLIMITS
index ea6daea0f4afee80d74d2ac3cb2f6373c3110246..641b03a88bdbbe9970591be0751476360dd9a84c 100644 (file)
@@ -40,4 +40,5 @@
 
 #pragma GCC system_header
 
+#include <bits/c++config.h>
 #include <assert.h>
index 06618b9f8e009b407b346ac9c7bc10aba2647fe4..ef298fa03a8da4de52336a9d139c260b65ccf24e 100644 (file)
@@ -41,6 +41,7 @@
 
 #pragma GCC system_header
 
+#include <bits/c++config.h>
 #include <errno.h>
 
 // Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
index d730af95c593224689220a0d7bbf9d629698fa03..01f1724cf8e335b69a83ad6173a8604d5f97736f 100644 (file)
@@ -41,6 +41,7 @@
 
 #pragma GCC system_header
 
+#include <bits/c++config.h>
 #include <float.h>
 
 #endif
index 08cdf248c831c7d6de9ac05f9b0774b0f52ff00f..7829d72ebce4dcb2e066a8937d8966b9077c43df 100644 (file)
  *  in your programs, rather than any of the @a *.h implementation files.
  *
  *  This is the C++ version of the Standard C Library header @c iso646.h,
- *  and its contents are (mostly) the same as that header, but are all
- *  contained in the namespace @c std (except for names which are defined
- *  as macros in C).
+ *  which is empty in C++.
  */
+#ifndef _GLIBCXX_CISO646
+#define _GLIBCXX_CISO646
+
+#pragma GCC system_header
+
+#include <bits/c++config.h>
+#endif
index 348d4c348f823fb66a793d1381afde0bb3de59a4..bffa892686cbe019da8a18aa6e645d15e219ecf5 100644 (file)
@@ -41,6 +41,7 @@
 
 #pragma GCC system_header
 
+#include <bits/c++config.h>
 #include <limits.h>
 
 #endif