diff options
author | Gabriel Dos Reis <gdr@merlin.codesourcery.com> | 2001-02-19 18:52:25 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2001-02-19 18:52:25 +0000 |
commit | b0a85b861eda836dd3193d26bc65fadbd9694849 (patch) | |
tree | 2c8bb8455ef9ab0a00342dd625d096052835ef1b /libstdc++-v3 | |
parent | c81460e465fb601f826d19654a2c8486358b7896 (diff) | |
download | gcc-b0a85b861eda836dd3193d26bc65fadbd9694849.zip gcc-b0a85b861eda836dd3193d26bc65fadbd9694849.tar.gz gcc-b0a85b861eda836dd3193d26bc65fadbd9694849.tar.bz2 |
Add #pragma system_header to header files.
From-SVN: r39896
Diffstat (limited to 'libstdc++-v3')
52 files changed, 170 insertions, 14 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 629c73c..c415d73 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,57 @@ +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> * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap): diff --git a/libstdc++-v3/include/bits/basic_file.h b/libstdc++-v3/include/bits/basic_file.h index f3fb473..1f9a3f5 100644 --- a/libstdc++-v3/include/bits/basic_file.h +++ b/libstdc++-v3/include/bits/basic_file.h @@ -34,6 +34,8 @@ #ifndef _CPP_BASIC_FILE #define _CPP_BASIC_FILE 1 +#pragma GCC system_header + #include <bits/c++config.h> #include <bits/std_ios.h> diff --git a/libstdc++-v3/include/bits/basic_ios.h b/libstdc++-v3/include/bits/basic_ios.h index d03e656..9019e2b 100644 --- a/libstdc++-v3/include/bits/basic_ios.h +++ b/libstdc++-v3/include/bits/basic_ios.h @@ -30,6 +30,8 @@ #ifndef _CPP_BITS_BASICIOS_H #define _CPP_BITS_BASICIOS_H 1 +#pragma GCC system_header + #include <bits/sbuf_iter.h> #include <bits/locale_facets.h> diff --git a/libstdc++-v3/include/bits/basic_string.h b/libstdc++-v3/include/bits/basic_string.h index c173d56..af83114 100644 --- a/libstdc++-v3/include/bits/basic_string.h +++ b/libstdc++-v3/include/bits/basic_string.h @@ -34,6 +34,8 @@ #ifndef _CPP_BITS_STRING_H #define _CPP_BITS_STRING_H 1 +#pragma GCC system_header + #include <bits/atomicity.h> namespace std { diff --git a/libstdc++-v3/include/bits/char_traits.h b/libstdc++-v3/include/bits/char_traits.h index 43dee93..bb8b371 100644 --- a/libstdc++-v3/include/bits/char_traits.h +++ b/libstdc++-v3/include/bits/char_traits.h @@ -34,6 +34,8 @@ #ifndef _CPP_BITS_CHAR_TRAITS_H #define _CPP_BITS_CHAR_TRAITS_H 1 +#pragma GCC system_header + #include <bits/std_cwchar.h> // For mbstate_t. #include <bits/std_cstring.h> // For memmove, memset, memchr #include <bits/fpos.h> // For streamoff, streamsize diff --git a/libstdc++-v3/include/bits/codecvt.h b/libstdc++-v3/include/bits/codecvt.h index a023102..68ff5e6 100644 --- a/libstdc++-v3/include/bits/codecvt.h +++ b/libstdc++-v3/include/bits/codecvt.h @@ -38,6 +38,8 @@ #ifndef _CPP_BITS_CODECVT_H #define _CPP_BITS_CODECVT_H 1 +#pragma GCC system_header + // XXX // __enc_traits may need to move up the locale header hierarchy, // depending on if ctype ends up using it. diff --git a/libstdc++-v3/include/bits/cpp_type_traits.h b/libstdc++-v3/include/bits/cpp_type_traits.h index ae232ad..61cc45d 100644 --- a/libstdc++-v3/include/bits/cpp_type_traits.h +++ b/libstdc++-v3/include/bits/cpp_type_traits.h @@ -1,6 +1,6 @@ // 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 // software; you can redistribute it and/or modify it under the @@ -32,6 +32,8 @@ #ifndef _CPP_BITS_CPP_TYPE_TRAITS_H #define _CPP_BITS_CPP_TYPE_TRAITS_H 1 +#pragma GCC system_header + // // This file provides some compile-time information about various types. // These representations were designed, on purpose, to be constant-expressions diff --git a/libstdc++-v3/include/bits/fpos.h b/libstdc++-v3/include/bits/fpos.h index 197b80e..f8b3cb6 100644 --- a/libstdc++-v3/include/bits/fpos.h +++ b/libstdc++-v3/include/bits/fpos.h @@ -34,6 +34,8 @@ #ifndef _CPP_BITS_FPOS_H #define _CPP_BITS_FPOS_H 1 +#pragma GCC system_header + // 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 // not have included the std_ios file. diff --git a/libstdc++-v3/include/bits/gslice.h b/libstdc++-v3/include/bits/gslice.h index 737254c..df8ecbe 100644 --- a/libstdc++-v3/include/bits/gslice.h +++ b/libstdc++-v3/include/bits/gslice.h @@ -1,6 +1,6 @@ // 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 // software; you can redistribute it and/or modify it under the @@ -30,7 +30,9 @@ // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr> #ifndef _CPP_BITS_GSLICE_H -#define _CPP_BITS_GSLICE_H +#define _CPP_BITS_GSLICE_H 1 + +#pragma GCC system_header namespace std { diff --git a/libstdc++-v3/include/bits/gslice_array.h b/libstdc++-v3/include/bits/gslice_array.h index 23a1f6d..3e2d12f 100644 --- a/libstdc++-v3/include/bits/gslice_array.h +++ b/libstdc++-v3/include/bits/gslice_array.h @@ -1,6 +1,6 @@ // 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 // software; you can redistribute it and/or modify it under the @@ -32,6 +32,8 @@ #ifndef _CPP_BITS_GSLICE_ARRAY #define _CPP_BITS_GSLICE_ARRAY 1 +#pragma GCC system_header + namespace std { template<typename _Tp> class gslice_array diff --git a/libstdc++-v3/include/bits/indirect_array.h b/libstdc++-v3/include/bits/indirect_array.h index 1ad3b91..e0324b3 100644 --- a/libstdc++-v3/include/bits/indirect_array.h +++ b/libstdc++-v3/include/bits/indirect_array.h @@ -1,6 +1,6 @@ // 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 // software; you can redistribute it and/or modify it under the @@ -30,7 +30,9 @@ // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr> #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 { diff --git a/libstdc++-v3/include/bits/ios_base.h b/libstdc++-v3/include/bits/ios_base.h index 12177da..8010115 100644 --- a/libstdc++-v3/include/bits/ios_base.h +++ b/libstdc++-v3/include/bits/ios_base.h @@ -34,6 +34,8 @@ #ifndef _CPP_BITS_IOSBASE_H #define _CPP_BITS_IOSBASE_H 1 +#pragma GCC system_header + namespace std { // The following definitions of bitmask types are enums, not ints, diff --git a/libstdc++-v3/include/bits/limits_generic.h b/libstdc++-v3/include/bits/limits_generic.h index 45fcccb..e25b672 100644 --- a/libstdc++-v3/include/bits/limits_generic.h +++ b/libstdc++-v3/include/bits/limits_generic.h @@ -1,6 +1,6 @@ // 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 // software; you can redistribute it and/or modify it under the @@ -38,6 +38,8 @@ #ifndef _CPP_NUMERIC_LIMITS #define _CPP_NUMERIC_LIMITS 1 +#pragma GCC system_header + #include <bits/c++config.h> #include <bits/std_cfloat.h> #include <bits/std_climits.h> diff --git a/libstdc++-v3/include/bits/locale_facets.h b/libstdc++-v3/include/bits/locale_facets.h index 6d71b81..23409736 100644 --- a/libstdc++-v3/include/bits/locale_facets.h +++ b/libstdc++-v3/include/bits/locale_facets.h @@ -36,6 +36,8 @@ #ifndef _CPP_BITS_LOCFACETS_H #define _CPP_BITS_LOCFACETS_H 1 +#pragma GCC system_header + #include <bits/std_ctime.h> // For struct tm #include <bits/std_ios.h> // For ios_base #ifdef _GLIBCPP_USE_WCHAR_T diff --git a/libstdc++-v3/include/bits/localefwd.h b/libstdc++-v3/include/bits/localefwd.h index d15afd9..6a14638 100644 --- a/libstdc++-v3/include/bits/localefwd.h +++ b/libstdc++-v3/include/bits/localefwd.h @@ -34,6 +34,8 @@ #ifndef _CPP_BITS_LOCCORE_H #define _CPP_BITS_LOCCORE_H 1 +#pragma GCC system_header + #include <bits/c++config.h> #include <bits/c++locale.h> // Defines __c_locale. #include <bits/std_climits.h> // For CHAR_BIT diff --git a/libstdc++-v3/include/bits/mask_array.h b/libstdc++-v3/include/bits/mask_array.h index 5a15f7a..2693564 100644 --- a/libstdc++-v3/include/bits/mask_array.h +++ b/libstdc++-v3/include/bits/mask_array.h @@ -1,6 +1,6 @@ // 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 // software; you can redistribute it and/or modify it under the @@ -32,6 +32,8 @@ #ifndef _CPP_BITS_MASK_ARRAY_H #define _CPP_BITS_MASK_ARRAY_H 1 +#pragma GCC system_header + namespace std { template <class _Tp> class mask_array diff --git a/libstdc++-v3/include/bits/sbuf_iter.h b/libstdc++-v3/include/bits/sbuf_iter.h index 7a0e1d5..351c8c9 100644 --- a/libstdc++-v3/include/bits/sbuf_iter.h +++ b/libstdc++-v3/include/bits/sbuf_iter.h @@ -1,6 +1,6 @@ // 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 // software; you can redistribute it and/or modify it under the @@ -32,6 +32,8 @@ #ifndef _CPP_BITS_SBUF_ITER_H #define _CPP_BITS_SBUF_ITER_H 1 +#pragma GCC system_header + namespace std { diff --git a/libstdc++-v3/include/bits/sequence_concepts.h b/libstdc++-v3/include/bits/sequence_concepts.h index af582fb..f251e2e 100644 --- a/libstdc++-v3/include/bits/sequence_concepts.h +++ b/libstdc++-v3/include/bits/sequence_concepts.h @@ -11,8 +11,10 @@ * purpose. It is provided "as is" without express or implied warranty. */ -#ifndef STL_SEQUENCE_CONCEPTS_H -#define STL_SEQUENCE_CONCEPTS_H +#ifndef _STL_SEQUENCE_CONCEPTS_H +#define _STL_SEQUENCE_CONCEPTS_H 1 + +#pragma GCC system_header #include <bits/container_concepts.h> @@ -201,4 +203,4 @@ _BackInsertionSequence_requirement_violation(_BackInsertionSequence __s) { #endif /* if __STL_USE_CONCEPT_CHECKS */ -#endif /* STL_SEQUENCE_CONCEPTS_H */ +#endif /* _STL_SEQUENCE_CONCEPTS_H */ diff --git a/libstdc++-v3/include/bits/slice.h b/libstdc++-v3/include/bits/slice.h index 3e4f7a7..113ff9b 100644 --- a/libstdc++-v3/include/bits/slice.h +++ b/libstdc++-v3/include/bits/slice.h @@ -30,7 +30,9 @@ // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr> #ifndef _CPP_BITS_SLICE_H -#define _CPP_BITS_SLICE_H +#define _CPP_BITS_SLICE_H 1 + +#pragma GCC system_header namespace std { diff --git a/libstdc++-v3/include/bits/slice_array.h b/libstdc++-v3/include/bits/slice_array.h index 4681cb5..d016a06 100644 --- a/libstdc++-v3/include/bits/slice_array.h +++ b/libstdc++-v3/include/bits/slice_array.h @@ -32,6 +32,8 @@ #ifndef _CPP_BITS_SLICE_ARRAY_H #define _CPP_BITS_SLICE_ARRAY_H 1 +#pragma GCC system_header + namespace std { template<typename _Tp> diff --git a/libstdc++-v3/include/bits/std_algorithm.h b/libstdc++-v3/include/bits/std_algorithm.h index 3f08426..4079cf3 100644 --- a/libstdc++-v3/include/bits/std_algorithm.h +++ b/libstdc++-v3/include/bits/std_algorithm.h @@ -27,6 +27,8 @@ #ifndef _CPP_ALGORITHM #define _CPP_ALGORITHM 1 +#pragma GCC system_header + #include <bits/stl_algobase.h> #include <bits/stl_construct.h> #include <bits/stl_uninitialized.h> diff --git a/libstdc++-v3/include/bits/std_bitset.h b/libstdc++-v3/include/bits/std_bitset.h index d4bf10c..0614e01 100644 --- a/libstdc++-v3/include/bits/std_bitset.h +++ b/libstdc++-v3/include/bits/std_bitset.h @@ -14,6 +14,8 @@ #ifndef __SGI_STL_BITSET #define __SGI_STL_BITSET +#pragma GCC system_header + // 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 // a class invariant of class bitset<> that those unused bits are diff --git a/libstdc++-v3/include/bits/std_complex.h b/libstdc++-v3/include/bits/std_complex.h index 1cc836e..463cd6c 100644 --- a/libstdc++-v3/include/bits/std_complex.h +++ b/libstdc++-v3/include/bits/std_complex.h @@ -37,6 +37,8 @@ #ifndef _CPP_COMPLEX #define _CPP_COMPLEX 1 +#pragma GCC system_header + #include <bits/c++config.h> #include <bits/std_cmath.h> #include <bits/std_iosfwd.h> diff --git a/libstdc++-v3/include/bits/std_deque.h b/libstdc++-v3/include/bits/std_deque.h index 9276294..f8760a5 100644 --- a/libstdc++-v3/include/bits/std_deque.h +++ b/libstdc++-v3/include/bits/std_deque.h @@ -27,6 +27,8 @@ #ifndef _CPP_DEQUE #define _CPP_DEQUE 1 +#pragma GCC system_header + #include <bits/functexcept.h> #include <bits/stl_algobase.h> #include <bits/stl_alloc.h> diff --git a/libstdc++-v3/include/bits/std_fstream.h b/libstdc++-v3/include/bits/std_fstream.h index 0860650..98740f5 100644 --- a/libstdc++-v3/include/bits/std_fstream.h +++ b/libstdc++-v3/include/bits/std_fstream.h @@ -34,6 +34,8 @@ #ifndef _CPP_FSTREAM #define _CPP_FSTREAM 1 +#pragma GCC system_header + #include <bits/std_istream.h> #include <bits/std_ostream.h> #include <bits/basic_file.h> diff --git a/libstdc++-v3/include/bits/std_functional.h b/libstdc++-v3/include/bits/std_functional.h index 0336c2a..0205335 100644 --- a/libstdc++-v3/include/bits/std_functional.h +++ b/libstdc++-v3/include/bits/std_functional.h @@ -13,7 +13,9 @@ */ #ifndef _CPP_FUNCTIONAL -#define _CPP_FUNCTIONAL +#define _CPP_FUNCTIONAL 1 + +#pragma GCC system_header #include <bits/stl_config.h> #include <bits/std_cstddef.h> diff --git a/libstdc++-v3/include/bits/std_iomanip.h b/libstdc++-v3/include/bits/std_iomanip.h index 6fa4938..0134a63 100644 --- a/libstdc++-v3/include/bits/std_iomanip.h +++ b/libstdc++-v3/include/bits/std_iomanip.h @@ -34,6 +34,8 @@ #ifndef _CPP_IOMANIP #define _CPP_IOMANIP 1 +#pragma GCC system_header + #include <bits/c++config.h> #include <bits/std_istream.h> #include <bits/std_functional.h> diff --git a/libstdc++-v3/include/bits/std_ios.h b/libstdc++-v3/include/bits/std_ios.h index 1471c1c..b88f4fc 100644 --- a/libstdc++-v3/include/bits/std_ios.h +++ b/libstdc++-v3/include/bits/std_ios.h @@ -34,6 +34,8 @@ #ifndef _CPP_IOS #define _CPP_IOS 1 +#pragma GCC system_header + #include <bits/std_iosfwd.h> #include <exception> // For ios_base::failure #include <bits/char_traits.h> // For char_traits, streamoff, streamsize, fpos diff --git a/libstdc++-v3/include/bits/std_iosfwd.h b/libstdc++-v3/include/bits/std_iosfwd.h index dc28c86..9d5146c 100644 --- a/libstdc++-v3/include/bits/std_iosfwd.h +++ b/libstdc++-v3/include/bits/std_iosfwd.h @@ -34,6 +34,8 @@ #ifndef _CPP_IOSFWD #define _CPP_IOSFWD 1 +#pragma GCC system_header + #include <bits/c++config.h> #include <bits/std_cwchar.h> // For mbstate_t #include <bits/stringfwd.h> // For string forward declarations. diff --git a/libstdc++-v3/include/bits/std_iostream.h b/libstdc++-v3/include/bits/std_iostream.h index 191e09d..8c1411f 100644 --- a/libstdc++-v3/include/bits/std_iostream.h +++ b/libstdc++-v3/include/bits/std_iostream.h @@ -34,6 +34,8 @@ #ifndef _CPP_IOSTREAM #define _CPP_IOSTREAM 1 +#pragma GCC system_header + #include <bits/c++config.h> #include <bits/std_ostream.h> #include <bits/std_istream.h> diff --git a/libstdc++-v3/include/bits/std_istream.h b/libstdc++-v3/include/bits/std_istream.h index 4a0f660..4c93f56 100644 --- a/libstdc++-v3/include/bits/std_istream.h +++ b/libstdc++-v3/include/bits/std_istream.h @@ -34,6 +34,8 @@ #ifndef _CPP_ISTREAM #define _CPP_ISTREAM 1 +#pragma GCC system_header + #include <bits/std_ios.h> #include <bits/std_limits.h> // For numeric_limits diff --git a/libstdc++-v3/include/bits/std_iterator.h b/libstdc++-v3/include/bits/std_iterator.h index 65eda06..bbb7505 100644 --- a/libstdc++-v3/include/bits/std_iterator.h +++ b/libstdc++-v3/include/bits/std_iterator.h @@ -27,6 +27,8 @@ #ifndef _CPP_ITERATOR #define _CPP_ITERATOR 1 +#pragma GCC system_header + #include <bits/stl_config.h> #include <bits/std_cstddef.h> #include <bits/std_iosfwd.h> diff --git a/libstdc++-v3/include/bits/std_list.h b/libstdc++-v3/include/bits/std_list.h index eaf1258..23cbf7b 100644 --- a/libstdc++-v3/include/bits/std_list.h +++ b/libstdc++-v3/include/bits/std_list.h @@ -27,6 +27,8 @@ #ifndef _CPP_LIST #define _CPP_LIST 1 +#pragma GCC system_header + #include <bits/stl_algobase.h> #include <bits/stl_alloc.h> #include <bits/stl_construct.h> diff --git a/libstdc++-v3/include/bits/std_locale.h b/libstdc++-v3/include/bits/std_locale.h index 739e755..1b3b58f2 100644 --- a/libstdc++-v3/include/bits/std_locale.h +++ b/libstdc++-v3/include/bits/std_locale.h @@ -34,6 +34,8 @@ #ifndef _CPP_LOCALE #define _CPP_LOCALE 1 +#pragma GCC system_header + #include <bits/localefwd.h> #include <bits/locale_facets.h> #include <bits/locale_facets.tcc> diff --git a/libstdc++-v3/include/bits/std_map.h b/libstdc++-v3/include/bits/std_map.h index d7fe92d..45f75ef 100644 --- a/libstdc++-v3/include/bits/std_map.h +++ b/libstdc++-v3/include/bits/std_map.h @@ -27,6 +27,8 @@ #ifndef _CPP_MAP #define _CPP_MAP 1 +#pragma GCC system_header + #ifndef _CPP_BITS_STL_TREE_H #include <bits/stl_tree.h> #endif diff --git a/libstdc++-v3/include/bits/std_memory.h b/libstdc++-v3/include/bits/std_memory.h index 5ee126b..49b08ad 100644 --- a/libstdc++-v3/include/bits/std_memory.h +++ b/libstdc++-v3/include/bits/std_memory.h @@ -15,6 +15,8 @@ #ifndef _CPP_MEMORY #define _CPP_MEMORY 1 +#pragma GCC system_header + #include <bits/stl_algobase.h> #include <bits/stl_alloc.h> #include <bits/stl_construct.h> diff --git a/libstdc++-v3/include/bits/std_numeric.h b/libstdc++-v3/include/bits/std_numeric.h index e9cd42d..795cdd2 100644 --- a/libstdc++-v3/include/bits/std_numeric.h +++ b/libstdc++-v3/include/bits/std_numeric.h @@ -27,6 +27,8 @@ #ifndef _CPP_NUMERIC #define _CPP_NUMERIC 1 +#pragma GCC system_header + #include <bits/stl_config.h> #include <bits/std_cstddef.h> #include <bits/std_iterator.h> diff --git a/libstdc++-v3/include/bits/std_ostream.h b/libstdc++-v3/include/bits/std_ostream.h index bec1f15..2666b3c 100644 --- a/libstdc++-v3/include/bits/std_ostream.h +++ b/libstdc++-v3/include/bits/std_ostream.h @@ -34,6 +34,8 @@ #ifndef _CPP_OSTREAM #define _CPP_OSTREAM 1 +#pragma GCC system_header + #include <bits/std_ios.h> namespace std { diff --git a/libstdc++-v3/include/bits/std_queue.h b/libstdc++-v3/include/bits/std_queue.h index 198b2c0..e15a3a2 100644 --- a/libstdc++-v3/include/bits/std_queue.h +++ b/libstdc++-v3/include/bits/std_queue.h @@ -27,6 +27,8 @@ #ifndef _CPP_QUEUE #define _CPP_QUEUE 1 +#pragma GCC system_header + #include <bits/stl_algobase.h> #include <bits/stl_alloc.h> #include <bits/stl_construct.h> diff --git a/libstdc++-v3/include/bits/std_set.h b/libstdc++-v3/include/bits/std_set.h index 7a5f5c5..ea8c8d9 100644 --- a/libstdc++-v3/include/bits/std_set.h +++ b/libstdc++-v3/include/bits/std_set.h @@ -27,6 +27,8 @@ #ifndef _CPP_SET #define _CPP_SET 1 +#pragma GCC system_header + #ifndef _CPP_BITS_STL_TREE_H /* XXX is this guard needed? */ #include <bits/stl_tree.h> #endif diff --git a/libstdc++-v3/include/bits/std_sstream.h b/libstdc++-v3/include/bits/std_sstream.h index f320711..bb00ba5 100644 --- a/libstdc++-v3/include/bits/std_sstream.h +++ b/libstdc++-v3/include/bits/std_sstream.h @@ -34,6 +34,8 @@ #ifndef _CPP_SSTREAM #define _CPP_SSTREAM 1 +#pragma GCC system_header + #include <bits/std_istream.h> #include <bits/std_ostream.h> diff --git a/libstdc++-v3/include/bits/std_stack.h b/libstdc++-v3/include/bits/std_stack.h index 53e7e21..2ba0d8c 100644 --- a/libstdc++-v3/include/bits/std_stack.h +++ b/libstdc++-v3/include/bits/std_stack.h @@ -27,6 +27,8 @@ #ifndef _CPP_STACK #define _CPP_STACK 1 +#pragma GCC system_header + #include <bits/stl_algobase.h> #include <bits/stl_alloc.h> #include <bits/stl_construct.h> diff --git a/libstdc++-v3/include/bits/std_stdexcept.h b/libstdc++-v3/include/bits/std_stdexcept.h index b9c5dcc..b354487 100644 --- a/libstdc++-v3/include/bits/std_stdexcept.h +++ b/libstdc++-v3/include/bits/std_stdexcept.h @@ -34,6 +34,8 @@ #ifndef _CPP_STDEXCEPT #define _CPP_STDEXCEPT 1 +#pragma GCC system_header + #include <exception> #include <bits/stringfwd.h> diff --git a/libstdc++-v3/include/bits/std_streambuf.h b/libstdc++-v3/include/bits/std_streambuf.h index 2e3c6dc..e1b0784 100644 --- a/libstdc++-v3/include/bits/std_streambuf.h +++ b/libstdc++-v3/include/bits/std_streambuf.h @@ -34,6 +34,8 @@ #ifndef _CPP_STREAMBUF #define _CPP_STREAMBUF 1 +#pragma GCC system_header + #include <bits/c++config.h> #include <bits/std_iosfwd.h> #include <bits/std_cstdio.h> // For SEEK_SET, SEEK_CUR, SEEK_END diff --git a/libstdc++-v3/include/bits/std_string.h b/libstdc++-v3/include/bits/std_string.h index 0a2da3a..a4b6d9e 100644 --- a/libstdc++-v3/include/bits/std_string.h +++ b/libstdc++-v3/include/bits/std_string.h @@ -34,6 +34,8 @@ #ifndef _CPP_STRING #define _CPP_STRING 1 +#pragma GCC system_header + #include <bits/c++config.h> #include <bits/stringfwd.h> #include <bits/char_traits.h> diff --git a/libstdc++-v3/include/bits/std_utility.h b/libstdc++-v3/include/bits/std_utility.h index e10dae3..055acf1 100644 --- a/libstdc++-v3/include/bits/std_utility.h +++ b/libstdc++-v3/include/bits/std_utility.h @@ -27,6 +27,8 @@ #ifndef _CPP_UTILITY #define _CPP_UTILITY 1 +#pragma GCC system_header + #include <bits/stl_config.h> #include <bits/stl_relops.h> #include <bits/stl_pair.h> diff --git a/libstdc++-v3/include/bits/std_valarray.h b/libstdc++-v3/include/bits/std_valarray.h index 9b45cdf..45bd8fb 100644 --- a/libstdc++-v3/include/bits/std_valarray.h +++ b/libstdc++-v3/include/bits/std_valarray.h @@ -32,6 +32,8 @@ #ifndef _CPP_VALARRAY #define _CPP_VALARRAY 1 +#pragma GCC system_header + #include <bits/c++config.h> #include <bits/std_cstddef.h> #include <bits/std_cmath.h> diff --git a/libstdc++-v3/include/bits/std_vector.h b/libstdc++-v3/include/bits/std_vector.h index e3613c3..6b846ad 100644 --- a/libstdc++-v3/include/bits/std_vector.h +++ b/libstdc++-v3/include/bits/std_vector.h @@ -27,6 +27,8 @@ #ifndef _CPP_VECTOR #define _CPP_VECTOR 1 +#pragma GCC system_header + #include <bits/functexcept.h> #include <bits/stl_algobase.h> #include <bits/stl_alloc.h> diff --git a/libstdc++-v3/include/bits/stringfwd.h b/libstdc++-v3/include/bits/stringfwd.h index 0202574..44f9a77 100644 --- a/libstdc++-v3/include/bits/stringfwd.h +++ b/libstdc++-v3/include/bits/stringfwd.h @@ -34,6 +34,8 @@ #ifndef _CPP_BITS_STRINGFWD_H #define _CPP_BITS_STRINGFWD_H 1 +#pragma GCC system_header + #include <bits/c++config.h> namespace std diff --git a/libstdc++-v3/include/bits/type_traits.h b/libstdc++-v3/include/bits/type_traits.h index dbcaa2a..fa61137 100644 --- a/libstdc++-v3/include/bits/type_traits.h +++ b/libstdc++-v3/include/bits/type_traits.h @@ -15,6 +15,8 @@ #ifndef _CPP_BITS_TYPE_TRAITS_H #define _CPP_BITS_TYPE_TRAITS_H 1 +#pragma GCC system_header + #ifndef _CPP_BITS_STL_CONFIG_H #include <bits/stl_config.h> #endif diff --git a/libstdc++-v3/include/bits/valarray_array.h b/libstdc++-v3/include/bits/valarray_array.h index a97bec9..741f646 100644 --- a/libstdc++-v3/include/bits/valarray_array.h +++ b/libstdc++-v3/include/bits/valarray_array.h @@ -32,6 +32,8 @@ #ifndef _CPP_BITS_ARRAY_H #define _CPP_BITS_ARRAY_H 1 +#pragma GCC system_header + #include <bits/c++config.h> #include <bits/cpp_type_traits.h> #include <bits/std_cstdlib.h> diff --git a/libstdc++-v3/include/bits/valarray_meta.h b/libstdc++-v3/include/bits/valarray_meta.h index da4c93f..be6a30a 100644 --- a/libstdc++-v3/include/bits/valarray_meta.h +++ b/libstdc++-v3/include/bits/valarray_meta.h @@ -32,6 +32,8 @@ #ifndef _CPP_VALARRAY_META_H #define _CPP_VALARRAY_META_H 1 +#pragma GCC system_header + namespace std { // |