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
This commit is contained in:
Jonathan Wakely 2015-09-04 10:16:29 +01:00 committed by Jonathan Wakely
parent 938c4af0a9
commit 57003677cf
16 changed files with 55 additions and 8 deletions

View 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.

View File

@ -30,4 +30,5 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include_next <assert.h>

View 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

View File

@ -31,6 +31,7 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include_next <float.h>
#endif

View File

@ -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

View File

@ -31,6 +31,7 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include_next <limits.h>
#endif

View File

@ -40,4 +40,5 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include <assert.h>

View File

@ -38,6 +38,7 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include <errno.h>
#ifndef _GLIBCXX_CERRNO

View File

@ -38,6 +38,7 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include <float.h>
#ifndef _GLIBCXX_CFLOAT

View File

@ -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

View File

@ -38,6 +38,7 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include <limits.h>
#ifndef _GLIBCXX_CLIMITS

View File

@ -40,4 +40,5 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include <assert.h>

View 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

View File

@ -41,6 +41,7 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include <float.h>
#endif

View File

@ -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

View File

@ -41,6 +41,7 @@
#pragma GCC system_header
#include <bits/c++config.h>
#include <limits.h>
#endif