Commit 57003677 by Jonathan Wakely Committed by Jonathan Wakely

Make all <cxxx> headers include <bits/c++config.h>

	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
parent 938c4af0
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.
......
......@@ -30,4 +30,5 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include_next <assert.h>
......@@ -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
......
......@@ -31,6 +31,7 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include_next <float.h>
#endif
......@@ -27,6 +27,12 @@
* 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
......@@ -31,6 +31,7 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include_next <limits.h>
#endif
......@@ -40,4 +40,5 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include <assert.h>
......@@ -38,6 +38,7 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include <errno.h>
#ifndef _GLIBCXX_CERRNO
......
......@@ -38,6 +38,7 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include <float.h>
#ifndef _GLIBCXX_CFLOAT
......
......@@ -27,7 +27,12 @@
* 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
......@@ -38,6 +38,7 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include <limits.h>
#ifndef _GLIBCXX_CLIMITS
......
......@@ -40,4 +40,5 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include <assert.h>
......@@ -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
......
......@@ -41,6 +41,7 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include <float.h>
#endif
......@@ -27,7 +27,12 @@
* 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
......@@ -41,6 +41,7 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include <limits.h>
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment