1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
--- boost/ptr_container/ptr_map.hpp
+++ boost/ptr_container/ptr_map.hpp
@@ -16,6 +16,10 @@
# pragma once
#endif
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <map>
#include <boost/ptr_container/ptr_map_adapter.hpp>
--- boost/ptr_container/ptr_map_adapter.hpp
+++ boost/ptr_container/ptr_map_adapter.hpp
@@ -16,6 +16,10 @@
# pragma once
#endif
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <boost/ptr_container/detail/map_iterator.hpp>
#include <boost/ptr_container/detail/associative_ptr_container.hpp>
#include <boost/ptr_container/detail/meta_functions.hpp>
--- boost/ptr_container/ptr_set_adapter.hpp
+++ boost/ptr_container/ptr_set_adapter.hpp
@@ -16,6 +16,10 @@
# pragma once
#endif
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <boost/ptr_container/detail/associative_ptr_container.hpp>
#include <boost/ptr_container/detail/meta_functions.hpp>
#include <boost/ptr_container/detail/void_ptr_iterator.hpp>
--- boost/ptr_container/ptr_vector.hpp
+++ boost/ptr_container/ptr_vector.hpp
@@ -16,6 +16,10 @@
# pragma once
#endif
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <vector>
#include <boost/ptr_container/ptr_sequence_adapter.hpp>
--- boost/smart_ptr/detail/shared_count.hpp
+++ boost/smart_ptr/detail/shared_count.hpp
@@ -18,6 +18,10 @@
// http://www.boost.org/LICENSE_1_0.txt)
//
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#ifdef __BORLANDC__
# pragma warn -8027 // Functions containing try are not expanded inline
#endif
--- boost/smart_ptr/scoped_ptr.hpp
+++ boost/smart_ptr/scoped_ptr.hpp
@@ -11,6 +11,10 @@
// http://www.boost.org/libs/smart_ptr/scoped_ptr.htm
//
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <boost/config.hpp>
#include <boost/assert.hpp>
#include <boost/checked_delete.hpp>
--- boost/smart_ptr/shared_ptr.hpp
+++ boost/smart_ptr/shared_ptr.hpp
@@ -14,6 +14,10 @@
// See http://www.boost.org/libs/smart_ptr/shared_ptr.htm for documentation.
//
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <boost/config.hpp> // for broken compiler workarounds
#if defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(BOOST_MSVC6_MEMBER_TEMPLATES)
|