Advertisement
3nids

Untitled

Jan 5th, 2015
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 308.10 KB | None | 0 0
  1. In file included from /usr/include/qt5/QtXml/qdom.h:45:0,
  2. from /usr/include/qt5/QtXml/QDomDocument:1,
  3. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  4. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  5. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  6. /usr/include/qt5/QtXml/qtxmlglobal.h:53:0: warning: "Q_XML_EXPORT" redefined [enabled by default]
  7. # define Q_XML_EXPORT Q_DECL_IMPORT
  8. ^
  9. In file included from /usr/include/qt5/QtXml/qtxmlglobal.h:45:0,
  10. from /usr/include/qt5/QtXml/qdom.h:45,
  11. from /usr/include/qt5/QtXml/QDomDocument:1,
  12. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  13. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  14. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  15. /usr/include/qt4/QtCore/qglobal.h:1460:0: note: this is the location of the previous definition
  16. # define Q_XML_EXPORT
  17. ^
  18. In file included from /usr/include/qt5/QtXml/qdom.h:45:0,
  19. from /usr/include/qt5/QtXml/QDomDocument:1,
  20. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  21. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  22. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  23. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  24. /usr/include/qt5/QtXml/qtxmlglobal.h:53:0: warning: "Q_XML_EXPORT" redefined [enabled by default]
  25. # define Q_XML_EXPORT Q_DECL_IMPORT
  26. ^
  27. In file included from /usr/include/qt5/QtXml/qtxmlglobal.h:45:0,
  28. from /usr/include/qt5/QtXml/qdom.h:45,
  29. from /usr/include/qt5/QtXml/QDomDocument:1,
  30. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  31. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  32. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  33. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  34. /usr/include/qt4/QtCore/qglobal.h:1460:0: note: this is the location of the previous definition
  35. # define Q_XML_EXPORT
  36. ^
  37. In file included from /usr/include/qt5/QtCore/QMetaType:1:0,
  38. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:24,
  39. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  40. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  41. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  42. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  43. /usr/include/qt5/QtCore/qmetatype.h:487:24: error: missing binary operator before token "("
  44. #if QT_DEPRECATED_SINCE(5, 0)
  45. ^
  46. In file included from /usr/include/qt5/QtCore/QMetaType:1:0,
  47. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:24,
  48. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  49. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  50. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  51. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  52. /usr/include/qt5/QtCore/qmetatype.h:1648:24: error: missing binary operator before token "("
  53. #if QT_DEPRECATED_SINCE(5, 1) && !defined(Q_QDOC)
  54. ^
  55. In file included from /usr/include/qt5/QtCore/QMetaType:1:0,
  56. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:24,
  57. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  58. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  59. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  60. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  61. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  62. /usr/include/qt5/QtCore/qmetatype.h:487:24: error: missing binary operator before token "("
  63. #if QT_DEPRECATED_SINCE(5, 0)
  64. ^
  65. In file included from /usr/include/qt5/QtCore/QMetaType:1:0,
  66. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:24,
  67. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  68. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  69. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  70. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  71. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  72. /usr/include/qt5/QtCore/qmetatype.h:1648:24: error: missing binary operator before token "("
  73. #if QT_DEPRECATED_SINCE(5, 1) && !defined(Q_QDOC)
  74. ^
  75. In file included from /usr/include/qt5/QtCore/QVariant:1:0,
  76. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:25,
  77. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  78. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  79. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  80. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  81. /usr/include/qt5/QtCore/qvariant.h:820:24: error: missing binary operator before token "("
  82. #if QT_DEPRECATED_SINCE(5, 0)
  83. ^
  84. In file included from /usr/include/qt5/QtWidgets/QApplication:1:0,
  85. from /home/denis/opt/QGIS/src/gui/../core/qgsapplication.h:18,
  86. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:18:
  87. /usr/include/qt5/QtWidgets/qapplication.h:111:24: error: missing binary operator before token "("
  88. #if QT_DEPRECATED_SINCE(5, 0)
  89. ^
  90. /usr/include/qt5/QtWidgets/qapplication.h:151:24: error: missing binary operator before token "("
  91. #if QT_DEPRECATED_SINCE(5, 0)
  92. ^
  93. In file included from /usr/include/qt5/QtCore/QVariant:1:0,
  94. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:25,
  95. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  96. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  97. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  98. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  99. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  100. /usr/include/qt5/QtCore/qvariant.h:820:24: error: missing binary operator before token "("
  101. #if QT_DEPRECATED_SINCE(5, 0)
  102. ^
  103. /usr/include/qt5/QtWidgets/qapplication.h:181:24: error: missing binary operator before token "("
  104. #if QT_DEPRECATED_SINCE(5, 0)
  105. ^
  106. In file included from /usr/include/qt5/QtCore/QDateTime:1:0,
  107. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:25,
  108. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:21:
  109. /usr/include/qt5/QtCore/qdatetime.h:88:24: error: missing binary operator before token "("
  110. #if QT_DEPRECATED_SINCE(5,0)
  111. ^
  112. /usr/include/qt5/QtCore/qdatetime.h:279:24: error: missing binary operator before token "("
  113. #if QT_DEPRECATED_SINCE(5, 2)
  114. ^
  115. In file included from /usr/include/qt5/QtWidgets/QApplication:1:0,
  116. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:14,
  117. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  118. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  119. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  120. /usr/include/qt5/QtWidgets/qapplication.h:111:24: error: missing binary operator before token "("
  121. #if QT_DEPRECATED_SINCE(5, 0)
  122. ^
  123. /usr/include/qt5/QtWidgets/qapplication.h:151:24: error: missing binary operator before token "("
  124. #if QT_DEPRECATED_SINCE(5, 0)
  125. ^
  126. /usr/include/qt5/QtWidgets/qapplication.h:181:24: error: missing binary operator before token "("
  127. #if QT_DEPRECATED_SINCE(5, 0)
  128. ^
  129. In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:47:0,
  130. from /usr/include/qt5/QtWidgets/qheaderview.h:45,
  131. from /usr/include/qt5/QtWidgets/QHeaderView:1,
  132. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:19,
  133. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  134. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  135. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  136. /usr/include/qt5/QtCore/qitemselectionmodel.h:93:24: error: missing binary operator before token "("
  137. #if QT_DEPRECATED_SINCE(5, 0)
  138. ^
  139. In file included from /usr/include/qt5/QtCore/QDateTime:1:0,
  140. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterdataprovider.h:25,
  141. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:19:
  142. /usr/include/qt5/QtCore/qdatetime.h:88:24: error: missing binary operator before token "("
  143. #if QT_DEPRECATED_SINCE(5,0)
  144. ^
  145. /usr/include/qt5/QtCore/qdatetime.h:279:24: error: missing binary operator before token "("
  146. #if QT_DEPRECATED_SINCE(5, 2)
  147. ^
  148. In file included from /usr/include/qt5/QtWidgets/QHeaderView:1:0,
  149. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:19,
  150. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  151. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  152. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  153. /usr/include/qt5/QtWidgets/qheaderview.h:119:24: error: missing binary operator before token "("
  154. #if QT_DEPRECATED_SINCE(5, 0)
  155. ^
  156. /usr/include/qt5/QtWidgets/qheaderview.h:126:24: error: missing binary operator before token "("
  157. #if QT_DEPRECATED_SINCE(5, 0)
  158. ^
  159. /usr/include/qt5/QtWidgets/qheaderview.h:141:24: error: missing binary operator before token "("
  160. #if QT_DEPRECATED_SINCE(5, 0)
  161. ^
  162. In file included from /usr/include/qt5/QtWidgets/QApplication:1:0,
  163. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:14,
  164. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  165. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  166. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  167. /usr/include/qt5/QtWidgets/qapplication.h:111:24: error: missing binary operator before token "("
  168. #if QT_DEPRECATED_SINCE(5, 0)
  169. ^
  170. /usr/include/qt5/QtWidgets/qapplication.h:151:24: error: missing binary operator before token "("
  171. #if QT_DEPRECATED_SINCE(5, 0)
  172. ^
  173. /usr/include/qt5/QtWidgets/qapplication.h:181:24: error: missing binary operator before token "("
  174. #if QT_DEPRECATED_SINCE(5, 0)
  175. ^
  176. In file included from /usr/include/qt5/QtCore/QCoreApplication:1:0,
  177. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterinterface.h:23,
  178. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterdataprovider.h:39,
  179. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:19:
  180. /usr/include/qt5/QtCore/qcoreapplication.h:157:24: error: missing binary operator before token "("
  181. #if QT_DEPRECATED_SINCE(5, 0)
  182. ^
  183. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  184. from /usr/include/qt5/QtCore/QFlags:1,
  185. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  186. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  187. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  188. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  189. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  190. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:20:
  191. /usr/include/qt5/QtCore/qtypeinfo.h:174:0: warning: "Q_DECLARE_TYPEINFO_BODY" redefined [enabled by default]
  192. #define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) \
  193. ^
  194. In file included from /usr/include/qt5/QtXml/qtxmlglobal.h:45:0,
  195. from /usr/include/qt5/QtXml/qdom.h:45,
  196. from /usr/include/qt5/QtXml/QDomDocument:1,
  197. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  198. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  199. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  200. /usr/include/qt4/QtCore/qglobal.h:2163:0: note: this is the location of the previous definition
  201. #define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) \
  202. ^
  203. In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:47:0,
  204. from /usr/include/qt5/QtWidgets/qheaderview.h:45,
  205. from /usr/include/qt5/QtWidgets/QHeaderView:1,
  206. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:19,
  207. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  208. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  209. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  210. /usr/include/qt5/QtCore/qitemselectionmodel.h:93:24: error: missing binary operator before token "("
  211. #if QT_DEPRECATED_SINCE(5, 0)
  212. ^
  213. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  214. from /usr/include/qt5/QtCore/QFlags:1,
  215. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  216. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  217. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  218. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  219. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  220. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:20:
  221. /usr/include/qt5/QtCore/qtypeinfo.h:207:0: warning: "Q_DECLARE_SHARED_STL" redefined [enabled by default]
  222. #define Q_DECLARE_SHARED_STL(TYPE) \
  223. ^
  224. In file included from /usr/include/qt5/QtWidgets/QApplication:1:0,
  225. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgspalettedrendererwidgetbase.h:14,
  226. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:22,
  227. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  228. /usr/include/qt5/QtWidgets/qapplication.h:111:24: error: missing binary operator before token "("
  229. #if QT_DEPRECATED_SINCE(5, 0)
  230. ^
  231. /usr/include/qt5/QtWidgets/qapplication.h:151:24: error: missing binary operator before token "("
  232. #if QT_DEPRECATED_SINCE(5, 0)
  233. ^
  234. /usr/include/qt5/QtWidgets/qapplication.h:181:24: error: missing binary operator before token "("
  235. #if QT_DEPRECATED_SINCE(5, 0)
  236. ^
  237. In file included from /usr/include/qt5/QtCore/QDateTime:1:0,
  238. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:25,
  239. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  240. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  241. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  242. /usr/include/qt5/QtCore/qdatetime.h:88:24: error: missing binary operator before token "("
  243. #if QT_DEPRECATED_SINCE(5,0)
  244. ^
  245. In file included from /usr/include/qt5/QtXml/qtxmlglobal.h:45:0,
  246. from /usr/include/qt5/QtXml/qdom.h:45,
  247. from /usr/include/qt5/QtXml/QDomDocument:1,
  248. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  249. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  250. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  251. /usr/include/qt4/QtCore/qglobal.h:2207:0: note: this is the location of the previous definition
  252. #define Q_DECLARE_SHARED_STL(TYPE) \
  253. ^
  254. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  255. from /usr/include/qt5/QtCore/QFlags:1,
  256. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  257. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  258. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  259. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  260. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  261. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:20:
  262. /usr/include/qt5/QtCore/qtypeinfo.h:215:0: warning: "Q_DECLARE_SHARED" redefined [enabled by default]
  263. #define Q_DECLARE_SHARED(TYPE) \
  264. ^
  265. In file included from /usr/include/qt5/QtCore/QDateTime:1:0,
  266. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:25,
  267. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterrendererregistry.h:21,
  268. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:20:
  269. /usr/include/qt5/QtCore/qdatetime.h:88:24: error: missing binary operator before token "("
  270. #if QT_DEPRECATED_SINCE(5,0)
  271. ^
  272. In file included from /usr/include/qt5/QtXml/qdom.h:45:0,
  273. from /usr/include/qt5/QtXml/QDomDocument:1,
  274. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  275. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterbandstats.h:27,
  276. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterdataprovider.h:36,
  277. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsbrightnesscontrastfilter.h:21,
  278. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:32,
  279. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:21:
  280. /usr/include/qt5/QtXml/qtxmlglobal.h:53:0: warning: "Q_XML_EXPORT" redefined [enabled by default]
  281. # define Q_XML_EXPORT Q_DECL_IMPORT
  282. ^
  283. In file included from /usr/include/qt5/QtXml/qtxmlglobal.h:45:0,
  284. from /usr/include/qt5/QtXml/qdom.h:45,
  285. from /usr/include/qt5/QtXml/QDomDocument:1,
  286. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  287. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  288. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  289. /usr/include/qt4/QtCore/qglobal.h:2216:0: note: this is the location of the previous definition
  290. #define Q_DECLARE_SHARED(TYPE) \
  291. ^
  292. /usr/include/qt5/QtCore/qdatetime.h:279:24: error: missing binary operator before token "("
  293. #if QT_DEPRECATED_SINCE(5, 2)
  294. ^
  295. In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
  296. from /usr/include/qt4/QtCore/qobjectdefs.h:45,
  297. from /usr/include/qt4/QtCore/qobject.h:47,
  298. from /usr/include/qt5/QtCore/qsettings.h:45,
  299. from /usr/include/qt5/QtCore/QSettings:1,
  300. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:18:
  301. /usr/include/qt4/QtCore/qglobal.h:1460:0: note: this is the location of the previous definition
  302. # define Q_XML_EXPORT
  303. ^
  304. /usr/include/qt5/QtCore/qdatetime.h:279:24: error: missing binary operator before token "("
  305. #if QT_DEPRECATED_SINCE(5, 2)
  306. ^
  307. In file included from /usr/include/qt5/QtWidgets/QHeaderView:1:0,
  308. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:19,
  309. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  310. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  311. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  312. /usr/include/qt5/QtWidgets/qheaderview.h:119:24: error: missing binary operator before token "("
  313. #if QT_DEPRECATED_SINCE(5, 0)
  314. ^
  315. /usr/include/qt5/QtWidgets/qheaderview.h:126:24: error: missing binary operator before token "("
  316. #if QT_DEPRECATED_SINCE(5, 0)
  317. ^
  318. /usr/include/qt5/QtWidgets/qheaderview.h:141:24: error: missing binary operator before token "("
  319. #if QT_DEPRECATED_SINCE(5, 0)
  320. ^
  321. In file included from /usr/include/qt5/QtWidgets/QApplication:1:0,
  322. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:14,
  323. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  324. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  325. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  326. /usr/include/qt5/QtWidgets/qapplication.h:111:24: error: missing binary operator before token "("
  327. #if QT_DEPRECATED_SINCE(5, 0)
  328. ^
  329. /usr/include/qt5/QtWidgets/qapplication.h:151:24: error: missing binary operator before token "("
  330. #if QT_DEPRECATED_SINCE(5, 0)
  331. ^
  332. /usr/include/qt5/QtWidgets/qapplication.h:181:24: error: missing binary operator before token "("
  333. #if QT_DEPRECATED_SINCE(5, 0)
  334. ^
  335. In file included from /usr/include/qt5/QtCore/QCoreApplication:1:0,
  336. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterinterface.h:23,
  337. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterdataprovider.h:39,
  338. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsbrightnesscontrastfilter.h:21,
  339. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:32,
  340. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:21:
  341. /usr/include/qt5/QtCore/qcoreapplication.h:157:24: error: missing binary operator before token "("
  342. #if QT_DEPRECATED_SINCE(5, 0)
  343. ^
  344. In file included from /usr/include/qt5/QtCore/QFlags:1:0,
  345. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  346. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  347. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  348. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  349. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  350. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:20:
  351. /usr/include/qt5/QtCore/qflags.h:133:0: warning: "Q_DECLARE_INCOMPATIBLE_FLAGS" redefined [enabled by default]
  352. #define Q_DECLARE_INCOMPATIBLE_FLAGS(Flags) \
  353. ^
  354. In file included from /usr/include/qt5/QtXml/qtxmlglobal.h:45:0,
  355. from /usr/include/qt5/QtXml/qdom.h:45,
  356. from /usr/include/qt5/QtXml/QDomDocument:1,
  357. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  358. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  359. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  360. /usr/include/qt4/QtCore/qglobal.h:2353:0: note: this is the location of the previous definition
  361. #define Q_DECLARE_INCOMPATIBLE_FLAGS(Flags) \
  362. ^
  363. In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:47:0,
  364. from /usr/include/qt5/QtWidgets/qheaderview.h:45,
  365. from /usr/include/qt5/QtWidgets/QHeaderView:1,
  366. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgspalettedrendererwidgetbase.h:19,
  367. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:22,
  368. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  369. /usr/include/qt5/QtCore/qitemselectionmodel.h:93:24: error: missing binary operator before token "("
  370. #if QT_DEPRECATED_SINCE(5, 0)
  371. ^
  372. In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:47:0,
  373. from /usr/include/qt5/QtWidgets/qheaderview.h:45,
  374. from /usr/include/qt5/QtWidgets/QHeaderView:1,
  375. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:19,
  376. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  377. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  378. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  379. /usr/include/qt5/QtCore/qitemselectionmodel.h:93:24: error: missing binary operator before token "("
  380. #if QT_DEPRECATED_SINCE(5, 0)
  381. ^
  382. In file included from /usr/include/qt5/QtWidgets/QHeaderView:1:0,
  383. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgspalettedrendererwidgetbase.h:19,
  384. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:22,
  385. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  386. /usr/include/qt5/QtWidgets/qheaderview.h:119:24: error: missing binary operator before token "("
  387. #if QT_DEPRECATED_SINCE(5, 0)
  388. ^
  389. /usr/include/qt5/QtWidgets/qheaderview.h:126:24: error: missing binary operator before token "("
  390. #if QT_DEPRECATED_SINCE(5, 0)
  391. ^
  392. /usr/include/qt5/QtWidgets/qheaderview.h:141:24: error: missing binary operator before token "("
  393. #if QT_DEPRECATED_SINCE(5, 0)
  394. ^
  395. In file included from /usr/include/qt5/QtCore/QDateTime:1:0,
  396. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:25,
  397. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  398. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  399. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  400. /usr/include/qt5/QtCore/qdatetime.h:88:24: error: missing binary operator before token "("
  401. #if QT_DEPRECATED_SINCE(5,0)
  402. ^
  403. /usr/include/qt5/QtCore/qdatetime.h:279:24: error: missing binary operator before token "("
  404. #if QT_DEPRECATED_SINCE(5, 2)
  405. ^
  406. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  407. from /usr/include/qt5/QtCore/QFlags:1,
  408. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  409. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  410. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  411. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  412. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  413. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:21:
  414. /usr/include/qt5/QtCore/qtypeinfo.h:174:0: warning: "Q_DECLARE_TYPEINFO_BODY" redefined [enabled by default]
  415. #define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) \
  416. ^
  417. In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
  418. from /usr/include/qt4/QtCore/qobjectdefs.h:45,
  419. from /usr/include/qt4/QtCore/qobject.h:47,
  420. from /usr/include/qt5/QtCore/qsettings.h:45,
  421. from /usr/include/qt5/QtCore/QSettings:1,
  422. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:18:
  423. /usr/include/qt4/QtCore/qglobal.h:2163:0: note: this is the location of the previous definition
  424. #define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) \
  425. ^
  426. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  427. from /usr/include/qt5/QtCore/QFlags:1,
  428. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  429. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  430. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  431. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  432. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  433. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:21:
  434. /usr/include/qt5/QtCore/qtypeinfo.h:207:0: warning: "Q_DECLARE_SHARED_STL" redefined [enabled by default]
  435. #define Q_DECLARE_SHARED_STL(TYPE) \
  436. ^
  437. In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
  438. from /usr/include/qt4/QtCore/qobjectdefs.h:45,
  439. from /usr/include/qt4/QtCore/qobject.h:47,
  440. from /usr/include/qt5/QtCore/qsettings.h:45,
  441. from /usr/include/qt5/QtCore/QSettings:1,
  442. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:18:
  443. /usr/include/qt4/QtCore/qglobal.h:2207:0: note: this is the location of the previous definition
  444. #define Q_DECLARE_SHARED_STL(TYPE) \
  445. ^
  446. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  447. from /usr/include/qt5/QtCore/QFlags:1,
  448. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  449. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  450. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  451. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  452. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  453. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:21:
  454. /usr/include/qt5/QtCore/qtypeinfo.h:215:0: warning: "Q_DECLARE_SHARED" redefined [enabled by default]
  455. #define Q_DECLARE_SHARED(TYPE) \
  456. ^
  457. In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
  458. from /usr/include/qt4/QtCore/qobjectdefs.h:45,
  459. from /usr/include/qt4/QtCore/qobject.h:47,
  460. from /usr/include/qt5/QtCore/qsettings.h:45,
  461. from /usr/include/qt5/QtCore/QSettings:1,
  462. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:18:
  463. /usr/include/qt4/QtCore/qglobal.h:2216:0: note: this is the location of the previous definition
  464. #define Q_DECLARE_SHARED(TYPE) \
  465. ^
  466. In file included from /usr/include/qt5/QtCore/QFlags:1:0,
  467. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  468. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  469. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  470. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  471. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  472. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:21:
  473. /usr/include/qt5/QtCore/qflags.h:133:0: warning: "Q_DECLARE_INCOMPATIBLE_FLAGS" redefined [enabled by default]
  474. #define Q_DECLARE_INCOMPATIBLE_FLAGS(Flags) \
  475. ^
  476. In file included from /usr/include/qt5/QtWidgets/QHeaderView:1:0,
  477. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:19,
  478. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  479. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  480. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  481. /usr/include/qt5/QtWidgets/qheaderview.h:119:24: error: missing binary operator before token "("
  482. #if QT_DEPRECATED_SINCE(5, 0)
  483. ^
  484. /usr/include/qt5/QtWidgets/qheaderview.h:126:24: error: missing binary operator before token "("
  485. #if QT_DEPRECATED_SINCE(5, 0)
  486. ^
  487. /usr/include/qt5/QtWidgets/qheaderview.h:141:24: error: missing binary operator before token "("
  488. #if QT_DEPRECATED_SINCE(5, 0)
  489. ^
  490. In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
  491. from /usr/include/qt4/QtCore/qobjectdefs.h:45,
  492. from /usr/include/qt4/QtCore/qobject.h:47,
  493. from /usr/include/qt5/QtCore/qsettings.h:45,
  494. from /usr/include/qt5/QtCore/QSettings:1,
  495. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:18:
  496. /usr/include/qt4/QtCore/qglobal.h:2353:0: note: this is the location of the previous definition
  497. #define Q_DECLARE_INCOMPATIBLE_FLAGS(Flags) \
  498. ^
  499. In file included from /usr/include/qt5/QtGui/QImage:1:0,
  500. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterdataprovider.h:27,
  501. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsbrightnesscontrastfilter.h:21,
  502. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:32,
  503. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterrendererregistry.h:21,
  504. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:20:
  505. /usr/include/qt5/QtGui/qimage.h:52:24: error: missing binary operator before token "("
  506. #if QT_DEPRECATED_SINCE(5, 0)
  507. ^
  508. /usr/include/qt5/QtGui/qimage.h:69:24: error: missing binary operator before token "("
  509. #if QT_DEPRECATED_SINCE(5, 0)
  510. ^
  511. In file included from /usr/include/qt5/QtGui/QImage:1:0,
  512. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterdataprovider.h:27,
  513. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsbrightnesscontrastfilter.h:21,
  514. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:32,
  515. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterrendererregistry.h:21,
  516. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:20:
  517. /usr/include/qt5/QtGui/qimage.h:266:24: error: missing binary operator before token "("
  518. #if QT_DEPRECATED_SINCE(5, 0)
  519. ^
  520. /usr/include/qt5/QtGui/qimage.h:285:24: error: missing binary operator before token "("
  521. #if QT_DEPRECATED_SINCE(5, 0)
  522. ^
  523. /usr/include/qt5/QtGui/qimage.h:293:24: error: missing binary operator before token "("
  524. #if QT_DEPRECATED_SINCE(5, 0)
  525. ^
  526. /usr/include/qt5/QtGui/qimage.h:324:24: error: missing binary operator before token "("
  527. #if QT_DEPRECATED_SINCE(5, 0)
  528. ^
  529. In file included from /usr/include/qt5/QtCore/QDateTime:1:0,
  530. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterdataprovider.h:25,
  531. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterrenderer.h:23,
  532. from /home/denis/opt/QGIS/src/gui/../core/raster/qgspalettedrasterrenderer.h:23,
  533. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:19:
  534. /usr/include/qt5/QtCore/qdatetime.h:88:24: error: missing binary operator before token "("
  535. #if QT_DEPRECATED_SINCE(5,0)
  536. ^
  537. /usr/include/qt5/QtCore/qdatetime.h:279:24: error: missing binary operator before token "("
  538. #if QT_DEPRECATED_SINCE(5, 2)
  539. ^
  540. In file included from /usr/include/qt5/QtCore/QDateTime:1:0,
  541. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:25,
  542. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  543. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  544. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  545. /usr/include/qt5/QtCore/qdatetime.h:88:24: error: missing binary operator before token "("
  546. #if QT_DEPRECATED_SINCE(5,0)
  547. ^
  548. /usr/include/qt5/QtCore/qdatetime.h:279:24: error: missing binary operator before token "("
  549. #if QT_DEPRECATED_SINCE(5, 2)
  550. ^
  551. In file included from /usr/include/qt5/QtXml/qdom.h:45:0,
  552. from /usr/include/qt5/QtXml/QDomDocument:1,
  553. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  554. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterbandstats.h:27,
  555. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterdataprovider.h:36,
  556. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsbrightnesscontrastfilter.h:21,
  557. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:32,
  558. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterrendererregistry.h:21,
  559. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:20:
  560. /usr/include/qt5/QtXml/qtxmlglobal.h:53:0: warning: "Q_XML_EXPORT" redefined [enabled by default]
  561. # define Q_XML_EXPORT Q_DECL_IMPORT
  562. ^
  563. In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
  564. from /usr/include/qt4/QtCore/qobjectdefs.h:45,
  565. from /usr/include/qt4/QtCore/qobject.h:47,
  566. from /usr/include/qt4/QtCore/qcoreapplication.h:45,
  567. from /usr/include/qt5/QtWidgets/qapplication.h:45,
  568. from /usr/include/qt5/QtWidgets/QApplication:1,
  569. from /home/denis/opt/QGIS/src/gui/../core/qgsapplication.h:18,
  570. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:18:
  571. /usr/include/qt4/QtCore/qglobal.h:1460:0: note: this is the location of the previous definition
  572. # define Q_XML_EXPORT
  573. ^
  574. In file included from /usr/include/qt5/QtXml/qdom.h:45:0,
  575. from /usr/include/qt5/QtXml/QDomDocument:1,
  576. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  577. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterbandstats.h:27,
  578. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterdataprovider.h:36,
  579. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsbrightnesscontrastfilter.h:21,
  580. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:32,
  581. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  582. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  583. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  584. /usr/include/qt5/QtXml/qtxmlglobal.h:53:0: warning: "Q_XML_EXPORT" redefined [enabled by default]
  585. # define Q_XML_EXPORT Q_DECL_IMPORT
  586. ^
  587. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  588. from /usr/include/qt4/QtCore/qvariant.h:45,
  589. from /usr/include/qt4/QtCore/QVariant:1,
  590. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  591. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  592. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  593. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  594. /usr/include/qt4/QtCore/qglobal.h:1460:0: note: this is the location of the previous definition
  595. # define Q_XML_EXPORT
  596. ^
  597. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  598. from /usr/include/qt5/QtCore/QFlags:1,
  599. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  600. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  601. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  602. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  603. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  604. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterrendererregistry.h:21,
  605. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:20:
  606. /usr/include/qt5/QtCore/qtypeinfo.h:174:0: warning: "Q_DECLARE_TYPEINFO_BODY" redefined [enabled by default]
  607. #define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) \
  608. ^
  609. In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
  610. from /usr/include/qt4/QtCore/qobjectdefs.h:45,
  611. from /usr/include/qt4/QtCore/qobject.h:47,
  612. from /usr/include/qt4/QtCore/qcoreapplication.h:45,
  613. from /usr/include/qt5/QtWidgets/qapplication.h:45,
  614. from /usr/include/qt5/QtWidgets/QApplication:1,
  615. from /home/denis/opt/QGIS/src/gui/../core/qgsapplication.h:18,
  616. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:18:
  617. /usr/include/qt4/QtCore/qglobal.h:2163:0: note: this is the location of the previous definition
  618. #define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) \
  619. ^
  620. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  621. from /usr/include/qt5/QtCore/QFlags:1,
  622. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  623. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  624. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  625. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  626. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  627. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterrendererregistry.h:21,
  628. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:20:
  629. /usr/include/qt5/QtCore/qtypeinfo.h:207:0: warning: "Q_DECLARE_SHARED_STL" redefined [enabled by default]
  630. #define Q_DECLARE_SHARED_STL(TYPE) \
  631. ^
  632. In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
  633. from /usr/include/qt4/QtCore/qobjectdefs.h:45,
  634. from /usr/include/qt4/QtCore/qobject.h:47,
  635. from /usr/include/qt4/QtCore/qcoreapplication.h:45,
  636. from /usr/include/qt5/QtWidgets/qapplication.h:45,
  637. from /usr/include/qt5/QtWidgets/QApplication:1,
  638. from /home/denis/opt/QGIS/src/gui/../core/qgsapplication.h:18,
  639. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:18:
  640. /usr/include/qt4/QtCore/qglobal.h:2207:0: note: this is the location of the previous definition
  641. #define Q_DECLARE_SHARED_STL(TYPE) \
  642. ^
  643. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  644. from /usr/include/qt5/QtCore/QFlags:1,
  645. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  646. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  647. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  648. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  649. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  650. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterrendererregistry.h:21,
  651. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:20:
  652. /usr/include/qt5/QtCore/qtypeinfo.h:215:0: warning: "Q_DECLARE_SHARED" redefined [enabled by default]
  653. #define Q_DECLARE_SHARED(TYPE) \
  654. ^
  655. In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
  656. from /usr/include/qt4/QtCore/qobjectdefs.h:45,
  657. from /usr/include/qt4/QtCore/qobject.h:47,
  658. from /usr/include/qt4/QtCore/qcoreapplication.h:45,
  659. from /usr/include/qt5/QtWidgets/qapplication.h:45,
  660. from /usr/include/qt5/QtWidgets/QApplication:1,
  661. from /home/denis/opt/QGIS/src/gui/../core/qgsapplication.h:18,
  662. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:18:
  663. /usr/include/qt4/QtCore/qglobal.h:2216:0: note: this is the location of the previous definition
  664. #define Q_DECLARE_SHARED(TYPE) \
  665. ^
  666. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  667. from /usr/include/qt5/QtCore/QFlags:1,
  668. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  669. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  670. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  671. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  672. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  673. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:20:
  674. /usr/include/qt5/QtCore/qtypeinfo.h:174:0: warning: "Q_DECLARE_TYPEINFO_BODY" redefined [enabled by default]
  675. #define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) \
  676. ^
  677. In file included from /usr/include/qt5/QtXml/qtxmlglobal.h:45:0,
  678. from /usr/include/qt5/QtXml/qdom.h:45,
  679. from /usr/include/qt5/QtXml/QDomDocument:1,
  680. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  681. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  682. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  683. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  684. /usr/include/qt4/QtCore/qglobal.h:2163:0: note: this is the location of the previous definition
  685. #define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) \
  686. ^
  687. In file included from /usr/include/qt5/QtCore/QFlags:1:0,
  688. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  689. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  690. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  691. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  692. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  693. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterrendererregistry.h:21,
  694. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:20:
  695. /usr/include/qt5/QtCore/qflags.h:133:0: warning: "Q_DECLARE_INCOMPATIBLE_FLAGS" redefined [enabled by default]
  696. #define Q_DECLARE_INCOMPATIBLE_FLAGS(Flags) \
  697. ^
  698. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  699. from /usr/include/qt5/QtCore/QFlags:1,
  700. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  701. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  702. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  703. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  704. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  705. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:20:
  706. /usr/include/qt5/QtCore/qtypeinfo.h:207:0: warning: "Q_DECLARE_SHARED_STL" redefined [enabled by default]
  707. #define Q_DECLARE_SHARED_STL(TYPE) \
  708. ^
  709. In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
  710. from /usr/include/qt4/QtCore/qobjectdefs.h:45,
  711. from /usr/include/qt4/QtCore/qobject.h:47,
  712. from /usr/include/qt4/QtCore/qcoreapplication.h:45,
  713. from /usr/include/qt5/QtWidgets/qapplication.h:45,
  714. from /usr/include/qt5/QtWidgets/QApplication:1,
  715. from /home/denis/opt/QGIS/src/gui/../core/qgsapplication.h:18,
  716. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:18:
  717. /usr/include/qt4/QtCore/qglobal.h:2353:0: note: this is the location of the previous definition
  718. #define Q_DECLARE_INCOMPATIBLE_FLAGS(Flags) \
  719. ^
  720. In file included from /usr/include/qt5/QtXml/qtxmlglobal.h:45:0,
  721. from /usr/include/qt5/QtXml/qdom.h:45,
  722. from /usr/include/qt5/QtXml/QDomDocument:1,
  723. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  724. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  725. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  726. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  727. /usr/include/qt4/QtCore/qglobal.h:2207:0: note: this is the location of the previous definition
  728. #define Q_DECLARE_SHARED_STL(TYPE) \
  729. ^
  730. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  731. from /usr/include/qt5/QtCore/QFlags:1,
  732. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  733. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  734. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  735. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  736. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  737. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:20:
  738. /usr/include/qt5/QtCore/qtypeinfo.h:215:0: warning: "Q_DECLARE_SHARED" redefined [enabled by default]
  739. #define Q_DECLARE_SHARED(TYPE) \
  740. ^
  741. In file included from /usr/include/qt5/QtXml/qtxmlglobal.h:45:0,
  742. from /usr/include/qt5/QtXml/qdom.h:45,
  743. from /usr/include/qt5/QtXml/QDomDocument:1,
  744. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  745. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  746. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  747. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  748. /usr/include/qt4/QtCore/qglobal.h:2216:0: note: this is the location of the previous definition
  749. #define Q_DECLARE_SHARED(TYPE) \
  750. ^
  751. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  752. from /usr/include/qt5/QtCore/QFlags:1,
  753. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  754. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  755. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  756. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  757. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  758. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  759. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  760. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  761. /usr/include/qt5/QtCore/qtypeinfo.h:174:0: warning: "Q_DECLARE_TYPEINFO_BODY" redefined [enabled by default]
  762. #define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) \
  763. ^
  764. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  765. from /usr/include/qt4/QtCore/qvariant.h:45,
  766. from /usr/include/qt4/QtCore/QVariant:1,
  767. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  768. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  769. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  770. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  771. /usr/include/qt4/QtCore/qglobal.h:2163:0: note: this is the location of the previous definition
  772. #define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) \
  773. ^
  774. In file included from /usr/include/qt5/QtCore/QFlags:1:0,
  775. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  776. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  777. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  778. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  779. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  780. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:20:
  781. /usr/include/qt5/QtCore/qflags.h:133:0: warning: "Q_DECLARE_INCOMPATIBLE_FLAGS" redefined [enabled by default]
  782. #define Q_DECLARE_INCOMPATIBLE_FLAGS(Flags) \
  783. ^
  784. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  785. from /usr/include/qt5/QtCore/QFlags:1,
  786. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  787. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  788. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  789. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  790. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  791. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  792. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  793. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  794. /usr/include/qt5/QtCore/qtypeinfo.h:207:0: warning: "Q_DECLARE_SHARED_STL" redefined [enabled by default]
  795. #define Q_DECLARE_SHARED_STL(TYPE) \
  796. ^
  797. In file included from /usr/include/qt5/QtXml/qtxmlglobal.h:45:0,
  798. from /usr/include/qt5/QtXml/qdom.h:45,
  799. from /usr/include/qt5/QtXml/QDomDocument:1,
  800. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  801. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  802. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  803. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  804. /usr/include/qt4/QtCore/qglobal.h:2353:0: note: this is the location of the previous definition
  805. #define Q_DECLARE_INCOMPATIBLE_FLAGS(Flags) \
  806. ^
  807. In file included from /usr/include/qt5/QtWidgets/QApplication:1:0,
  808. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:14,
  809. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  810. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:22:
  811. /usr/include/qt5/QtWidgets/qapplication.h:111:24: error: missing binary operator before token "("
  812. #if QT_DEPRECATED_SINCE(5, 0)
  813. ^
  814. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  815. from /usr/include/qt4/QtCore/qvariant.h:45,
  816. from /usr/include/qt4/QtCore/QVariant:1,
  817. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  818. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  819. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  820. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  821. /usr/include/qt4/QtCore/qglobal.h:2207:0: note: this is the location of the previous definition
  822. #define Q_DECLARE_SHARED_STL(TYPE) \
  823. ^
  824. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  825. from /usr/include/qt5/QtCore/QFlags:1,
  826. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  827. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  828. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  829. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  830. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  831. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  832. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  833. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  834. /usr/include/qt5/QtCore/qtypeinfo.h:215:0: warning: "Q_DECLARE_SHARED" redefined [enabled by default]
  835. #define Q_DECLARE_SHARED(TYPE) \
  836. ^
  837. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  838. from /usr/include/qt4/QtCore/qvariant.h:45,
  839. from /usr/include/qt4/QtCore/QVariant:1,
  840. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  841. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  842. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  843. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  844. /usr/include/qt4/QtCore/qglobal.h:2216:0: note: this is the location of the previous definition
  845. #define Q_DECLARE_SHARED(TYPE) \
  846. ^
  847. In file included from /usr/include/qt5/QtCore/QFlags:1:0,
  848. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  849. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  850. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  851. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  852. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  853. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  854. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  855. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  856. /usr/include/qt5/QtCore/qflags.h:133:0: warning: "Q_DECLARE_INCOMPATIBLE_FLAGS" redefined [enabled by default]
  857. #define Q_DECLARE_INCOMPATIBLE_FLAGS(Flags) \
  858. ^
  859. /usr/include/qt5/QtWidgets/qapplication.h:151:24: error: missing binary operator before token "("
  860. #if QT_DEPRECATED_SINCE(5, 0)
  861. ^
  862. /usr/include/qt5/QtWidgets/qapplication.h:181:24: error: missing binary operator before token "("
  863. #if QT_DEPRECATED_SINCE(5, 0)
  864. ^
  865. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  866. from /usr/include/qt4/QtCore/qvariant.h:45,
  867. from /usr/include/qt4/QtCore/QVariant:1,
  868. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  869. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  870. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  871. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  872. /usr/include/qt4/QtCore/qglobal.h:2353:0: note: this is the location of the previous definition
  873. #define Q_DECLARE_INCOMPATIBLE_FLAGS(Flags) \
  874. ^
  875. In file included from /usr/include/qt5/QtXml/qdom.h:45:0,
  876. from /usr/include/qt5/QtXml/QDomDocument:1,
  877. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  878. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterbandstats.h:27,
  879. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterdataprovider.h:36,
  880. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsbrightnesscontrastfilter.h:21,
  881. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:32,
  882. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  883. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  884. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  885. /usr/include/qt5/QtXml/qtxmlglobal.h:53:0: warning: "Q_XML_EXPORT" redefined [enabled by default]
  886. # define Q_XML_EXPORT Q_DECL_IMPORT
  887. ^
  888. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  889. from /usr/include/qt4/QtCore/qvariant.h:45,
  890. from /usr/include/qt4/QtCore/QVariant:1,
  891. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  892. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  893. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  894. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  895. /usr/include/qt4/QtCore/qglobal.h:1460:0: note: this is the location of the previous definition
  896. # define Q_XML_EXPORT
  897. ^
  898. In file included from /usr/include/qt5/QtCore/QTemporaryFile:1:0,
  899. from /home/denis/opt/QGIS/src/gui/qgscolorbuttonv2.h:20,
  900. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgscolordialog.h:32,
  901. from /home/denis/opt/QGIS/src/gui/qgscolordialog.h:22,
  902. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:21:
  903. /usr/include/qt5/QtCore/qtemporaryfile.h:85:24: error: missing binary operator before token "("
  904. #if QT_DEPRECATED_SINCE(5,1)
  905. ^
  906. In file included from /usr/include/qt5/QtXml/qdom.h:45:0,
  907. from /usr/include/qt5/QtXml/QDomDocument:1,
  908. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:22,
  909. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterbandstats.h:27,
  910. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterdataprovider.h:36,
  911. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsbrightnesscontrastfilter.h:21,
  912. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:32,
  913. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  914. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  915. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  916. /usr/include/qt5/QtXml/qtxmlglobal.h:53:0: warning: "Q_XML_EXPORT" redefined [enabled by default]
  917. # define Q_XML_EXPORT Q_DECL_IMPORT
  918. ^
  919. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  920. from /usr/include/qt4/QtCore/qvariant.h:45,
  921. from /usr/include/qt4/QtCore/QVariant:1,
  922. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  923. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  924. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  925. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  926. /usr/include/qt4/QtCore/qglobal.h:1460:0: note: this is the location of the previous definition
  927. # define Q_XML_EXPORT
  928. ^
  929. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  930. from /usr/include/qt5/QtCore/QFlags:1,
  931. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  932. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  933. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  934. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  935. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  936. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  937. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  938. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  939. /usr/include/qt5/QtCore/qtypeinfo.h:174:0: warning: "Q_DECLARE_TYPEINFO_BODY" redefined [enabled by default]
  940. #define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) \
  941. ^
  942. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  943. from /usr/include/qt4/QtCore/qvariant.h:45,
  944. from /usr/include/qt4/QtCore/QVariant:1,
  945. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  946. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  947. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  948. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  949. /usr/include/qt4/QtCore/qglobal.h:2163:0: note: this is the location of the previous definition
  950. #define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) \
  951. ^
  952. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  953. from /usr/include/qt5/QtCore/QFlags:1,
  954. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  955. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  956. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  957. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  958. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  959. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  960. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  961. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  962. /usr/include/qt5/QtCore/qtypeinfo.h:207:0: warning: "Q_DECLARE_SHARED_STL" redefined [enabled by default]
  963. #define Q_DECLARE_SHARED_STL(TYPE) \
  964. ^
  965. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  966. from /usr/include/qt4/QtCore/qvariant.h:45,
  967. from /usr/include/qt4/QtCore/QVariant:1,
  968. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  969. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  970. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  971. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  972. /usr/include/qt4/QtCore/qglobal.h:2207:0: note: this is the location of the previous definition
  973. #define Q_DECLARE_SHARED_STL(TYPE) \
  974. ^
  975. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  976. from /usr/include/qt5/QtCore/QFlags:1,
  977. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  978. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  979. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  980. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  981. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  982. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  983. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  984. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  985. /usr/include/qt5/QtCore/qtypeinfo.h:215:0: warning: "Q_DECLARE_SHARED" redefined [enabled by default]
  986. #define Q_DECLARE_SHARED(TYPE) \
  987. ^
  988. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  989. from /usr/include/qt4/QtCore/qvariant.h:45,
  990. from /usr/include/qt4/QtCore/QVariant:1,
  991. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  992. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  993. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  994. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  995. /usr/include/qt4/QtCore/qglobal.h:2216:0: note: this is the location of the previous definition
  996. #define Q_DECLARE_SHARED(TYPE) \
  997. ^
  998. In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:47:0,
  999. from /usr/include/qt5/QtWidgets/qheaderview.h:45,
  1000. from /usr/include/qt5/QtWidgets/QHeaderView:1,
  1001. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterhistogramwidgetbase.h:19,
  1002. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.h:20,
  1003. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:22:
  1004. /usr/include/qt5/QtCore/qitemselectionmodel.h:93:24: error: missing binary operator before token "("
  1005. #if QT_DEPRECATED_SINCE(5, 0)
  1006. ^
  1007. In file included from /usr/include/qt5/QtCore/QFlags:1:0,
  1008. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  1009. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  1010. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  1011. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  1012. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  1013. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  1014. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  1015. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  1016. /usr/include/qt5/QtCore/qflags.h:133:0: warning: "Q_DECLARE_INCOMPATIBLE_FLAGS" redefined [enabled by default]
  1017. #define Q_DECLARE_INCOMPATIBLE_FLAGS(Flags) \
  1018. ^
  1019. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  1020. from /usr/include/qt4/QtCore/qvariant.h:45,
  1021. from /usr/include/qt4/QtCore/QVariant:1,
  1022. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  1023. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  1024. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  1025. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  1026. /usr/include/qt4/QtCore/qglobal.h:2353:0: note: this is the location of the previous definition
  1027. #define Q_DECLARE_INCOMPATIBLE_FLAGS(Flags) \
  1028. ^
  1029. In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:47:0,
  1030. from /usr/include/qt5/QtWidgets/qheaderview.h:45,
  1031. from /usr/include/qt5/QtWidgets/QHeaderView:1,
  1032. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:19,
  1033. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  1034. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:22:
  1035. /usr/include/qt5/QtCore/qitemselectionmodel.h:93:24: error: missing binary operator before token "("
  1036. #if QT_DEPRECATED_SINCE(5, 0)
  1037. ^
  1038. In file included from /usr/include/qt5/QtWidgets/QHeaderView:1:0,
  1039. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterhistogramwidgetbase.h:19,
  1040. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.h:20,
  1041. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:22:
  1042. /usr/include/qt5/QtWidgets/qheaderview.h:119:24: error: missing binary operator before token "("
  1043. #if QT_DEPRECATED_SINCE(5, 0)
  1044. ^
  1045. /usr/include/qt5/QtWidgets/qheaderview.h:126:24: error: missing binary operator before token "("
  1046. #if QT_DEPRECATED_SINCE(5, 0)
  1047. ^
  1048. /usr/include/qt5/QtWidgets/qheaderview.h:141:24: error: missing binary operator before token "("
  1049. #if QT_DEPRECATED_SINCE(5, 0)
  1050. ^
  1051. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  1052. from /usr/include/qt5/QtCore/QFlags:1,
  1053. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  1054. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  1055. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  1056. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  1057. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  1058. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  1059. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  1060. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  1061. /usr/include/qt5/QtCore/qtypeinfo.h:174:0: warning: "Q_DECLARE_TYPEINFO_BODY" redefined [enabled by default]
  1062. #define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) \
  1063. ^
  1064. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  1065. from /usr/include/qt4/QtCore/qvariant.h:45,
  1066. from /usr/include/qt4/QtCore/QVariant:1,
  1067. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  1068. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  1069. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  1070. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  1071. /usr/include/qt4/QtCore/qglobal.h:2163:0: note: this is the location of the previous definition
  1072. #define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) \
  1073. ^
  1074. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  1075. from /usr/include/qt5/QtCore/QFlags:1,
  1076. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  1077. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  1078. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  1079. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  1080. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  1081. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  1082. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  1083. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  1084. /usr/include/qt5/QtCore/qtypeinfo.h:207:0: warning: "Q_DECLARE_SHARED_STL" redefined [enabled by default]
  1085. #define Q_DECLARE_SHARED_STL(TYPE) \
  1086. ^
  1087. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  1088. from /usr/include/qt4/QtCore/qvariant.h:45,
  1089. from /usr/include/qt4/QtCore/QVariant:1,
  1090. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  1091. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  1092. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  1093. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  1094. /usr/include/qt4/QtCore/qglobal.h:2207:0: note: this is the location of the previous definition
  1095. #define Q_DECLARE_SHARED_STL(TYPE) \
  1096. ^
  1097. In file included from /usr/include/qt5/QtCore/qflags.h:47:0,
  1098. from /usr/include/qt5/QtCore/QFlags:1,
  1099. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  1100. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  1101. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  1102. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  1103. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  1104. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  1105. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  1106. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  1107. /usr/include/qt5/QtCore/qtypeinfo.h:215:0: warning: "Q_DECLARE_SHARED" redefined [enabled by default]
  1108. #define Q_DECLARE_SHARED(TYPE) \
  1109. ^
  1110. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  1111. from /usr/include/qt4/QtCore/qvariant.h:45,
  1112. from /usr/include/qt4/QtCore/QVariant:1,
  1113. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  1114. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  1115. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  1116. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  1117. /usr/include/qt4/QtCore/qglobal.h:2216:0: note: this is the location of the previous definition
  1118. #define Q_DECLARE_SHARED(TYPE) \
  1119. ^
  1120. In file included from /usr/include/qt5/QtCore/QFlags:1:0,
  1121. from /home/denis/opt/QGIS/src/gui/../core/qgsvectorsimplifymethod.h:19,
  1122. from /home/denis/opt/QGIS/src/gui/../core/qgsrendercontext.h:26,
  1123. from /home/denis/opt/QGIS/src/gui/../core/qgsmaprenderer.h:27,
  1124. from /home/denis/opt/QGIS/src/gui/../core/qgsmaplayer.h:32,
  1125. from /home/denis/opt/QGIS/src/gui/../core/raster/qgsrasterlayer.h:36,
  1126. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:22,
  1127. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  1128. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  1129. /usr/include/qt5/QtCore/qflags.h:133:0: warning: "Q_DECLARE_INCOMPATIBLE_FLAGS" redefined [enabled by default]
  1130. #define Q_DECLARE_INCOMPATIBLE_FLAGS(Flags) \
  1131. ^
  1132. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  1133. from /usr/include/qt4/QtCore/qvariant.h:45,
  1134. from /usr/include/qt4/QtCore/QVariant:1,
  1135. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  1136. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  1137. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  1138. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  1139. /usr/include/qt4/QtCore/qglobal.h:2353:0: note: this is the location of the previous definition
  1140. #define Q_DECLARE_INCOMPATIBLE_FLAGS(Flags) \
  1141. ^
  1142. In file included from /usr/include/qt5/QtWidgets/QHeaderView:1:0,
  1143. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:19,
  1144. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  1145. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:22:
  1146. /usr/include/qt5/QtWidgets/qheaderview.h:119:24: error: missing binary operator before token "("
  1147. #if QT_DEPRECATED_SINCE(5, 0)
  1148. ^
  1149. /usr/include/qt5/QtWidgets/qheaderview.h:126:24: error: missing binary operator before token "("
  1150. #if QT_DEPRECATED_SINCE(5, 0)
  1151. ^
  1152. /usr/include/qt5/QtWidgets/qheaderview.h:141:24: error: missing binary operator before token "("
  1153. #if QT_DEPRECATED_SINCE(5, 0)
  1154. ^
  1155. In file included from /usr/include/qt5/QtCore/QtCore:11:0,
  1156. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgssymbollayerv2utils.h:22,
  1157. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgsstylev2.h:25,
  1158. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:23:
  1159. /usr/include/qt5/QtCore/qtextcodec.h:73:24: error: missing binary operator before token "("
  1160. #if QT_DEPRECATED_SINCE(5, 0)
  1161. ^
  1162. In file included from /usr/include/qt5/QtCore/QtCore:12:0,
  1163. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgssymbollayerv2utils.h:22,
  1164. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgsstylev2.h:25,
  1165. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:23:
  1166. /usr/include/qt5/QtCore/qcompilerdetection.h:184:0: warning: "Q_DECL_IMPORT" redefined [enabled by default]
  1167. # define Q_DECL_IMPORT __attribute__((visibility("default")))
  1168. ^
  1169. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  1170. from /usr/include/qt4/QtCore/qvariant.h:45,
  1171. from /usr/include/qt4/QtCore/QVariant:1,
  1172. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  1173. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  1174. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  1175. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  1176. /usr/include/qt4/QtCore/qglobal.h:1303:0: note: this is the location of the previous definition
  1177. # define Q_DECL_IMPORT
  1178. ^
  1179. In file included from /usr/include/qt5/QtCore/QtCore:12:0,
  1180. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgssymbollayerv2utils.h:22,
  1181. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgsstylev2.h:25,
  1182. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:23:
  1183. /usr/include/qt5/QtCore/qcompilerdetection.h:197:0: warning: "Q_REQUIRED_RESULT" redefined [enabled by default]
  1184. # define Q_REQUIRED_RESULT __attribute__ ((__warn_unused_result__))
  1185. ^
  1186. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  1187. from /usr/include/qt4/QtCore/qvariant.h:45,
  1188. from /usr/include/qt4/QtCore/QVariant:1,
  1189. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  1190. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  1191. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  1192. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  1193. /usr/include/qt4/QtCore/qglobal.h:846:0: note: this is the location of the previous definition
  1194. # define Q_REQUIRED_RESULT __attribute__ ((warn_unused_result))
  1195. ^
  1196. In file included from /usr/include/qt5/QtCore/QtCore:16:0,
  1197. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgssymbollayerv2utils.h:22,
  1198. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgsstylev2.h:25,
  1199. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:23:
  1200. /usr/include/qt5/QtCore/qglobalstatic.h:141:0: warning: "Q_GLOBAL_STATIC_WITH_ARGS" redefined [enabled by default]
  1201. #define Q_GLOBAL_STATIC_WITH_ARGS(TYPE, NAME, ARGS) \
  1202. ^
  1203. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  1204. from /usr/include/qt4/QtCore/qvariant.h:45,
  1205. from /usr/include/qt4/QtCore/QVariant:1,
  1206. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  1207. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  1208. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  1209. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  1210. /usr/include/qt4/QtCore/qglobal.h:1984:0: note: this is the location of the previous definition
  1211. #define Q_GLOBAL_STATIC_WITH_ARGS(TYPE, NAME, ARGS) \
  1212. ^
  1213. In file included from /usr/include/qt5/QtCore/QtCore:16:0,
  1214. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgssymbollayerv2utils.h:22,
  1215. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgsstylev2.h:25,
  1216. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:23:
  1217. /usr/include/qt5/QtCore/qglobalstatic.h:151:0: warning: "Q_GLOBAL_STATIC" redefined [enabled by default]
  1218. #define Q_GLOBAL_STATIC(TYPE, NAME) \
  1219. ^
  1220. In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
  1221. from /usr/include/qt4/QtCore/qvariant.h:45,
  1222. from /usr/include/qt4/QtCore/QVariant:1,
  1223. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  1224. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  1225. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  1226. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  1227. /usr/include/qt4/QtCore/qglobal.h:1970:0: note: this is the location of the previous definition
  1228. #define Q_GLOBAL_STATIC(TYPE, NAME) \
  1229. ^
  1230. In file included from /usr/include/qt5/QtCore/QtCore:21:0,
  1231. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgssymbollayerv2utils.h:22,
  1232. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgsstylev2.h:25,
  1233. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:23:
  1234. /usr/include/qt5/QtCore/qprocessordetection.h:73:0: warning: "Q_BIG_ENDIAN" redefined [enabled by default]
  1235. # define Q_BIG_ENDIAN __ORDER_BIG_ENDIAN__
  1236. ^
  1237. In file included from /usr/include/qt4/QtCore/qglobal.h:62:0,
  1238. from /usr/include/qt4/QtCore/qatomic.h:45,
  1239. from /usr/include/qt4/QtCore/qvariant.h:45,
  1240. from /usr/include/qt4/QtCore/QVariant:1,
  1241. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  1242. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  1243. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  1244. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  1245. /usr/include/qt4/QtCore/qconfig.h:9:0: note: this is the location of the previous definition
  1246. #define Q_BIG_ENDIAN 4321
  1247. ^
  1248. In file included from /usr/include/qt5/QtCore/QtCore:21:0,
  1249. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgssymbollayerv2utils.h:22,
  1250. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgsstylev2.h:25,
  1251. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:23:
  1252. /usr/include/qt5/QtCore/qprocessordetection.h:78:0: warning: "Q_LITTLE_ENDIAN" redefined [enabled by default]
  1253. # define Q_LITTLE_ENDIAN __ORDER_LITTLE_ENDIAN__
  1254. ^
  1255. In file included from /usr/include/qt4/QtCore/qglobal.h:62:0,
  1256. from /usr/include/qt4/QtCore/qatomic.h:45,
  1257. from /usr/include/qt4/QtCore/qvariant.h:45,
  1258. from /usr/include/qt4/QtCore/QVariant:1,
  1259. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  1260. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  1261. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  1262. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  1263. /usr/include/qt4/QtCore/qconfig.h:10:0: note: this is the location of the previous definition
  1264. #define Q_LITTLE_ENDIAN 1234
  1265. ^
  1266. In file included from /usr/include/qt5/QtCore/QtCore:43:0,
  1267. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgssymbollayerv2utils.h:22,
  1268. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgsstylev2.h:25,
  1269. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:23:
  1270. /usr/include/qt5/QtCore/qstandardpaths.h:93:24: error: missing binary operator before token "("
  1271. #if QT_DEPRECATED_SINCE(5, 2)
  1272. ^
  1273. In file included from /usr/include/qt5/QtCore/QtCore:45:0,
  1274. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgssymbollayerv2utils.h:22,
  1275. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgsstylev2.h:25,
  1276. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:23:
  1277. /usr/include/qt5/QtCore/qtemporaryfile.h:85:24: error: missing binary operator before token "("
  1278. #if QT_DEPRECATED_SINCE(5,1)
  1279. ^
  1280. In file included from /usr/include/qt5/QtCore/QtCore:47:0,
  1281. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgssymbollayerv2utils.h:22,
  1282. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgsstylev2.h:25,
  1283. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:23:
  1284. /usr/include/qt5/QtCore/qurl.h:276:24: error: missing binary operator before token "("
  1285. #if QT_DEPRECATED_SINCE(5,0)
  1286. ^
  1287. /usr/include/qt5/QtCore/qurl.h:407:24: error: missing binary operator before token "("
  1288. #if QT_DEPRECATED_SINCE(5,0)
  1289. ^
  1290. In file included from /usr/include/qt5/QtCore/QtCore:48:0,
  1291. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgssymbollayerv2utils.h:22,
  1292. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgsstylev2.h:25,
  1293. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:23:
  1294. /usr/include/qt5/QtCore/qurlquery.h:49:24: error: missing binary operator before token "("
  1295. #if QT_DEPRECATED_SINCE(5,0)
  1296. ^
  1297. /usr/include/qt5/QtCore/qurlquery.h:114:24: error: missing binary operator before token "("
  1298. #if QT_DEPRECATED_SINCE(5,0)
  1299. ^
  1300. In file included from /usr/include/qt5/QtCore/QtCore:59:0,
  1301. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgssymbollayerv2utils.h:22,
  1302. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgsstylev2.h:25,
  1303. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:23:
  1304. /usr/include/qt5/QtCore/qabstracteventdispatcher.h:86:24: error: missing binary operator before token "("
  1305. #if QT_DEPRECATED_SINCE(5,0)
  1306. ^
  1307. /usr/include/qt5/QtCore/qabstracteventdispatcher.h:115:24: error: missing binary operator before token "("
  1308. #if QT_DEPRECATED_SINCE(5, 0)
  1309. ^
  1310. In file included from /usr/include/qt5/QtCore/QtCore:66:0,
  1311. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgssymbollayerv2utils.h:22,
  1312. from /home/denis/opt/QGIS/src/gui/../core/symbology-ng/qgsstylev2.h:25,
  1313. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:23:
  1314. /usr/include/qt5/QtCore/qmetaobject.h:159:24: error: missing binary operator before token "("
  1315. #if QT_DEPRECATED_SINCE(5,0)
  1316. ^
  1317. In file included from /usr/include/qt5/QtCore/qmetatype.h:50:0,
  1318. from /usr/include/qt5/QtCore/QMetaType:1,
  1319. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:24,
  1320. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  1321. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  1322. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  1323. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  1324. /usr/include/qt5/QtCore/qtypetraits.h:484:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1325. Q_STATIC_ASSERT(( is_unsigned<quint8>::value));
  1326. ^
  1327. /usr/include/qt5/QtCore/qtypetraits.h:485:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1328. Q_STATIC_ASSERT((!is_unsigned<qint8>::value));
  1329. ^
  1330. /usr/include/qt5/QtCore/qtypetraits.h:487:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1331. Q_STATIC_ASSERT((!is_signed<quint8>::value));
  1332. ^
  1333. /usr/include/qt5/QtCore/qtypetraits.h:488:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1334. Q_STATIC_ASSERT(( is_signed<qint8>::value));
  1335. ^
  1336. /usr/include/qt5/QtCore/qtypetraits.h:490:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1337. Q_STATIC_ASSERT(( is_unsigned<quint16>::value));
  1338. ^
  1339. /usr/include/qt5/QtCore/qtypetraits.h:491:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1340. Q_STATIC_ASSERT((!is_unsigned<qint16>::value));
  1341. ^
  1342. /usr/include/qt5/QtCore/qtypetraits.h:493:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1343. Q_STATIC_ASSERT((!is_signed<quint16>::value));
  1344. ^
  1345. /usr/include/qt5/QtCore/qtypetraits.h:494:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1346. Q_STATIC_ASSERT(( is_signed<qint16>::value));
  1347. ^
  1348. /usr/include/qt5/QtCore/qtypetraits.h:496:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1349. Q_STATIC_ASSERT(( is_unsigned<quint32>::value));
  1350. ^
  1351. /usr/include/qt5/QtCore/qtypetraits.h:497:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1352. Q_STATIC_ASSERT((!is_unsigned<qint32>::value));
  1353. ^
  1354. /usr/include/qt5/QtCore/qtypetraits.h:499:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1355. Q_STATIC_ASSERT((!is_signed<quint32>::value));
  1356. ^
  1357. /usr/include/qt5/QtCore/qtypetraits.h:500:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1358. Q_STATIC_ASSERT(( is_signed<qint32>::value));
  1359. ^
  1360. /usr/include/qt5/QtCore/qtypetraits.h:502:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1361. Q_STATIC_ASSERT(( is_unsigned<quint64>::value));
  1362. ^
  1363. /usr/include/qt5/QtCore/qtypetraits.h:503:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1364. Q_STATIC_ASSERT((!is_unsigned<qint64>::value));
  1365. ^
  1366. /usr/include/qt5/QtCore/qtypetraits.h:505:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1367. Q_STATIC_ASSERT((!is_signed<quint64>::value));
  1368. ^
  1369. /usr/include/qt5/QtCore/qtypetraits.h:506:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1370. Q_STATIC_ASSERT(( is_signed<qint64>::value));
  1371. ^
  1372. In file included from /usr/include/qt5/QtCore/qmetatype.h:50:0,
  1373. from /usr/include/qt5/QtCore/QMetaType:1,
  1374. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:24,
  1375. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  1376. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  1377. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  1378. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  1379. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  1380. /usr/include/qt5/QtCore/qtypetraits.h:484:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1381. Q_STATIC_ASSERT(( is_unsigned<quint8>::value));
  1382. ^
  1383. /usr/include/qt5/QtCore/qtypetraits.h:485:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1384. Q_STATIC_ASSERT((!is_unsigned<qint8>::value));
  1385. ^
  1386. /usr/include/qt5/QtCore/qtypetraits.h:487:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1387. Q_STATIC_ASSERT((!is_signed<quint8>::value));
  1388. ^
  1389. /usr/include/qt5/QtCore/qtypetraits.h:488:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1390. Q_STATIC_ASSERT(( is_signed<qint8>::value));
  1391. ^
  1392. /usr/include/qt5/QtCore/qtypetraits.h:490:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1393. Q_STATIC_ASSERT(( is_unsigned<quint16>::value));
  1394. ^
  1395. /usr/include/qt5/QtCore/qtypetraits.h:491:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1396. Q_STATIC_ASSERT((!is_unsigned<qint16>::value));
  1397. ^
  1398. /usr/include/qt5/QtCore/qtypetraits.h:493:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1399. Q_STATIC_ASSERT((!is_signed<quint16>::value));
  1400. ^
  1401. /usr/include/qt5/QtCore/qtypetraits.h:494:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1402. Q_STATIC_ASSERT(( is_signed<qint16>::value));
  1403. ^
  1404. /usr/include/qt5/QtCore/qtypetraits.h:496:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1405. Q_STATIC_ASSERT(( is_unsigned<quint32>::value));
  1406. ^
  1407. /usr/include/qt5/QtCore/qtypetraits.h:497:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1408. Q_STATIC_ASSERT((!is_unsigned<qint32>::value));
  1409. ^
  1410. /usr/include/qt5/QtCore/qtypetraits.h:499:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1411. Q_STATIC_ASSERT((!is_signed<quint32>::value));
  1412. ^
  1413. /usr/include/qt5/QtCore/qtypetraits.h:500:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1414. Q_STATIC_ASSERT(( is_signed<qint32>::value));
  1415. ^
  1416. /usr/include/qt5/QtCore/qtypetraits.h:502:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1417. Q_STATIC_ASSERT(( is_unsigned<quint64>::value));
  1418. ^
  1419. /usr/include/qt5/QtCore/qtypetraits.h:503:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1420. Q_STATIC_ASSERT((!is_unsigned<qint64>::value));
  1421. ^
  1422. /usr/include/qt5/QtCore/qtypetraits.h:505:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1423. Q_STATIC_ASSERT((!is_signed<quint64>::value));
  1424. ^
  1425. /usr/include/qt5/QtCore/qtypetraits.h:506:16: error: expected constructor, destructor, or type conversion before ‘(’ token
  1426. Q_STATIC_ASSERT(( is_signed<qint64>::value));
  1427. ^
  1428. In file included from /usr/include/qt5/QtCore/QMetaType:1:0,
  1429. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:24,
  1430. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  1431. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  1432. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  1433. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  1434. /usr/include/qt5/QtCore/qmetatype.h:1319:27: error: expected identifier before ‘sizeof’
  1435. Q_STATIC_ASSERT_X(sizeof(T), "Type argument of Q_DECLARE_METATYPE(T*) must be fully defined");
  1436. ^
  1437. /usr/include/qt5/QtCore/qmetatype.h:1319:27: error: expected ‘,’ or ‘...’ before ‘sizeof’
  1438. /usr/include/qt5/QtCore/qmetatype.h:1319:101: error: ISO C++ forbids declaration of ‘Q_STATIC_ASSERT_X’ with no type [-fpermissive]
  1439. Q_STATIC_ASSERT_X(sizeof(T), "Type argument of Q_DECLARE_METATYPE(T*) must be fully defined");
  1440. ^
  1441. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeIdQObject<T*, true>::qt_metatype_id()’:
  1442. /usr/include/qt5/QtCore/qmetatype.h:1670:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  1443. if (const int id = metatype_id.loadAcquire())
  1444. ^
  1445. /usr/include/qt5/QtCore/qmetatype.h:1679:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1446. metatype_id.storeRelease(newId);
  1447. ^
  1448. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QList<T> >::qt_metatype_id()’:
  1449. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1450. if (const int id = metatype_id.load()) \
  1451. ^
  1452. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1453. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1454. ^
  1455. /usr/include/qt5/QtCore/qmetatype.h:197:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1456. F(QList) \
  1457. ^
  1458. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1459. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1460. ^
  1461. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1462. metatype_id.storeRelease(newId); \
  1463. ^
  1464. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1465. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1466. ^
  1467. /usr/include/qt5/QtCore/qmetatype.h:197:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1468. F(QList) \
  1469. ^
  1470. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1471. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1472. ^
  1473. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QVector<T> >::qt_metatype_id()’:
  1474. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1475. if (const int id = metatype_id.load()) \
  1476. ^
  1477. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1478. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1479. ^
  1480. /usr/include/qt5/QtCore/qmetatype.h:198:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1481. F(QVector) \
  1482. ^
  1483. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1484. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1485. ^
  1486. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1487. metatype_id.storeRelease(newId); \
  1488. ^
  1489. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1490. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1491. ^
  1492. /usr/include/qt5/QtCore/qmetatype.h:198:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1493. F(QVector) \
  1494. ^
  1495. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1496. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1497. ^
  1498. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QQueue<T> >::qt_metatype_id()’:
  1499. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1500. if (const int id = metatype_id.load()) \
  1501. ^
  1502. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1503. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1504. ^
  1505. /usr/include/qt5/QtCore/qmetatype.h:199:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1506. F(QQueue) \
  1507. ^
  1508. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1509. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1510. ^
  1511. In file included from /usr/include/qt5/QtCore/QMetaType:1:0,
  1512. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:24,
  1513. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  1514. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  1515. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  1516. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  1517. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  1518. /usr/include/qt5/QtCore/qmetatype.h:1319:27: error: expected identifier before ‘sizeof’
  1519. Q_STATIC_ASSERT_X(sizeof(T), "Type argument of Q_DECLARE_METATYPE(T*) must be fully defined");
  1520. ^
  1521. /usr/include/qt5/QtCore/qmetatype.h:1319:27: error: expected ‘,’ or ‘...’ before ‘sizeof’
  1522. /usr/include/qt5/QtCore/qmetatype.h:1319:101: error: ISO C++ forbids declaration of ‘Q_STATIC_ASSERT_X’ with no type [-fpermissive]
  1523. Q_STATIC_ASSERT_X(sizeof(T), "Type argument of Q_DECLARE_METATYPE(T*) must be fully defined");
  1524. ^
  1525. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1526. metatype_id.storeRelease(newId); \
  1527. ^
  1528. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1529. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1530. ^
  1531. /usr/include/qt5/QtCore/qmetatype.h:199:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1532. F(QQueue) \
  1533. ^
  1534. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1535. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1536. ^
  1537. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QStack<T> >::qt_metatype_id()’:
  1538. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1539. if (const int id = metatype_id.load()) \
  1540. ^
  1541. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1542. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1543. ^
  1544. /usr/include/qt5/QtCore/qmetatype.h:200:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1545. F(QStack) \
  1546. ^
  1547. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1548. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1549. ^
  1550. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1551. metatype_id.storeRelease(newId); \
  1552. ^
  1553. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1554. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1555. ^
  1556. /usr/include/qt5/QtCore/qmetatype.h:200:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1557. F(QStack) \
  1558. ^
  1559. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1560. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1561. ^
  1562. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeIdQObject<T*, true>::qt_metatype_id()’:
  1563. /usr/include/qt5/QtCore/qmetatype.h:1670:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  1564. if (const int id = metatype_id.loadAcquire())
  1565. ^
  1566. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QSet<T> >::qt_metatype_id()’:
  1567. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1568. if (const int id = metatype_id.load()) \
  1569. ^
  1570. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1571. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1572. ^
  1573. /usr/include/qt5/QtCore/qmetatype.h:201:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1574. F(QSet) \
  1575. ^
  1576. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1577. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1578. ^
  1579. /usr/include/qt5/QtCore/qmetatype.h:1679:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1580. metatype_id.storeRelease(newId);
  1581. ^
  1582. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1583. metatype_id.storeRelease(newId); \
  1584. ^
  1585. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1586. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1587. ^
  1588. /usr/include/qt5/QtCore/qmetatype.h:201:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1589. F(QSet) \
  1590. ^
  1591. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1592. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1593. ^
  1594. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QList<T> >::qt_metatype_id()’:
  1595. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1596. if (const int id = metatype_id.load()) \
  1597. ^
  1598. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1599. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1600. ^
  1601. /usr/include/qt5/QtCore/qmetatype.h:197:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1602. F(QList) \
  1603. ^
  1604. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1605. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1606. ^
  1607. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QLinkedList<T> >::qt_metatype_id()’:
  1608. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1609. if (const int id = metatype_id.load()) \
  1610. ^
  1611. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1612. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1613. ^
  1614. /usr/include/qt5/QtCore/qmetatype.h:202:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1615. F(QLinkedList)
  1616. ^
  1617. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1618. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1619. ^
  1620. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1621. metatype_id.storeRelease(newId); \
  1622. ^
  1623. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1624. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1625. ^
  1626. /usr/include/qt5/QtCore/qmetatype.h:197:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1627. F(QList) \
  1628. ^
  1629. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1630. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1631. ^
  1632. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1633. metatype_id.storeRelease(newId); \
  1634. ^
  1635. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1636. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1637. ^
  1638. /usr/include/qt5/QtCore/qmetatype.h:202:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1639. F(QLinkedList)
  1640. ^
  1641. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1642. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1643. ^
  1644. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QVector<T> >::qt_metatype_id()’:
  1645. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1646. if (const int id = metatype_id.load()) \
  1647. ^
  1648. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1649. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1650. ^
  1651. /usr/include/qt5/QtCore/qmetatype.h:198:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1652. F(QVector) \
  1653. ^
  1654. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1655. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1656. ^
  1657. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<std::vector<T> >::qt_metatype_id()’:
  1658. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1659. if (const int id = metatype_id.load()) \
  1660. ^
  1661. /usr/include/qt5/QtCore/qmetatype.h:1901:49: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1662. #define Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE Q_DECLARE_METATYPE_TEMPLATE_1ARG
  1663. ^
  1664. /usr/include/qt5/QtCore/qmetatype.h:1903:1: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE’
  1665. Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE(std::vector)
  1666. ^
  1667. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1668. metatype_id.storeRelease(newId); \
  1669. ^
  1670. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1671. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1672. ^
  1673. /usr/include/qt5/QtCore/qmetatype.h:198:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1674. F(QVector) \
  1675. ^
  1676. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1677. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1678. ^
  1679. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1680. metatype_id.storeRelease(newId); \
  1681. ^
  1682. /usr/include/qt5/QtCore/qmetatype.h:1901:49: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1683. #define Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE Q_DECLARE_METATYPE_TEMPLATE_1ARG
  1684. ^
  1685. /usr/include/qt5/QtCore/qmetatype.h:1903:1: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE’
  1686. Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE(std::vector)
  1687. ^
  1688. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QQueue<T> >::qt_metatype_id()’:
  1689. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1690. if (const int id = metatype_id.load()) \
  1691. ^
  1692. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1693. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1694. ^
  1695. /usr/include/qt5/QtCore/qmetatype.h:199:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1696. F(QQueue) \
  1697. ^
  1698. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1699. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1700. ^
  1701. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<std::list<T> >::qt_metatype_id()’:
  1702. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1703. if (const int id = metatype_id.load()) \
  1704. ^
  1705. /usr/include/qt5/QtCore/qmetatype.h:1901:49: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1706. #define Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE Q_DECLARE_METATYPE_TEMPLATE_1ARG
  1707. ^
  1708. /usr/include/qt5/QtCore/qmetatype.h:1904:1: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE’
  1709. Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE(std::list)
  1710. ^
  1711. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1712. metatype_id.storeRelease(newId); \
  1713. ^
  1714. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1715. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1716. ^
  1717. /usr/include/qt5/QtCore/qmetatype.h:199:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1718. F(QQueue) \
  1719. ^
  1720. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1721. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1722. ^
  1723. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1724. metatype_id.storeRelease(newId); \
  1725. ^
  1726. /usr/include/qt5/QtCore/qmetatype.h:1901:49: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1727. #define Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE Q_DECLARE_METATYPE_TEMPLATE_1ARG
  1728. ^
  1729. /usr/include/qt5/QtCore/qmetatype.h:1904:1: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE’
  1730. Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE(std::list)
  1731. ^
  1732. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QStack<T> >::qt_metatype_id()’:
  1733. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1734. if (const int id = metatype_id.load()) \
  1735. ^
  1736. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1737. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1738. ^
  1739. /usr/include/qt5/QtCore/qmetatype.h:200:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1740. F(QStack) \
  1741. ^
  1742. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1743. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1744. ^
  1745. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QHash<T, U> >::qt_metatype_id()’:
  1746. /usr/include/qt5/QtCore/qmetatype.h:1797:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  1747. if (const int id = metatype_id.loadAcquire()) \
  1748. ^
  1749. /usr/include/qt5/QtCore/qmetatype.h:1925:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  1750. Q_DECLARE_METATYPE_TEMPLATE_2ARG(TEMPLATENAME)
  1751. ^
  1752. /usr/include/qt5/QtCore/qmetatype.h:1927:1: note: in expansion of macro ‘Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE’
  1753. Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE(QHash)
  1754. ^
  1755. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1756. metatype_id.storeRelease(newId); \
  1757. ^
  1758. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1759. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1760. ^
  1761. /usr/include/qt5/QtCore/qmetatype.h:200:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1762. F(QStack) \
  1763. ^
  1764. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1765. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1766. ^
  1767. /usr/include/qt5/QtCore/qmetatype.h:1815:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1768. metatype_id.storeRelease(newId); \
  1769. ^
  1770. /usr/include/qt5/QtCore/qmetatype.h:1925:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  1771. Q_DECLARE_METATYPE_TEMPLATE_2ARG(TEMPLATENAME)
  1772. ^
  1773. /usr/include/qt5/QtCore/qmetatype.h:1927:1: note: in expansion of macro ‘Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE’
  1774. Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE(QHash)
  1775. ^
  1776. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QSet<T> >::qt_metatype_id()’:
  1777. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1778. if (const int id = metatype_id.load()) \
  1779. ^
  1780. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1781. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1782. ^
  1783. /usr/include/qt5/QtCore/qmetatype.h:201:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1784. F(QSet) \
  1785. ^
  1786. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1787. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1788. ^
  1789. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QMap<T, U> >::qt_metatype_id()’:
  1790. /usr/include/qt5/QtCore/qmetatype.h:1797:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  1791. if (const int id = metatype_id.loadAcquire()) \
  1792. ^
  1793. /usr/include/qt5/QtCore/qmetatype.h:1925:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  1794. Q_DECLARE_METATYPE_TEMPLATE_2ARG(TEMPLATENAME)
  1795. ^
  1796. /usr/include/qt5/QtCore/qmetatype.h:1928:1: note: in expansion of macro ‘Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE’
  1797. Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE(QMap)
  1798. ^
  1799. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1800. metatype_id.storeRelease(newId); \
  1801. ^
  1802. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1803. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1804. ^
  1805. /usr/include/qt5/QtCore/qmetatype.h:201:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1806. F(QSet) \
  1807. ^
  1808. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1809. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1810. ^
  1811. /usr/include/qt5/QtCore/qmetatype.h:1815:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1812. metatype_id.storeRelease(newId); \
  1813. ^
  1814. /usr/include/qt5/QtCore/qmetatype.h:1925:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  1815. Q_DECLARE_METATYPE_TEMPLATE_2ARG(TEMPLATENAME)
  1816. ^
  1817. /usr/include/qt5/QtCore/qmetatype.h:1928:1: note: in expansion of macro ‘Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE’
  1818. Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE(QMap)
  1819. ^
  1820. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QLinkedList<T> >::qt_metatype_id()’:
  1821. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1822. if (const int id = metatype_id.load()) \
  1823. ^
  1824. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1825. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1826. ^
  1827. /usr/include/qt5/QtCore/qmetatype.h:202:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1828. F(QLinkedList)
  1829. ^
  1830. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1831. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1832. ^
  1833. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<std::map<T, U> >::qt_metatype_id()’:
  1834. /usr/include/qt5/QtCore/qmetatype.h:1797:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  1835. if (const int id = metatype_id.loadAcquire()) \
  1836. ^
  1837. /usr/include/qt5/QtCore/qmetatype.h:1925:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  1838. Q_DECLARE_METATYPE_TEMPLATE_2ARG(TEMPLATENAME)
  1839. ^
  1840. /usr/include/qt5/QtCore/qmetatype.h:1929:1: note: in expansion of macro ‘Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE’
  1841. Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE(std::map)
  1842. ^
  1843. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1844. metatype_id.storeRelease(newId); \
  1845. ^
  1846. /usr/include/qt5/QtCore/qmetatype.h:1893:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1847. Q_DECLARE_METATYPE_TEMPLATE_1ARG(TEMPLATENAME)
  1848. ^
  1849. /usr/include/qt5/QtCore/qmetatype.h:202:5: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER’
  1850. F(QLinkedList)
  1851. ^
  1852. /usr/include/qt5/QtCore/qmetatype.h:1897:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG’
  1853. QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG(Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER)
  1854. ^
  1855. /usr/include/qt5/QtCore/qmetatype.h:1815:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1856. metatype_id.storeRelease(newId); \
  1857. ^
  1858. /usr/include/qt5/QtCore/qmetatype.h:1925:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  1859. Q_DECLARE_METATYPE_TEMPLATE_2ARG(TEMPLATENAME)
  1860. ^
  1861. /usr/include/qt5/QtCore/qmetatype.h:1929:1: note: in expansion of macro ‘Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE’
  1862. Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE(std::map)
  1863. ^
  1864. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<std::vector<T> >::qt_metatype_id()’:
  1865. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1866. if (const int id = metatype_id.load()) \
  1867. ^
  1868. /usr/include/qt5/QtCore/qmetatype.h:1901:49: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1869. #define Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE Q_DECLARE_METATYPE_TEMPLATE_1ARG
  1870. ^
  1871. /usr/include/qt5/QtCore/qmetatype.h:1903:1: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE’
  1872. Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE(std::vector)
  1873. ^
  1874. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QPair<T, U> >::qt_metatype_id()’:
  1875. /usr/include/qt5/QtCore/qmetatype.h:1797:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  1876. if (const int id = metatype_id.loadAcquire()) \
  1877. ^
  1878. /usr/include/qt5/QtCore/qmetatype.h:1931:1: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  1879. Q_DECLARE_METATYPE_TEMPLATE_2ARG(QPair)
  1880. ^
  1881. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1882. metatype_id.storeRelease(newId); \
  1883. ^
  1884. /usr/include/qt5/QtCore/qmetatype.h:1901:49: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1885. #define Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE Q_DECLARE_METATYPE_TEMPLATE_1ARG
  1886. ^
  1887. /usr/include/qt5/QtCore/qmetatype.h:1903:1: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE’
  1888. Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE(std::vector)
  1889. ^
  1890. /usr/include/qt5/QtCore/qmetatype.h:1815:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1891. metatype_id.storeRelease(newId); \
  1892. ^
  1893. /usr/include/qt5/QtCore/qmetatype.h:1931:1: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  1894. Q_DECLARE_METATYPE_TEMPLATE_2ARG(QPair)
  1895. ^
  1896. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<std::list<T> >::qt_metatype_id()’:
  1897. /usr/include/qt5/QtCore/qmetatype.h:1758:40: error: ‘class QBasicAtomicInt’ has no member named ‘load’
  1898. if (const int id = metatype_id.load()) \
  1899. ^
  1900. /usr/include/qt5/QtCore/qmetatype.h:1901:49: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1901. #define Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE Q_DECLARE_METATYPE_TEMPLATE_1ARG
  1902. ^
  1903. /usr/include/qt5/QtCore/qmetatype.h:1904:1: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE’
  1904. Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE(std::list)
  1905. ^
  1906. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<std::pair<_T1, _T2> >::qt_metatype_id()’:
  1907. /usr/include/qt5/QtCore/qmetatype.h:1797:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  1908. if (const int id = metatype_id.loadAcquire()) \
  1909. ^
  1910. /usr/include/qt5/QtCore/qmetatype.h:1932:1: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  1911. Q_DECLARE_METATYPE_TEMPLATE_2ARG(std::pair)
  1912. ^
  1913. /usr/include/qt5/QtCore/qmetatype.h:1773:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1914. metatype_id.storeRelease(newId); \
  1915. ^
  1916. /usr/include/qt5/QtCore/qmetatype.h:1901:49: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_1ARG’
  1917. #define Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE Q_DECLARE_METATYPE_TEMPLATE_1ARG
  1918. ^
  1919. /usr/include/qt5/QtCore/qmetatype.h:1904:1: note: in expansion of macro ‘Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE’
  1920. Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE(std::list)
  1921. ^
  1922. /usr/include/qt5/QtCore/qmetatype.h:1815:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1923. metatype_id.storeRelease(newId); \
  1924. ^
  1925. /usr/include/qt5/QtCore/qmetatype.h:1932:1: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  1926. Q_DECLARE_METATYPE_TEMPLATE_2ARG(std::pair)
  1927. ^
  1928. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QHash<T, U> >::qt_metatype_id()’:
  1929. /usr/include/qt5/QtCore/qmetatype.h:1797:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  1930. if (const int id = metatype_id.loadAcquire()) \
  1931. ^
  1932. /usr/include/qt5/QtCore/qmetatype.h:1925:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  1933. Q_DECLARE_METATYPE_TEMPLATE_2ARG(TEMPLATENAME)
  1934. ^
  1935. /usr/include/qt5/QtCore/qmetatype.h:1927:1: note: in expansion of macro ‘Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE’
  1936. Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE(QHash)
  1937. ^
  1938. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QtPrivate::SharedPointerMetaTypeIdHelper<QSharedPointer<T>, true>::qt_metatype_id()’:
  1939. /usr/include/qt5/QtCore/qmetatype.h:1849:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  1940. if (const int id = metatype_id.loadAcquire()) \
  1941. ^
  1942. /usr/include/qt5/QtCore/qmetatype.h:1935:5: note: in expansion of macro ‘Q_DECLARE_SMART_POINTER_METATYPE’
  1943. Q_DECLARE_SMART_POINTER_METATYPE(TEMPLATENAME)
  1944. ^
  1945. /usr/include/qt5/QtCore/qmetatype.h:210:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER’
  1946. F(QSharedPointer) \
  1947. ^
  1948. /usr/include/qt5/QtCore/qmetatype.h:1938:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER’
  1949. QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER)
  1950. ^
  1951. /usr/include/qt5/QtCore/qmetatype.h:1815:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1952. metatype_id.storeRelease(newId); \
  1953. ^
  1954. /usr/include/qt5/QtCore/qmetatype.h:1925:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  1955. Q_DECLARE_METATYPE_TEMPLATE_2ARG(TEMPLATENAME)
  1956. ^
  1957. /usr/include/qt5/QtCore/qmetatype.h:1927:1: note: in expansion of macro ‘Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE’
  1958. Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE(QHash)
  1959. ^
  1960. /usr/include/qt5/QtCore/qmetatype.h:1859:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1961. metatype_id.storeRelease(newId); \
  1962. ^
  1963. /usr/include/qt5/QtCore/qmetatype.h:1935:5: note: in expansion of macro ‘Q_DECLARE_SMART_POINTER_METATYPE’
  1964. Q_DECLARE_SMART_POINTER_METATYPE(TEMPLATENAME)
  1965. ^
  1966. /usr/include/qt5/QtCore/qmetatype.h:210:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER’
  1967. F(QSharedPointer) \
  1968. ^
  1969. /usr/include/qt5/QtCore/qmetatype.h:1938:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER’
  1970. QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER)
  1971. ^
  1972. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QMap<T, U> >::qt_metatype_id()’:
  1973. /usr/include/qt5/QtCore/qmetatype.h:1797:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  1974. if (const int id = metatype_id.loadAcquire()) \
  1975. ^
  1976. /usr/include/qt5/QtCore/qmetatype.h:1925:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  1977. Q_DECLARE_METATYPE_TEMPLATE_2ARG(TEMPLATENAME)
  1978. ^
  1979. /usr/include/qt5/QtCore/qmetatype.h:1928:1: note: in expansion of macro ‘Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE’
  1980. Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE(QMap)
  1981. ^
  1982. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QtPrivate::SharedPointerMetaTypeIdHelper<QWeakPointer<T>, true>::qt_metatype_id()’:
  1983. /usr/include/qt5/QtCore/qmetatype.h:1849:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  1984. if (const int id = metatype_id.loadAcquire()) \
  1985. ^
  1986. /usr/include/qt5/QtCore/qmetatype.h:1935:5: note: in expansion of macro ‘Q_DECLARE_SMART_POINTER_METATYPE’
  1987. Q_DECLARE_SMART_POINTER_METATYPE(TEMPLATENAME)
  1988. ^
  1989. /usr/include/qt5/QtCore/qmetatype.h:211:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER’
  1990. F(QWeakPointer) \
  1991. ^
  1992. /usr/include/qt5/QtCore/qmetatype.h:1938:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER’
  1993. QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER)
  1994. ^
  1995. /usr/include/qt5/QtCore/qmetatype.h:1815:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  1996. metatype_id.storeRelease(newId); \
  1997. ^
  1998. /usr/include/qt5/QtCore/qmetatype.h:1925:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  1999. Q_DECLARE_METATYPE_TEMPLATE_2ARG(TEMPLATENAME)
  2000. ^
  2001. /usr/include/qt5/QtCore/qmetatype.h:1928:1: note: in expansion of macro ‘Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE’
  2002. Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE(QMap)
  2003. ^
  2004. /usr/include/qt5/QtCore/qmetatype.h:1859:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  2005. metatype_id.storeRelease(newId); \
  2006. ^
  2007. /usr/include/qt5/QtCore/qmetatype.h:1935:5: note: in expansion of macro ‘Q_DECLARE_SMART_POINTER_METATYPE’
  2008. Q_DECLARE_SMART_POINTER_METATYPE(TEMPLATENAME)
  2009. ^
  2010. /usr/include/qt5/QtCore/qmetatype.h:211:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER’
  2011. F(QWeakPointer) \
  2012. ^
  2013. /usr/include/qt5/QtCore/qmetatype.h:1938:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER’
  2014. QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER)
  2015. ^
  2016. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<std::map<T, U> >::qt_metatype_id()’:
  2017. /usr/include/qt5/QtCore/qmetatype.h:1797:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  2018. if (const int id = metatype_id.loadAcquire()) \
  2019. ^
  2020. /usr/include/qt5/QtCore/qmetatype.h:1925:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  2021. Q_DECLARE_METATYPE_TEMPLATE_2ARG(TEMPLATENAME)
  2022. ^
  2023. /usr/include/qt5/QtCore/qmetatype.h:1929:1: note: in expansion of macro ‘Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE’
  2024. Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE(std::map)
  2025. ^
  2026. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QtPrivate::SharedPointerMetaTypeIdHelper<QPointer<T>, true>::qt_metatype_id()’:
  2027. /usr/include/qt5/QtCore/qmetatype.h:1849:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  2028. if (const int id = metatype_id.loadAcquire()) \
  2029. ^
  2030. /usr/include/qt5/QtCore/qmetatype.h:1935:5: note: in expansion of macro ‘Q_DECLARE_SMART_POINTER_METATYPE’
  2031. Q_DECLARE_SMART_POINTER_METATYPE(TEMPLATENAME)
  2032. ^
  2033. /usr/include/qt5/QtCore/qmetatype.h:212:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER’
  2034. F(QPointer)
  2035. ^
  2036. /usr/include/qt5/QtCore/qmetatype.h:1938:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER’
  2037. QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER)
  2038. ^
  2039. /usr/include/qt5/QtCore/qmetatype.h:1815:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  2040. metatype_id.storeRelease(newId); \
  2041. ^
  2042. /usr/include/qt5/QtCore/qmetatype.h:1925:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  2043. Q_DECLARE_METATYPE_TEMPLATE_2ARG(TEMPLATENAME)
  2044. ^
  2045. /usr/include/qt5/QtCore/qmetatype.h:1929:1: note: in expansion of macro ‘Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE’
  2046. Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE(std::map)
  2047. ^
  2048. /usr/include/qt5/QtCore/qmetatype.h:1859:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  2049. metatype_id.storeRelease(newId); \
  2050. ^
  2051. /usr/include/qt5/QtCore/qmetatype.h:1935:5: note: in expansion of macro ‘Q_DECLARE_SMART_POINTER_METATYPE’
  2052. Q_DECLARE_SMART_POINTER_METATYPE(TEMPLATENAME)
  2053. ^
  2054. /usr/include/qt5/QtCore/qmetatype.h:212:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER’
  2055. F(QPointer)
  2056. ^
  2057. /usr/include/qt5/QtCore/qmetatype.h:1938:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER’
  2058. QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER)
  2059. ^
  2060. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QPair<T, U> >::qt_metatype_id()’:
  2061. /usr/include/qt5/QtCore/qmetatype.h:1797:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  2062. if (const int id = metatype_id.loadAcquire()) \
  2063. ^
  2064. /usr/include/qt5/QtCore/qmetatype.h:1931:1: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  2065. Q_DECLARE_METATYPE_TEMPLATE_2ARG(QPair)
  2066. ^
  2067. /usr/include/qt5/QtCore/qmetatype.h:1815:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  2068. metatype_id.storeRelease(newId); \
  2069. ^
  2070. /usr/include/qt5/QtCore/qmetatype.h:1931:1: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  2071. Q_DECLARE_METATYPE_TEMPLATE_2ARG(QPair)
  2072. ^
  2073. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<std::pair<_T1, _T2> >::qt_metatype_id()’:
  2074. /usr/include/qt5/QtCore/qmetatype.h:1797:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  2075. if (const int id = metatype_id.loadAcquire()) \
  2076. ^
  2077. /usr/include/qt5/QtCore/qmetatype.h:1932:1: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  2078. Q_DECLARE_METATYPE_TEMPLATE_2ARG(std::pair)
  2079. ^
  2080. /usr/include/qt5/QtCore/qmetatype.h:1815:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  2081. metatype_id.storeRelease(newId); \
  2082. ^
  2083. /usr/include/qt5/QtCore/qmetatype.h:1932:1: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_2ARG’
  2084. Q_DECLARE_METATYPE_TEMPLATE_2ARG(std::pair)
  2085. ^
  2086. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QtPrivate::SharedPointerMetaTypeIdHelper<QSharedPointer<T>, true>::qt_metatype_id()’:
  2087. /usr/include/qt5/QtCore/qmetatype.h:1849:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  2088. if (const int id = metatype_id.loadAcquire()) \
  2089. ^
  2090. /usr/include/qt5/QtCore/qmetatype.h:1935:5: note: in expansion of macro ‘Q_DECLARE_SMART_POINTER_METATYPE’
  2091. Q_DECLARE_SMART_POINTER_METATYPE(TEMPLATENAME)
  2092. ^
  2093. /usr/include/qt5/QtCore/qmetatype.h:210:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER’
  2094. F(QSharedPointer) \
  2095. ^
  2096. /usr/include/qt5/QtCore/qmetatype.h:1938:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER’
  2097. QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER)
  2098. ^
  2099. /usr/include/qt5/QtCore/qmetatype.h:1859:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  2100. metatype_id.storeRelease(newId); \
  2101. ^
  2102. /usr/include/qt5/QtCore/qmetatype.h:1935:5: note: in expansion of macro ‘Q_DECLARE_SMART_POINTER_METATYPE’
  2103. Q_DECLARE_SMART_POINTER_METATYPE(TEMPLATENAME)
  2104. ^
  2105. /usr/include/qt5/QtCore/qmetatype.h:210:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER’
  2106. F(QSharedPointer) \
  2107. ^
  2108. /usr/include/qt5/QtCore/qmetatype.h:1938:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER’
  2109. QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER)
  2110. ^
  2111. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QtPrivate::SharedPointerMetaTypeIdHelper<QWeakPointer<T>, true>::qt_metatype_id()’:
  2112. /usr/include/qt5/QtCore/qmetatype.h:1849:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  2113. if (const int id = metatype_id.loadAcquire()) \
  2114. ^
  2115. /usr/include/qt5/QtCore/qmetatype.h:1935:5: note: in expansion of macro ‘Q_DECLARE_SMART_POINTER_METATYPE’
  2116. Q_DECLARE_SMART_POINTER_METATYPE(TEMPLATENAME)
  2117. ^
  2118. /usr/include/qt5/QtCore/qmetatype.h:211:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER’
  2119. F(QWeakPointer) \
  2120. ^
  2121. /usr/include/qt5/QtCore/qmetatype.h:1938:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER’
  2122. QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER)
  2123. ^
  2124. /usr/include/qt5/QtCore/qmetatype.h:1859:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  2125. metatype_id.storeRelease(newId); \
  2126. ^
  2127. /usr/include/qt5/QtCore/qmetatype.h:1935:5: note: in expansion of macro ‘Q_DECLARE_SMART_POINTER_METATYPE’
  2128. Q_DECLARE_SMART_POINTER_METATYPE(TEMPLATENAME)
  2129. ^
  2130. /usr/include/qt5/QtCore/qmetatype.h:211:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER’
  2131. F(QWeakPointer) \
  2132. ^
  2133. /usr/include/qt5/QtCore/qmetatype.h:1938:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER’
  2134. QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER)
  2135. ^
  2136. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QtPrivate::SharedPointerMetaTypeIdHelper<QPointer<T>, true>::qt_metatype_id()’:
  2137. /usr/include/qt5/QtCore/qmetatype.h:1849:40: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  2138. if (const int id = metatype_id.loadAcquire()) \
  2139. ^
  2140. /usr/include/qt5/QtCore/qmetatype.h:1935:5: note: in expansion of macro ‘Q_DECLARE_SMART_POINTER_METATYPE’
  2141. Q_DECLARE_SMART_POINTER_METATYPE(TEMPLATENAME)
  2142. ^
  2143. /usr/include/qt5/QtCore/qmetatype.h:212:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER’
  2144. F(QPointer)
  2145. ^
  2146. /usr/include/qt5/QtCore/qmetatype.h:1938:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER’
  2147. QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER)
  2148. ^
  2149. /usr/include/qt5/QtCore/qmetatype.h:1859:21: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  2150. metatype_id.storeRelease(newId); \
  2151. ^
  2152. /usr/include/qt5/QtCore/qmetatype.h:1935:5: note: in expansion of macro ‘Q_DECLARE_SMART_POINTER_METATYPE’
  2153. Q_DECLARE_SMART_POINTER_METATYPE(TEMPLATENAME)
  2154. ^
  2155. /usr/include/qt5/QtCore/qmetatype.h:212:5: note: in expansion of macro ‘Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER’
  2156. F(QPointer)
  2157. ^
  2158. /usr/include/qt5/QtCore/qmetatype.h:1938:1: note: in expansion of macro ‘QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER’
  2159. QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER)
  2160. ^
  2161. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()’:
  2162. /usr/include/qt5/QtCore/qmetatype.h:1714:48: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  2163. if (const int id = metatype_id.loadAcquire()) \
  2164. ^
  2165. /usr/include/qt5/QtCore/qmetatype.h:2044:1: note: in expansion of macro ‘Q_DECLARE_METATYPE’
  2166. Q_DECLARE_METATYPE(QtMetaTypePrivate::QSequentialIterableImpl)
  2167. ^
  2168. /usr/include/qt5/QtCore/qmetatype.h:1718:29: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  2169. metatype_id.storeRelease(newId); \
  2170. ^
  2171. /usr/include/qt5/QtCore/qmetatype.h:2044:1: note: in expansion of macro ‘Q_DECLARE_METATYPE’
  2172. Q_DECLARE_METATYPE(QtMetaTypePrivate::QSequentialIterableImpl)
  2173. ^
  2174. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QtMetaTypePrivate::QAssociativeIterableImpl>::qt_metatype_id()’:
  2175. /usr/include/qt5/QtCore/qmetatype.h:1714:48: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  2176. if (const int id = metatype_id.loadAcquire()) \
  2177. ^
  2178. /usr/include/qt5/QtCore/qmetatype.h:2045:1: note: in expansion of macro ‘Q_DECLARE_METATYPE’
  2179. Q_DECLARE_METATYPE(QtMetaTypePrivate::QAssociativeIterableImpl)
  2180. ^
  2181. /usr/include/qt5/QtCore/qmetatype.h:1718:29: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  2182. metatype_id.storeRelease(newId); \
  2183. ^
  2184. /usr/include/qt5/QtCore/qmetatype.h:2045:1: note: in expansion of macro ‘Q_DECLARE_METATYPE’
  2185. Q_DECLARE_METATYPE(QtMetaTypePrivate::QAssociativeIterableImpl)
  2186. ^
  2187. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QtMetaTypePrivate::QPairVariantInterfaceImpl>::qt_metatype_id()’:
  2188. /usr/include/qt5/QtCore/qmetatype.h:1714:48: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  2189. if (const int id = metatype_id.loadAcquire()) \
  2190. ^
  2191. /usr/include/qt5/QtCore/qmetatype.h:2046:1: note: in expansion of macro ‘Q_DECLARE_METATYPE’
  2192. Q_DECLARE_METATYPE(QtMetaTypePrivate::QPairVariantInterfaceImpl)
  2193. ^
  2194. /usr/include/qt5/QtCore/qmetatype.h:1718:29: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  2195. metatype_id.storeRelease(newId); \
  2196. ^
  2197. /usr/include/qt5/QtCore/qmetatype.h:2046:1: note: in expansion of macro ‘Q_DECLARE_METATYPE’
  2198. Q_DECLARE_METATYPE(QtMetaTypePrivate::QPairVariantInterfaceImpl)
  2199. ^
  2200. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()’:
  2201. /usr/include/qt5/QtCore/qmetatype.h:1714:48: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  2202. if (const int id = metatype_id.loadAcquire()) \
  2203. ^
  2204. /usr/include/qt5/QtCore/qmetatype.h:2044:1: note: in expansion of macro ‘Q_DECLARE_METATYPE’
  2205. Q_DECLARE_METATYPE(QtMetaTypePrivate::QSequentialIterableImpl)
  2206. ^
  2207. /usr/include/qt5/QtCore/qmetatype.h:1718:29: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  2208. metatype_id.storeRelease(newId); \
  2209. ^
  2210. /usr/include/qt5/QtCore/qmetatype.h:2044:1: note: in expansion of macro ‘Q_DECLARE_METATYPE’
  2211. Q_DECLARE_METATYPE(QtMetaTypePrivate::QSequentialIterableImpl)
  2212. ^
  2213. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QtMetaTypePrivate::QAssociativeIterableImpl>::qt_metatype_id()’:
  2214. /usr/include/qt5/QtCore/qmetatype.h:1714:48: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  2215. if (const int id = metatype_id.loadAcquire()) \
  2216. ^
  2217. /usr/include/qt5/QtCore/qmetatype.h:2045:1: note: in expansion of macro ‘Q_DECLARE_METATYPE’
  2218. Q_DECLARE_METATYPE(QtMetaTypePrivate::QAssociativeIterableImpl)
  2219. ^
  2220. /usr/include/qt5/QtCore/qmetatype.h:1718:29: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  2221. metatype_id.storeRelease(newId); \
  2222. ^
  2223. /usr/include/qt5/QtCore/qmetatype.h:2045:1: note: in expansion of macro ‘Q_DECLARE_METATYPE’
  2224. Q_DECLARE_METATYPE(QtMetaTypePrivate::QAssociativeIterableImpl)
  2225. ^
  2226. /usr/include/qt5/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId<QtMetaTypePrivate::QPairVariantInterfaceImpl>::qt_metatype_id()’:
  2227. /usr/include/qt5/QtCore/qmetatype.h:1714:48: error: ‘class QBasicAtomicInt’ has no member named ‘loadAcquire’
  2228. if (const int id = metatype_id.loadAcquire()) \
  2229. ^
  2230. /usr/include/qt5/QtCore/qmetatype.h:2046:1: note: in expansion of macro ‘Q_DECLARE_METATYPE’
  2231. Q_DECLARE_METATYPE(QtMetaTypePrivate::QPairVariantInterfaceImpl)
  2232. ^
  2233. /usr/include/qt5/QtCore/qmetatype.h:1718:29: error: ‘class QBasicAtomicInt’ has no member named ‘storeRelease’
  2234. metatype_id.storeRelease(newId); \
  2235. ^
  2236. /usr/include/qt5/QtCore/qmetatype.h:2046:1: note: in expansion of macro ‘Q_DECLARE_METATYPE’
  2237. Q_DECLARE_METATYPE(QtMetaTypePrivate::QPairVariantInterfaceImpl)
  2238. ^
  2239. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  2240. from /usr/include/qt5/QtWidgets/qcombobox.h:45,
  2241. from /usr/include/qt5/QtWidgets/QComboBox:1,
  2242. from /home/denis/opt/QGIS/src/gui/symbology-ng/qgsbrushstylecombobox.h:19,
  2243. from /home/denis/opt/QGIS/src/gui/symbology-ng/qgsbrushstylecombobox.cpp:16:
  2244. /usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: error: variable ‘Q_WIDGETS_EXPORT QSizePolicy’ has initializer but incomplete type
  2245. class Q_WIDGETS_EXPORT QSizePolicy
  2246. ^
  2247. /usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
  2248. In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45:0,
  2249. from /usr/include/qt5/QtWidgets/qwidget.h:45,
  2250. from /usr/include/qt5/QtWidgets/qcombobox.h:45,
  2251. from /usr/include/qt5/QtWidgets/QComboBox:1,
  2252. from /home/denis/opt/QGIS/src/gui/symbology-ng/qgsbrushstylecombobox.h:19,
  2253. from /home/denis/opt/QGIS/src/gui/symbology-ng/qgsbrushstylecombobox.cpp:16:
  2254. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected primary-expression before ‘public’
  2255. public: \
  2256. ^
  2257. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  2258. Q_GADGET
  2259. ^
  2260. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘}’ before ‘public’
  2261. public: \
  2262. ^
  2263. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  2264. Q_GADGET
  2265. ^
  2266. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘,’ or ‘;’ before ‘public’
  2267. public: \
  2268. ^
  2269. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  2270. Q_GADGET
  2271. ^
  2272. /usr/include/qt4/QtCore/qobjectdefs.h:177:1: error: expected unqualified-id before ‘private’
  2273. private:
  2274. ^
  2275. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  2276. Q_GADGET
  2277. ^
  2278. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  2279. from /usr/include/qt5/QtWidgets/qcombobox.h:45,
  2280. from /usr/include/qt5/QtWidgets/QComboBox:1,
  2281. from /home/denis/opt/QGIS/src/gui/symbology-ng/qgsbrushstylecombobox.h:19,
  2282. from /home/denis/opt/QGIS/src/gui/symbology-ng/qgsbrushstylecombobox.cpp:16:
  2283. /usr/include/qt5/QtWidgets/qsizepolicy.h:67:19: error: ‘GrowFlag’ was not declared in this scope
  2284. Minimum = GrowFlag,
  2285. ^
  2286. /usr/include/qt5/QtWidgets/qsizepolicy.h:68:19: error: ‘ShrinkFlag’ was not declared in this scope
  2287. Maximum = ShrinkFlag,
  2288. ^
  2289. In file included from /usr/include/qt5/QtCore/QVariant:1:0,
  2290. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:25,
  2291. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  2292. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  2293. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  2294. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  2295. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  2296. /usr/include/qt5/QtCore/qvariant.h: At global scope:
  2297. /usr/include/qt5/QtCore/qvariant.h:466:27: error: expected ‘;’ at end of member declaration
  2298. inline QVariant(void *) Q_DECL_EQ_DELETE;
  2299. ^
  2300. /usr/include/qt5/QtWidgets/qsizepolicy.h:69:21: error: ‘GrowFlag’ was not declared in this scope
  2301. Preferred = GrowFlag | ShrinkFlag,
  2302. ^
  2303. /usr/include/qt5/QtCore/qvariant.h:466:29: error: ‘Q_DECL_EQ_DELETE’ does not name a type
  2304. inline QVariant(void *) Q_DECL_EQ_DELETE;
  2305. ^
  2306. /usr/include/qt5/QtWidgets/qsizepolicy.h:69:32: error: ‘ShrinkFlag’ was not declared in this scope
  2307. Preferred = GrowFlag | ShrinkFlag,
  2308. ^
  2309. /usr/include/qt5/QtCore/qvariant.h:473:29: error: expected ‘;’ at end of member declaration
  2310. QVariant(QMetaType::Type) Q_DECL_EQ_DELETE;
  2311. ^
  2312. /usr/include/qt5/QtWidgets/qsizepolicy.h:70:28: error: ‘GrowFlag’ was not declared in this scope
  2313. MinimumExpanding = GrowFlag | ExpandFlag,
  2314. ^
  2315. /usr/include/qt5/QtWidgets/qsizepolicy.h:70:39: error: ‘ExpandFlag’ was not declared in this scope
  2316. MinimumExpanding = GrowFlag | ExpandFlag,
  2317. ^
  2318. /usr/include/qt5/QtCore/qvariant.h:473:31: error: ‘Q_DECL_EQ_DELETE’ does not name a type
  2319. QVariant(QMetaType::Type) Q_DECL_EQ_DELETE;
  2320. ^
  2321. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:21: error: ‘GrowFlag’ was not declared in this scope
  2322. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  2323. ^
  2324. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:32: error: ‘ShrinkFlag’ was not declared in this scope
  2325. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  2326. ^
  2327. /usr/include/qt5/QtCore/qvariant.h:480:29: error: expected ‘;’ at end of member declaration
  2328. QVariant(Qt::GlobalColor) Q_DECL_EQ_DELETE;
  2329. ^
  2330. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:45: error: ‘ExpandFlag’ was not declared in this scope
  2331. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  2332. ^
  2333. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:19: error: ‘ShrinkFlag’ was not declared in this scope
  2334. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  2335. ^
  2336. /usr/include/qt5/QtCore/qvariant.h:480:31: error: ‘Q_DECL_EQ_DELETE’ does not name a type
  2337. QVariant(Qt::GlobalColor) Q_DECL_EQ_DELETE;
  2338. ^
  2339. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:32: error: ‘GrowFlag’ was not declared in this scope
  2340. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  2341. ^
  2342. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:43: error: ‘IgnoreFlag’ was not declared in this scope
  2343. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  2344. ^
  2345. /usr/include/qt5/QtCore/qvariant.h:481:28: error: expected ‘;’ at end of member declaration
  2346. QVariant(Qt::BrushStyle) Q_DECL_EQ_DELETE;
  2347. ^
  2348. /usr/include/qt5/QtCore/qvariant.h:481:30: error: ‘Q_DECL_EQ_DELETE’ does not name a type
  2349. QVariant(Qt::BrushStyle) Q_DECL_EQ_DELETE;
  2350. ^
  2351. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:17: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  2352. QSizePolicy() : data(0) { }
  2353. ^
  2354. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy()’:
  2355. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:21: error: only constructors take member initializers
  2356. QSizePolicy() : data(0) { }
  2357. ^
  2358. /usr/include/qt5/QtCore/qvariant.h:482:26: error: expected ‘;’ at end of member declaration
  2359. QVariant(Qt::PenStyle) Q_DECL_EQ_DELETE;
  2360. ^
  2361. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:31: warning: no return statement in function returning non-void [-Wreturn-type]
  2362. QSizePolicy() : data(0) { }
  2363. ^
  2364. /usr/include/qt5/QtCore/qvariant.h:482:28: error: ‘Q_DECL_EQ_DELETE’ does not name a type
  2365. QVariant(Qt::PenStyle) Q_DECL_EQ_DELETE;
  2366. ^
  2367. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2368. /usr/include/qt5/QtWidgets/qsizepolicy.h:97:83: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  2369. QSizePolicy(Policy horizontal, Policy vertical, ControlType type = DefaultType)
  2370. ^
  2371. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(Policy, Policy, ControlType)’:
  2372. /usr/include/qt5/QtWidgets/qsizepolicy.h:98:11: error: only constructors take member initializers
  2373. : data(0) {
  2374. ^
  2375. /usr/include/qt5/QtCore/qvariant.h:483:29: error: expected ‘;’ at end of member declaration
  2376. QVariant(Qt::CursorShape) Q_DECL_EQ_DELETE;
  2377. ^
  2378. /usr/include/qt5/QtWidgets/qsizepolicy.h:99:9: error: ‘bits’ was not declared in this scope
  2379. bits.horPolicy = horizontal;
  2380. ^
  2381. /usr/include/qt5/QtCore/qvariant.h:483:31: error: ‘Q_DECL_EQ_DELETE’ does not name a type
  2382. QVariant(Qt::CursorShape) Q_DECL_EQ_DELETE;
  2383. ^
  2384. /usr/include/qt5/QtWidgets/qsizepolicy.h:101:28: error: ‘setControlType’ was not declared in this scope
  2385. setControlType(type);
  2386. ^
  2387. /usr/include/qt5/QtWidgets/qsizepolicy.h:102:5: warning: no return statement in function returning non-void [-Wreturn-type]
  2388. }
  2389. ^
  2390. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2391. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:31: error: non-member function ‘Policy horizontalPolicy()’ cannot have cv-qualifier
  2392. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  2393. ^
  2394. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
  2395. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:66: error: ‘bits’ was not declared in this scope
  2396. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  2397. ^
  2398. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2399. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:29: error: non-member function ‘Policy verticalPolicy()’ cannot have cv-qualifier
  2400. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  2401. ^
  2402. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
  2403. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:64: error: ‘bits’ was not declared in this scope
  2404. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  2405. ^
  2406. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2407. /usr/include/qt5/QtWidgets/qsizepolicy.h:105:31: error: non-member function ‘ControlType controlType()’ cannot have cv-qualifier
  2408. ControlType controlType() const;
  2409. ^
  2410. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalPolicy(Policy)’:
  2411. /usr/include/qt5/QtWidgets/qsizepolicy.h:107:42: error: ‘bits’ was not declared in this scope
  2412. void setHorizontalPolicy(Policy d) { bits.horPolicy = d; }
  2413. ^
  2414. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalPolicy(Policy)’:
  2415. /usr/include/qt5/QtWidgets/qsizepolicy.h:108:40: error: ‘bits’ was not declared in this scope
  2416. void setVerticalPolicy(Policy d) { bits.verPolicy = d; }
  2417. ^
  2418. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2419. /usr/include/qt5/QtWidgets/qsizepolicy.h:111:44: error: non-member function ‘Qt::Orientations expandingDirections()’ cannot have cv-qualifier
  2420. Qt::Orientations expandingDirections() const {
  2421. ^
  2422. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Qt::Orientations expandingDirections()’:
  2423. /usr/include/qt5/QtWidgets/qsizepolicy.h:113:32: error: ‘ExpandFlag’ was not declared in this scope
  2424. if (verticalPolicy() & ExpandFlag)
  2425. ^
  2426. /usr/include/qt5/QtWidgets/qsizepolicy.h:115:34: error: ‘ExpandFlag’ was not declared in this scope
  2427. if (horizontalPolicy() & ExpandFlag)
  2428. ^
  2429. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHeightForWidth(bool)’:
  2430. /usr/include/qt5/QtWidgets/qsizepolicy.h:120:38: error: ‘bits’ was not declared in this scope
  2431. void setHeightForWidth(bool b) { bits.hfw = b; }
  2432. ^
  2433. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2434. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:30: error: non-member function ‘bool hasHeightForWidth()’ cannot have cv-qualifier
  2435. bool hasHeightForWidth() const { return bits.hfw; }
  2436. ^
  2437. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
  2438. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:45: error: ‘bits’ was not declared in this scope
  2439. bool hasHeightForWidth() const { return bits.hfw; }
  2440. ^
  2441. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setWidthForHeight(bool)’:
  2442. /usr/include/qt5/QtWidgets/qsizepolicy.h:122:38: error: ‘bits’ was not declared in this scope
  2443. void setWidthForHeight(bool b) { bits.wfh = b; }
  2444. ^
  2445. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2446. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:30: error: non-member function ‘bool hasWidthForHeight()’ cannot have cv-qualifier
  2447. bool hasWidthForHeight() const { return bits.wfh; }
  2448. ^
  2449. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
  2450. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:45: error: ‘bits’ was not declared in this scope
  2451. bool hasWidthForHeight() const { return bits.wfh; }
  2452. ^
  2453. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2454. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:27: error: ‘QSizePolicy’ does not name a type
  2455. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  2456. ^
  2457. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
  2458. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  2459. ^
  2460. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: non-member function ‘bool operator==(const int&)’ cannot have cv-qualifier
  2461. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  2462. ^
  2463. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: ‘bool operator==(const int&)’ must have an argument of class or enumerated type
  2464. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:27: error: ‘QSizePolicy’ does not name a type
  2465. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  2466. ^
  2467. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
  2468. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  2469. ^
  2470. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: non-member function ‘bool operator!=(const int&)’ cannot have cv-qualifier
  2471. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  2472. ^
  2473. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: ‘bool operator!=(const int&)’ must have an argument of class or enumerated type
  2474. /usr/include/qt5/QtWidgets/qsizepolicy.h:127:30: error: expected constructor, destructor, or type conversion before ‘;’ token
  2475. operator QVariant() const; // implemented in qlayoutitem.cpp
  2476. ^
  2477. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:29: error: non-member function ‘int horizontalStretch()’ cannot have cv-qualifier
  2478. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  2479. ^
  2480. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
  2481. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:61: error: ‘bits’ was not declared in this scope
  2482. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  2483. ^
  2484. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2485. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:27: error: non-member function ‘int verticalStretch()’ cannot have cv-qualifier
  2486. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  2487. ^
  2488. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
  2489. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:59: error: ‘bits’ was not declared in this scope
  2490. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  2491. ^
  2492. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalStretch(int)’:
  2493. /usr/include/qt5/QtWidgets/qsizepolicy.h:131:52: error: ‘bits’ was not declared in this scope
  2494. void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
  2495. ^
  2496. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalStretch(int)’:
  2497. /usr/include/qt5/QtWidgets/qsizepolicy.h:132:50: error: ‘bits’ was not declared in this scope
  2498. void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
  2499. ^
  2500. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2501. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:33: error: non-member function ‘bool retainSizeWhenHidden()’ cannot have cv-qualifier
  2502. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  2503. ^
  2504. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
  2505. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:48: error: ‘bits’ was not declared in this scope
  2506. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  2507. ^
  2508. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setRetainSizeWhenHidden(bool)’:
  2509. /usr/include/qt5/QtWidgets/qsizepolicy.h:135:53: error: ‘bits’ was not declared in this scope
  2510. void setRetainSizeWhenHidden(bool retainSize) { bits.retainSizeWhenHidden = retainSize; }
  2511. ^
  2512. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2513. /usr/include/qt5/QtWidgets/qsizepolicy.h:140:1: error: expected unqualified-id before ‘private’
  2514. private:
  2515. ^
  2516. /usr/include/qt5/QtWidgets/qsizepolicy.h:143:5: error: ‘friend’ used outside of class
  2517. friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
  2518. ^
  2519. /usr/include/qt5/QtWidgets/qsizepolicy.h:143:41: error: expected initializer before ‘&’ token
  2520. friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
  2521. ^
  2522. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:22: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  2523. QSizePolicy(int i) : data(i) { }
  2524. ^
  2525. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(int)’:
  2526. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:26: error: only constructors take member initializers
  2527. QSizePolicy(int i) : data(i) { }
  2528. ^
  2529. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:36: warning: no return statement in function returning non-void [-Wreturn-type]
  2530. QSizePolicy(int i) : data(i) { }
  2531. ^
  2532. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2533. /usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: warning: anonymous type with no linkage used to declare variable ‘<anonymous union> <anonymous>’ with linkage [enabled by default]
  2534. };
  2535. ^
  2536. /usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: error: namespace-scope anonymous aggregates must be static
  2537. /usr/include/qt5/QtWidgets/qsizepolicy.h:161:1: error: expected declaration before ‘}’ token
  2538. };
  2539. ^
  2540. /usr/include/qt5/QtCore/qvariant.h: In member function ‘bool QVariant::isDetached() const’:
  2541. /usr/include/qt5/QtCore/qvariant.h:543:45: error: ‘class QAtomicInt’ has no member named ‘load’
  2542. { return !d.is_shared || d.data.shared->ref.load() == 1; }
  2543. ^
  2544. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
  2545. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:83: warning: control reaches end of non-void function [-Wreturn-type]
  2546. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  2547. ^
  2548. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
  2549. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:81: warning: control reaches end of non-void function [-Wreturn-type]
  2550. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  2551. ^
  2552. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
  2553. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:55: warning: control reaches end of non-void function [-Wreturn-type]
  2554. bool hasHeightForWidth() const { return bits.hfw; }
  2555. ^
  2556. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
  2557. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:55: warning: control reaches end of non-void function [-Wreturn-type]
  2558. bool hasWidthForHeight() const { return bits.wfh; }
  2559. ^
  2560. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
  2561. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:79: warning: control reaches end of non-void function [-Wreturn-type]
  2562. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  2563. ^
  2564. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
  2565. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:77: warning: control reaches end of non-void function [-Wreturn-type]
  2566. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  2567. ^
  2568. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
  2569. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:75: warning: control reaches end of non-void function [-Wreturn-type]
  2570. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  2571. ^
  2572. In file included from /usr/include/qt5/QtGui/qguiapplication.h:47:0,
  2573. from /usr/include/qt5/QtWidgets/qapplication.h:56,
  2574. from /usr/include/qt5/QtWidgets/QApplication:1,
  2575. from /home/denis/opt/QGIS/src/gui/../core/qgsapplication.h:18,
  2576. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:18:
  2577. /usr/include/qt5/QtGui/qinputmethod.h:89:5: error: ‘QLocale’ does not name a type
  2578. QLocale locale() const;
  2579. ^
  2580. /usr/include/qt5/QtGui/qinputmethod.h:96:21: error: ‘Qt::InputMethodQueries’ has not been declared
  2581. void update(Qt::InputMethodQueries queries);
  2582. ^
  2583. make[2]: *** [src/gui/CMakeFiles/qgis_gui.dir/symbology-ng/qgsbrushstylecombobox.cpp.o] Error 1
  2584. make[2]: *** Waiting for unfinished jobs....
  2585. In file included from /usr/include/qt5/QtCore/QVariant:1:0,
  2586. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:25,
  2587. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  2588. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  2589. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  2590. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  2591. /usr/include/qt5/QtCore/qvariant.h: At global scope:
  2592. /usr/include/qt5/QtCore/qvariant.h:466:27: error: expected ‘;’ at end of member declaration
  2593. inline QVariant(void *) Q_DECL_EQ_DELETE;
  2594. ^
  2595. /usr/include/qt5/QtCore/qvariant.h:466:29: error: ‘Q_DECL_EQ_DELETE’ does not name a type
  2596. inline QVariant(void *) Q_DECL_EQ_DELETE;
  2597. ^
  2598. /usr/include/qt5/QtCore/qvariant.h:473:29: error: expected ‘;’ at end of member declaration
  2599. QVariant(QMetaType::Type) Q_DECL_EQ_DELETE;
  2600. ^
  2601. /usr/include/qt5/QtCore/qvariant.h:473:31: error: ‘Q_DECL_EQ_DELETE’ does not name a type
  2602. QVariant(QMetaType::Type) Q_DECL_EQ_DELETE;
  2603. ^
  2604. /usr/include/qt5/QtCore/qvariant.h:480:29: error: expected ‘;’ at end of member declaration
  2605. QVariant(Qt::GlobalColor) Q_DECL_EQ_DELETE;
  2606. ^
  2607. /usr/include/qt5/QtCore/qvariant.h:480:31: error: ‘Q_DECL_EQ_DELETE’ does not name a type
  2608. QVariant(Qt::GlobalColor) Q_DECL_EQ_DELETE;
  2609. ^
  2610. /usr/include/qt5/QtCore/qvariant.h:481:28: error: expected ‘;’ at end of member declaration
  2611. QVariant(Qt::BrushStyle) Q_DECL_EQ_DELETE;
  2612. ^
  2613. /usr/include/qt5/QtCore/qvariant.h:481:30: error: ‘Q_DECL_EQ_DELETE’ does not name a type
  2614. QVariant(Qt::BrushStyle) Q_DECL_EQ_DELETE;
  2615. ^
  2616. /usr/include/qt5/QtCore/qvariant.h:482:26: error: expected ‘;’ at end of member declaration
  2617. QVariant(Qt::PenStyle) Q_DECL_EQ_DELETE;
  2618. ^
  2619. /usr/include/qt5/QtCore/qvariant.h:482:28: error: ‘Q_DECL_EQ_DELETE’ does not name a type
  2620. QVariant(Qt::PenStyle) Q_DECL_EQ_DELETE;
  2621. ^
  2622. /usr/include/qt5/QtCore/qvariant.h:483:29: error: expected ‘;’ at end of member declaration
  2623. QVariant(Qt::CursorShape) Q_DECL_EQ_DELETE;
  2624. ^
  2625. /usr/include/qt5/QtCore/qvariant.h:483:31: error: ‘Q_DECL_EQ_DELETE’ does not name a type
  2626. QVariant(Qt::CursorShape) Q_DECL_EQ_DELETE;
  2627. ^
  2628. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  2629. from /usr/include/qt5/QtWidgets/qaction.h:47,
  2630. from /usr/include/qt5/QtWidgets/QAction:1,
  2631. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:13,
  2632. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  2633. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  2634. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  2635. /usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: error: variable ‘Q_WIDGETS_EXPORT QSizePolicy’ has initializer but incomplete type
  2636. class Q_WIDGETS_EXPORT QSizePolicy
  2637. ^
  2638. /usr/include/qt5/QtCore/qvariant.h: In member function ‘bool QVariant::isDetached() const’:
  2639. /usr/include/qt5/QtCore/qvariant.h:543:45: error: ‘class QAtomicInt’ has no member named ‘load’
  2640. { return !d.is_shared || d.data.shared->ref.load() == 1; }
  2641. ^
  2642. /usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
  2643. In file included from /usr/include/qt4/QtCore/qobject.h:47:0,
  2644. from /usr/include/qt4/QtCore/qiodevice.h:46,
  2645. from /usr/include/qt4/QtCore/qdatastream.h:46,
  2646. from /usr/include/qt4/QtCore/qmetatype.h:49,
  2647. from /usr/include/qt4/QtCore/qvariant.h:48,
  2648. from /usr/include/qt4/QtCore/QVariant:1,
  2649. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  2650. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  2651. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  2652. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  2653. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected primary-expression before ‘public’
  2654. public: \
  2655. ^
  2656. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  2657. Q_GADGET
  2658. ^
  2659. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘}’ before ‘public’
  2660. public: \
  2661. ^
  2662. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  2663. Q_GADGET
  2664. ^
  2665. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘,’ or ‘;’ before ‘public’
  2666. public: \
  2667. ^
  2668. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  2669. Q_GADGET
  2670. ^
  2671. /usr/include/qt4/QtCore/qobjectdefs.h:177:1: error: expected unqualified-id before ‘private’
  2672. private:
  2673. ^
  2674. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  2675. Q_GADGET
  2676. ^
  2677. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  2678. from /usr/include/qt5/QtWidgets/qaction.h:47,
  2679. from /usr/include/qt5/QtWidgets/QAction:1,
  2680. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:13,
  2681. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  2682. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.h:21,
  2683. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandgrayrendererwidget.cpp:18:
  2684. /usr/include/qt5/QtWidgets/qsizepolicy.h:67:19: error: ‘GrowFlag’ was not declared in this scope
  2685. Minimum = GrowFlag,
  2686. ^
  2687. /usr/include/qt5/QtWidgets/qsizepolicy.h:68:19: error: ‘ShrinkFlag’ was not declared in this scope
  2688. Maximum = ShrinkFlag,
  2689. ^
  2690. /usr/include/qt5/QtWidgets/qsizepolicy.h:69:21: error: ‘GrowFlag’ was not declared in this scope
  2691. Preferred = GrowFlag | ShrinkFlag,
  2692. ^
  2693. /usr/include/qt5/QtWidgets/qsizepolicy.h:69:32: error: ‘ShrinkFlag’ was not declared in this scope
  2694. Preferred = GrowFlag | ShrinkFlag,
  2695. ^
  2696. /usr/include/qt5/QtWidgets/qsizepolicy.h:70:28: error: ‘GrowFlag’ was not declared in this scope
  2697. MinimumExpanding = GrowFlag | ExpandFlag,
  2698. ^
  2699. /usr/include/qt5/QtWidgets/qsizepolicy.h:70:39: error: ‘ExpandFlag’ was not declared in this scope
  2700. MinimumExpanding = GrowFlag | ExpandFlag,
  2701. ^
  2702. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:21: error: ‘GrowFlag’ was not declared in this scope
  2703. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  2704. ^
  2705. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:32: error: ‘ShrinkFlag’ was not declared in this scope
  2706. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  2707. ^
  2708. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:45: error: ‘ExpandFlag’ was not declared in this scope
  2709. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  2710. ^
  2711. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:19: error: ‘ShrinkFlag’ was not declared in this scope
  2712. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  2713. ^
  2714. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:32: error: ‘GrowFlag’ was not declared in this scope
  2715. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  2716. ^
  2717. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:43: error: ‘IgnoreFlag’ was not declared in this scope
  2718. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  2719. ^
  2720. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:17: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  2721. QSizePolicy() : data(0) { }
  2722. ^
  2723. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy()’:
  2724. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:21: error: only constructors take member initializers
  2725. QSizePolicy() : data(0) { }
  2726. ^
  2727. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:31: warning: no return statement in function returning non-void [-Wreturn-type]
  2728. QSizePolicy() : data(0) { }
  2729. ^
  2730. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2731. /usr/include/qt5/QtWidgets/qsizepolicy.h:97:83: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  2732. QSizePolicy(Policy horizontal, Policy vertical, ControlType type = DefaultType)
  2733. ^
  2734. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(Policy, Policy, ControlType)’:
  2735. /usr/include/qt5/QtWidgets/qsizepolicy.h:98:11: error: only constructors take member initializers
  2736. : data(0) {
  2737. ^
  2738. /usr/include/qt5/QtWidgets/qsizepolicy.h:99:9: error: ‘bits’ was not declared in this scope
  2739. bits.horPolicy = horizontal;
  2740. ^
  2741. /usr/include/qt5/QtWidgets/qsizepolicy.h:101:28: error: ‘setControlType’ was not declared in this scope
  2742. setControlType(type);
  2743. ^
  2744. /usr/include/qt5/QtWidgets/qsizepolicy.h:102:5: warning: no return statement in function returning non-void [-Wreturn-type]
  2745. }
  2746. ^
  2747. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2748. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:31: error: non-member function ‘Policy horizontalPolicy()’ cannot have cv-qualifier
  2749. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  2750. ^
  2751. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
  2752. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:66: error: ‘bits’ was not declared in this scope
  2753. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  2754. ^
  2755. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2756. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:29: error: non-member function ‘Policy verticalPolicy()’ cannot have cv-qualifier
  2757. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  2758. ^
  2759. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
  2760. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:64: error: ‘bits’ was not declared in this scope
  2761. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  2762. ^
  2763. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2764. /usr/include/qt5/QtWidgets/qsizepolicy.h:105:31: error: non-member function ‘ControlType controlType()’ cannot have cv-qualifier
  2765. ControlType controlType() const;
  2766. ^
  2767. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalPolicy(Policy)’:
  2768. /usr/include/qt5/QtWidgets/qsizepolicy.h:107:42: error: ‘bits’ was not declared in this scope
  2769. void setHorizontalPolicy(Policy d) { bits.horPolicy = d; }
  2770. ^
  2771. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalPolicy(Policy)’:
  2772. /usr/include/qt5/QtWidgets/qsizepolicy.h:108:40: error: ‘bits’ was not declared in this scope
  2773. void setVerticalPolicy(Policy d) { bits.verPolicy = d; }
  2774. ^
  2775. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2776. /usr/include/qt5/QtWidgets/qsizepolicy.h:111:44: error: non-member function ‘Qt::Orientations expandingDirections()’ cannot have cv-qualifier
  2777. Qt::Orientations expandingDirections() const {
  2778. ^
  2779. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Qt::Orientations expandingDirections()’:
  2780. /usr/include/qt5/QtWidgets/qsizepolicy.h:113:32: error: ‘ExpandFlag’ was not declared in this scope
  2781. if (verticalPolicy() & ExpandFlag)
  2782. ^
  2783. /usr/include/qt5/QtWidgets/qsizepolicy.h:115:34: error: ‘ExpandFlag’ was not declared in this scope
  2784. if (horizontalPolicy() & ExpandFlag)
  2785. ^
  2786. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHeightForWidth(bool)’:
  2787. /usr/include/qt5/QtWidgets/qsizepolicy.h:120:38: error: ‘bits’ was not declared in this scope
  2788. void setHeightForWidth(bool b) { bits.hfw = b; }
  2789. ^
  2790. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2791. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:30: error: non-member function ‘bool hasHeightForWidth()’ cannot have cv-qualifier
  2792. bool hasHeightForWidth() const { return bits.hfw; }
  2793. ^
  2794. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
  2795. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:45: error: ‘bits’ was not declared in this scope
  2796. bool hasHeightForWidth() const { return bits.hfw; }
  2797. ^
  2798. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setWidthForHeight(bool)’:
  2799. /usr/include/qt5/QtWidgets/qsizepolicy.h:122:38: error: ‘bits’ was not declared in this scope
  2800. void setWidthForHeight(bool b) { bits.wfh = b; }
  2801. ^
  2802. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2803. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:30: error: non-member function ‘bool hasWidthForHeight()’ cannot have cv-qualifier
  2804. bool hasWidthForHeight() const { return bits.wfh; }
  2805. ^
  2806. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
  2807. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:45: error: ‘bits’ was not declared in this scope
  2808. bool hasWidthForHeight() const { return bits.wfh; }
  2809. ^
  2810. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2811. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:27: error: ‘QSizePolicy’ does not name a type
  2812. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  2813. ^
  2814. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
  2815. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  2816. ^
  2817. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: non-member function ‘bool operator==(const int&)’ cannot have cv-qualifier
  2818. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  2819. ^
  2820. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: ‘bool operator==(const int&)’ must have an argument of class or enumerated type
  2821. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:27: error: ‘QSizePolicy’ does not name a type
  2822. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  2823. ^
  2824. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
  2825. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  2826. ^
  2827. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: non-member function ‘bool operator!=(const int&)’ cannot have cv-qualifier
  2828. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  2829. ^
  2830. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: ‘bool operator!=(const int&)’ must have an argument of class or enumerated type
  2831. /usr/include/qt5/QtWidgets/qsizepolicy.h:127:30: error: expected constructor, destructor, or type conversion before ‘;’ token
  2832. operator QVariant() const; // implemented in qlayoutitem.cpp
  2833. ^
  2834. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:29: error: non-member function ‘int horizontalStretch()’ cannot have cv-qualifier
  2835. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  2836. ^
  2837. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
  2838. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:61: error: ‘bits’ was not declared in this scope
  2839. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  2840. ^
  2841. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2842. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:27: error: non-member function ‘int verticalStretch()’ cannot have cv-qualifier
  2843. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  2844. ^
  2845. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
  2846. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:59: error: ‘bits’ was not declared in this scope
  2847. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  2848. ^
  2849. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalStretch(int)’:
  2850. /usr/include/qt5/QtWidgets/qsizepolicy.h:131:52: error: ‘bits’ was not declared in this scope
  2851. void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
  2852. ^
  2853. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalStretch(int)’:
  2854. /usr/include/qt5/QtWidgets/qsizepolicy.h:132:50: error: ‘bits’ was not declared in this scope
  2855. void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
  2856. ^
  2857. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2858. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:33: error: non-member function ‘bool retainSizeWhenHidden()’ cannot have cv-qualifier
  2859. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  2860. ^
  2861. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
  2862. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:48: error: ‘bits’ was not declared in this scope
  2863. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  2864. ^
  2865. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setRetainSizeWhenHidden(bool)’:
  2866. /usr/include/qt5/QtWidgets/qsizepolicy.h:135:53: error: ‘bits’ was not declared in this scope
  2867. void setRetainSizeWhenHidden(bool retainSize) { bits.retainSizeWhenHidden = retainSize; }
  2868. ^
  2869. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2870. /usr/include/qt5/QtWidgets/qsizepolicy.h:140:1: error: expected unqualified-id before ‘private’
  2871. private:
  2872. ^
  2873. /usr/include/qt5/QtWidgets/qsizepolicy.h:143:5: error: ‘friend’ used outside of class
  2874. friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
  2875. ^
  2876. /usr/include/qt5/QtWidgets/qsizepolicy.h:143:41: error: expected initializer before ‘&’ token
  2877. friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
  2878. ^
  2879. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:22: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  2880. QSizePolicy(int i) : data(i) { }
  2881. ^
  2882. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(int)’:
  2883. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:26: error: only constructors take member initializers
  2884. QSizePolicy(int i) : data(i) { }
  2885. ^
  2886. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:36: warning: no return statement in function returning non-void [-Wreturn-type]
  2887. QSizePolicy(int i) : data(i) { }
  2888. ^
  2889. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2890. /usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: warning: anonymous type with no linkage used to declare variable ‘<anonymous union> <anonymous>’ with linkage [enabled by default]
  2891. };
  2892. ^
  2893. /usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: error: namespace-scope anonymous aggregates must be static
  2894. /usr/include/qt5/QtWidgets/qsizepolicy.h:161:1: error: expected declaration before ‘}’ token
  2895. };
  2896. ^
  2897. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  2898. from /usr/include/qt5/QtWidgets/qaction.h:47,
  2899. from /usr/include/qt5/QtWidgets/QAction:1,
  2900. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:13,
  2901. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  2902. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  2903. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  2904. /usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: error: variable ‘Q_WIDGETS_EXPORT QSizePolicy’ has initializer but incomplete type
  2905. class Q_WIDGETS_EXPORT QSizePolicy
  2906. ^
  2907. /usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
  2908. In file included from /usr/include/qt4/QtCore/qobject.h:47:0,
  2909. from /usr/include/qt4/QtCore/qiodevice.h:46,
  2910. from /usr/include/qt4/QtCore/qdatastream.h:46,
  2911. from /usr/include/qt4/QtCore/qmetatype.h:49,
  2912. from /usr/include/qt4/QtCore/qvariant.h:48,
  2913. from /usr/include/qt4/QtCore/QVariant:1,
  2914. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  2915. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  2916. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  2917. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  2918. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected primary-expression before ‘public’
  2919. public: \
  2920. ^
  2921. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  2922. Q_GADGET
  2923. ^
  2924. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘}’ before ‘public’
  2925. public: \
  2926. ^
  2927. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  2928. Q_GADGET
  2929. ^
  2930. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘,’ or ‘;’ before ‘public’
  2931. public: \
  2932. ^
  2933. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  2934. Q_GADGET
  2935. ^
  2936. /usr/include/qt4/QtCore/qobjectdefs.h:177:1: error: expected unqualified-id before ‘private’
  2937. private:
  2938. ^
  2939. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  2940. Q_GADGET
  2941. ^
  2942. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  2943. from /usr/include/qt5/QtWidgets/qaction.h:47,
  2944. from /usr/include/qt5/QtWidgets/QAction:1,
  2945. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:13,
  2946. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  2947. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.h:21,
  2948. from /home/denis/opt/QGIS/src/gui/raster/qgsmultibandcolorrendererwidget.cpp:18:
  2949. /usr/include/qt5/QtWidgets/qsizepolicy.h:67:19: error: ‘GrowFlag’ was not declared in this scope
  2950. Minimum = GrowFlag,
  2951. ^
  2952. /usr/include/qt5/QtWidgets/qsizepolicy.h:68:19: error: ‘ShrinkFlag’ was not declared in this scope
  2953. Maximum = ShrinkFlag,
  2954. ^
  2955. /usr/include/qt5/QtWidgets/qsizepolicy.h:69:21: error: ‘GrowFlag’ was not declared in this scope
  2956. Preferred = GrowFlag | ShrinkFlag,
  2957. ^
  2958. /usr/include/qt5/QtWidgets/qsizepolicy.h:69:32: error: ‘ShrinkFlag’ was not declared in this scope
  2959. Preferred = GrowFlag | ShrinkFlag,
  2960. ^
  2961. /usr/include/qt5/QtWidgets/qsizepolicy.h:70:28: error: ‘GrowFlag’ was not declared in this scope
  2962. MinimumExpanding = GrowFlag | ExpandFlag,
  2963. ^
  2964. /usr/include/qt5/QtWidgets/qsizepolicy.h:70:39: error: ‘ExpandFlag’ was not declared in this scope
  2965. MinimumExpanding = GrowFlag | ExpandFlag,
  2966. ^
  2967. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:21: error: ‘GrowFlag’ was not declared in this scope
  2968. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  2969. ^
  2970. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:32: error: ‘ShrinkFlag’ was not declared in this scope
  2971. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  2972. ^
  2973. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:45: error: ‘ExpandFlag’ was not declared in this scope
  2974. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  2975. ^
  2976. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:19: error: ‘ShrinkFlag’ was not declared in this scope
  2977. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  2978. ^
  2979. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:32: error: ‘GrowFlag’ was not declared in this scope
  2980. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  2981. ^
  2982. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:43: error: ‘IgnoreFlag’ was not declared in this scope
  2983. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  2984. ^
  2985. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:17: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  2986. QSizePolicy() : data(0) { }
  2987. ^
  2988. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy()’:
  2989. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:21: error: only constructors take member initializers
  2990. QSizePolicy() : data(0) { }
  2991. ^
  2992. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:31: warning: no return statement in function returning non-void [-Wreturn-type]
  2993. QSizePolicy() : data(0) { }
  2994. ^
  2995. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  2996. /usr/include/qt5/QtWidgets/qsizepolicy.h:97:83: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  2997. QSizePolicy(Policy horizontal, Policy vertical, ControlType type = DefaultType)
  2998. ^
  2999. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(Policy, Policy, ControlType)’:
  3000. /usr/include/qt5/QtWidgets/qsizepolicy.h:98:11: error: only constructors take member initializers
  3001. : data(0) {
  3002. ^
  3003. /usr/include/qt5/QtWidgets/qsizepolicy.h:99:9: error: ‘bits’ was not declared in this scope
  3004. bits.horPolicy = horizontal;
  3005. ^
  3006. /usr/include/qt5/QtWidgets/qsizepolicy.h:101:28: error: ‘setControlType’ was not declared in this scope
  3007. setControlType(type);
  3008. ^
  3009. /usr/include/qt5/QtWidgets/qsizepolicy.h:102:5: warning: no return statement in function returning non-void [-Wreturn-type]
  3010. }
  3011. ^
  3012. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3013. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:31: error: non-member function ‘Policy horizontalPolicy()’ cannot have cv-qualifier
  3014. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  3015. ^
  3016. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
  3017. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:66: error: ‘bits’ was not declared in this scope
  3018. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  3019. ^
  3020. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3021. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:29: error: non-member function ‘Policy verticalPolicy()’ cannot have cv-qualifier
  3022. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  3023. ^
  3024. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
  3025. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:64: error: ‘bits’ was not declared in this scope
  3026. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  3027. ^
  3028. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3029. /usr/include/qt5/QtWidgets/qsizepolicy.h:105:31: error: non-member function ‘ControlType controlType()’ cannot have cv-qualifier
  3030. ControlType controlType() const;
  3031. ^
  3032. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalPolicy(Policy)’:
  3033. /usr/include/qt5/QtWidgets/qsizepolicy.h:107:42: error: ‘bits’ was not declared in this scope
  3034. void setHorizontalPolicy(Policy d) { bits.horPolicy = d; }
  3035. ^
  3036. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalPolicy(Policy)’:
  3037. /usr/include/qt5/QtWidgets/qsizepolicy.h:108:40: error: ‘bits’ was not declared in this scope
  3038. void setVerticalPolicy(Policy d) { bits.verPolicy = d; }
  3039. ^
  3040. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3041. /usr/include/qt5/QtWidgets/qsizepolicy.h:111:44: error: non-member function ‘Qt::Orientations expandingDirections()’ cannot have cv-qualifier
  3042. Qt::Orientations expandingDirections() const {
  3043. ^
  3044. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Qt::Orientations expandingDirections()’:
  3045. /usr/include/qt5/QtWidgets/qsizepolicy.h:113:32: error: ‘ExpandFlag’ was not declared in this scope
  3046. if (verticalPolicy() & ExpandFlag)
  3047. ^
  3048. /usr/include/qt5/QtWidgets/qsizepolicy.h:115:34: error: ‘ExpandFlag’ was not declared in this scope
  3049. if (horizontalPolicy() & ExpandFlag)
  3050. ^
  3051. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHeightForWidth(bool)’:
  3052. /usr/include/qt5/QtWidgets/qsizepolicy.h:120:38: error: ‘bits’ was not declared in this scope
  3053. void setHeightForWidth(bool b) { bits.hfw = b; }
  3054. ^
  3055. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3056. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:30: error: non-member function ‘bool hasHeightForWidth()’ cannot have cv-qualifier
  3057. bool hasHeightForWidth() const { return bits.hfw; }
  3058. ^
  3059. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
  3060. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:45: error: ‘bits’ was not declared in this scope
  3061. bool hasHeightForWidth() const { return bits.hfw; }
  3062. ^
  3063. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setWidthForHeight(bool)’:
  3064. /usr/include/qt5/QtWidgets/qsizepolicy.h:122:38: error: ‘bits’ was not declared in this scope
  3065. void setWidthForHeight(bool b) { bits.wfh = b; }
  3066. ^
  3067. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3068. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:30: error: non-member function ‘bool hasWidthForHeight()’ cannot have cv-qualifier
  3069. bool hasWidthForHeight() const { return bits.wfh; }
  3070. ^
  3071. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
  3072. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:45: error: ‘bits’ was not declared in this scope
  3073. bool hasWidthForHeight() const { return bits.wfh; }
  3074. ^
  3075. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3076. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:27: error: ‘QSizePolicy’ does not name a type
  3077. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  3078. ^
  3079. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
  3080. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  3081. ^
  3082. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: non-member function ‘bool operator==(const int&)’ cannot have cv-qualifier
  3083. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  3084. ^
  3085. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: ‘bool operator==(const int&)’ must have an argument of class or enumerated type
  3086. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:27: error: ‘QSizePolicy’ does not name a type
  3087. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  3088. ^
  3089. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
  3090. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  3091. ^
  3092. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: non-member function ‘bool operator!=(const int&)’ cannot have cv-qualifier
  3093. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  3094. ^
  3095. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: ‘bool operator!=(const int&)’ must have an argument of class or enumerated type
  3096. /usr/include/qt5/QtWidgets/qsizepolicy.h:127:30: error: expected constructor, destructor, or type conversion before ‘;’ token
  3097. operator QVariant() const; // implemented in qlayoutitem.cpp
  3098. ^
  3099. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:29: error: non-member function ‘int horizontalStretch()’ cannot have cv-qualifier
  3100. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  3101. ^
  3102. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
  3103. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:61: error: ‘bits’ was not declared in this scope
  3104. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  3105. ^
  3106. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3107. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:27: error: non-member function ‘int verticalStretch()’ cannot have cv-qualifier
  3108. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  3109. ^
  3110. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
  3111. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:59: error: ‘bits’ was not declared in this scope
  3112. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  3113. ^
  3114. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalStretch(int)’:
  3115. /usr/include/qt5/QtWidgets/qsizepolicy.h:131:52: error: ‘bits’ was not declared in this scope
  3116. void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
  3117. ^
  3118. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalStretch(int)’:
  3119. /usr/include/qt5/QtWidgets/qsizepolicy.h:132:50: error: ‘bits’ was not declared in this scope
  3120. void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
  3121. ^
  3122. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3123. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:33: error: non-member function ‘bool retainSizeWhenHidden()’ cannot have cv-qualifier
  3124. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  3125. ^
  3126. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
  3127. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:48: error: ‘bits’ was not declared in this scope
  3128. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  3129. ^
  3130. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setRetainSizeWhenHidden(bool)’:
  3131. /usr/include/qt5/QtWidgets/qsizepolicy.h:135:53: error: ‘bits’ was not declared in this scope
  3132. void setRetainSizeWhenHidden(bool retainSize) { bits.retainSizeWhenHidden = retainSize; }
  3133. ^
  3134. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3135. /usr/include/qt5/QtWidgets/qsizepolicy.h:140:1: error: expected unqualified-id before ‘private’
  3136. private:
  3137. ^
  3138. /usr/include/qt5/QtWidgets/qsizepolicy.h:143:5: error: ‘friend’ used outside of class
  3139. friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
  3140. ^
  3141. /usr/include/qt5/QtWidgets/qsizepolicy.h:143:41: error: expected initializer before ‘&’ token
  3142. friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
  3143. ^
  3144. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:22: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  3145. QSizePolicy(int i) : data(i) { }
  3146. ^
  3147. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(int)’:
  3148. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:26: error: only constructors take member initializers
  3149. QSizePolicy(int i) : data(i) { }
  3150. ^
  3151. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:36: warning: no return statement in function returning non-void [-Wreturn-type]
  3152. QSizePolicy(int i) : data(i) { }
  3153. ^
  3154. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3155. /usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: warning: anonymous type with no linkage used to declare variable ‘<anonymous union> <anonymous>’ with linkage [enabled by default]
  3156. };
  3157. ^
  3158. /usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: error: namespace-scope anonymous aggregates must be static
  3159. /usr/include/qt5/QtWidgets/qsizepolicy.h:161:1: error: expected declaration before ‘}’ token
  3160. };
  3161. ^
  3162. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
  3163. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:83: warning: control reaches end of non-void function [-Wreturn-type]
  3164. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  3165. ^
  3166. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
  3167. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:81: warning: control reaches end of non-void function [-Wreturn-type]
  3168. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  3169. ^
  3170. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
  3171. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:55: warning: control reaches end of non-void function [-Wreturn-type]
  3172. bool hasHeightForWidth() const { return bits.hfw; }
  3173. ^
  3174. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
  3175. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:55: warning: control reaches end of non-void function [-Wreturn-type]
  3176. bool hasWidthForHeight() const { return bits.wfh; }
  3177. ^
  3178. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
  3179. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:79: warning: control reaches end of non-void function [-Wreturn-type]
  3180. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  3181. ^
  3182. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
  3183. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:77: warning: control reaches end of non-void function [-Wreturn-type]
  3184. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  3185. ^
  3186. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
  3187. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:75: warning: control reaches end of non-void function [-Wreturn-type]
  3188. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  3189. ^
  3190. make[2]: *** [src/gui/CMakeFiles/qgis_gui.dir/raster/qgssinglebandgrayrendererwidget.cpp.o] Error 1
  3191. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
  3192. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:83: warning: control reaches end of non-void function [-Wreturn-type]
  3193. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  3194. ^
  3195. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
  3196. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:81: warning: control reaches end of non-void function [-Wreturn-type]
  3197. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  3198. ^
  3199. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
  3200. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:55: warning: control reaches end of non-void function [-Wreturn-type]
  3201. bool hasHeightForWidth() const { return bits.hfw; }
  3202. ^
  3203. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
  3204. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:55: warning: control reaches end of non-void function [-Wreturn-type]
  3205. bool hasWidthForHeight() const { return bits.wfh; }
  3206. ^
  3207. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
  3208. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:79: warning: control reaches end of non-void function [-Wreturn-type]
  3209. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  3210. ^
  3211. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
  3212. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:77: warning: control reaches end of non-void function [-Wreturn-type]
  3213. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  3214. ^
  3215. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
  3216. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:75: warning: control reaches end of non-void function [-Wreturn-type]
  3217. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  3218. ^
  3219. make[2]: *** [src/gui/CMakeFiles/qgis_gui.dir/raster/qgsmultibandcolorrendererwidget.cpp.o] Error 1
  3220. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  3221. from /usr/include/qt5/QtWidgets/qaction.h:47,
  3222. from /usr/include/qt5/QtWidgets/QAction:1,
  3223. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:13,
  3224. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  3225. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  3226. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  3227. /usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: error: variable ‘Q_WIDGETS_EXPORT QSizePolicy’ has initializer but incomplete type
  3228. class Q_WIDGETS_EXPORT QSizePolicy
  3229. ^
  3230. /usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
  3231. In file included from /usr/include/qt4/QtCore/qobject.h:47:0,
  3232. from /usr/include/qt4/QtCore/qiodevice.h:46,
  3233. from /usr/include/qt4/QtCore/qdatastream.h:46,
  3234. from /usr/include/qt4/QtCore/qmetatype.h:49,
  3235. from /usr/include/qt4/QtCore/qvariant.h:48,
  3236. from /usr/include/qt4/QtCore/QVariant:1,
  3237. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:12,
  3238. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  3239. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  3240. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  3241. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected primary-expression before ‘public’
  3242. public: \
  3243. ^
  3244. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  3245. Q_GADGET
  3246. ^
  3247. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘}’ before ‘public’
  3248. public: \
  3249. ^
  3250. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  3251. Q_GADGET
  3252. ^
  3253. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘,’ or ‘;’ before ‘public’
  3254. public: \
  3255. ^
  3256. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  3257. Q_GADGET
  3258. ^
  3259. /usr/include/qt4/QtCore/qobjectdefs.h:177:1: error: expected unqualified-id before ‘private’
  3260. private:
  3261. ^
  3262. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  3263. Q_GADGET
  3264. ^
  3265. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  3266. from /usr/include/qt5/QtWidgets/qaction.h:47,
  3267. from /usr/include/qt5/QtWidgets/QAction:1,
  3268. from /home/denis/opt/QGIS/build-qt5/src/gui/../ui/ui_qgsrasterminmaxwidgetbase.h:13,
  3269. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.h:21,
  3270. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.h:21,
  3271. from /home/denis/opt/QGIS/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp:18:
  3272. /usr/include/qt5/QtWidgets/qsizepolicy.h:67:19: error: ‘GrowFlag’ was not declared in this scope
  3273. Minimum = GrowFlag,
  3274. ^
  3275. /usr/include/qt5/QtWidgets/qsizepolicy.h:68:19: error: ‘ShrinkFlag’ was not declared in this scope
  3276. Maximum = ShrinkFlag,
  3277. ^
  3278. /usr/include/qt5/QtWidgets/qsizepolicy.h:69:21: error: ‘GrowFlag’ was not declared in this scope
  3279. Preferred = GrowFlag | ShrinkFlag,
  3280. ^
  3281. /usr/include/qt5/QtWidgets/qsizepolicy.h:69:32: error: ‘ShrinkFlag’ was not declared in this scope
  3282. Preferred = GrowFlag | ShrinkFlag,
  3283. ^
  3284. /usr/include/qt5/QtWidgets/qsizepolicy.h:70:28: error: ‘GrowFlag’ was not declared in this scope
  3285. MinimumExpanding = GrowFlag | ExpandFlag,
  3286. ^
  3287. /usr/include/qt5/QtWidgets/qsizepolicy.h:70:39: error: ‘ExpandFlag’ was not declared in this scope
  3288. MinimumExpanding = GrowFlag | ExpandFlag,
  3289. ^
  3290. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:21: error: ‘GrowFlag’ was not declared in this scope
  3291. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  3292. ^
  3293. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:32: error: ‘ShrinkFlag’ was not declared in this scope
  3294. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  3295. ^
  3296. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:45: error: ‘ExpandFlag’ was not declared in this scope
  3297. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  3298. ^
  3299. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:19: error: ‘ShrinkFlag’ was not declared in this scope
  3300. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  3301. ^
  3302. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:32: error: ‘GrowFlag’ was not declared in this scope
  3303. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  3304. ^
  3305. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:43: error: ‘IgnoreFlag’ was not declared in this scope
  3306. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  3307. ^
  3308. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:17: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  3309. QSizePolicy() : data(0) { }
  3310. ^
  3311. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy()’:
  3312. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:21: error: only constructors take member initializers
  3313. QSizePolicy() : data(0) { }
  3314. ^
  3315. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:31: warning: no return statement in function returning non-void [-Wreturn-type]
  3316. QSizePolicy() : data(0) { }
  3317. ^
  3318. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3319. /usr/include/qt5/QtWidgets/qsizepolicy.h:97:83: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  3320. QSizePolicy(Policy horizontal, Policy vertical, ControlType type = DefaultType)
  3321. ^
  3322. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(Policy, Policy, ControlType)’:
  3323. /usr/include/qt5/QtWidgets/qsizepolicy.h:98:11: error: only constructors take member initializers
  3324. : data(0) {
  3325. ^
  3326. /usr/include/qt5/QtWidgets/qsizepolicy.h:99:9: error: ‘bits’ was not declared in this scope
  3327. bits.horPolicy = horizontal;
  3328. ^
  3329. /usr/include/qt5/QtWidgets/qsizepolicy.h:101:28: error: ‘setControlType’ was not declared in this scope
  3330. setControlType(type);
  3331. ^
  3332. /usr/include/qt5/QtWidgets/qsizepolicy.h:102:5: warning: no return statement in function returning non-void [-Wreturn-type]
  3333. }
  3334. ^
  3335. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3336. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:31: error: non-member function ‘Policy horizontalPolicy()’ cannot have cv-qualifier
  3337. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  3338. ^
  3339. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
  3340. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:66: error: ‘bits’ was not declared in this scope
  3341. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  3342. ^
  3343. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3344. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:29: error: non-member function ‘Policy verticalPolicy()’ cannot have cv-qualifier
  3345. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  3346. ^
  3347. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
  3348. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:64: error: ‘bits’ was not declared in this scope
  3349. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  3350. ^
  3351. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3352. /usr/include/qt5/QtWidgets/qsizepolicy.h:105:31: error: non-member function ‘ControlType controlType()’ cannot have cv-qualifier
  3353. ControlType controlType() const;
  3354. ^
  3355. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalPolicy(Policy)’:
  3356. /usr/include/qt5/QtWidgets/qsizepolicy.h:107:42: error: ‘bits’ was not declared in this scope
  3357. void setHorizontalPolicy(Policy d) { bits.horPolicy = d; }
  3358. ^
  3359. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalPolicy(Policy)’:
  3360. /usr/include/qt5/QtWidgets/qsizepolicy.h:108:40: error: ‘bits’ was not declared in this scope
  3361. void setVerticalPolicy(Policy d) { bits.verPolicy = d; }
  3362. ^
  3363. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3364. /usr/include/qt5/QtWidgets/qsizepolicy.h:111:44: error: non-member function ‘Qt::Orientations expandingDirections()’ cannot have cv-qualifier
  3365. Qt::Orientations expandingDirections() const {
  3366. ^
  3367. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Qt::Orientations expandingDirections()’:
  3368. /usr/include/qt5/QtWidgets/qsizepolicy.h:113:32: error: ‘ExpandFlag’ was not declared in this scope
  3369. if (verticalPolicy() & ExpandFlag)
  3370. ^
  3371. /usr/include/qt5/QtWidgets/qsizepolicy.h:115:34: error: ‘ExpandFlag’ was not declared in this scope
  3372. if (horizontalPolicy() & ExpandFlag)
  3373. ^
  3374. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHeightForWidth(bool)’:
  3375. /usr/include/qt5/QtWidgets/qsizepolicy.h:120:38: error: ‘bits’ was not declared in this scope
  3376. void setHeightForWidth(bool b) { bits.hfw = b; }
  3377. ^
  3378. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3379. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:30: error: non-member function ‘bool hasHeightForWidth()’ cannot have cv-qualifier
  3380. bool hasHeightForWidth() const { return bits.hfw; }
  3381. ^
  3382. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
  3383. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:45: error: ‘bits’ was not declared in this scope
  3384. bool hasHeightForWidth() const { return bits.hfw; }
  3385. ^
  3386. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setWidthForHeight(bool)’:
  3387. /usr/include/qt5/QtWidgets/qsizepolicy.h:122:38: error: ‘bits’ was not declared in this scope
  3388. void setWidthForHeight(bool b) { bits.wfh = b; }
  3389. ^
  3390. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3391. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:30: error: non-member function ‘bool hasWidthForHeight()’ cannot have cv-qualifier
  3392. bool hasWidthForHeight() const { return bits.wfh; }
  3393. ^
  3394. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
  3395. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:45: error: ‘bits’ was not declared in this scope
  3396. bool hasWidthForHeight() const { return bits.wfh; }
  3397. ^
  3398. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3399. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:27: error: ‘QSizePolicy’ does not name a type
  3400. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  3401. ^
  3402. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
  3403. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  3404. ^
  3405. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: non-member function ‘bool operator==(const int&)’ cannot have cv-qualifier
  3406. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  3407. ^
  3408. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: ‘bool operator==(const int&)’ must have an argument of class or enumerated type
  3409. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:27: error: ‘QSizePolicy’ does not name a type
  3410. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  3411. ^
  3412. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
  3413. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  3414. ^
  3415. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: non-member function ‘bool operator!=(const int&)’ cannot have cv-qualifier
  3416. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  3417. ^
  3418. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: ‘bool operator!=(const int&)’ must have an argument of class or enumerated type
  3419. /usr/include/qt5/QtWidgets/qsizepolicy.h:127:30: error: expected constructor, destructor, or type conversion before ‘;’ token
  3420. operator QVariant() const; // implemented in qlayoutitem.cpp
  3421. ^
  3422. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:29: error: non-member function ‘int horizontalStretch()’ cannot have cv-qualifier
  3423. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  3424. ^
  3425. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
  3426. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:61: error: ‘bits’ was not declared in this scope
  3427. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  3428. ^
  3429. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3430. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:27: error: non-member function ‘int verticalStretch()’ cannot have cv-qualifier
  3431. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  3432. ^
  3433. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
  3434. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:59: error: ‘bits’ was not declared in this scope
  3435. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  3436. ^
  3437. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalStretch(int)’:
  3438. /usr/include/qt5/QtWidgets/qsizepolicy.h:131:52: error: ‘bits’ was not declared in this scope
  3439. void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
  3440. ^
  3441. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalStretch(int)’:
  3442. /usr/include/qt5/QtWidgets/qsizepolicy.h:132:50: error: ‘bits’ was not declared in this scope
  3443. void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
  3444. ^
  3445. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3446. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:33: error: non-member function ‘bool retainSizeWhenHidden()’ cannot have cv-qualifier
  3447. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  3448. ^
  3449. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
  3450. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:48: error: ‘bits’ was not declared in this scope
  3451. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  3452. ^
  3453. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setRetainSizeWhenHidden(bool)’:
  3454. /usr/include/qt5/QtWidgets/qsizepolicy.h:135:53: error: ‘bits’ was not declared in this scope
  3455. void setRetainSizeWhenHidden(bool retainSize) { bits.retainSizeWhenHidden = retainSize; }
  3456. ^
  3457. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3458. /usr/include/qt5/QtWidgets/qsizepolicy.h:140:1: error: expected unqualified-id before ‘private’
  3459. private:
  3460. ^
  3461. /usr/include/qt5/QtWidgets/qsizepolicy.h:143:5: error: ‘friend’ used outside of class
  3462. friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
  3463. ^
  3464. /usr/include/qt5/QtWidgets/qsizepolicy.h:143:41: error: expected initializer before ‘&’ token
  3465. friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
  3466. ^
  3467. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:22: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  3468. QSizePolicy(int i) : data(i) { }
  3469. ^
  3470. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(int)’:
  3471. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:26: error: only constructors take member initializers
  3472. QSizePolicy(int i) : data(i) { }
  3473. ^
  3474. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:36: warning: no return statement in function returning non-void [-Wreturn-type]
  3475. QSizePolicy(int i) : data(i) { }
  3476. ^
  3477. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3478. /usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: warning: anonymous type with no linkage used to declare variable ‘<anonymous union> <anonymous>’ with linkage [enabled by default]
  3479. };
  3480. ^
  3481. /usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: error: namespace-scope anonymous aggregates must be static
  3482. /usr/include/qt5/QtWidgets/qsizepolicy.h:161:1: error: expected declaration before ‘}’ token
  3483. };
  3484. ^
  3485. In file included from /usr/include/qt5/QtWidgets/qapplication.h:56:0,
  3486. from /usr/include/qt5/QtWidgets/QApplication:1,
  3487. from /home/denis/opt/QGIS/src/gui/../core/qgsapplication.h:18,
  3488. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:18:
  3489. /usr/include/qt5/QtGui/qguiapplication.h:92:12: error: ‘QWindowList’ does not name a type
  3490. static QWindowList allWindows();
  3491. ^
  3492. /usr/include/qt5/QtGui/qguiapplication.h:93:12: error: ‘QWindowList’ does not name a type
  3493. static QWindowList topLevelWindows();
  3494. ^
  3495. /usr/include/qt5/QtGui/qguiapplication.h:145:12: error: ‘ApplicationState’ in namespace ‘Qt’ does not name a type
  3496. static Qt::ApplicationState applicationState();
  3497. ^
  3498. /usr/include/qt5/QtGui/qguiapplication.h:165:38: error: ‘Qt::ApplicationState’ has not been declared
  3499. void applicationStateChanged(Qt::ApplicationState state);
  3500. ^
  3501. In file included from /usr/include/qt5/QtWidgets/QApplication:1:0,
  3502. from /home/denis/opt/QGIS/src/gui/../core/qgsapplication.h:18,
  3503. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:18:
  3504. /usr/include/qt5/QtWidgets/qapplication.h:76:37: error: expected initializer before ‘:’ token
  3505. class Q_WIDGETS_EXPORT QApplication : public QGuiApplication
  3506. ^
  3507. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  3508. from /usr/include/qt5/QtWidgets/qdialog.h:45,
  3509. from /usr/include/qt5/QtWidgets/qmessagebox.h:45,
  3510. from /usr/include/qt5/QtWidgets/QMessageBox:1,
  3511. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:19:
  3512. /usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: error: variable ‘Q_WIDGETS_EXPORT QSizePolicy’ has initializer but incomplete type
  3513. class Q_WIDGETS_EXPORT QSizePolicy
  3514. ^
  3515. /usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
  3516. In file included from /usr/include/qt4/QtCore/qobject.h:47:0,
  3517. from /usr/include/qt5/QtCore/qsettings.h:45,
  3518. from /usr/include/qt5/QtCore/QSettings:1,
  3519. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:18:
  3520. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected primary-expression before ‘public’
  3521. public: \
  3522. ^
  3523. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  3524. Q_GADGET
  3525. ^
  3526. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘}’ before ‘public’
  3527. public: \
  3528. ^
  3529. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  3530. Q_GADGET
  3531. ^
  3532. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘,’ or ‘;’ before ‘public’
  3533. public: \
  3534. ^
  3535. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  3536. Q_GADGET
  3537. ^
  3538. /usr/include/qt4/QtCore/qobjectdefs.h:177:1: error: expected unqualified-id before ‘private’
  3539. private:
  3540. ^
  3541. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  3542. Q_GADGET
  3543. ^
  3544. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  3545. from /usr/include/qt5/QtWidgets/qdialog.h:45,
  3546. from /usr/include/qt5/QtWidgets/qmessagebox.h:45,
  3547. from /usr/include/qt5/QtWidgets/QMessageBox:1,
  3548. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterminmaxwidget.cpp:19:
  3549. /usr/include/qt5/QtWidgets/qsizepolicy.h:67:19: error: ‘GrowFlag’ was not declared in this scope
  3550. Minimum = GrowFlag,
  3551. ^
  3552. /usr/include/qt5/QtWidgets/qsizepolicy.h:68:19: error: ‘ShrinkFlag’ was not declared in this scope
  3553. Maximum = ShrinkFlag,
  3554. ^
  3555. /usr/include/qt5/QtWidgets/qsizepolicy.h:69:21: error: ‘GrowFlag’ was not declared in this scope
  3556. Preferred = GrowFlag | ShrinkFlag,
  3557. ^
  3558. /usr/include/qt5/QtWidgets/qsizepolicy.h:69:32: error: ‘ShrinkFlag’ was not declared in this scope
  3559. Preferred = GrowFlag | ShrinkFlag,
  3560. ^
  3561. /usr/include/qt5/QtWidgets/qsizepolicy.h:70:28: error: ‘GrowFlag’ was not declared in this scope
  3562. MinimumExpanding = GrowFlag | ExpandFlag,
  3563. ^
  3564. /usr/include/qt5/QtWidgets/qsizepolicy.h:70:39: error: ‘ExpandFlag’ was not declared in this scope
  3565. MinimumExpanding = GrowFlag | ExpandFlag,
  3566. ^
  3567. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:21: error: ‘GrowFlag’ was not declared in this scope
  3568. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  3569. ^
  3570. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:32: error: ‘ShrinkFlag’ was not declared in this scope
  3571. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  3572. ^
  3573. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:45: error: ‘ExpandFlag’ was not declared in this scope
  3574. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  3575. ^
  3576. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:19: error: ‘ShrinkFlag’ was not declared in this scope
  3577. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  3578. ^
  3579. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:32: error: ‘GrowFlag’ was not declared in this scope
  3580. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  3581. ^
  3582. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:43: error: ‘IgnoreFlag’ was not declared in this scope
  3583. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  3584. ^
  3585. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:17: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  3586. QSizePolicy() : data(0) { }
  3587. ^
  3588. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy()’:
  3589. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:21: error: only constructors take member initializers
  3590. QSizePolicy() : data(0) { }
  3591. ^
  3592. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:31: warning: no return statement in function returning non-void [-Wreturn-type]
  3593. QSizePolicy() : data(0) { }
  3594. ^
  3595. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3596. /usr/include/qt5/QtWidgets/qsizepolicy.h:97:83: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  3597. QSizePolicy(Policy horizontal, Policy vertical, ControlType type = DefaultType)
  3598. ^
  3599. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(Policy, Policy, ControlType)’:
  3600. /usr/include/qt5/QtWidgets/qsizepolicy.h:98:11: error: only constructors take member initializers
  3601. : data(0) {
  3602. ^
  3603. /usr/include/qt5/QtWidgets/qsizepolicy.h:99:9: error: ‘bits’ was not declared in this scope
  3604. bits.horPolicy = horizontal;
  3605. ^
  3606. /usr/include/qt5/QtWidgets/qsizepolicy.h:101:28: error: ‘setControlType’ was not declared in this scope
  3607. setControlType(type);
  3608. ^
  3609. /usr/include/qt5/QtWidgets/qsizepolicy.h:102:5: warning: no return statement in function returning non-void [-Wreturn-type]
  3610. }
  3611. ^
  3612. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3613. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:31: error: non-member function ‘Policy horizontalPolicy()’ cannot have cv-qualifier
  3614. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  3615. ^
  3616. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
  3617. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:66: error: ‘bits’ was not declared in this scope
  3618. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  3619. ^
  3620. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3621. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:29: error: non-member function ‘Policy verticalPolicy()’ cannot have cv-qualifier
  3622. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  3623. ^
  3624. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
  3625. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:64: error: ‘bits’ was not declared in this scope
  3626. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  3627. ^
  3628. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3629. /usr/include/qt5/QtWidgets/qsizepolicy.h:105:31: error: non-member function ‘ControlType controlType()’ cannot have cv-qualifier
  3630. ControlType controlType() const;
  3631. ^
  3632. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalPolicy(Policy)’:
  3633. /usr/include/qt5/QtWidgets/qsizepolicy.h:107:42: error: ‘bits’ was not declared in this scope
  3634. void setHorizontalPolicy(Policy d) { bits.horPolicy = d; }
  3635. ^
  3636. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalPolicy(Policy)’:
  3637. /usr/include/qt5/QtWidgets/qsizepolicy.h:108:40: error: ‘bits’ was not declared in this scope
  3638. void setVerticalPolicy(Policy d) { bits.verPolicy = d; }
  3639. ^
  3640. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3641. /usr/include/qt5/QtWidgets/qsizepolicy.h:111:44: error: non-member function ‘Qt::Orientations expandingDirections()’ cannot have cv-qualifier
  3642. Qt::Orientations expandingDirections() const {
  3643. ^
  3644. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Qt::Orientations expandingDirections()’:
  3645. /usr/include/qt5/QtWidgets/qsizepolicy.h:113:32: error: ‘ExpandFlag’ was not declared in this scope
  3646. if (verticalPolicy() & ExpandFlag)
  3647. ^
  3648. /usr/include/qt5/QtWidgets/qsizepolicy.h:115:34: error: ‘ExpandFlag’ was not declared in this scope
  3649. if (horizontalPolicy() & ExpandFlag)
  3650. ^
  3651. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHeightForWidth(bool)’:
  3652. /usr/include/qt5/QtWidgets/qsizepolicy.h:120:38: error: ‘bits’ was not declared in this scope
  3653. void setHeightForWidth(bool b) { bits.hfw = b; }
  3654. ^
  3655. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3656. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:30: error: non-member function ‘bool hasHeightForWidth()’ cannot have cv-qualifier
  3657. bool hasHeightForWidth() const { return bits.hfw; }
  3658. ^
  3659. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
  3660. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:45: error: ‘bits’ was not declared in this scope
  3661. bool hasHeightForWidth() const { return bits.hfw; }
  3662. ^
  3663. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setWidthForHeight(bool)’:
  3664. /usr/include/qt5/QtWidgets/qsizepolicy.h:122:38: error: ‘bits’ was not declared in this scope
  3665. void setWidthForHeight(bool b) { bits.wfh = b; }
  3666. ^
  3667. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3668. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:30: error: non-member function ‘bool hasWidthForHeight()’ cannot have cv-qualifier
  3669. bool hasWidthForHeight() const { return bits.wfh; }
  3670. ^
  3671. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
  3672. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:45: error: ‘bits’ was not declared in this scope
  3673. bool hasWidthForHeight() const { return bits.wfh; }
  3674. ^
  3675. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3676. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:27: error: ‘QSizePolicy’ does not name a type
  3677. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  3678. ^
  3679. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
  3680. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  3681. ^
  3682. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: non-member function ‘bool operator==(const int&)’ cannot have cv-qualifier
  3683. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  3684. ^
  3685. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: ‘bool operator==(const int&)’ must have an argument of class or enumerated type
  3686. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:27: error: ‘QSizePolicy’ does not name a type
  3687. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  3688. ^
  3689. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
  3690. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  3691. ^
  3692. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: non-member function ‘bool operator!=(const int&)’ cannot have cv-qualifier
  3693. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  3694. ^
  3695. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: ‘bool operator!=(const int&)’ must have an argument of class or enumerated type
  3696. /usr/include/qt5/QtWidgets/qsizepolicy.h:127:30: error: expected constructor, destructor, or type conversion before ‘;’ token
  3697. operator QVariant() const; // implemented in qlayoutitem.cpp
  3698. ^
  3699. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:29: error: non-member function ‘int horizontalStretch()’ cannot have cv-qualifier
  3700. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  3701. ^
  3702. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
  3703. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:61: error: ‘bits’ was not declared in this scope
  3704. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  3705. ^
  3706. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3707. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:27: error: non-member function ‘int verticalStretch()’ cannot have cv-qualifier
  3708. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  3709. ^
  3710. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
  3711. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:59: error: ‘bits’ was not declared in this scope
  3712. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  3713. ^
  3714. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalStretch(int)’:
  3715. /usr/include/qt5/QtWidgets/qsizepolicy.h:131:52: error: ‘bits’ was not declared in this scope
  3716. void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
  3717. ^
  3718. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalStretch(int)’:
  3719. /usr/include/qt5/QtWidgets/qsizepolicy.h:132:50: error: ‘bits’ was not declared in this scope
  3720. void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
  3721. ^
  3722. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3723. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:33: error: non-member function ‘bool retainSizeWhenHidden()’ cannot have cv-qualifier
  3724. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  3725. ^
  3726. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
  3727. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:48: error: ‘bits’ was not declared in this scope
  3728. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  3729. ^
  3730. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setRetainSizeWhenHidden(bool)’:
  3731. /usr/include/qt5/QtWidgets/qsizepolicy.h:135:53: error: ‘bits’ was not declared in this scope
  3732. void setRetainSizeWhenHidden(bool retainSize) { bits.retainSizeWhenHidden = retainSize; }
  3733. ^
  3734. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3735. /usr/include/qt5/QtWidgets/qsizepolicy.h:140:1: error: expected unqualified-id before ‘private’
  3736. private:
  3737. ^
  3738. /usr/include/qt5/QtWidgets/qsizepolicy.h:143:5: error: ‘friend’ used outside of class
  3739. friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
  3740. ^
  3741. /usr/include/qt5/QtWidgets/qsizepolicy.h:143:41: error: expected initializer before ‘&’ token
  3742. friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
  3743. ^
  3744. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:22: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  3745. QSizePolicy(int i) : data(i) { }
  3746. ^
  3747. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(int)’:
  3748. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:26: error: only constructors take member initializers
  3749. QSizePolicy(int i) : data(i) { }
  3750. ^
  3751. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:36: warning: no return statement in function returning non-void [-Wreturn-type]
  3752. QSizePolicy(int i) : data(i) { }
  3753. ^
  3754. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3755. /usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: warning: anonymous type with no linkage used to declare variable ‘<anonymous union> <anonymous>’ with linkage [enabled by default]
  3756. };
  3757. ^
  3758. /usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: error: namespace-scope anonymous aggregates must be static
  3759. /usr/include/qt5/QtWidgets/qsizepolicy.h:161:1: error: expected declaration before ‘}’ token
  3760. };
  3761. ^
  3762. make[2]: *** [src/gui/CMakeFiles/qgis_gui.dir/raster/qgsrasterhistogramwidget.cpp.o] Error 1
  3763. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  3764. from /usr/include/qt5/QtWidgets/QWidget:1,
  3765. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:23,
  3766. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  3767. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  3768. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3769. /usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: error: variable ‘Q_WIDGETS_EXPORT QSizePolicy’ has initializer but incomplete type
  3770. class Q_WIDGETS_EXPORT QSizePolicy
  3771. ^
  3772. /usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
  3773. In file included from /usr/include/qt5/QtCore/qcoreevent.h:47:0,
  3774. from /usr/include/qt5/QtCore/QEvent:1,
  3775. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:21,
  3776. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  3777. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  3778. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  3779. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  3780. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  3781. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected primary-expression before ‘public’
  3782. public: \
  3783. ^
  3784. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  3785. Q_GADGET
  3786. ^
  3787. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘}’ before ‘public’
  3788. public: \
  3789. ^
  3790. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  3791. Q_GADGET
  3792. ^
  3793. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘,’ or ‘;’ before ‘public’
  3794. public: \
  3795. ^
  3796. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  3797. Q_GADGET
  3798. ^
  3799. /usr/include/qt4/QtCore/qobjectdefs.h:177:1: error: expected unqualified-id before ‘private’
  3800. private:
  3801. ^
  3802. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  3803. Q_GADGET
  3804. ^
  3805. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  3806. from /usr/include/qt5/QtWidgets/QWidget:1,
  3807. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:23,
  3808. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  3809. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  3810. /usr/include/qt5/QtWidgets/qsizepolicy.h:67:19: error: ‘GrowFlag’ was not declared in this scope
  3811. Minimum = GrowFlag,
  3812. ^
  3813. /usr/include/qt5/QtWidgets/qsizepolicy.h:68:19: error: ‘ShrinkFlag’ was not declared in this scope
  3814. Maximum = ShrinkFlag,
  3815. ^
  3816. /usr/include/qt5/QtWidgets/qsizepolicy.h:69:21: error: ‘GrowFlag’ was not declared in this scope
  3817. Preferred = GrowFlag | ShrinkFlag,
  3818. ^
  3819. /usr/include/qt5/QtWidgets/qsizepolicy.h:69:32: error: ‘ShrinkFlag’ was not declared in this scope
  3820. Preferred = GrowFlag | ShrinkFlag,
  3821. ^
  3822. /usr/include/qt5/QtWidgets/qsizepolicy.h:70:28: error: ‘GrowFlag’ was not declared in this scope
  3823. MinimumExpanding = GrowFlag | ExpandFlag,
  3824. ^
  3825. /usr/include/qt5/QtWidgets/qsizepolicy.h:70:39: error: ‘ExpandFlag’ was not declared in this scope
  3826. MinimumExpanding = GrowFlag | ExpandFlag,
  3827. ^
  3828. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:21: error: ‘GrowFlag’ was not declared in this scope
  3829. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  3830. ^
  3831. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:32: error: ‘ShrinkFlag’ was not declared in this scope
  3832. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  3833. ^
  3834. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:45: error: ‘ExpandFlag’ was not declared in this scope
  3835. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  3836. ^
  3837. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:19: error: ‘ShrinkFlag’ was not declared in this scope
  3838. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  3839. ^
  3840. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:32: error: ‘GrowFlag’ was not declared in this scope
  3841. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  3842. ^
  3843. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:43: error: ‘IgnoreFlag’ was not declared in this scope
  3844. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  3845. ^
  3846. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:17: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  3847. QSizePolicy() : data(0) { }
  3848. ^
  3849. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy()’:
  3850. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:21: error: only constructors take member initializers
  3851. QSizePolicy() : data(0) { }
  3852. ^
  3853. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:31: warning: no return statement in function returning non-void [-Wreturn-type]
  3854. QSizePolicy() : data(0) { }
  3855. ^
  3856. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3857. /usr/include/qt5/QtWidgets/qsizepolicy.h:97:83: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  3858. QSizePolicy(Policy horizontal, Policy vertical, ControlType type = DefaultType)
  3859. ^
  3860. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(Policy, Policy, ControlType)’:
  3861. /usr/include/qt5/QtWidgets/qsizepolicy.h:98:11: error: only constructors take member initializers
  3862. : data(0) {
  3863. ^
  3864. /usr/include/qt5/QtWidgets/qsizepolicy.h:99:9: error: ‘bits’ was not declared in this scope
  3865. bits.horPolicy = horizontal;
  3866. ^
  3867. /usr/include/qt5/QtWidgets/qsizepolicy.h:101:28: error: ‘setControlType’ was not declared in this scope
  3868. setControlType(type);
  3869. ^
  3870. /usr/include/qt5/QtWidgets/qsizepolicy.h:102:5: warning: no return statement in function returning non-void [-Wreturn-type]
  3871. }
  3872. ^
  3873. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3874. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:31: error: non-member function ‘Policy horizontalPolicy()’ cannot have cv-qualifier
  3875. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  3876. ^
  3877. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
  3878. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:66: error: ‘bits’ was not declared in this scope
  3879. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  3880. ^
  3881. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3882. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:29: error: non-member function ‘Policy verticalPolicy()’ cannot have cv-qualifier
  3883. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  3884. ^
  3885. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
  3886. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:64: error: ‘bits’ was not declared in this scope
  3887. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  3888. ^
  3889. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3890. /usr/include/qt5/QtWidgets/qsizepolicy.h:105:31: error: non-member function ‘ControlType controlType()’ cannot have cv-qualifier
  3891. ControlType controlType() const;
  3892. ^
  3893. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalPolicy(Policy)’:
  3894. /usr/include/qt5/QtWidgets/qsizepolicy.h:107:42: error: ‘bits’ was not declared in this scope
  3895. void setHorizontalPolicy(Policy d) { bits.horPolicy = d; }
  3896. ^
  3897. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalPolicy(Policy)’:
  3898. /usr/include/qt5/QtWidgets/qsizepolicy.h:108:40: error: ‘bits’ was not declared in this scope
  3899. void setVerticalPolicy(Policy d) { bits.verPolicy = d; }
  3900. ^
  3901. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3902. /usr/include/qt5/QtWidgets/qsizepolicy.h:111:44: error: non-member function ‘Qt::Orientations expandingDirections()’ cannot have cv-qualifier
  3903. Qt::Orientations expandingDirections() const {
  3904. ^
  3905. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Qt::Orientations expandingDirections()’:
  3906. /usr/include/qt5/QtWidgets/qsizepolicy.h:113:32: error: ‘ExpandFlag’ was not declared in this scope
  3907. if (verticalPolicy() & ExpandFlag)
  3908. ^
  3909. /usr/include/qt5/QtWidgets/qsizepolicy.h:115:34: error: ‘ExpandFlag’ was not declared in this scope
  3910. if (horizontalPolicy() & ExpandFlag)
  3911. ^
  3912. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHeightForWidth(bool)’:
  3913. /usr/include/qt5/QtWidgets/qsizepolicy.h:120:38: error: ‘bits’ was not declared in this scope
  3914. void setHeightForWidth(bool b) { bits.hfw = b; }
  3915. ^
  3916. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3917. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:30: error: non-member function ‘bool hasHeightForWidth()’ cannot have cv-qualifier
  3918. bool hasHeightForWidth() const { return bits.hfw; }
  3919. ^
  3920. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
  3921. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:45: error: ‘bits’ was not declared in this scope
  3922. bool hasHeightForWidth() const { return bits.hfw; }
  3923. ^
  3924. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setWidthForHeight(bool)’:
  3925. /usr/include/qt5/QtWidgets/qsizepolicy.h:122:38: error: ‘bits’ was not declared in this scope
  3926. void setWidthForHeight(bool b) { bits.wfh = b; }
  3927. ^
  3928. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3929. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:30: error: non-member function ‘bool hasWidthForHeight()’ cannot have cv-qualifier
  3930. bool hasWidthForHeight() const { return bits.wfh; }
  3931. ^
  3932. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
  3933. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:45: error: ‘bits’ was not declared in this scope
  3934. bool hasWidthForHeight() const { return bits.wfh; }
  3935. ^
  3936. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3937. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:27: error: ‘QSizePolicy’ does not name a type
  3938. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  3939. ^
  3940. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
  3941. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  3942. ^
  3943. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: non-member function ‘bool operator==(const int&)’ cannot have cv-qualifier
  3944. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  3945. ^
  3946. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: ‘bool operator==(const int&)’ must have an argument of class or enumerated type
  3947. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:27: error: ‘QSizePolicy’ does not name a type
  3948. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  3949. ^
  3950. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
  3951. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  3952. ^
  3953. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: non-member function ‘bool operator!=(const int&)’ cannot have cv-qualifier
  3954. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  3955. ^
  3956. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: ‘bool operator!=(const int&)’ must have an argument of class or enumerated type
  3957. /usr/include/qt5/QtWidgets/qsizepolicy.h:127:30: error: expected constructor, destructor, or type conversion before ‘;’ token
  3958. operator QVariant() const; // implemented in qlayoutitem.cpp
  3959. ^
  3960. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:29: error: non-member function ‘int horizontalStretch()’ cannot have cv-qualifier
  3961. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  3962. ^
  3963. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
  3964. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:61: error: ‘bits’ was not declared in this scope
  3965. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  3966. ^
  3967. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3968. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:27: error: non-member function ‘int verticalStretch()’ cannot have cv-qualifier
  3969. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  3970. ^
  3971. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
  3972. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:59: error: ‘bits’ was not declared in this scope
  3973. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  3974. ^
  3975. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalStretch(int)’:
  3976. /usr/include/qt5/QtWidgets/qsizepolicy.h:131:52: error: ‘bits’ was not declared in this scope
  3977. void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
  3978. ^
  3979. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalStretch(int)’:
  3980. /usr/include/qt5/QtWidgets/qsizepolicy.h:132:50: error: ‘bits’ was not declared in this scope
  3981. void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
  3982. ^
  3983. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3984. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:33: error: non-member function ‘bool retainSizeWhenHidden()’ cannot have cv-qualifier
  3985. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  3986. ^
  3987. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
  3988. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:48: error: ‘bits’ was not declared in this scope
  3989. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  3990. ^
  3991. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setRetainSizeWhenHidden(bool)’:
  3992. /usr/include/qt5/QtWidgets/qsizepolicy.h:135:53: error: ‘bits’ was not declared in this scope
  3993. void setRetainSizeWhenHidden(bool retainSize) { bits.retainSizeWhenHidden = retainSize; }
  3994. ^
  3995. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  3996. /usr/include/qt5/QtWidgets/qsizepolicy.h:140:1: error: expected unqualified-id before ‘private’
  3997. private:
  3998. ^
  3999. /usr/include/qt5/QtWidgets/qsizepolicy.h:143:5: error: ‘friend’ used outside of class
  4000. friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
  4001. ^
  4002. /usr/include/qt5/QtWidgets/qsizepolicy.h:143:41: error: expected initializer before ‘&’ token
  4003. friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
  4004. ^
  4005. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:22: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  4006. QSizePolicy(int i) : data(i) { }
  4007. ^
  4008. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(int)’:
  4009. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:26: error: only constructors take member initializers
  4010. QSizePolicy(int i) : data(i) { }
  4011. ^
  4012. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:36: warning: no return statement in function returning non-void [-Wreturn-type]
  4013. QSizePolicy(int i) : data(i) { }
  4014. ^
  4015. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  4016. /usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: warning: anonymous type with no linkage used to declare variable ‘<anonymous union> <anonymous>’ with linkage [enabled by default]
  4017. };
  4018. ^
  4019. /usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: error: namespace-scope anonymous aggregates must be static
  4020. /usr/include/qt5/QtWidgets/qsizepolicy.h:161:1: error: expected declaration before ‘}’ token
  4021. };
  4022. ^
  4023. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
  4024. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:83: warning: control reaches end of non-void function [-Wreturn-type]
  4025. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  4026. ^
  4027. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
  4028. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:81: warning: control reaches end of non-void function [-Wreturn-type]
  4029. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  4030. ^
  4031. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
  4032. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:83: warning: control reaches end of non-void function [-Wreturn-type]
  4033. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  4034. ^
  4035. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
  4036. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:81: warning: control reaches end of non-void function [-Wreturn-type]
  4037. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  4038. ^
  4039. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
  4040. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:55: warning: control reaches end of non-void function [-Wreturn-type]
  4041. bool hasHeightForWidth() const { return bits.hfw; }
  4042. ^
  4043. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
  4044. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:55: warning: control reaches end of non-void function [-Wreturn-type]
  4045. bool hasWidthForHeight() const { return bits.wfh; }
  4046. ^
  4047. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
  4048. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:55: warning: control reaches end of non-void function [-Wreturn-type]
  4049. bool hasHeightForWidth() const { return bits.hfw; }
  4050. ^
  4051. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
  4052. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:55: warning: control reaches end of non-void function [-Wreturn-type]
  4053. bool hasWidthForHeight() const { return bits.wfh; }
  4054. ^
  4055. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
  4056. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:79: warning: control reaches end of non-void function [-Wreturn-type]
  4057. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  4058. ^
  4059. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
  4060. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:79: warning: control reaches end of non-void function [-Wreturn-type]
  4061. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  4062. ^
  4063. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
  4064. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:77: warning: control reaches end of non-void function [-Wreturn-type]
  4065. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  4066. ^
  4067. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
  4068. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:77: warning: control reaches end of non-void function [-Wreturn-type]
  4069. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  4070. ^
  4071. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
  4072. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:75: warning: control reaches end of non-void function [-Wreturn-type]
  4073. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  4074. ^
  4075. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
  4076. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:75: warning: control reaches end of non-void function [-Wreturn-type]
  4077. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  4078. ^
  4079. In file included from /usr/include/qt5/QtCore/QMetaType:1:0,
  4080. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:24,
  4081. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  4082. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  4083. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  4084. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  4085. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  4086. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QList<QVariant>]’:
  4087. /usr/include/qt5/QtCore/qvariant.h:710:59: required from here
  4088. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4089. Q_STATIC_ASSERT_X(QMetaTypeId2<T>::Defined, "Type is not registered, please use the Q_DECLARE_METATYPE macro to make it known to Qt's meta-object system");
  4090. ^
  4091. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QStringList]’:
  4092. /usr/include/qt5/QtCore/qvariant.h:713:58: required from here
  4093. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4094. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QMap<QString, QVariant>]’:
  4095. /usr/include/qt5/QtCore/qvariant.h:724:58: required from here
  4096. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4097. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QHash<QString, QVariant>]’:
  4098. /usr/include/qt5/QtCore/qvariant.h:727:59: required from here
  4099. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4100. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QtMetaTypePrivate::QSequentialIterableImpl]’:
  4101. /usr/include/qt5/QtCore/qvariant.h:738:175: required from here
  4102. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4103. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QtMetaTypePrivate::QAssociativeIterableImpl]’:
  4104. /usr/include/qt5/QtCore/qvariant.h:754:130: required from here
  4105. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4106. make[2]: *** [src/gui/CMakeFiles/qgis_gui.dir/raster/qgsrasterminmaxwidget.cpp.o] Error 1
  4107. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QPair<QVariant, QVariant>]’:
  4108. /usr/include/qt5/QtCore/qvariant.h:785:73: required from here
  4109. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4110. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QtMetaTypePrivate::QPairVariantInterfaceImpl]’:
  4111. /usr/include/qt5/QtCore/qvariant.h:788:131: required from here
  4112. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4113. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QVariant]’:
  4114. /usr/include/qt5/QtCore/qvariant.h:793:60: required from here
  4115. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4116. make[2]: *** [src/gui/CMakeFiles/qgis_gui.dir/raster/qgssinglebandpseudocolorrendererwidget.cpp.o] Error 1
  4117. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QString]’:
  4118. /usr/include/qt5/QtCore/qmetatype.h:969:58: required from ‘QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T*) [with T = QStringList]’
  4119. /usr/include/qt5/QtCore/qvariant.h:714:138: required from here
  4120. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4121. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  4122. from /usr/include/qt5/QtWidgets/QWidget:1,
  4123. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:23,
  4124. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  4125. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  4126. /usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: error: variable ‘Q_WIDGETS_EXPORT QSizePolicy’ has initializer but incomplete type
  4127. class Q_WIDGETS_EXPORT QSizePolicy
  4128. ^
  4129. /usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
  4130. In file included from /usr/include/qt5/QtCore/qcoreevent.h:47:0,
  4131. from /usr/include/qt5/QtCore/QEvent:1,
  4132. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:21,
  4133. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  4134. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  4135. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  4136. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  4137. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected primary-expression before ‘public’
  4138. public: \
  4139. ^
  4140. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  4141. Q_GADGET
  4142. ^
  4143. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘}’ before ‘public’
  4144. public: \
  4145. ^
  4146. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  4147. Q_GADGET
  4148. ^
  4149. /usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘,’ or ‘;’ before ‘public’
  4150. public: \
  4151. ^
  4152. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  4153. Q_GADGET
  4154. ^
  4155. /usr/include/qt4/QtCore/qobjectdefs.h:177:1: error: expected unqualified-id before ‘private’
  4156. private:
  4157. ^
  4158. /usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
  4159. Q_GADGET
  4160. ^
  4161. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  4162. from /usr/include/qt5/QtWidgets/QWidget:1,
  4163. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:23,
  4164. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  4165. /usr/include/qt5/QtWidgets/qsizepolicy.h:67:19: error: ‘GrowFlag’ was not declared in this scope
  4166. Minimum = GrowFlag,
  4167. ^
  4168. /usr/include/qt5/QtWidgets/qsizepolicy.h:68:19: error: ‘ShrinkFlag’ was not declared in this scope
  4169. Maximum = ShrinkFlag,
  4170. ^
  4171. /usr/include/qt5/QtWidgets/qsizepolicy.h:69:21: error: ‘GrowFlag’ was not declared in this scope
  4172. Preferred = GrowFlag | ShrinkFlag,
  4173. ^
  4174. /usr/include/qt5/QtWidgets/qsizepolicy.h:69:32: error: ‘ShrinkFlag’ was not declared in this scope
  4175. Preferred = GrowFlag | ShrinkFlag,
  4176. ^
  4177. /usr/include/qt5/QtWidgets/qsizepolicy.h:70:28: error: ‘GrowFlag’ was not declared in this scope
  4178. MinimumExpanding = GrowFlag | ExpandFlag,
  4179. ^
  4180. /usr/include/qt5/QtWidgets/qsizepolicy.h:70:39: error: ‘ExpandFlag’ was not declared in this scope
  4181. MinimumExpanding = GrowFlag | ExpandFlag,
  4182. ^
  4183. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:21: error: ‘GrowFlag’ was not declared in this scope
  4184. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  4185. ^
  4186. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:32: error: ‘ShrinkFlag’ was not declared in this scope
  4187. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  4188. ^
  4189. /usr/include/qt5/QtWidgets/qsizepolicy.h:71:45: error: ‘ExpandFlag’ was not declared in this scope
  4190. Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
  4191. ^
  4192. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:19: error: ‘ShrinkFlag’ was not declared in this scope
  4193. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  4194. ^
  4195. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:32: error: ‘GrowFlag’ was not declared in this scope
  4196. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  4197. ^
  4198. /usr/include/qt5/QtWidgets/qsizepolicy.h:72:43: error: ‘IgnoreFlag’ was not declared in this scope
  4199. Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
  4200. ^
  4201. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:17: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  4202. QSizePolicy() : data(0) { }
  4203. ^
  4204. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy()’:
  4205. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:21: error: only constructors take member initializers
  4206. QSizePolicy() : data(0) { }
  4207. ^
  4208. /usr/include/qt5/QtWidgets/qsizepolicy.h:94:31: warning: no return statement in function returning non-void [-Wreturn-type]
  4209. QSizePolicy() : data(0) { }
  4210. ^
  4211. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  4212. /usr/include/qt5/QtWidgets/qsizepolicy.h:97:83: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  4213. QSizePolicy(Policy horizontal, Policy vertical, ControlType type = DefaultType)
  4214. ^
  4215. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(Policy, Policy, ControlType)’:
  4216. /usr/include/qt5/QtWidgets/qsizepolicy.h:98:11: error: only constructors take member initializers
  4217. : data(0) {
  4218. ^
  4219. /usr/include/qt5/QtWidgets/qsizepolicy.h:99:9: error: ‘bits’ was not declared in this scope
  4220. bits.horPolicy = horizontal;
  4221. ^
  4222. /usr/include/qt5/QtWidgets/qsizepolicy.h:101:28: error: ‘setControlType’ was not declared in this scope
  4223. setControlType(type);
  4224. ^
  4225. /usr/include/qt5/QtWidgets/qsizepolicy.h:102:5: warning: no return statement in function returning non-void [-Wreturn-type]
  4226. }
  4227. ^
  4228. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  4229. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:31: error: non-member function ‘Policy horizontalPolicy()’ cannot have cv-qualifier
  4230. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  4231. ^
  4232. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
  4233. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:66: error: ‘bits’ was not declared in this scope
  4234. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  4235. ^
  4236. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  4237. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:29: error: non-member function ‘Policy verticalPolicy()’ cannot have cv-qualifier
  4238. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  4239. ^
  4240. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
  4241. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:64: error: ‘bits’ was not declared in this scope
  4242. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  4243. ^
  4244. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  4245. /usr/include/qt5/QtWidgets/qsizepolicy.h:105:31: error: non-member function ‘ControlType controlType()’ cannot have cv-qualifier
  4246. ControlType controlType() const;
  4247. ^
  4248. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalPolicy(Policy)’:
  4249. /usr/include/qt5/QtWidgets/qsizepolicy.h:107:42: error: ‘bits’ was not declared in this scope
  4250. void setHorizontalPolicy(Policy d) { bits.horPolicy = d; }
  4251. ^
  4252. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalPolicy(Policy)’:
  4253. /usr/include/qt5/QtWidgets/qsizepolicy.h:108:40: error: ‘bits’ was not declared in this scope
  4254. void setVerticalPolicy(Policy d) { bits.verPolicy = d; }
  4255. ^
  4256. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  4257. /usr/include/qt5/QtWidgets/qsizepolicy.h:111:44: error: non-member function ‘Qt::Orientations expandingDirections()’ cannot have cv-qualifier
  4258. Qt::Orientations expandingDirections() const {
  4259. ^
  4260. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Qt::Orientations expandingDirections()’:
  4261. /usr/include/qt5/QtWidgets/qsizepolicy.h:113:32: error: ‘ExpandFlag’ was not declared in this scope
  4262. if (verticalPolicy() & ExpandFlag)
  4263. ^
  4264. /usr/include/qt5/QtWidgets/qsizepolicy.h:115:34: error: ‘ExpandFlag’ was not declared in this scope
  4265. if (horizontalPolicy() & ExpandFlag)
  4266. ^
  4267. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHeightForWidth(bool)’:
  4268. /usr/include/qt5/QtWidgets/qsizepolicy.h:120:38: error: ‘bits’ was not declared in this scope
  4269. void setHeightForWidth(bool b) { bits.hfw = b; }
  4270. ^
  4271. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  4272. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:30: error: non-member function ‘bool hasHeightForWidth()’ cannot have cv-qualifier
  4273. bool hasHeightForWidth() const { return bits.hfw; }
  4274. ^
  4275. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
  4276. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:45: error: ‘bits’ was not declared in this scope
  4277. bool hasHeightForWidth() const { return bits.hfw; }
  4278. ^
  4279. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setWidthForHeight(bool)’:
  4280. /usr/include/qt5/QtWidgets/qsizepolicy.h:122:38: error: ‘bits’ was not declared in this scope
  4281. void setWidthForHeight(bool b) { bits.wfh = b; }
  4282. ^
  4283. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  4284. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:30: error: non-member function ‘bool hasWidthForHeight()’ cannot have cv-qualifier
  4285. bool hasWidthForHeight() const { return bits.wfh; }
  4286. ^
  4287. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
  4288. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:45: error: ‘bits’ was not declared in this scope
  4289. bool hasWidthForHeight() const { return bits.wfh; }
  4290. ^
  4291. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  4292. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:27: error: ‘QSizePolicy’ does not name a type
  4293. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  4294. ^
  4295. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
  4296. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  4297. ^
  4298. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: non-member function ‘bool operator==(const int&)’ cannot have cv-qualifier
  4299. bool operator==(const QSizePolicy& s) const { return data == s.data; }
  4300. ^
  4301. /usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: ‘bool operator==(const int&)’ must have an argument of class or enumerated type
  4302. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:27: error: ‘QSizePolicy’ does not name a type
  4303. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  4304. ^
  4305. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
  4306. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  4307. ^
  4308. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: non-member function ‘bool operator!=(const int&)’ cannot have cv-qualifier
  4309. bool operator!=(const QSizePolicy& s) const { return data != s.data; }
  4310. ^
  4311. /usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: ‘bool operator!=(const int&)’ must have an argument of class or enumerated type
  4312. /usr/include/qt5/QtWidgets/qsizepolicy.h:127:30: error: expected constructor, destructor, or type conversion before ‘;’ token
  4313. operator QVariant() const; // implemented in qlayoutitem.cpp
  4314. ^
  4315. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:29: error: non-member function ‘int horizontalStretch()’ cannot have cv-qualifier
  4316. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  4317. ^
  4318. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
  4319. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:61: error: ‘bits’ was not declared in this scope
  4320. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  4321. ^
  4322. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  4323. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:27: error: non-member function ‘int verticalStretch()’ cannot have cv-qualifier
  4324. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  4325. ^
  4326. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
  4327. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:59: error: ‘bits’ was not declared in this scope
  4328. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  4329. ^
  4330. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalStretch(int)’:
  4331. /usr/include/qt5/QtWidgets/qsizepolicy.h:131:52: error: ‘bits’ was not declared in this scope
  4332. void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
  4333. ^
  4334. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalStretch(int)’:
  4335. /usr/include/qt5/QtWidgets/qsizepolicy.h:132:50: error: ‘bits’ was not declared in this scope
  4336. void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
  4337. ^
  4338. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  4339. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:33: error: non-member function ‘bool retainSizeWhenHidden()’ cannot have cv-qualifier
  4340. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  4341. ^
  4342. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
  4343. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:48: error: ‘bits’ was not declared in this scope
  4344. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  4345. ^
  4346. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setRetainSizeWhenHidden(bool)’:
  4347. /usr/include/qt5/QtWidgets/qsizepolicy.h:135:53: error: ‘bits’ was not declared in this scope
  4348. void setRetainSizeWhenHidden(bool retainSize) { bits.retainSizeWhenHidden = retainSize; }
  4349. ^
  4350. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  4351. /usr/include/qt5/QtWidgets/qsizepolicy.h:140:1: error: expected unqualified-id before ‘private’
  4352. private:
  4353. ^
  4354. /usr/include/qt5/QtWidgets/qsizepolicy.h:143:5: error: ‘friend’ used outside of class
  4355. friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
  4356. ^
  4357. /usr/include/qt5/QtWidgets/qsizepolicy.h:143:41: error: expected initializer before ‘&’ token
  4358. friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
  4359. ^
  4360. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:22: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
  4361. QSizePolicy(int i) : data(i) { }
  4362. ^
  4363. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(int)’:
  4364. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:26: error: only constructors take member initializers
  4365. QSizePolicy(int i) : data(i) { }
  4366. ^
  4367. /usr/include/qt5/QtWidgets/qsizepolicy.h:145:36: warning: no return statement in function returning non-void [-Wreturn-type]
  4368. QSizePolicy(int i) : data(i) { }
  4369. ^
  4370. /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
  4371. /usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: warning: anonymous type with no linkage used to declare variable ‘<anonymous union> <anonymous>’ with linkage [enabled by default]
  4372. };
  4373. ^
  4374. /usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: error: namespace-scope anonymous aggregates must be static
  4375. /usr/include/qt5/QtWidgets/qsizepolicy.h:161:1: error: expected declaration before ‘}’ token
  4376. };
  4377. ^
  4378. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  4379. from /usr/include/qt5/QtWidgets/QWidget:1,
  4380. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:23,
  4381. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.h:21,
  4382. from /home/denis/opt/QGIS/src/gui/raster/qgspalettedrendererwidget.cpp:18:
  4383. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
  4384. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:83: warning: control reaches end of non-void function [-Wreturn-type]
  4385. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  4386. ^
  4387. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
  4388. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:81: warning: control reaches end of non-void function [-Wreturn-type]
  4389. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  4390. ^
  4391. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
  4392. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:55: warning: control reaches end of non-void function [-Wreturn-type]
  4393. bool hasHeightForWidth() const { return bits.hfw; }
  4394. ^
  4395. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
  4396. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:55: warning: control reaches end of non-void function [-Wreturn-type]
  4397. bool hasWidthForHeight() const { return bits.wfh; }
  4398. ^
  4399. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
  4400. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:79: warning: control reaches end of non-void function [-Wreturn-type]
  4401. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  4402. ^
  4403. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
  4404. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:77: warning: control reaches end of non-void function [-Wreturn-type]
  4405. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  4406. ^
  4407. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
  4408. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:75: warning: control reaches end of non-void function [-Wreturn-type]
  4409. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
  4410. ^
  4411. In file included from /usr/include/qt5/QtCore/QMetaType:1:0,
  4412. from /home/denis/opt/QGIS/src/gui/../core/qgis.h:24,
  4413. from /home/denis/opt/QGIS/src/gui/../core/qgspoint.h:21,
  4414. from /home/denis/opt/QGIS/src/gui/../core/qgsrectangle.h:26,
  4415. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:21,
  4416. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  4417. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QList<QVariant>]’:
  4418. /usr/include/qt5/QtCore/qvariant.h:710:59: required from here
  4419. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4420. Q_STATIC_ASSERT_X(QMetaTypeId2<T>::Defined, "Type is not registered, please use the Q_DECLARE_METATYPE macro to make it known to Qt's meta-object system");
  4421. ^
  4422. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QStringList]’:
  4423. /usr/include/qt5/QtCore/qvariant.h:713:58: required from here
  4424. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4425. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QMap<QString, QVariant>]’:
  4426. /usr/include/qt5/QtCore/qvariant.h:724:58: required from here
  4427. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4428. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QHash<QString, QVariant>]’:
  4429. /usr/include/qt5/QtCore/qvariant.h:727:59: required from here
  4430. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4431. make[2]: *** [src/gui/CMakeFiles/qgis_gui.dir/raster/qgspalettedrendererwidget.cpp.o] Error 1
  4432. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QtMetaTypePrivate::QSequentialIterableImpl]’:
  4433. /usr/include/qt5/QtCore/qvariant.h:738:175: required from here
  4434. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4435. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QtMetaTypePrivate::QAssociativeIterableImpl]’:
  4436. /usr/include/qt5/QtCore/qvariant.h:754:130: required from here
  4437. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4438. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QPair<QVariant, QVariant>]’:
  4439. /usr/include/qt5/QtCore/qvariant.h:785:73: required from here
  4440. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4441. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QtMetaTypePrivate::QPairVariantInterfaceImpl]’:
  4442. /usr/include/qt5/QtCore/qvariant.h:788:131: required from here
  4443. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4444. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QVariant]’:
  4445. /usr/include/qt5/QtCore/qvariant.h:793:60: required from here
  4446. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4447. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of ‘int qMetaTypeId() [with T = QString]’:
  4448. /usr/include/qt5/QtCore/qmetatype.h:969:58: required from ‘QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T*) [with T = QStringList]’
  4449. /usr/include/qt5/QtCore/qvariant.h:714:138: required from here
  4450. /usr/include/qt5/QtCore/qmetatype.h:1638:158: error: ‘Q_STATIC_ASSERT_X’ was not declared in this scope
  4451. In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
  4452. from /usr/include/qt5/QtWidgets/QWidget:1,
  4453. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.h:23,
  4454. from /home/denis/opt/QGIS/src/gui/raster/qgsrasterrendererwidget.cpp:18:
  4455. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
  4456. /usr/include/qt5/QtWidgets/qsizepolicy.h:103:83: warning: control reaches end of non-void function [-Wreturn-type]
  4457. Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
  4458. ^
  4459. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
  4460. /usr/include/qt5/QtWidgets/qsizepolicy.h:104:81: warning: control reaches end of non-void function [-Wreturn-type]
  4461. Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
  4462. ^
  4463. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
  4464. /usr/include/qt5/QtWidgets/qsizepolicy.h:121:55: warning: control reaches end of non-void function [-Wreturn-type]
  4465. bool hasHeightForWidth() const { return bits.hfw; }
  4466. ^
  4467. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
  4468. /usr/include/qt5/QtWidgets/qsizepolicy.h:123:55: warning: control reaches end of non-void function [-Wreturn-type]
  4469. bool hasWidthForHeight() const { return bits.wfh; }
  4470. ^
  4471. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
  4472. /usr/include/qt5/QtWidgets/qsizepolicy.h:129:79: warning: control reaches end of non-void function [-Wreturn-type]
  4473. int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
  4474. ^
  4475. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
  4476. /usr/include/qt5/QtWidgets/qsizepolicy.h:130:77: warning: control reaches end of non-void function [-Wreturn-type]
  4477. int verticalStretch() const { return static_cast<int>(bits.verStretch); }
  4478. ^
  4479. /usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
  4480. /usr/include/qt5/QtWidgets/qsizepolicy.h:134:75: warning: control reaches end of non-void function [-Wreturn-type]
  4481. bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement