libstdc++/71073 add system_header pragma to Debug Mode headers
PR libstdc++/71073 * include/debug/bitset: Add #pragma GCC system_header. * include/debug/deque: Likewise. * include/debug/list: Likewise. * include/debug/map: Likewise. * include/debug/set: Likewise. * include/debug/string: Likewise. * include/debug/unordered_map: Likewise. * include/debug/unordered_set: Likewise. * include/debug/vector: Likewise. * include/debug/functions.h: Adjust whitespace. From-SVN: r236211
This commit is contained in:
parent
ac3d02e247
commit
541a9b104b
11 changed files with 35 additions and 4 deletions
|
@ -1,3 +1,17 @@
|
|||
2016-05-13 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/71073
|
||||
* include/debug/bitset: Add #pragma GCC system_header.
|
||||
* include/debug/deque: Likewise.
|
||||
* include/debug/list: Likewise.
|
||||
* include/debug/map: Likewise.
|
||||
* include/debug/set: Likewise.
|
||||
* include/debug/string: Likewise.
|
||||
* include/debug/unordered_map: Likewise.
|
||||
* include/debug/unordered_set: Likewise.
|
||||
* include/debug/vector: Likewise.
|
||||
* include/debug/functions.h: Adjust whitespace.
|
||||
|
||||
2016-05-12 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/71081
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifndef _GLIBCXX_DEBUG_BITSET
|
||||
#define _GLIBCXX_DEBUG_BITSET
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <bitset>
|
||||
#include <debug/safe_sequence.h>
|
||||
#include <debug/safe_iterator.h>
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifndef _GLIBCXX_DEBUG_DEQUE
|
||||
#define _GLIBCXX_DEBUG_DEQUE 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <deque>
|
||||
#include <debug/safe_sequence.h>
|
||||
#include <debug/safe_container.h>
|
||||
|
|
|
@ -29,11 +29,10 @@
|
|||
#ifndef _GLIBCXX_DEBUG_FUNCTIONS_H
|
||||
#define _GLIBCXX_DEBUG_FUNCTIONS_H 1
|
||||
|
||||
#include <bits/move.h> // for __addressof
|
||||
#include <bits/stl_function.h> // for less
|
||||
#include <bits/move.h> // for __addressof
|
||||
#include <bits/stl_function.h> // for less
|
||||
#if __cplusplus >= 201103L
|
||||
# include <type_traits> // for is_lvalue_reference and
|
||||
// conditional.
|
||||
# include <type_traits> // for is_lvalue_reference and conditional.
|
||||
#endif
|
||||
|
||||
#include <debug/helper_functions.h>
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifndef _GLIBCXX_DEBUG_LIST
|
||||
#define _GLIBCXX_DEBUG_LIST 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <list>
|
||||
#include <debug/safe_sequence.h>
|
||||
#include <debug/safe_container.h>
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifndef _GLIBCXX_DEBUG_MAP
|
||||
#define _GLIBCXX_DEBUG_MAP 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <map>
|
||||
#include <debug/map.h>
|
||||
#include <debug/multimap.h>
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifndef _GLIBCXX_DEBUG_SET
|
||||
#define _GLIBCXX_DEBUG_SET 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <set>
|
||||
#include <debug/set.h>
|
||||
#include <debug/multiset.h>
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifndef _GLIBCXX_DEBUG_STRING
|
||||
#define _GLIBCXX_DEBUG_STRING 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <string>
|
||||
#include <debug/safe_sequence.h>
|
||||
#include <debug/safe_container.h>
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifndef _GLIBCXX_DEBUG_UNORDERED_MAP
|
||||
#define _GLIBCXX_DEBUG_UNORDERED_MAP 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#if __cplusplus < 201103L
|
||||
# include <bits/c++0x_warning.h>
|
||||
#else
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifndef _GLIBCXX_DEBUG_UNORDERED_SET
|
||||
#define _GLIBCXX_DEBUG_UNORDERED_SET 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#if __cplusplus < 201103L
|
||||
# include <bits/c++0x_warning.h>
|
||||
#else
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifndef _GLIBCXX_DEBUG_VECTOR
|
||||
#define _GLIBCXX_DEBUG_VECTOR 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <debug/safe_sequence.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue