Guest User

clang++ compiler errors

a guest
Mar 30th, 2016
114
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. lindnefn@neon /data/scratch/lindnefn/precice (git)-[develop] % clang++ --version
  2. Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM 3.4)
  3. Target: x86_64-pc-linux-gnu
  4. Thread model: posix
  5. lindnefn@neon /data/scratch/lindnefn/precice (git)-[develop] % clang++ -o build/debug-nopetsc-nompi/tarch/configuration/ConfigurationRegistry.o -c -Wall -std=c++11 -fPIC -Wsign-compare -g3 -O0 -DDebug -DAsserts -DPRECICE_NO_PETSC -DEIGEN_INITIALIZE_MATRICES_BY_NAN -DPRECICE_NO_MPI -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -Isrc -I/usr/include -I/usr/include/python2.7 -I/usr/include/python2.7/numpy src/tarch/configuration/ConfigurationRegistry.cpp
  6. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  7. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  8. In file included from src/tarch/configuration/Configuration.h:11:
  9. In file included from src/tarch/irr/XML.h:17:
  10. In file included from src/tarch/la/Vector.h:8:
  11. In file included from src/tarch/la/VectorAssign.h:49:
  12. src/tarch/la/VectorAssign.cpph:41:3: error: unknown type name 'BOOST_PP_IIF_0'
  13. assertion( reinterpret_cast<Vector&>(*this).size()==toAssign.size() );
  14. ^
  15. src/utils/assertion.hpp:25:5: note: expanded from macro 'assertion'
  16. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  17. ^
  18. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:55: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  19. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  20. ^
  21. /usr/include/boost/preprocessor/repetition/for.hpp:27:23: note: expanded from macro 'BOOST_PP_FOR'
  22. # define BOOST_PP_FOR BOOST_PP_CAT(BOOST_PP_FOR_, BOOST_PP_AUTO_REC(BOOST_PP_FOR_P, 256))
  23. ^
  24. note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  25. /usr/include/boost/preprocessor/control/iif.hpp:18:37: note: expanded from macro 'BOOST_PP_IIF'
  26. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  27. ^
  28. /usr/include/boost/preprocessor/control/iif.hpp:25:39: note: expanded from macro 'BOOST_PP_IIF_I'
  29. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  30. ^
  31. <scratch space>:303:1: note: expanded from here
  32. BOOST_PP_IIF_0
  33. ^
  34. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  35. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  36. In file included from src/tarch/configuration/Configuration.h:11:
  37. In file included from src/tarch/irr/XML.h:17:
  38. In file included from src/tarch/la/Vector.h:8:
  39. In file included from src/tarch/la/VectorAssign.h:49:
  40. src/tarch/la/VectorAssign.cpph:41:3: error: expected ';' at end of declaration
  41. src/utils/assertion.hpp:25:64: note: expanded from macro 'assertion'
  42. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  43. ^
  44. /usr/include/boost/preprocessor/seq/seq.hpp:35:56: note: expanded from macro 'BOOST_PP_SEQ_TAIL'
  45. # define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_I seq
  46. ^
  47. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:82: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  48. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  49. ^
  50. note: (skipping 13 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  51. /usr/include/boost/preprocessor/repetition/detail/for.hpp:279:55: note: expanded from macro 'BOOST_PP_FOR_1_C'
  52. # define BOOST_PP_FOR_1_C(c, s, p, o, m) BOOST_PP_IIF(c, m, BOOST_PP_TUPLE_EAT_2)(2, s) BOOST_PP_IIF(c, BOOST_PP_FOR_2, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_EXPR_IIF(c, o)(2, s), p, o, m)
  53. ^
  54. /usr/include/boost/preprocessor/control/iif.hpp:18:52: note: expanded from macro 'BOOST_PP_IIF'
  55. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  56. ^
  57. /usr/include/boost/preprocessor/control/iif.hpp:25:56: note: expanded from macro 'BOOST_PP_IIF_I'
  58. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  59. ^
  60. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  61. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  62. In file included from src/tarch/configuration/Configuration.h:11:
  63. In file included from src/tarch/irr/XML.h:17:
  64. In file included from src/tarch/la/Vector.h:9:
  65. In file included from src/tarch/la/VectorAssignList.h:66:
  66. In file included from src/tarch/la/VectorAssignList.cpph:8:
  67. In file included from src/tarch/la/VectorOperations.h:162:
  68. src/tarch/la/VectorOperations.cpph:18:3: error: unknown type name 'BOOST_PP_IIF_0'
  69. assertion ( Traits::size(vector) > 0 );
  70. ^
  71. src/utils/assertion.hpp:25:5: note: expanded from macro 'assertion'
  72. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  73. ^
  74. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:55: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  75. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  76. ^
  77. /usr/include/boost/preprocessor/repetition/for.hpp:27:23: note: expanded from macro 'BOOST_PP_FOR'
  78. # define BOOST_PP_FOR BOOST_PP_CAT(BOOST_PP_FOR_, BOOST_PP_AUTO_REC(BOOST_PP_FOR_P, 256))
  79. ^
  80. note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  81. /usr/include/boost/preprocessor/control/iif.hpp:18:37: note: expanded from macro 'BOOST_PP_IIF'
  82. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  83. ^
  84. /usr/include/boost/preprocessor/control/iif.hpp:25:39: note: expanded from macro 'BOOST_PP_IIF_I'
  85. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  86. ^
  87. <scratch space>:79:1: note: expanded from here
  88. BOOST_PP_IIF_0
  89. ^
  90. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  91. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  92. In file included from src/tarch/configuration/Configuration.h:11:
  93. In file included from src/tarch/irr/XML.h:17:
  94. In file included from src/tarch/la/Vector.h:9:
  95. In file included from src/tarch/la/VectorAssignList.h:66:
  96. In file included from src/tarch/la/VectorAssignList.cpph:8:
  97. In file included from src/tarch/la/VectorOperations.h:162:
  98. src/tarch/la/VectorOperations.cpph:18:3: error: expected ';' at end of declaration
  99. src/utils/assertion.hpp:25:64: note: expanded from macro 'assertion'
  100. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  101. ^
  102. /usr/include/boost/preprocessor/seq/seq.hpp:35:56: note: expanded from macro 'BOOST_PP_SEQ_TAIL'
  103. # define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_I seq
  104. ^
  105. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:82: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  106. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  107. ^
  108. note: (skipping 13 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  109. /usr/include/boost/preprocessor/repetition/detail/for.hpp:279:55: note: expanded from macro 'BOOST_PP_FOR_1_C'
  110. # define BOOST_PP_FOR_1_C(c, s, p, o, m) BOOST_PP_IIF(c, m, BOOST_PP_TUPLE_EAT_2)(2, s) BOOST_PP_IIF(c, BOOST_PP_FOR_2, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_EXPR_IIF(c, o)(2, s), p, o, m)
  111. ^
  112. /usr/include/boost/preprocessor/control/iif.hpp:18:52: note: expanded from macro 'BOOST_PP_IIF'
  113. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  114. ^
  115. /usr/include/boost/preprocessor/control/iif.hpp:25:56: note: expanded from macro 'BOOST_PP_IIF_I'
  116. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  117. ^
  118. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  119. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  120. In file included from src/tarch/configuration/Configuration.h:11:
  121. In file included from src/tarch/irr/XML.h:17:
  122. In file included from src/tarch/la/Vector.h:9:
  123. In file included from src/tarch/la/VectorAssignList.h:66:
  124. In file included from src/tarch/la/VectorAssignList.cpph:8:
  125. In file included from src/tarch/la/VectorOperations.h:162:
  126. src/tarch/la/VectorOperations.cpph:32:3: error: unknown type name 'BOOST_PP_IIF_0'
  127. assertion ( Traits::size(vector) > 0 );
  128. ^
  129. src/utils/assertion.hpp:25:5: note: expanded from macro 'assertion'
  130. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  131. ^
  132. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:55: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  133. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  134. ^
  135. /usr/include/boost/preprocessor/repetition/for.hpp:27:23: note: expanded from macro 'BOOST_PP_FOR'
  136. # define BOOST_PP_FOR BOOST_PP_CAT(BOOST_PP_FOR_, BOOST_PP_AUTO_REC(BOOST_PP_FOR_P, 256))
  137. ^
  138. note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  139. /usr/include/boost/preprocessor/control/iif.hpp:18:37: note: expanded from macro 'BOOST_PP_IIF'
  140. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  141. ^
  142. /usr/include/boost/preprocessor/control/iif.hpp:25:39: note: expanded from macro 'BOOST_PP_IIF_I'
  143. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  144. ^
  145. <scratch space>:79:1: note: expanded from here
  146. BOOST_PP_IIF_0
  147. ^
  148. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  149. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  150. In file included from src/tarch/configuration/Configuration.h:11:
  151. In file included from src/tarch/irr/XML.h:17:
  152. In file included from src/tarch/la/Vector.h:9:
  153. In file included from src/tarch/la/VectorAssignList.h:66:
  154. In file included from src/tarch/la/VectorAssignList.cpph:8:
  155. In file included from src/tarch/la/VectorOperations.h:162:
  156. src/tarch/la/VectorOperations.cpph:32:3: error: expected ';' at end of declaration
  157. src/utils/assertion.hpp:25:64: note: expanded from macro 'assertion'
  158. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  159. ^
  160. /usr/include/boost/preprocessor/seq/seq.hpp:35:56: note: expanded from macro 'BOOST_PP_SEQ_TAIL'
  161. # define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_I seq
  162. ^
  163. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:82: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  164. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  165. ^
  166. note: (skipping 13 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  167. /usr/include/boost/preprocessor/repetition/detail/for.hpp:279:55: note: expanded from macro 'BOOST_PP_FOR_1_C'
  168. # define BOOST_PP_FOR_1_C(c, s, p, o, m) BOOST_PP_IIF(c, m, BOOST_PP_TUPLE_EAT_2)(2, s) BOOST_PP_IIF(c, BOOST_PP_FOR_2, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_EXPR_IIF(c, o)(2, s), p, o, m)
  169. ^
  170. /usr/include/boost/preprocessor/control/iif.hpp:18:52: note: expanded from macro 'BOOST_PP_IIF'
  171. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  172. ^
  173. /usr/include/boost/preprocessor/control/iif.hpp:25:56: note: expanded from macro 'BOOST_PP_IIF_I'
  174. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  175. ^
  176. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  177. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  178. In file included from src/tarch/configuration/Configuration.h:11:
  179. In file included from src/tarch/irr/XML.h:17:
  180. In file included from src/tarch/la/Vector.h:9:
  181. In file included from src/tarch/la/VectorAssignList.h:66:
  182. In file included from src/tarch/la/VectorAssignList.cpph:8:
  183. In file included from src/tarch/la/VectorOperations.h:162:
  184. src/tarch/la/VectorOperations.cpph:79:3: error: unknown type name 'BOOST_PP_IIF_0'
  185. assertion (TraitsA::size(vector) == TraitsB::size(result));
  186. ^
  187. src/utils/assertion.hpp:25:5: note: expanded from macro 'assertion'
  188. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  189. ^
  190. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:55: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  191. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  192. ^
  193. /usr/include/boost/preprocessor/repetition/for.hpp:27:23: note: expanded from macro 'BOOST_PP_FOR'
  194. # define BOOST_PP_FOR BOOST_PP_CAT(BOOST_PP_FOR_, BOOST_PP_AUTO_REC(BOOST_PP_FOR_P, 256))
  195. ^
  196. note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  197. /usr/include/boost/preprocessor/control/iif.hpp:18:37: note: expanded from macro 'BOOST_PP_IIF'
  198. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  199. ^
  200. /usr/include/boost/preprocessor/control/iif.hpp:25:39: note: expanded from macro 'BOOST_PP_IIF_I'
  201. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  202. ^
  203. <scratch space>:60:1: note: expanded from here
  204. BOOST_PP_IIF_0
  205. ^
  206. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  207. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  208. In file included from src/tarch/configuration/Configuration.h:11:
  209. In file included from src/tarch/irr/XML.h:17:
  210. In file included from src/tarch/la/Vector.h:9:
  211. In file included from src/tarch/la/VectorAssignList.h:66:
  212. In file included from src/tarch/la/VectorAssignList.cpph:8:
  213. In file included from src/tarch/la/VectorOperations.h:162:
  214. src/tarch/la/VectorOperations.cpph:79:3: error: expected ';' at end of declaration
  215. src/utils/assertion.hpp:25:64: note: expanded from macro 'assertion'
  216. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  217. ^
  218. /usr/include/boost/preprocessor/seq/seq.hpp:35:56: note: expanded from macro 'BOOST_PP_SEQ_TAIL'
  219. # define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_I seq
  220. ^
  221. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:82: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  222. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  223. ^
  224. note: (skipping 13 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  225. /usr/include/boost/preprocessor/repetition/detail/for.hpp:279:55: note: expanded from macro 'BOOST_PP_FOR_1_C'
  226. # define BOOST_PP_FOR_1_C(c, s, p, o, m) BOOST_PP_IIF(c, m, BOOST_PP_TUPLE_EAT_2)(2, s) BOOST_PP_IIF(c, BOOST_PP_FOR_2, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_EXPR_IIF(c, o)(2, s), p, o, m)
  227. ^
  228. /usr/include/boost/preprocessor/control/iif.hpp:18:52: note: expanded from macro 'BOOST_PP_IIF'
  229. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  230. ^
  231. /usr/include/boost/preprocessor/control/iif.hpp:25:56: note: expanded from macro 'BOOST_PP_IIF_I'
  232. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  233. ^
  234. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  235. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  236. In file included from src/tarch/configuration/Configuration.h:11:
  237. In file included from src/tarch/irr/XML.h:17:
  238. In file included from src/tarch/la/Vector.h:9:
  239. In file included from src/tarch/la/VectorAssignList.h:66:
  240. In file included from src/tarch/la/VectorAssignList.cpph:8:
  241. In file included from src/tarch/la/VectorOperations.h:162:
  242. src/tarch/la/VectorOperations.cpph:92:3: error: unknown type name 'BOOST_PP_IIF_0'
  243. assertion ( Traits::size(vector) > 0 );
  244. ^
  245. src/utils/assertion.hpp:25:5: note: expanded from macro 'assertion'
  246. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  247. ^
  248. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:55: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  249. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  250. ^
  251. /usr/include/boost/preprocessor/repetition/for.hpp:27:23: note: expanded from macro 'BOOST_PP_FOR'
  252. # define BOOST_PP_FOR BOOST_PP_CAT(BOOST_PP_FOR_, BOOST_PP_AUTO_REC(BOOST_PP_FOR_P, 256))
  253. ^
  254. note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  255. /usr/include/boost/preprocessor/control/iif.hpp:18:37: note: expanded from macro 'BOOST_PP_IIF'
  256. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  257. ^
  258. /usr/include/boost/preprocessor/control/iif.hpp:25:39: note: expanded from macro 'BOOST_PP_IIF_I'
  259. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  260. ^
  261. <scratch space>:60:1: note: expanded from here
  262. BOOST_PP_IIF_0
  263. ^
  264. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  265. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  266. In file included from src/tarch/configuration/Configuration.h:11:
  267. In file included from src/tarch/irr/XML.h:17:
  268. In file included from src/tarch/la/Vector.h:9:
  269. In file included from src/tarch/la/VectorAssignList.h:66:
  270. In file included from src/tarch/la/VectorAssignList.cpph:8:
  271. In file included from src/tarch/la/VectorOperations.h:162:
  272. src/tarch/la/VectorOperations.cpph:92:3: error: expected ';' at end of declaration
  273. src/utils/assertion.hpp:25:64: note: expanded from macro 'assertion'
  274. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  275. ^
  276. /usr/include/boost/preprocessor/seq/seq.hpp:35:56: note: expanded from macro 'BOOST_PP_SEQ_TAIL'
  277. # define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_I seq
  278. ^
  279. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:82: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  280. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  281. ^
  282. note: (skipping 13 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  283. /usr/include/boost/preprocessor/repetition/detail/for.hpp:279:55: note: expanded from macro 'BOOST_PP_FOR_1_C'
  284. # define BOOST_PP_FOR_1_C(c, s, p, o, m) BOOST_PP_IIF(c, m, BOOST_PP_TUPLE_EAT_2)(2, s) BOOST_PP_IIF(c, BOOST_PP_FOR_2, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_EXPR_IIF(c, o)(2, s), p, o, m)
  285. ^
  286. /usr/include/boost/preprocessor/control/iif.hpp:18:52: note: expanded from macro 'BOOST_PP_IIF'
  287. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  288. ^
  289. /usr/include/boost/preprocessor/control/iif.hpp:25:56: note: expanded from macro 'BOOST_PP_IIF_I'
  290. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  291. ^
  292. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  293. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  294. In file included from src/tarch/configuration/Configuration.h:11:
  295. In file included from src/tarch/irr/XML.h:17:
  296. In file included from src/tarch/la/Vector.h:9:
  297. In file included from src/tarch/la/VectorAssignList.h:66:
  298. In file included from src/tarch/la/VectorAssignList.cpph:8:
  299. In file included from src/tarch/la/VectorOperations.h:162:
  300. src/tarch/la/VectorOperations.cpph:111:3: error: use of undeclared identifier 'BOOST_PP_VARIADIC_ELEM'
  301. assertion(vectorSize > 0);
  302. ^
  303. src/utils/assertion.hpp:21:33: note: expanded from macro 'assertion'
  304. #define assertion(...) if (not (BOOST_PP_VARIADIC_ELEM(0, __VA_ARGS__))) { \
  305. ^
  306. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  307. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  308. In file included from src/tarch/configuration/Configuration.h:11:
  309. In file included from src/tarch/irr/XML.h:17:
  310. In file included from src/tarch/la/Vector.h:9:
  311. In file included from src/tarch/la/VectorAssignList.h:66:
  312. In file included from src/tarch/la/VectorAssignList.cpph:8:
  313. In file included from src/tarch/la/VectorOperations.h:162:
  314. src/tarch/la/VectorOperations.cpph:111:3: error: unknown type name 'BOOST_PP_IIF_0'
  315. src/utils/assertion.hpp:25:5: note: expanded from macro 'assertion'
  316. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  317. ^
  318. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:55: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  319. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  320. ^
  321. /usr/include/boost/preprocessor/repetition/for.hpp:27:23: note: expanded from macro 'BOOST_PP_FOR'
  322. # define BOOST_PP_FOR BOOST_PP_CAT(BOOST_PP_FOR_, BOOST_PP_AUTO_REC(BOOST_PP_FOR_P, 256))
  323. ^
  324. note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  325. /usr/include/boost/preprocessor/control/iif.hpp:18:37: note: expanded from macro 'BOOST_PP_IIF'
  326. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  327. ^
  328. /usr/include/boost/preprocessor/control/iif.hpp:25:39: note: expanded from macro 'BOOST_PP_IIF_I'
  329. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  330. ^
  331. <scratch space>:40:1: note: expanded from here
  332. BOOST_PP_IIF_0
  333. ^
  334. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  335. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  336. In file included from src/tarch/configuration/Configuration.h:11:
  337. In file included from src/tarch/irr/XML.h:17:
  338. In file included from src/tarch/la/Vector.h:9:
  339. In file included from src/tarch/la/VectorAssignList.h:66:
  340. In file included from src/tarch/la/VectorAssignList.cpph:8:
  341. In file included from src/tarch/la/VectorOperations.h:162:
  342. src/tarch/la/VectorOperations.cpph:111:3: error: expected ';' at end of declaration
  343. src/utils/assertion.hpp:25:64: note: expanded from macro 'assertion'
  344. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  345. ^
  346. /usr/include/boost/preprocessor/seq/seq.hpp:35:56: note: expanded from macro 'BOOST_PP_SEQ_TAIL'
  347. # define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_I seq
  348. ^
  349. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:82: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  350. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  351. ^
  352. note: (skipping 13 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  353. /usr/include/boost/preprocessor/repetition/detail/for.hpp:279:55: note: expanded from macro 'BOOST_PP_FOR_1_C'
  354. # define BOOST_PP_FOR_1_C(c, s, p, o, m) BOOST_PP_IIF(c, m, BOOST_PP_TUPLE_EAT_2)(2, s) BOOST_PP_IIF(c, BOOST_PP_FOR_2, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_EXPR_IIF(c, o)(2, s), p, o, m)
  355. ^
  356. /usr/include/boost/preprocessor/control/iif.hpp:18:52: note: expanded from macro 'BOOST_PP_IIF'
  357. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  358. ^
  359. /usr/include/boost/preprocessor/control/iif.hpp:25:56: note: expanded from macro 'BOOST_PP_IIF_I'
  360. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  361. ^
  362. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  363. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  364. In file included from src/tarch/configuration/Configuration.h:11:
  365. In file included from src/tarch/irr/XML.h:17:
  366. In file included from src/tarch/la/Vector.h:9:
  367. In file included from src/tarch/la/VectorAssignList.h:66:
  368. In file included from src/tarch/la/VectorAssignList.cpph:8:
  369. In file included from src/tarch/la/VectorOperations.h:162:
  370. src/tarch/la/VectorOperations.cpph:112:3: error: use of undeclared identifier 'BOOST_PP_VARIADIC_ELEM'
  371. assertion(subvectorSize > 0);
  372. ^
  373. src/utils/assertion.hpp:21:33: note: expanded from macro 'assertion'
  374. #define assertion(...) if (not (BOOST_PP_VARIADIC_ELEM(0, __VA_ARGS__))) { \
  375. ^
  376. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  377. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  378. In file included from src/tarch/configuration/Configuration.h:11:
  379. In file included from src/tarch/irr/XML.h:17:
  380. In file included from src/tarch/la/Vector.h:9:
  381. In file included from src/tarch/la/VectorAssignList.h:66:
  382. In file included from src/tarch/la/VectorAssignList.cpph:8:
  383. In file included from src/tarch/la/VectorOperations.h:162:
  384. src/tarch/la/VectorOperations.cpph:112:3: error: unknown type name 'BOOST_PP_IIF_0'
  385. src/utils/assertion.hpp:25:5: note: expanded from macro 'assertion'
  386. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  387. ^
  388. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:55: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  389. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  390. ^
  391. /usr/include/boost/preprocessor/repetition/for.hpp:27:23: note: expanded from macro 'BOOST_PP_FOR'
  392. # define BOOST_PP_FOR BOOST_PP_CAT(BOOST_PP_FOR_, BOOST_PP_AUTO_REC(BOOST_PP_FOR_P, 256))
  393. ^
  394. note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  395. /usr/include/boost/preprocessor/control/iif.hpp:18:37: note: expanded from macro 'BOOST_PP_IIF'
  396. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  397. ^
  398. /usr/include/boost/preprocessor/control/iif.hpp:25:39: note: expanded from macro 'BOOST_PP_IIF_I'
  399. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  400. ^
  401. <scratch space>:40:1: note: expanded from here
  402. BOOST_PP_IIF_0
  403. ^
  404. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  405. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  406. In file included from src/tarch/configuration/Configuration.h:11:
  407. In file included from src/tarch/irr/XML.h:17:
  408. In file included from src/tarch/la/Vector.h:9:
  409. In file included from src/tarch/la/VectorAssignList.h:66:
  410. In file included from src/tarch/la/VectorAssignList.cpph:8:
  411. In file included from src/tarch/la/VectorOperations.h:162:
  412. src/tarch/la/VectorOperations.cpph:112:3: error: expected ';' at end of declaration
  413. src/utils/assertion.hpp:25:64: note: expanded from macro 'assertion'
  414. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  415. ^
  416. /usr/include/boost/preprocessor/seq/seq.hpp:35:56: note: expanded from macro 'BOOST_PP_SEQ_TAIL'
  417. # define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_I seq
  418. ^
  419. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:82: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  420. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  421. ^
  422. note: (skipping 13 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  423. /usr/include/boost/preprocessor/repetition/detail/for.hpp:279:55: note: expanded from macro 'BOOST_PP_FOR_1_C'
  424. # define BOOST_PP_FOR_1_C(c, s, p, o, m) BOOST_PP_IIF(c, m, BOOST_PP_TUPLE_EAT_2)(2, s) BOOST_PP_IIF(c, BOOST_PP_FOR_2, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_EXPR_IIF(c, o)(2, s), p, o, m)
  425. ^
  426. /usr/include/boost/preprocessor/control/iif.hpp:18:52: note: expanded from macro 'BOOST_PP_IIF'
  427. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  428. ^
  429. /usr/include/boost/preprocessor/control/iif.hpp:25:56: note: expanded from macro 'BOOST_PP_IIF_I'
  430. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  431. ^
  432. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  433. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  434. In file included from src/tarch/configuration/Configuration.h:11:
  435. In file included from src/tarch/irr/XML.h:17:
  436. In file included from src/tarch/la/Vector.h:9:
  437. In file included from src/tarch/la/VectorAssignList.h:66:
  438. In file included from src/tarch/la/VectorAssignList.cpph:8:
  439. In file included from src/tarch/la/VectorOperations.h:162:
  440. src/tarch/la/VectorOperations.cpph:113:3: error: use of undeclared identifier 'BOOST_PP_VARIADIC_ELEM'
  441. assertion2(vectorSize % subvectorSize == 0, vectorSize, subvectorSize);
  442. ^
  443. src/utils/assertion.hpp:34:20: note: expanded from macro 'assertion2'
  444. #define assertion2 assertion
  445. ^
  446. src/utils/assertion.hpp:21:33: note: expanded from macro 'assertion'
  447. #define assertion(...) if (not (BOOST_PP_VARIADIC_ELEM(0, __VA_ARGS__))) { \
  448. ^
  449. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  450. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  451. In file included from src/tarch/configuration/Configuration.h:11:
  452. In file included from src/tarch/irr/XML.h:17:
  453. In file included from src/tarch/la/Vector.h:9:
  454. In file included from src/tarch/la/VectorAssignList.h:66:
  455. In file included from src/tarch/la/VectorAssignList.cpph:8:
  456. In file included from src/tarch/la/VectorOperations.h:162:
  457. src/tarch/la/VectorOperations.cpph:113:3: error: unknown type name 'BOOST_PP_IIF_0'
  458. src/utils/assertion.hpp:34:20: note: expanded from macro 'assertion2'
  459. #define assertion2 assertion
  460. ^
  461. src/utils/assertion.hpp:25:5: note: expanded from macro 'assertion'
  462. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  463. ^
  464. /usr/include/boost/preprocessor/seq/for_each_i.hpp:27:55: note: expanded from macro 'BOOST_PP_SEQ_FOR_EACH_I'
  465. # define BOOST_PP_SEQ_FOR_EACH_I(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil), 0), BOOST_PP_SEQ_FOR_EACH_I_P, BOOST_PP_SEQ_FOR_EACH_I_O, BOOST_PP_SEQ_FOR_EACH_I_M)
  466. ^
  467. note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  468. /usr/include/boost/preprocessor/control/iif.hpp:18:37: note: expanded from macro 'BOOST_PP_IIF'
  469. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  470. ^
  471. /usr/include/boost/preprocessor/control/iif.hpp:25:39: note: expanded from macro 'BOOST_PP_IIF_I'
  472. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  473. ^
  474. <scratch space>:22:1: note: expanded from here
  475. BOOST_PP_IIF_0
  476. ^
  477. In file included from src/tarch/configuration/ConfigurationRegistry.cpp:5:
  478. In file included from src/tarch/configuration/TopLevelConfiguration.h:11:
  479. In file included from src/tarch/configuration/Configuration.h:11:
  480. In file included from src/tarch/irr/XML.h:17:
  481. In file included from src/tarch/la/Vector.h:9:
  482. In file included from src/tarch/la/VectorAssignList.h:66:
  483. In file included from src/tarch/la/VectorAssignList.cpph:8:
  484. In file included from src/tarch/la/VectorOperations.h:162:
  485. src/tarch/la/VectorOperations.cpph:113:3: error: expected ';' at end of declaration
  486. src/utils/assertion.hpp:34:20: note: expanded from macro 'assertion2'
  487. #define assertion2 assertion
  488. ^
  489. src/utils/assertion.hpp:25:64: note: expanded from macro 'assertion'
  490. BOOST_PP_SEQ_FOR_EACH_I(PRINT_ARGUMENT,, BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))); \
  491. ^
  492. /usr/include/boost/preprocessor/seq/seq.hpp:35:56: note: expanded from macro 'BOOST_PP_SEQ_TAIL'
  493. # define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_I seq
  494. ^
  495. note: (skipping 14 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  496. /usr/include/boost/preprocessor/repetition/detail/for.hpp:279:55: note: expanded from macro 'BOOST_PP_FOR_1_C'
  497. # define BOOST_PP_FOR_1_C(c, s, p, o, m) BOOST_PP_IIF(c, m, BOOST_PP_TUPLE_EAT_2)(2, s) BOOST_PP_IIF(c, BOOST_PP_FOR_2, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_EXPR_IIF(c, o)(2, s), p, o, m)
  498. ^
  499. /usr/include/boost/preprocessor/control/iif.hpp:18:52: note: expanded from macro 'BOOST_PP_IIF'
  500. # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
  501. ^
  502. /usr/include/boost/preprocessor/control/iif.hpp:25:56: note: expanded from macro 'BOOST_PP_IIF_I'
  503. # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
  504. ^
  505. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  506. 20 errors generated.
RAW Paste Data