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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202 | Temporary header file '/tmp/VjjnqsjTEc/dump1.h' with the following content will be compiled to create GCC translation unit dump:
// add includes
#include "/usr/include/KF5/KGeoMap/kgeomap/libkgeomap_export.h"
#include "/usr/include/KF5/KGeoMap/KGeoMap/AbstractMarkerTiler"
#include "/usr/include/KF5/KGeoMap/kgeomap/abstractmarkertiler.h"
#include "/usr/include/KF5/KGeoMap/KGeoMap/DragDropHandler"
#include "/usr/include/KF5/KGeoMap/kgeomap/dragdrophandler.h"
#include "/usr/include/KF5/KGeoMap/KGeoMap/GeoCoordinates"
#include "/usr/include/KF5/KGeoMap/kgeomap/geocoordinates.h"
#include "/usr/include/KF5/KGeoMap/KGeoMap/GroupState"
#include "/usr/include/KF5/KGeoMap/kgeomap/groupstate.h"
#include "/usr/include/KF5/KGeoMap/KGeoMap/GroupStateComputer"
#include "/usr/include/KF5/KGeoMap/kgeomap/groupstatecomputer.h"
#include "/usr/include/KF5/KGeoMap/KGeoMap/ItemMarkerTiler"
#include "/usr/include/KF5/KGeoMap/kgeomap/itemmarkertiler.h"
#include "/usr/include/KF5/KGeoMap/KGeoMap/LookupAltitude"
#include "/usr/include/KF5/KGeoMap/kgeomap/lookupaltitude.h"
#include "/usr/include/KF5/KGeoMap/KGeoMap/LookupFactory"
#include "/usr/include/KF5/KGeoMap/kgeomap/lookupfactory.h"
#include "/usr/include/KF5/KGeoMap/KGeoMap/MapWidget"
#include "/usr/include/KF5/KGeoMap/kgeomap/mapwidget.h"
#include "/usr/include/KF5/KGeoMap/KGeoMap/ModelHelper"
#include "/usr/include/KF5/KGeoMap/kgeomap/modelhelper.h"
#include "/usr/include/KF5/KGeoMap/KGeoMap/TileIndex"
#include "/usr/include/KF5/KGeoMap/kgeomap/tileindex.h"
#include "/usr/include/KF5/KGeoMap/KGeoMap/TrackReader"
#include "/usr/include/KF5/KGeoMap/kgeomap/trackreader.h"
#include "/usr/include/KF5/KGeoMap/KGeoMap/Tracks"
#include "/usr/include/KF5/KGeoMap/kgeomap/tracks.h"
#include "/usr/include/KF5/KGeoMap/KGeoMap/Types"
#include "/usr/include/KF5/KGeoMap/kgeomap/types.h"
#include "/usr/include/KF5/libkgeomap_version.h"
// add namespaces
namespace KGeoMap{typedef int tmp_add_type_1;}
KGeoMap::tmp_add_type_1 tmp_add_func_1(){return 0;};
namespace Qt{typedef int tmp_add_type_2;}
Qt::tmp_add_type_2 tmp_add_func_2(){return 0;};
namespace QtMetaTypePrivate{typedef int tmp_add_type_3;}
QtMetaTypePrivate::tmp_add_type_3 tmp_add_func_3(){return 0;};
namespace QtPrivate{typedef int tmp_add_type_4;}
QtPrivate::tmp_add_type_4 tmp_add_func_4(){return 0;};
namespace QtPrivate{namespace internal{typedef int tmp_add_type_5;}}
QtPrivate::internal::tmp_add_type_5 tmp_add_func_5(){return 0;};
namespace QtPrivate{namespace std{typedef int tmp_add_type_6;}}
QtPrivate::std::tmp_add_type_6 tmp_add_func_6(){return 0;};
namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_7;}}
QtPrivate::SwapExceptionTester::tmp_add_type_7 tmp_add_func_7(){return 0;};
namespace QtSharedPointer{typedef int tmp_add_type_8;}
QtSharedPointer::tmp_add_type_8 tmp_add_func_8(){return 0;};
// add classes
QAbstractItemModel* tmp_add_class_0;
QAbstractListModel* tmp_add_class_1;
QAbstractTableModel* tmp_add_class_2;
QArrayData* tmp_add_class_3;
QAssociativeIterable* tmp_add_class_4;
QAtomicInt* tmp_add_class_5;
QBitArray* tmp_add_class_6;
QBitRef* tmp_add_class_7;
QBrush* tmp_add_class_8;
QBrushData* tmp_add_class_9;
QByteArrayDataPtr* tmp_add_class_10;
QByteRef* tmp_add_class_11;
QChar* tmp_add_class_12;
QCharRef* tmp_add_class_13;
QColor* tmp_add_class_14;
QConicalGradient* tmp_add_class_15;
QContiguousCacheData* tmp_add_class_16;
QCursor* tmp_add_class_17;
QDate* tmp_add_class_18;
QDateTime* tmp_add_class_19;
QDebugStateSaver* tmp_add_class_20;
QFile* tmp_add_class_21;
QFileDevice* tmp_add_class_22;
QFlag* tmp_add_class_23;
QFont* tmp_add_class_24;
QFontInfo* tmp_add_class_25;
QFontMetrics* tmp_add_class_26;
QFontMetricsF* tmp_add_class_27;
QGenericArgument* tmp_add_class_28;
QGenericReturnArgument* tmp_add_class_29;
QGradient* tmp_add_class_30;
QHashData* tmp_add_class_31;
QHashDummyValue* tmp_add_class_32;
QIODevice* tmp_add_class_33;
QImage* tmp_add_class_34;
QIncompatibleFlag* tmp_add_class_35;
QInternal* tmp_add_class_36;
QItemSelection* tmp_add_class_37;
QItemSelectionModel* tmp_add_class_38;
QItemSelectionRange* tmp_add_class_39;
QKeySequence* tmp_add_class_40;
QLatin1Char* tmp_add_class_41;
QLatin1String* tmp_add_class_42;
QLine* tmp_add_class_43;
QLineF* tmp_add_class_44;
QLinearGradient* tmp_add_class_45;
QListData* tmp_add_class_46;
QLocale* tmp_add_class_47;
QMapDataBase* tmp_add_class_48;
QMapNodeBase* tmp_add_class_49;
QMargins* tmp_add_class_50;
QMarginsF* tmp_add_class_51;
QMatrix* tmp_add_class_52;
QMessageLogContext* tmp_add_class_53;
QMetaObject* tmp_add_class_54;
QMetaType* tmp_add_class_55;
QModelIndex* tmp_add_class_56;
QObject* tmp_add_class_57;
QObjectData* tmp_add_class_58;
QObjectUserData* tmp_add_class_59;
QPaintDevice* tmp_add_class_60;
QPainterPath* tmp_add_class_61;
QPainterPathStroker* tmp_add_class_62;
QPalette* tmp_add_class_63;
QPersistentModelIndex* tmp_add_class_64;
QPixelFormat* tmp_add_class_65;
QPixmap* tmp_add_class_66;
QPoint* tmp_add_class_67;
QPointF* tmp_add_class_68;
QPolygon* tmp_add_class_69;
QPolygonF* tmp_add_class_70;
QRadialGradient* tmp_add_class_71;
QRect* tmp_add_class_72;
QRectF* tmp_add_class_73;
QRegExp* tmp_add_class_74;
QRegion* tmp_add_class_75;
QRgba64* tmp_add_class_76;
QScopedPointerPodDeleter* tmp_add_class_77;
QSequentialIterable* tmp_add_class_78;
QSharedData* tmp_add_class_79;
QSignalBlocker* tmp_add_class_80;
QSize* tmp_add_class_81;
QSizeF* tmp_add_class_82;
QSizePolicy* tmp_add_class_83;
QStringDataPtr* tmp_add_class_84;
QStringList* tmp_add_class_85;
QStringMatcher* tmp_add_class_86;
QStringRef* tmp_add_class_87;
QSysInfo* tmp_add_class_88;
QTextStream* tmp_add_class_89;
QTextStreamManipulator* tmp_add_class_90;
QTime* tmp_add_class_91;
QTransform* tmp_add_class_92;
QUrl* tmp_add_class_93;
QVariant* tmp_add_class_94;
QVariantComparisonHelper* tmp_add_class_95;
QWidget* tmp_add_class_96;
QWidgetData* tmp_add_class_97;
QXmlAttributes* tmp_add_class_98;
QXmlContentHandler* tmp_add_class_99;
QXmlDTDHandler* tmp_add_class_100;
QXmlDeclHandler* tmp_add_class_101;
QXmlDefaultHandler* tmp_add_class_102;
QXmlEntityResolver* tmp_add_class_103;
QXmlErrorHandler* tmp_add_class_104;
QXmlInputSource* tmp_add_class_105;
QXmlLexicalHandler* tmp_add_class_106;
QXmlLocator* tmp_add_class_107;
QXmlNamespaceSupport* tmp_add_class_108;
QXmlParseException* tmp_add_class_109;
QXmlReader* tmp_add_class_110;
QXmlSimpleReader* tmp_add_class_111;
pthread_attr_t* tmp_add_class_112;
The GCC parameters:
gcc -fdump-translation-unit -fkeep-inline-functions -c -x c++-header -fpermissive -w -fPIC "/tmp/VjjnqsjTEc/dump1.h" -I/usr/include/KF5/KGeoMap -I/usr/include/x86_64-linux-gnu/qt5
In file included from /usr/include/c++/6/atomic:41:0,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:45,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:53,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:46,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1145,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:41,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:44,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbitarray.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QBitArray:1,
from /usr/include/KF5/KGeoMap/kgeomap/abstractmarkertiler.h:32,
from /usr/include/KF5/KGeoMap/KGeoMap/AbstractMarkerTiler:1,
from /tmp/VjjnqsjTEc/dump1.h:4:
/usr/include/c++/6/bits/atomic_base.h: In member function ‘std::atomic<bool>::operator bool() const’:
/usr/include/c++/6/bits/atomic_base.h:390:7: error: inlining failed in call to always_inline ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::load(std::memory_order) const noexcept [with _ITp = bool; std::__atomic_base<_IntTp>::__int_type = bool; std::memory_order = std::memory_order]’: function body not available
load(memory_order __m = memory_order_seq_cst) const noexcept
^~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:45:0,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:53,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:46,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1145,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:41,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:44,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbitarray.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QBitArray:1,
from /usr/include/KF5/KGeoMap/kgeomap/abstractmarkertiler.h:32,
from /usr/include/KF5/KGeoMap/KGeoMap/AbstractMarkerTiler:1,
from /tmp/VjjnqsjTEc/dump1.h:4:
/usr/include/c++/6/atomic:81:27: note: called from here
{ return _M_base.load(); }
^
|