Commit b0a85b86 by Gabriel Dos Reis Committed by Gabriel Dos Reis

Add #pragma system_header to header files.

From-SVN: r39896
parent c81460e4
2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* include/bits/basic_file.h: Add #pragma system_header
* include/bits/basic_ios.h: Ditto.
* include/bits/basic_string.h: Ditto.
* include/bits/char_traits.h: Ditto.
* include/bits/codecvt.h: Ditto.
* include/bits/cpp_type_traits.h: Ditto.
* include/bits/fpos.h: Ditto.
* include/bits/gslice.h: Ditto.
* include/bits/gslice_array.h: Ditto.
* include/bits/indirect_array.h: Ditto.
* include/bits/ios_base.h: Ditto.
* include/bits/limits_generic.h: Ditto.
* include/bits/locale_facets.h: Ditto.
* include/bits/localefwd.h: Ditto.
* include/bits/mask_array.h: Ditto.
* include/bits/sbuf_iter.h: Ditto.
* include/bits/sequence_concepts.h: Ditto.
* include/bits/slice.h: Ditto.
* include/bits/slice_array.h: Ditto.
* include/bits/std_algorithm.h: Likewise.
* include/bits/std_bitset.h: Likewise.
* include/bits/std_complex.h: Likewise.
* include/bits/std_deque.h: Likewise.
* include/bits/std_fstream.h: Likewise.
* include/bits/std_functional.h: Likewise.
* include/bits/std_iomanip.h: Likewise.
* include/bits/std_ios.h: Likewise.
* include/bits/std_iosfwd.h: Likewise.
* include/bits/std_iostream.h: Likewise.
* include/bits/std_istream.h: Likewise.
* include/bits/std_iterator.h: Likewise.
* include/bits/std_list.h: Likewise.
* include/bits/std_locale.h: Likewise.
* include/bits/std_map.h: Likewise.
* include/bits/std_memory.h: Likewise.
* include/bits/std_numeric.h: Likewise.
* include/bits/std_ostream.h: Likewise.
* include/bits/std_queue.h: Likewise.
* include/bits/std_set.h: Likewise.
* include/bits/std_sstream.h: Likewise.
* include/bits/std_stack.h: Likewise.
* include/bits/std_stdexcept.h: Likewise.
* include/bits/std_streambuf.h: Likewise.
* include/bits/std_string.h: Likewise.
* include/bits/std_utility.h: Likewise.
* include/bits/std_valarray.h: Likewise.
* include/bits/std_vector.h: Likewise.
* include/bits/stringfwd.h: Likewise.
* include/bits/type_traits.h: Likewise.
* include/bits/valarray_array.h: Likewise.
* include/bits/valarray_meta.h: Likewise.
2001-02-19 Andreas Jaeger <aj@suse.de> 2001-02-19 Andreas Jaeger <aj@suse.de>
* config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap): * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_BASIC_FILE #ifndef _CPP_BASIC_FILE
#define _CPP_BASIC_FILE 1 #define _CPP_BASIC_FILE 1
#pragma GCC system_header
#include <bits/c++config.h> #include <bits/c++config.h>
#include <bits/std_ios.h> #include <bits/std_ios.h>
......
...@@ -30,6 +30,8 @@ ...@@ -30,6 +30,8 @@
#ifndef _CPP_BITS_BASICIOS_H #ifndef _CPP_BITS_BASICIOS_H
#define _CPP_BITS_BASICIOS_H 1 #define _CPP_BITS_BASICIOS_H 1
#pragma GCC system_header
#include <bits/sbuf_iter.h> #include <bits/sbuf_iter.h>
#include <bits/locale_facets.h> #include <bits/locale_facets.h>
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_BITS_STRING_H #ifndef _CPP_BITS_STRING_H
#define _CPP_BITS_STRING_H 1 #define _CPP_BITS_STRING_H 1
#pragma GCC system_header
#include <bits/atomicity.h> #include <bits/atomicity.h>
namespace std { namespace std {
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_BITS_CHAR_TRAITS_H #ifndef _CPP_BITS_CHAR_TRAITS_H
#define _CPP_BITS_CHAR_TRAITS_H 1 #define _CPP_BITS_CHAR_TRAITS_H 1
#pragma GCC system_header
#include <bits/std_cwchar.h> // For mbstate_t. #include <bits/std_cwchar.h> // For mbstate_t.
#include <bits/std_cstring.h> // For memmove, memset, memchr #include <bits/std_cstring.h> // For memmove, memset, memchr
#include <bits/fpos.h> // For streamoff, streamsize #include <bits/fpos.h> // For streamoff, streamsize
......
...@@ -38,6 +38,8 @@ ...@@ -38,6 +38,8 @@
#ifndef _CPP_BITS_CODECVT_H #ifndef _CPP_BITS_CODECVT_H
#define _CPP_BITS_CODECVT_H 1 #define _CPP_BITS_CODECVT_H 1
#pragma GCC system_header
// XXX // XXX
// __enc_traits may need to move up the locale header hierarchy, // __enc_traits may need to move up the locale header hierarchy,
// depending on if ctype ends up using it. // depending on if ctype ends up using it.
......
// The -*- C++ -*- type traits classes for internal use in libstdc++ // The -*- C++ -*- type traits classes for internal use in libstdc++
// Copyright (C) 2000 Free Software Foundation, Inc. // Copyright (C) 2000-2001 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // 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 // software; you can redistribute it and/or modify it under the
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#ifndef _CPP_BITS_CPP_TYPE_TRAITS_H #ifndef _CPP_BITS_CPP_TYPE_TRAITS_H
#define _CPP_BITS_CPP_TYPE_TRAITS_H 1 #define _CPP_BITS_CPP_TYPE_TRAITS_H 1
#pragma GCC system_header
// //
// This file provides some compile-time information about various types. // This file provides some compile-time information about various types.
// These representations were designed, on purpose, to be constant-expressions // These representations were designed, on purpose, to be constant-expressions
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_BITS_FPOS_H #ifndef _CPP_BITS_FPOS_H
#define _CPP_BITS_FPOS_H 1 #define _CPP_BITS_FPOS_H 1
#pragma GCC system_header
// Need this here as well as in std_ios because fpos is used in // Need this here as well as in std_ios because fpos is used in
// char_traits, and char_traits is used by string, which may or may // char_traits, and char_traits is used by string, which may or may
// not have included the std_ios file. // not have included the std_ios file.
......
// The template and inlines for the -*- C++ -*- gslice class. // The template and inlines for the -*- C++ -*- gslice class.
// Copyright (C) 1997-1999 Free Software Foundation, Inc. // Copyright (C) 1997-2001 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // 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 // software; you can redistribute it and/or modify it under the
...@@ -30,7 +30,9 @@ ...@@ -30,7 +30,9 @@
// Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr> // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr>
#ifndef _CPP_BITS_GSLICE_H #ifndef _CPP_BITS_GSLICE_H
#define _CPP_BITS_GSLICE_H #define _CPP_BITS_GSLICE_H 1
#pragma GCC system_header
namespace std { namespace std {
......
// The template and inlines for the -*- C++ -*- gslice_array class. // The template and inlines for the -*- C++ -*- gslice_array class.
// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // Copyright (C) 1997-2001 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // 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 // software; you can redistribute it and/or modify it under the
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#ifndef _CPP_BITS_GSLICE_ARRAY #ifndef _CPP_BITS_GSLICE_ARRAY
#define _CPP_BITS_GSLICE_ARRAY 1 #define _CPP_BITS_GSLICE_ARRAY 1
#pragma GCC system_header
namespace std { namespace std {
template<typename _Tp> class gslice_array template<typename _Tp> class gslice_array
......
// The template and inlines for the -*- C++ -*- indirect_array class. // The template and inlines for the -*- C++ -*- indirect_array class.
// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // Copyright (C) 1997-2001 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // 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 // software; you can redistribute it and/or modify it under the
...@@ -30,7 +30,9 @@ ...@@ -30,7 +30,9 @@
// Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr> // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr>
#ifndef _CPP_BITS_INDIRECT_ARRAY_H #ifndef _CPP_BITS_INDIRECT_ARRAY_H
#define _CPP_BITS_INDIRECT_ARRAY_H #define _CPP_BITS_INDIRECT_ARRAY_H 1
#pragma GCC system_header
namespace std { namespace std {
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_BITS_IOSBASE_H #ifndef _CPP_BITS_IOSBASE_H
#define _CPP_BITS_IOSBASE_H 1 #define _CPP_BITS_IOSBASE_H 1
#pragma GCC system_header
namespace std { namespace std {
// The following definitions of bitmask types are enums, not ints, // The following definitions of bitmask types are enums, not ints,
......
// The template and inlines for the -*- C++ -*- numeric_limits classes. // The template and inlines for the -*- C++ -*- numeric_limits classes.
// Copyright (C) 2000 Free Software Foundation, Inc. // Copyright (C) 2000-2001 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // 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 // software; you can redistribute it and/or modify it under the
...@@ -38,6 +38,8 @@ ...@@ -38,6 +38,8 @@
#ifndef _CPP_NUMERIC_LIMITS #ifndef _CPP_NUMERIC_LIMITS
#define _CPP_NUMERIC_LIMITS 1 #define _CPP_NUMERIC_LIMITS 1
#pragma GCC system_header
#include <bits/c++config.h> #include <bits/c++config.h>
#include <bits/std_cfloat.h> #include <bits/std_cfloat.h>
#include <bits/std_climits.h> #include <bits/std_climits.h>
......
...@@ -36,6 +36,8 @@ ...@@ -36,6 +36,8 @@
#ifndef _CPP_BITS_LOCFACETS_H #ifndef _CPP_BITS_LOCFACETS_H
#define _CPP_BITS_LOCFACETS_H 1 #define _CPP_BITS_LOCFACETS_H 1
#pragma GCC system_header
#include <bits/std_ctime.h> // For struct tm #include <bits/std_ctime.h> // For struct tm
#include <bits/std_ios.h> // For ios_base #include <bits/std_ios.h> // For ios_base
#ifdef _GLIBCPP_USE_WCHAR_T #ifdef _GLIBCPP_USE_WCHAR_T
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_BITS_LOCCORE_H #ifndef _CPP_BITS_LOCCORE_H
#define _CPP_BITS_LOCCORE_H 1 #define _CPP_BITS_LOCCORE_H 1
#pragma GCC system_header
#include <bits/c++config.h> #include <bits/c++config.h>
#include <bits/c++locale.h> // Defines __c_locale. #include <bits/c++locale.h> // Defines __c_locale.
#include <bits/std_climits.h> // For CHAR_BIT #include <bits/std_climits.h> // For CHAR_BIT
......
// The template and inlines for the -*- C++ -*- mask_array class. // The template and inlines for the -*- C++ -*- mask_array class.
// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // Copyright (C) 1997-2001, 2000 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // 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 // software; you can redistribute it and/or modify it under the
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#ifndef _CPP_BITS_MASK_ARRAY_H #ifndef _CPP_BITS_MASK_ARRAY_H
#define _CPP_BITS_MASK_ARRAY_H 1 #define _CPP_BITS_MASK_ARRAY_H 1
#pragma GCC system_header
namespace std { namespace std {
template <class _Tp> class mask_array template <class _Tp> class mask_array
......
// Streambuf iterators // Streambuf iterators
// Copyright (C) 1997-1999 Free Software Foundation, Inc. // Copyright (C) 1997-2001 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // 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 // software; you can redistribute it and/or modify it under the
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#ifndef _CPP_BITS_SBUF_ITER_H #ifndef _CPP_BITS_SBUF_ITER_H
#define _CPP_BITS_SBUF_ITER_H 1 #define _CPP_BITS_SBUF_ITER_H 1
#pragma GCC system_header
namespace std namespace std
{ {
......
...@@ -11,8 +11,10 @@ ...@@ -11,8 +11,10 @@
* purpose. It is provided "as is" without express or implied warranty. * purpose. It is provided "as is" without express or implied warranty.
*/ */
#ifndef STL_SEQUENCE_CONCEPTS_H #ifndef _STL_SEQUENCE_CONCEPTS_H
#define STL_SEQUENCE_CONCEPTS_H #define _STL_SEQUENCE_CONCEPTS_H 1
#pragma GCC system_header
#include <bits/container_concepts.h> #include <bits/container_concepts.h>
...@@ -201,4 +203,4 @@ _BackInsertionSequence_requirement_violation(_BackInsertionSequence __s) { ...@@ -201,4 +203,4 @@ _BackInsertionSequence_requirement_violation(_BackInsertionSequence __s) {
#endif /* if __STL_USE_CONCEPT_CHECKS */ #endif /* if __STL_USE_CONCEPT_CHECKS */
#endif /* STL_SEQUENCE_CONCEPTS_H */ #endif /* _STL_SEQUENCE_CONCEPTS_H */
...@@ -30,7 +30,9 @@ ...@@ -30,7 +30,9 @@
// Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr> // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr>
#ifndef _CPP_BITS_SLICE_H #ifndef _CPP_BITS_SLICE_H
#define _CPP_BITS_SLICE_H #define _CPP_BITS_SLICE_H 1
#pragma GCC system_header
namespace std { namespace std {
......
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#ifndef _CPP_BITS_SLICE_ARRAY_H #ifndef _CPP_BITS_SLICE_ARRAY_H
#define _CPP_BITS_SLICE_ARRAY_H 1 #define _CPP_BITS_SLICE_ARRAY_H 1
#pragma GCC system_header
namespace std { namespace std {
template<typename _Tp> template<typename _Tp>
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#ifndef _CPP_ALGORITHM #ifndef _CPP_ALGORITHM
#define _CPP_ALGORITHM 1 #define _CPP_ALGORITHM 1
#pragma GCC system_header
#include <bits/stl_algobase.h> #include <bits/stl_algobase.h>
#include <bits/stl_construct.h> #include <bits/stl_construct.h>
#include <bits/stl_uninitialized.h> #include <bits/stl_uninitialized.h>
......
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#ifndef __SGI_STL_BITSET #ifndef __SGI_STL_BITSET
#define __SGI_STL_BITSET #define __SGI_STL_BITSET
#pragma GCC system_header
// A bitset of size N has N % (sizeof(unsigned long) * CHAR_BIT) unused // A bitset of size N has N % (sizeof(unsigned long) * CHAR_BIT) unused
// bits. (They are the high- order bits in the highest word.) It is // bits. (They are the high- order bits in the highest word.) It is
// a class invariant of class bitset<> that those unused bits are // a class invariant of class bitset<> that those unused bits are
......
...@@ -37,6 +37,8 @@ ...@@ -37,6 +37,8 @@
#ifndef _CPP_COMPLEX #ifndef _CPP_COMPLEX
#define _CPP_COMPLEX 1 #define _CPP_COMPLEX 1
#pragma GCC system_header
#include <bits/c++config.h> #include <bits/c++config.h>
#include <bits/std_cmath.h> #include <bits/std_cmath.h>
#include <bits/std_iosfwd.h> #include <bits/std_iosfwd.h>
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#ifndef _CPP_DEQUE #ifndef _CPP_DEQUE
#define _CPP_DEQUE 1 #define _CPP_DEQUE 1
#pragma GCC system_header
#include <bits/functexcept.h> #include <bits/functexcept.h>
#include <bits/stl_algobase.h> #include <bits/stl_algobase.h>
#include <bits/stl_alloc.h> #include <bits/stl_alloc.h>
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_FSTREAM #ifndef _CPP_FSTREAM
#define _CPP_FSTREAM 1 #define _CPP_FSTREAM 1
#pragma GCC system_header
#include <bits/std_istream.h> #include <bits/std_istream.h>
#include <bits/std_ostream.h> #include <bits/std_ostream.h>
#include <bits/basic_file.h> #include <bits/basic_file.h>
......
...@@ -13,7 +13,9 @@ ...@@ -13,7 +13,9 @@
*/ */
#ifndef _CPP_FUNCTIONAL #ifndef _CPP_FUNCTIONAL
#define _CPP_FUNCTIONAL #define _CPP_FUNCTIONAL 1
#pragma GCC system_header
#include <bits/stl_config.h> #include <bits/stl_config.h>
#include <bits/std_cstddef.h> #include <bits/std_cstddef.h>
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_IOMANIP #ifndef _CPP_IOMANIP
#define _CPP_IOMANIP 1 #define _CPP_IOMANIP 1
#pragma GCC system_header
#include <bits/c++config.h> #include <bits/c++config.h>
#include <bits/std_istream.h> #include <bits/std_istream.h>
#include <bits/std_functional.h> #include <bits/std_functional.h>
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_IOS #ifndef _CPP_IOS
#define _CPP_IOS 1 #define _CPP_IOS 1
#pragma GCC system_header
#include <bits/std_iosfwd.h> #include <bits/std_iosfwd.h>
#include <exception> // For ios_base::failure #include <exception> // For ios_base::failure
#include <bits/char_traits.h> // For char_traits, streamoff, streamsize, fpos #include <bits/char_traits.h> // For char_traits, streamoff, streamsize, fpos
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_IOSFWD #ifndef _CPP_IOSFWD
#define _CPP_IOSFWD 1 #define _CPP_IOSFWD 1
#pragma GCC system_header
#include <bits/c++config.h> #include <bits/c++config.h>
#include <bits/std_cwchar.h> // For mbstate_t #include <bits/std_cwchar.h> // For mbstate_t
#include <bits/stringfwd.h> // For string forward declarations. #include <bits/stringfwd.h> // For string forward declarations.
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_IOSTREAM #ifndef _CPP_IOSTREAM
#define _CPP_IOSTREAM 1 #define _CPP_IOSTREAM 1
#pragma GCC system_header
#include <bits/c++config.h> #include <bits/c++config.h>
#include <bits/std_ostream.h> #include <bits/std_ostream.h>
#include <bits/std_istream.h> #include <bits/std_istream.h>
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_ISTREAM #ifndef _CPP_ISTREAM
#define _CPP_ISTREAM 1 #define _CPP_ISTREAM 1
#pragma GCC system_header
#include <bits/std_ios.h> #include <bits/std_ios.h>
#include <bits/std_limits.h> // For numeric_limits #include <bits/std_limits.h> // For numeric_limits
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#ifndef _CPP_ITERATOR #ifndef _CPP_ITERATOR
#define _CPP_ITERATOR 1 #define _CPP_ITERATOR 1
#pragma GCC system_header
#include <bits/stl_config.h> #include <bits/stl_config.h>
#include <bits/std_cstddef.h> #include <bits/std_cstddef.h>
#include <bits/std_iosfwd.h> #include <bits/std_iosfwd.h>
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#ifndef _CPP_LIST #ifndef _CPP_LIST
#define _CPP_LIST 1 #define _CPP_LIST 1
#pragma GCC system_header
#include <bits/stl_algobase.h> #include <bits/stl_algobase.h>
#include <bits/stl_alloc.h> #include <bits/stl_alloc.h>
#include <bits/stl_construct.h> #include <bits/stl_construct.h>
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_LOCALE #ifndef _CPP_LOCALE
#define _CPP_LOCALE 1 #define _CPP_LOCALE 1
#pragma GCC system_header
#include <bits/localefwd.h> #include <bits/localefwd.h>
#include <bits/locale_facets.h> #include <bits/locale_facets.h>
#include <bits/locale_facets.tcc> #include <bits/locale_facets.tcc>
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#ifndef _CPP_MAP #ifndef _CPP_MAP
#define _CPP_MAP 1 #define _CPP_MAP 1
#pragma GCC system_header
#ifndef _CPP_BITS_STL_TREE_H #ifndef _CPP_BITS_STL_TREE_H
#include <bits/stl_tree.h> #include <bits/stl_tree.h>
#endif #endif
......
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
#ifndef _CPP_MEMORY #ifndef _CPP_MEMORY
#define _CPP_MEMORY 1 #define _CPP_MEMORY 1
#pragma GCC system_header
#include <bits/stl_algobase.h> #include <bits/stl_algobase.h>
#include <bits/stl_alloc.h> #include <bits/stl_alloc.h>
#include <bits/stl_construct.h> #include <bits/stl_construct.h>
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#ifndef _CPP_NUMERIC #ifndef _CPP_NUMERIC
#define _CPP_NUMERIC 1 #define _CPP_NUMERIC 1
#pragma GCC system_header
#include <bits/stl_config.h> #include <bits/stl_config.h>
#include <bits/std_cstddef.h> #include <bits/std_cstddef.h>
#include <bits/std_iterator.h> #include <bits/std_iterator.h>
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_OSTREAM #ifndef _CPP_OSTREAM
#define _CPP_OSTREAM 1 #define _CPP_OSTREAM 1
#pragma GCC system_header
#include <bits/std_ios.h> #include <bits/std_ios.h>
namespace std { namespace std {
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#ifndef _CPP_QUEUE #ifndef _CPP_QUEUE
#define _CPP_QUEUE 1 #define _CPP_QUEUE 1
#pragma GCC system_header
#include <bits/stl_algobase.h> #include <bits/stl_algobase.h>
#include <bits/stl_alloc.h> #include <bits/stl_alloc.h>
#include <bits/stl_construct.h> #include <bits/stl_construct.h>
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#ifndef _CPP_SET #ifndef _CPP_SET
#define _CPP_SET 1 #define _CPP_SET 1
#pragma GCC system_header
#ifndef _CPP_BITS_STL_TREE_H /* XXX is this guard needed? */ #ifndef _CPP_BITS_STL_TREE_H /* XXX is this guard needed? */
#include <bits/stl_tree.h> #include <bits/stl_tree.h>
#endif #endif
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_SSTREAM #ifndef _CPP_SSTREAM
#define _CPP_SSTREAM 1 #define _CPP_SSTREAM 1
#pragma GCC system_header
#include <bits/std_istream.h> #include <bits/std_istream.h>
#include <bits/std_ostream.h> #include <bits/std_ostream.h>
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#ifndef _CPP_STACK #ifndef _CPP_STACK
#define _CPP_STACK 1 #define _CPP_STACK 1
#pragma GCC system_header
#include <bits/stl_algobase.h> #include <bits/stl_algobase.h>
#include <bits/stl_alloc.h> #include <bits/stl_alloc.h>
#include <bits/stl_construct.h> #include <bits/stl_construct.h>
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_STDEXCEPT #ifndef _CPP_STDEXCEPT
#define _CPP_STDEXCEPT 1 #define _CPP_STDEXCEPT 1
#pragma GCC system_header
#include <exception> #include <exception>
#include <bits/stringfwd.h> #include <bits/stringfwd.h>
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_STREAMBUF #ifndef _CPP_STREAMBUF
#define _CPP_STREAMBUF 1 #define _CPP_STREAMBUF 1
#pragma GCC system_header
#include <bits/c++config.h> #include <bits/c++config.h>
#include <bits/std_iosfwd.h> #include <bits/std_iosfwd.h>
#include <bits/std_cstdio.h> // For SEEK_SET, SEEK_CUR, SEEK_END #include <bits/std_cstdio.h> // For SEEK_SET, SEEK_CUR, SEEK_END
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_STRING #ifndef _CPP_STRING
#define _CPP_STRING 1 #define _CPP_STRING 1
#pragma GCC system_header
#include <bits/c++config.h> #include <bits/c++config.h>
#include <bits/stringfwd.h> #include <bits/stringfwd.h>
#include <bits/char_traits.h> #include <bits/char_traits.h>
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#ifndef _CPP_UTILITY #ifndef _CPP_UTILITY
#define _CPP_UTILITY 1 #define _CPP_UTILITY 1
#pragma GCC system_header
#include <bits/stl_config.h> #include <bits/stl_config.h>
#include <bits/stl_relops.h> #include <bits/stl_relops.h>
#include <bits/stl_pair.h> #include <bits/stl_pair.h>
......
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#ifndef _CPP_VALARRAY #ifndef _CPP_VALARRAY
#define _CPP_VALARRAY 1 #define _CPP_VALARRAY 1
#pragma GCC system_header
#include <bits/c++config.h> #include <bits/c++config.h>
#include <bits/std_cstddef.h> #include <bits/std_cstddef.h>
#include <bits/std_cmath.h> #include <bits/std_cmath.h>
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#ifndef _CPP_VECTOR #ifndef _CPP_VECTOR
#define _CPP_VECTOR 1 #define _CPP_VECTOR 1
#pragma GCC system_header
#include <bits/functexcept.h> #include <bits/functexcept.h>
#include <bits/stl_algobase.h> #include <bits/stl_algobase.h>
#include <bits/stl_alloc.h> #include <bits/stl_alloc.h>
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef _CPP_BITS_STRINGFWD_H #ifndef _CPP_BITS_STRINGFWD_H
#define _CPP_BITS_STRINGFWD_H 1 #define _CPP_BITS_STRINGFWD_H 1
#pragma GCC system_header
#include <bits/c++config.h> #include <bits/c++config.h>
namespace std namespace std
......
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
#ifndef _CPP_BITS_TYPE_TRAITS_H #ifndef _CPP_BITS_TYPE_TRAITS_H
#define _CPP_BITS_TYPE_TRAITS_H 1 #define _CPP_BITS_TYPE_TRAITS_H 1
#pragma GCC system_header
#ifndef _CPP_BITS_STL_CONFIG_H #ifndef _CPP_BITS_STL_CONFIG_H
#include <bits/stl_config.h> #include <bits/stl_config.h>
#endif #endif
......
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#ifndef _CPP_BITS_ARRAY_H #ifndef _CPP_BITS_ARRAY_H
#define _CPP_BITS_ARRAY_H 1 #define _CPP_BITS_ARRAY_H 1
#pragma GCC system_header
#include <bits/c++config.h> #include <bits/c++config.h>
#include <bits/cpp_type_traits.h> #include <bits/cpp_type_traits.h>
#include <bits/std_cstdlib.h> #include <bits/std_cstdlib.h>
......
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#ifndef _CPP_VALARRAY_META_H #ifndef _CPP_VALARRAY_META_H
#define _CPP_VALARRAY_META_H 1 #define _CPP_VALARRAY_META_H 1
#pragma GCC system_header
namespace std { namespace std {
// //
......
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