Guest User

Untitled

a guest
May 12th, 2023
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 85.71 KB | None | 0 0
  1. ./OCP/OCP/NCollection_tmpl.hxx:1298:85: error: expected primary-expression before ')' token
  2. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  3. | ^
  4. ./OCP/OCP/NCollection_tmpl.hxx:1298:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  5. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  6. | ^~~~~~~~
  7. ./OCP/OCP/NCollection_tmpl.hxx:1298:88: error: expected ')' before 'const'
  8. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  9. | ~ ^~~~~~
  10. | )
  11. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_Sequence(pybind11::object&, const char*)':
  12. ./OCP/OCP/NCollection_tmpl.hxx:1396:60: error: expected unqualified-id before '*' token
  13. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  14. | ^
  15. ./OCP/OCP/NCollection_tmpl.hxx:1396:61: error: expected primary-expression before ')' token
  16. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  17. | ^
  18. ./OCP/OCP/NCollection_tmpl.hxx:1396:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  19. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  20. | ^~~~~~~~
  21. ./OCP/OCP/NCollection_tmpl.hxx:1396:64: error: expected ')' before 'const'
  22. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  23. | ~ ^~~~~~
  24. | )
  25. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_List(pybind11::object&, const char*)':
  26. ./OCP/OCP/NCollection_tmpl.hxx:1521:56: error: expected unqualified-id before '*' token
  27. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  28. | ^
  29. ./OCP/OCP/NCollection_tmpl.hxx:1521:57: error: expected primary-expression before ')' token
  30. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  31. | ^
  32. ./OCP/OCP/NCollection_tmpl.hxx:1521:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  33. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  34. | ^~~~~~~~
  35. ./OCP/OCP/NCollection_tmpl.hxx:1521:60: error: expected ')' before 'const'
  36. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  37. | ~ ^~~~~~
  38. | )
  39. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_Map(pybind11::object&, const char*)':
  40. ./OCP/OCP/NCollection_tmpl.hxx:1610:67: error: expected unqualified-id before '*' token
  41. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  42. | ^
  43. ./OCP/OCP/NCollection_tmpl.hxx:1610:68: error: expected primary-expression before ')' token
  44. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  45. | ^
  46. ./OCP/OCP/NCollection_tmpl.hxx:1610:15: warning: there are no arguments to 'const_iterator' that depend on a template parameter, so a declaration of 'const_iterator' must be available [-fpermissive]
  47. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  48. | ^~~~~~~~~~~~~~
  49. ./OCP/OCP/NCollection_tmpl.hxx:1610:71: error: expected ')' before 'const'
  50. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  51. | ~ ^~~~~~
  52. | )
  53. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_DataMap(pybind11::object&, const char*)':
  54. ./OCP/OCP/NCollection_tmpl.hxx:2159:77: error: expected unqualified-id before '*' token
  55. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  56. | ^
  57. ./OCP/OCP/NCollection_tmpl.hxx:2159:78: error: expected primary-expression before ')' token
  58. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  59. | ^
  60. ./OCP/OCP/NCollection_tmpl.hxx:2159:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  61. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  62. | ^~~~~~~~
  63. ./OCP/OCP/NCollection_tmpl.hxx:2159:81: error: expected ')' before 'const'
  64. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  65. | ~ ^~~~~~
  66. | )
  67. [2/626] Building CXX object CMakeFiles/OCP.dir/AIS_pre.cpp.o
  68. FAILED: CMakeFiles/OCP.dir/AIS_pre.cpp.o
  69. /usr/lib/ccache/bin/c++ -DOCP_EXPORTS -Dkiss_fft_scalar=double -I./OCP/OCP -isystem /usr/include/opencascade -isystem /usr/include/python3.10 -isystem /usr/include/vtk -Wno-deprecated-declarations -O3 -DNDEBUG -std=gnu++17 -fPIC -fpermissive -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -MD -MT CMakeFiles/OCP.dir/AIS_pre.cpp.o -MF CMakeFiles/OCP.dir/AIS_pre.cpp.o.d -o CMakeFiles/OCP.dir/AIS_pre.cpp.o -c ./OCP/OCP/AIS_pre.cpp
  70. cc1plus: warning: /usr/lib/libclang.so: not a directory
  71. In file included from ./OCP/OCP/AIS_pre.cpp:455:
  72. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_Vector(pybind11::object&, const char*)':
  73. ./OCP/OCP/NCollection_tmpl.hxx:289:58: error: expected unqualified-id before '*' token
  74. 289 | (iterator (NCollection_Vector<TheItemType>::*)() const) &NCollection_Vector<TheItemType>::begin,
  75. | ^
  76. ./OCP/OCP/NCollection_tmpl.hxx:289:59: error: expected primary-expression before ')' token
  77. 289 | (iterator (NCollection_Vector<TheItemType>::*)() const) &NCollection_Vector<TheItemType>::begin,
  78. | ^
  79. ./OCP/OCP/NCollection_tmpl.hxx:289:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  80. 289 | (iterator (NCollection_Vector<TheItemType>::*)() const) &NCollection_Vector<TheItemType>::begin,
  81. | ^~~~~~~~
  82. ./OCP/OCP/NCollection_tmpl.hxx:289:62: error: expected ')' before 'const'
  83. 289 | (iterator (NCollection_Vector<TheItemType>::*)() const) &NCollection_Vector<TheItemType>::begin,
  84. | ~ ^~~~~~
  85. | )
  86. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_Array1(pybind11::object&, const char*)':
  87. ./OCP/OCP/NCollection_tmpl.hxx:387:58: error: expected unqualified-id before '*' token
  88. 387 | (iterator (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::begin,
  89. | ^
  90. ./OCP/OCP/NCollection_tmpl.hxx:387:59: error: expected primary-expression before ')' token
  91. 387 | (iterator (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::begin,
  92. | ^
  93. ./OCP/OCP/NCollection_tmpl.hxx:387:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  94. 387 | (iterator (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::begin,
  95. | ^~~~~~~~
  96. ./OCP/OCP/NCollection_tmpl.hxx:387:62: error: expected ')' before 'const'
  97. 387 | (iterator (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::begin,
  98. | ~ ^~~~~~
  99. | )
  100. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_EBTree(pybind11::object&, const char*)':
  101. ./OCP/OCP/NCollection_tmpl.hxx:483:21: warning: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  102. 483 | (const TreeNode & (NCollection_EBTree<TheObjType,TheBndType>::*)( const TheObjType & ) const) &NCollection_EBTree<TheObjType,TheBndType>::FindNode,
  103. | ^~~~~~~~
  104. ./OCP/OCP/NCollection_tmpl.hxx:483:15: error: expected primary-expression before 'const'
  105. 483 | (const TreeNode & (NCollection_EBTree<TheObjType,TheBndType>::*)( const TheObjType & ) const) &NCollection_EBTree<TheObjType,TheBndType>::FindNode,
  106. | ^~~~~
  107. ./OCP/OCP/NCollection_tmpl.hxx:483:15: error: expected ')' before 'const'
  108. 483 | (const TreeNode & (NCollection_EBTree<TheObjType,TheBndType>::*)( const TheObjType & ) const) &NCollection_EBTree<TheObjType,TheBndType>::FindNode,
  109. | ~^~~~~
  110. | )
  111. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_IndexedMap(pybind11::object&, const char*)':
  112. ./OCP/OCP/NCollection_tmpl.hxx:503:74: error: expected unqualified-id before '*' token
  113. 503 | (const_iterator (NCollection_IndexedMap<TheKeyType,Hasher>::*)() const) &NCollection_IndexedMap<TheKeyType,Hasher>::cbegin,
  114. | ^
  115. ./OCP/OCP/NCollection_tmpl.hxx:503:75: error: expected primary-expression before ')' token
  116. 503 | (const_iterator (NCollection_IndexedMap<TheKeyType,Hasher>::*)() const) &NCollection_IndexedMap<TheKeyType,Hasher>::cbegin,
  117. | ^
  118. ./OCP/OCP/NCollection_tmpl.hxx:503:15: warning: there are no arguments to 'const_iterator' that depend on a template parameter, so a declaration of 'const_iterator' must be available [-fpermissive]
  119. 503 | (const_iterator (NCollection_IndexedMap<TheKeyType,Hasher>::*)() const) &NCollection_IndexedMap<TheKeyType,Hasher>::cbegin,
  120. | ^~~~~~~~~~~~~~
  121. ./OCP/OCP/NCollection_tmpl.hxx:503:78: error: expected ')' before 'const'
  122. 503 | (const_iterator (NCollection_IndexedMap<TheKeyType,Hasher>::*)() const) &NCollection_IndexedMap<TheKeyType,Hasher>::cbegin,
  123. | ~ ^~~~~~
  124. | )
  125. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_UBTree(pybind11::object&, const char*)':
  126. ./OCP/OCP/NCollection_tmpl.hxx:861:32: error: expected primary-expression before '(' token
  127. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  128. | ^
  129. ./OCP/OCP/NCollection_tmpl.hxx:861:76: error: expected unqualified-id before '*' token
  130. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  131. | ^
  132. ./OCP/OCP/NCollection_tmpl.hxx:861:77: error: expected primary-expression before ')' token
  133. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  134. | ^
  135. ./OCP/OCP/NCollection_tmpl.hxx:861:80: error: 'Selector' was not declared in this scope; did you mean 'select'?
  136. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  137. | ^~~~~~~~
  138. | select
  139. ./OCP/OCP/NCollection_tmpl.hxx:861:92: error: expected primary-expression before ')' token
  140. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  141. | ^
  142. ./OCP/OCP/NCollection_tmpl.hxx:861:93: error: expected ')' before 'const'
  143. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  144. | ~ ^~~~~~
  145. | )
  146. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_StdAllocator(pybind11::object&, const char*)':
  147. ./OCP/OCP/NCollection_tmpl.hxx:985:53: error: expected unqualified-id before '*' token
  148. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  149. | ^
  150. ./OCP/OCP/NCollection_tmpl.hxx:985:54: error: expected primary-expression before ')' token
  151. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  152. | ^
  153. ./OCP/OCP/NCollection_tmpl.hxx:985:15: warning: there are no arguments to 'pointer' that depend on a template parameter, so a declaration of 'pointer' must be available [-fpermissive]
  154. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  155. | ^~~~~~~
  156. ./OCP/OCP/NCollection_tmpl.hxx:985:57: error: 'value_type' was not declared in this scope
  157. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  158. | ^~~~~~~~~~
  159. ./OCP/OCP/NCollection_tmpl.hxx:985:71: error: expected primary-expression before ')' token
  160. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  161. | ^
  162. ./OCP/OCP/NCollection_tmpl.hxx:985:72: error: expected ')' before 'const'
  163. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  164. | ~ ^~~~~~
  165. | )
  166. ./OCP/OCP/NCollection_tmpl.hxx:1007:128: error: expected ')' before ';' token
  167. 1007 | R"#(Returns an underlying NCollection_BaseAllocator instance. Returns an object specified in the constructor.)#" )
  168. | ^
  169. | )
  170. 1008 | ;
  171. | ~
  172. ./OCP/OCP/NCollection_tmpl.hxx:984:13: note: to match this '('
  173. 984 | .def("address",
  174. | ^
  175. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_IndexedDataMap(pybind11::object&, const char*)':
  176. ./OCP/OCP/NCollection_tmpl.hxx:1298:84: error: expected unqualified-id before '*' token
  177. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  178. | ^
  179. ./OCP/OCP/NCollection_tmpl.hxx:1298:85: error: expected primary-expression before ')' token
  180. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  181. | ^
  182. ./OCP/OCP/NCollection_tmpl.hxx:1298:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  183. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  184. | ^~~~~~~~
  185. ./OCP/OCP/NCollection_tmpl.hxx:1298:88: error: expected ')' before 'const'
  186. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  187. | ~ ^~~~~~
  188. | )
  189. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_Sequence(pybind11::object&, const char*)':
  190. ./OCP/OCP/NCollection_tmpl.hxx:1396:60: error: expected unqualified-id before '*' token
  191. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  192. | ^
  193. ./OCP/OCP/NCollection_tmpl.hxx:1396:61: error: expected primary-expression before ')' token
  194. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  195. | ^
  196. ./OCP/OCP/NCollection_tmpl.hxx:1396:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  197. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  198. | ^~~~~~~~
  199. ./OCP/OCP/NCollection_tmpl.hxx:1396:64: error: expected ')' before 'const'
  200. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  201. | ~ ^~~~~~
  202. | )
  203. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_List(pybind11::object&, const char*)':
  204. ./OCP/OCP/NCollection_tmpl.hxx:1521:56: error: expected unqualified-id before '*' token
  205. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  206. | ^
  207. ./OCP/OCP/NCollection_tmpl.hxx:1521:57: error: expected primary-expression before ')' token
  208. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  209. | ^
  210. ./OCP/OCP/NCollection_tmpl.hxx:1521:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  211. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  212. | ^~~~~~~~
  213. ./OCP/OCP/NCollection_tmpl.hxx:1521:60: error: expected ')' before 'const'
  214. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  215. | ~ ^~~~~~
  216. | )
  217. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_Map(pybind11::object&, const char*)':
  218. ./OCP/OCP/NCollection_tmpl.hxx:1610:67: error: expected unqualified-id before '*' token
  219. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  220. | ^
  221. ./OCP/OCP/NCollection_tmpl.hxx:1610:68: error: expected primary-expression before ')' token
  222. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  223. | ^
  224. ./OCP/OCP/NCollection_tmpl.hxx:1610:15: warning: there are no arguments to 'const_iterator' that depend on a template parameter, so a declaration of 'const_iterator' must be available [-fpermissive]
  225. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  226. | ^~~~~~~~~~~~~~
  227. ./OCP/OCP/NCollection_tmpl.hxx:1610:71: error: expected ')' before 'const'
  228. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  229. | ~ ^~~~~~
  230. | )
  231. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_DataMap(pybind11::object&, const char*)':
  232. ./OCP/OCP/NCollection_tmpl.hxx:2159:77: error: expected unqualified-id before '*' token
  233. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  234. | ^
  235. ./OCP/OCP/NCollection_tmpl.hxx:2159:78: error: expected primary-expression before ')' token
  236. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  237. | ^
  238. ./OCP/OCP/NCollection_tmpl.hxx:2159:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  239. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  240. | ^~~~~~~~
  241. ./OCP/OCP/NCollection_tmpl.hxx:2159:81: error: expected ')' before 'const'
  242. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  243. | ~ ^~~~~~
  244. | )
  245. [3/626] Building CXX object CMakeFiles/OCP.dir/AdvApprox_pre.cpp.o
  246. cc1plus: warning: /usr/lib/libclang.so: not a directory
  247. [4/626] Building CXX object CMakeFiles/OCP.dir/AdvApp2Var.cpp.o
  248. FAILED: CMakeFiles/OCP.dir/AdvApp2Var.cpp.o
  249. /usr/lib/ccache/bin/c++ -DOCP_EXPORTS -Dkiss_fft_scalar=double -I./OCP/OCP -isystem /usr/include/opencascade -isystem /usr/include/python3.10 -isystem /usr/include/vtk -Wno-deprecated-declarations -O3 -DNDEBUG -std=gnu++17 -fPIC -fpermissive -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -MD -MT CMakeFiles/OCP.dir/AdvApp2Var.cpp.o -MF CMakeFiles/OCP.dir/AdvApp2Var.cpp.o.d -o CMakeFiles/OCP.dir/AdvApp2Var.cpp.o -c ./OCP/OCP/AdvApp2Var.cpp
  250. cc1plus: warning: /usr/lib/libclang.so: not a directory
  251. In file included from ./OCP/OCP/AdvApp2Var.cpp:116:
  252. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_Vector(pybind11::object&, const char*)':
  253. ./OCP/OCP/NCollection_tmpl.hxx:289:58: error: expected unqualified-id before '*' token
  254. 289 | (iterator (NCollection_Vector<TheItemType>::*)() const) &NCollection_Vector<TheItemType>::begin,
  255. | ^
  256. ./OCP/OCP/NCollection_tmpl.hxx:289:59: error: expected primary-expression before ')' token
  257. 289 | (iterator (NCollection_Vector<TheItemType>::*)() const) &NCollection_Vector<TheItemType>::begin,
  258. | ^
  259. ./OCP/OCP/NCollection_tmpl.hxx:289:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  260. 289 | (iterator (NCollection_Vector<TheItemType>::*)() const) &NCollection_Vector<TheItemType>::begin,
  261. | ^~~~~~~~
  262. ./OCP/OCP/NCollection_tmpl.hxx:289:62: error: expected ')' before 'const'
  263. 289 | (iterator (NCollection_Vector<TheItemType>::*)() const) &NCollection_Vector<TheItemType>::begin,
  264. | ~ ^~~~~~
  265. | )
  266. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_Array1(pybind11::object&, const char*)':
  267. ./OCP/OCP/NCollection_tmpl.hxx:387:58: error: expected unqualified-id before '*' token
  268. 387 | (iterator (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::begin,
  269. | ^
  270. ./OCP/OCP/NCollection_tmpl.hxx:387:59: error: expected primary-expression before ')' token
  271. 387 | (iterator (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::begin,
  272. | ^
  273. ./OCP/OCP/NCollection_tmpl.hxx:387:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  274. 387 | (iterator (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::begin,
  275. | ^~~~~~~~
  276. ./OCP/OCP/NCollection_tmpl.hxx:387:62: error: expected ')' before 'const'
  277. 387 | (iterator (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::begin,
  278. | ~ ^~~~~~
  279. | )
  280. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_EBTree(pybind11::object&, const char*)':
  281. ./OCP/OCP/NCollection_tmpl.hxx:483:21: warning: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  282. 483 | (const TreeNode & (NCollection_EBTree<TheObjType,TheBndType>::*)( const TheObjType & ) const) &NCollection_EBTree<TheObjType,TheBndType>::FindNode,
  283. | ^~~~~~~~
  284. ./OCP/OCP/NCollection_tmpl.hxx:483:15: error: expected primary-expression before 'const'
  285. 483 | (const TreeNode & (NCollection_EBTree<TheObjType,TheBndType>::*)( const TheObjType & ) const) &NCollection_EBTree<TheObjType,TheBndType>::FindNode,
  286. | ^~~~~
  287. ./OCP/OCP/NCollection_tmpl.hxx:483:15: error: expected ')' before 'const'
  288. 483 | (const TreeNode & (NCollection_EBTree<TheObjType,TheBndType>::*)( const TheObjType & ) const) &NCollection_EBTree<TheObjType,TheBndType>::FindNode,
  289. | ~^~~~~
  290. | )
  291. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_IndexedMap(pybind11::object&, const char*)':
  292. ./OCP/OCP/NCollection_tmpl.hxx:503:74: error: expected unqualified-id before '*' token
  293. 503 | (const_iterator (NCollection_IndexedMap<TheKeyType,Hasher>::*)() const) &NCollection_IndexedMap<TheKeyType,Hasher>::cbegin,
  294. | ^
  295. ./OCP/OCP/NCollection_tmpl.hxx:503:75: error: expected primary-expression before ')' token
  296. 503 | (const_iterator (NCollection_IndexedMap<TheKeyType,Hasher>::*)() const) &NCollection_IndexedMap<TheKeyType,Hasher>::cbegin,
  297. | ^
  298. ./OCP/OCP/NCollection_tmpl.hxx:503:15: warning: there are no arguments to 'const_iterator' that depend on a template parameter, so a declaration of 'const_iterator' must be available [-fpermissive]
  299. 503 | (const_iterator (NCollection_IndexedMap<TheKeyType,Hasher>::*)() const) &NCollection_IndexedMap<TheKeyType,Hasher>::cbegin,
  300. | ^~~~~~~~~~~~~~
  301. ./OCP/OCP/NCollection_tmpl.hxx:503:78: error: expected ')' before 'const'
  302. 503 | (const_iterator (NCollection_IndexedMap<TheKeyType,Hasher>::*)() const) &NCollection_IndexedMap<TheKeyType,Hasher>::cbegin,
  303. | ~ ^~~~~~
  304. | )
  305. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_UBTree(pybind11::object&, const char*)':
  306. ./OCP/OCP/NCollection_tmpl.hxx:861:32: error: expected primary-expression before '(' token
  307. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  308. | ^
  309. ./OCP/OCP/NCollection_tmpl.hxx:861:76: error: expected unqualified-id before '*' token
  310. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  311. | ^
  312. ./OCP/OCP/NCollection_tmpl.hxx:861:77: error: expected primary-expression before ')' token
  313. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  314. | ^
  315. ./OCP/OCP/NCollection_tmpl.hxx:861:80: error: 'Selector' was not declared in this scope; did you mean 'select'?
  316. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  317. | ^~~~~~~~
  318. | select
  319. ./OCP/OCP/NCollection_tmpl.hxx:861:92: error: expected primary-expression before ')' token
  320. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  321. | ^
  322. ./OCP/OCP/NCollection_tmpl.hxx:861:93: error: expected ')' before 'const'
  323. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  324. | ~ ^~~~~~
  325. | )
  326. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_StdAllocator(pybind11::object&, const char*)':
  327. ./OCP/OCP/NCollection_tmpl.hxx:985:53: error: expected unqualified-id before '*' token
  328. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  329. | ^
  330. ./OCP/OCP/NCollection_tmpl.hxx:985:54: error: expected primary-expression before ')' token
  331. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  332. | ^
  333. ./OCP/OCP/NCollection_tmpl.hxx:985:15: warning: there are no arguments to 'pointer' that depend on a template parameter, so a declaration of 'pointer' must be available [-fpermissive]
  334. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  335. | ^~~~~~~
  336. ./OCP/OCP/NCollection_tmpl.hxx:985:57: error: 'value_type' was not declared in this scope
  337. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  338. | ^~~~~~~~~~
  339. ./OCP/OCP/NCollection_tmpl.hxx:985:71: error: expected primary-expression before ')' token
  340. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  341. | ^
  342. ./OCP/OCP/NCollection_tmpl.hxx:985:72: error: expected ')' before 'const'
  343. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  344. | ~ ^~~~~~
  345. | )
  346. ./OCP/OCP/NCollection_tmpl.hxx:1007:128: error: expected ')' before ';' token
  347. 1007 | R"#(Returns an underlying NCollection_BaseAllocator instance. Returns an object specified in the constructor.)#" )
  348. | ^
  349. | )
  350. 1008 | ;
  351. | ~
  352. ./OCP/OCP/NCollection_tmpl.hxx:984:13: note: to match this '('
  353. 984 | .def("address",
  354. | ^
  355. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_IndexedDataMap(pybind11::object&, const char*)':
  356. ./OCP/OCP/NCollection_tmpl.hxx:1298:84: error: expected unqualified-id before '*' token
  357. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  358. | ^
  359. ./OCP/OCP/NCollection_tmpl.hxx:1298:85: error: expected primary-expression before ')' token
  360. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  361. | ^
  362. ./OCP/OCP/NCollection_tmpl.hxx:1298:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  363. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  364. | ^~~~~~~~
  365. ./OCP/OCP/NCollection_tmpl.hxx:1298:88: error: expected ')' before 'const'
  366. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  367. | ~ ^~~~~~
  368. | )
  369. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_Sequence(pybind11::object&, const char*)':
  370. ./OCP/OCP/NCollection_tmpl.hxx:1396:60: error: expected unqualified-id before '*' token
  371. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  372. | ^
  373. ./OCP/OCP/NCollection_tmpl.hxx:1396:61: error: expected primary-expression before ')' token
  374. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  375. | ^
  376. ./OCP/OCP/NCollection_tmpl.hxx:1396:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  377. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  378. | ^~~~~~~~
  379. ./OCP/OCP/NCollection_tmpl.hxx:1396:64: error: expected ')' before 'const'
  380. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  381. | ~ ^~~~~~
  382. | )
  383. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_List(pybind11::object&, const char*)':
  384. ./OCP/OCP/NCollection_tmpl.hxx:1521:56: error: expected unqualified-id before '*' token
  385. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  386. | ^
  387. ./OCP/OCP/NCollection_tmpl.hxx:1521:57: error: expected primary-expression before ')' token
  388. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  389. | ^
  390. ./OCP/OCP/NCollection_tmpl.hxx:1521:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  391. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  392. | ^~~~~~~~
  393. ./OCP/OCP/NCollection_tmpl.hxx:1521:60: error: expected ')' before 'const'
  394. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  395. | ~ ^~~~~~
  396. | )
  397. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_Map(pybind11::object&, const char*)':
  398. ./OCP/OCP/NCollection_tmpl.hxx:1610:67: error: expected unqualified-id before '*' token
  399. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  400. | ^
  401. ./OCP/OCP/NCollection_tmpl.hxx:1610:68: error: expected primary-expression before ')' token
  402. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  403. | ^
  404. ./OCP/OCP/NCollection_tmpl.hxx:1610:15: warning: there are no arguments to 'const_iterator' that depend on a template parameter, so a declaration of 'const_iterator' must be available [-fpermissive]
  405. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  406. | ^~~~~~~~~~~~~~
  407. ./OCP/OCP/NCollection_tmpl.hxx:1610:71: error: expected ')' before 'const'
  408. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  409. | ~ ^~~~~~
  410. | )
  411. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_DataMap(pybind11::object&, const char*)':
  412. ./OCP/OCP/NCollection_tmpl.hxx:2159:77: error: expected unqualified-id before '*' token
  413. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  414. | ^
  415. ./OCP/OCP/NCollection_tmpl.hxx:2159:78: error: expected primary-expression before ')' token
  416. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  417. | ^
  418. ./OCP/OCP/NCollection_tmpl.hxx:2159:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  419. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  420. | ^~~~~~~~
  421. ./OCP/OCP/NCollection_tmpl.hxx:2159:81: error: expected ')' before 'const'
  422. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  423. | ~ ^~~~~~
  424. | )
  425. ./OCP/OCP/NCollection_tmpl.hxx: In instantiation of 'void register_template_NCollection_Sequence(pybind11::object&, const char*) [with TheItemType = opencascade::handle<AdvApp2Var_Node>]':
  426. ./OCP/OCP/AdvApp2Var.cpp:1885:81: required from here
  427. ./OCP/OCP/NCollection_tmpl.hxx:1396:61: error: 'iterator' was not declared in this scope
  428. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  429. | ^
  430. ./OCP/OCP/NCollection_tmpl.hxx:1396:61: note: suggested alternatives:
  431. In file included from /usr/include/c++/13.1.1/bits/stl_algobase.h:65,
  432. from /usr/include/c++/13.1.1/bits/specfun.h:43,
  433. from /usr/include/c++/13.1.1/cmath:3716,
  434. from /usr/include/c++/13.1.1/math.h:36,
  435. from /usr/include/python3.10/pyport.h:210,
  436. from /usr/include/python3.10/Python.h:50,
  437. from /usr/include/pybind11/detail/../detail/common.h:213,
  438. from /usr/include/pybind11/detail/../cast.h:13,
  439. from /usr/include/pybind11/detail/../attr.h:13,
  440. from /usr/include/pybind11/detail/class.h:12,
  441. from /usr/include/pybind11/pybind11.h:13,
  442. from ./OCP/OCP/AdvApp2Var.cpp:6:
  443. /usr/include/c++/13.1.1/bits/stl_iterator_base_types.h:127:34: note: 'std::iterator'
  444. 127 | struct _GLIBCXX17_DEPRECATED iterator
  445. | ^~~~~~~~
  446. In file included from /usr/include/pybind11/detail/../detail/type_caster_base.h:12,
  447. from /usr/include/pybind11/detail/../cast.h:15:
  448. /usr/include/pybind11/detail/../detail/../pytypes.h:1102:7: note: 'pybind11::iterator'
  449. 1102 | class iterator : public object {
  450. | ^~~~~~~~
  451. ./OCP/OCP/NCollection_tmpl.hxx: In instantiation of 'void register_template_NCollection_Sequence(pybind11::object&, const char*) [with TheItemType = opencascade::handle<AdvApp2Var_Patch>]':
  452. ./OCP/OCP/AdvApp2Var.cpp:1886:82: required from here
  453. ./OCP/OCP/NCollection_tmpl.hxx:1396:61: error: 'iterator' was not declared in this scope
  454. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  455. | ^
  456. ./OCP/OCP/NCollection_tmpl.hxx:1396:61: note: suggested alternatives:
  457. /usr/include/c++/13.1.1/bits/stl_iterator_base_types.h:127:34: note: 'std::iterator'
  458. 127 | struct _GLIBCXX17_DEPRECATED iterator
  459. | ^~~~~~~~
  460. /usr/include/pybind11/detail/../detail/../pytypes.h:1102:7: note: 'pybind11::iterator'
  461. 1102 | class iterator : public object {
  462. | ^~~~~~~~
  463. ./OCP/OCP/NCollection_tmpl.hxx: In instantiation of 'void register_template_NCollection_Sequence(pybind11::object&, const char*) [with TheItemType = NCollection_Sequence<opencascade::handle<AdvApp2Var_Iso> >]':
  464. ./OCP/OCP/AdvApp2Var.cpp:1887:61: required from here
  465. ./OCP/OCP/NCollection_tmpl.hxx:1396:61: error: 'iterator' was not declared in this scope
  466. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  467. | ^
  468. ./OCP/OCP/NCollection_tmpl.hxx:1396:61: note: suggested alternatives:
  469. /usr/include/c++/13.1.1/bits/stl_iterator_base_types.h:127:34: note: 'std::iterator'
  470. 127 | struct _GLIBCXX17_DEPRECATED iterator
  471. | ^~~~~~~~
  472. /usr/include/pybind11/detail/../detail/../pytypes.h:1102:7: note: 'pybind11::iterator'
  473. 1102 | class iterator : public object {
  474. | ^~~~~~~~
  475. ./OCP/OCP/NCollection_tmpl.hxx: In instantiation of 'void register_template_NCollection_Sequence(pybind11::object&, const char*) [with TheItemType = opencascade::handle<AdvApp2Var_Iso>]':
  476. ./OCP/OCP/AdvApp2Var.cpp:1888:80: required from here
  477. ./OCP/OCP/NCollection_tmpl.hxx:1396:61: error: 'iterator' was not declared in this scope
  478. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  479. | ^
  480. ./OCP/OCP/NCollection_tmpl.hxx:1396:61: note: suggested alternatives:
  481. /usr/include/c++/13.1.1/bits/stl_iterator_base_types.h:127:34: note: 'std::iterator'
  482. 127 | struct _GLIBCXX17_DEPRECATED iterator
  483. | ^~~~~~~~
  484. /usr/include/pybind11/detail/../detail/../pytypes.h:1102:7: note: 'pybind11::iterator'
  485. 1102 | class iterator : public object {
  486. | ^~~~~~~~
  487. [5/626] Building CXX object CMakeFiles/OCP.dir/AdvApprox.cpp.o
  488. cc1plus: warning: /usr/lib/libclang.so: not a directory
  489. [6/626] Building CXX object CMakeFiles/OCP.dir/AIS.cpp.o
  490. FAILED: CMakeFiles/OCP.dir/AIS.cpp.o
  491. /usr/lib/ccache/bin/c++ -DOCP_EXPORTS -Dkiss_fft_scalar=double -I./OCP/OCP -isystem /usr/include/opencascade -isystem /usr/include/python3.10 -isystem /usr/include/vtk -Wno-deprecated-declarations -O3 -DNDEBUG -std=gnu++17 -fPIC -fpermissive -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -MD -MT CMakeFiles/OCP.dir/AIS.cpp.o -MF CMakeFiles/OCP.dir/AIS.cpp.o.d -o CMakeFiles/OCP.dir/AIS.cpp.o -c ./OCP/OCP/AIS.cpp
  492. cc1plus: warning: /usr/lib/libclang.so: not a directory
  493. In file included from ./OCP/OCP/AIS.cpp:457:
  494. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_Vector(pybind11::object&, const char*)':
  495. ./OCP/OCP/NCollection_tmpl.hxx:289:58: error: expected unqualified-id before '*' token
  496. 289 | (iterator (NCollection_Vector<TheItemType>::*)() const) &NCollection_Vector<TheItemType>::begin,
  497. | ^
  498. ./OCP/OCP/NCollection_tmpl.hxx:289:59: error: expected primary-expression before ')' token
  499. 289 | (iterator (NCollection_Vector<TheItemType>::*)() const) &NCollection_Vector<TheItemType>::begin,
  500. | ^
  501. ./OCP/OCP/NCollection_tmpl.hxx:289:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  502. 289 | (iterator (NCollection_Vector<TheItemType>::*)() const) &NCollection_Vector<TheItemType>::begin,
  503. | ^~~~~~~~
  504. ./OCP/OCP/NCollection_tmpl.hxx:289:62: error: expected ')' before 'const'
  505. 289 | (iterator (NCollection_Vector<TheItemType>::*)() const) &NCollection_Vector<TheItemType>::begin,
  506. | ~ ^~~~~~
  507. | )
  508. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_Array1(pybind11::object&, const char*)':
  509. ./OCP/OCP/NCollection_tmpl.hxx:387:58: error: expected unqualified-id before '*' token
  510. 387 | (iterator (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::begin,
  511. | ^
  512. ./OCP/OCP/NCollection_tmpl.hxx:387:59: error: expected primary-expression before ')' token
  513. 387 | (iterator (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::begin,
  514. | ^
  515. ./OCP/OCP/NCollection_tmpl.hxx:387:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  516. 387 | (iterator (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::begin,
  517. | ^~~~~~~~
  518. ./OCP/OCP/NCollection_tmpl.hxx:387:62: error: expected ')' before 'const'
  519. 387 | (iterator (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::begin,
  520. | ~ ^~~~~~
  521. | )
  522. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_EBTree(pybind11::object&, const char*)':
  523. ./OCP/OCP/NCollection_tmpl.hxx:483:21: warning: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  524. 483 | (const TreeNode & (NCollection_EBTree<TheObjType,TheBndType>::*)( const TheObjType & ) const) &NCollection_EBTree<TheObjType,TheBndType>::FindNode,
  525. | ^~~~~~~~
  526. ./OCP/OCP/NCollection_tmpl.hxx:483:15: error: expected primary-expression before 'const'
  527. 483 | (const TreeNode & (NCollection_EBTree<TheObjType,TheBndType>::*)( const TheObjType & ) const) &NCollection_EBTree<TheObjType,TheBndType>::FindNode,
  528. | ^~~~~
  529. ./OCP/OCP/NCollection_tmpl.hxx:483:15: error: expected ')' before 'const'
  530. 483 | (const TreeNode & (NCollection_EBTree<TheObjType,TheBndType>::*)( const TheObjType & ) const) &NCollection_EBTree<TheObjType,TheBndType>::FindNode,
  531. | ~^~~~~
  532. | )
  533. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_IndexedMap(pybind11::object&, const char*)':
  534. ./OCP/OCP/NCollection_tmpl.hxx:503:74: error: expected unqualified-id before '*' token
  535. 503 | (const_iterator (NCollection_IndexedMap<TheKeyType,Hasher>::*)() const) &NCollection_IndexedMap<TheKeyType,Hasher>::cbegin,
  536. | ^
  537. ./OCP/OCP/NCollection_tmpl.hxx:503:75: error: expected primary-expression before ')' token
  538. 503 | (const_iterator (NCollection_IndexedMap<TheKeyType,Hasher>::*)() const) &NCollection_IndexedMap<TheKeyType,Hasher>::cbegin,
  539. | ^
  540. ./OCP/OCP/NCollection_tmpl.hxx:503:15: warning: there are no arguments to 'const_iterator' that depend on a template parameter, so a declaration of 'const_iterator' must be available [-fpermissive]
  541. 503 | (const_iterator (NCollection_IndexedMap<TheKeyType,Hasher>::*)() const) &NCollection_IndexedMap<TheKeyType,Hasher>::cbegin,
  542. | ^~~~~~~~~~~~~~
  543. ./OCP/OCP/NCollection_tmpl.hxx:503:78: error: expected ')' before 'const'
  544. 503 | (const_iterator (NCollection_IndexedMap<TheKeyType,Hasher>::*)() const) &NCollection_IndexedMap<TheKeyType,Hasher>::cbegin,
  545. | ~ ^~~~~~
  546. | )
  547. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_UBTree(pybind11::object&, const char*)':
  548. ./OCP/OCP/NCollection_tmpl.hxx:861:32: error: expected primary-expression before '(' token
  549. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  550. | ^
  551. ./OCP/OCP/NCollection_tmpl.hxx:861:76: error: expected unqualified-id before '*' token
  552. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  553. | ^
  554. ./OCP/OCP/NCollection_tmpl.hxx:861:77: error: expected primary-expression before ')' token
  555. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  556. | ^
  557. ./OCP/OCP/NCollection_tmpl.hxx:861:80: error: 'Selector' was not declared in this scope; did you mean 'select'?
  558. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  559. | ^~~~~~~~
  560. | select
  561. ./OCP/OCP/NCollection_tmpl.hxx:861:92: error: expected primary-expression before ')' token
  562. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  563. | ^
  564. ./OCP/OCP/NCollection_tmpl.hxx:861:93: error: expected ')' before 'const'
  565. 861 | (Standard_Integer (NCollection_UBTree<TheObjType,TheBndType>::*)( Selector & ) const) &NCollection_UBTree<TheObjType,TheBndType>::Select,
  566. | ~ ^~~~~~
  567. | )
  568. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_StdAllocator(pybind11::object&, const char*)':
  569. ./OCP/OCP/NCollection_tmpl.hxx:985:53: error: expected unqualified-id before '*' token
  570. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  571. | ^
  572. ./OCP/OCP/NCollection_tmpl.hxx:985:54: error: expected primary-expression before ')' token
  573. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  574. | ^
  575. ./OCP/OCP/NCollection_tmpl.hxx:985:15: warning: there are no arguments to 'pointer' that depend on a template parameter, so a declaration of 'pointer' must be available [-fpermissive]
  576. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  577. | ^~~~~~~
  578. ./OCP/OCP/NCollection_tmpl.hxx:985:57: error: 'value_type' was not declared in this scope
  579. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  580. | ^~~~~~~~~~
  581. ./OCP/OCP/NCollection_tmpl.hxx:985:71: error: expected primary-expression before ')' token
  582. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  583. | ^
  584. ./OCP/OCP/NCollection_tmpl.hxx:985:72: error: expected ')' before 'const'
  585. 985 | (pointer (NCollection_StdAllocator<T>::*)( value_type & ) const) &NCollection_StdAllocator<T>::address,
  586. | ~ ^~~~~~
  587. | )
  588. ./OCP/OCP/NCollection_tmpl.hxx:1007:128: error: expected ')' before ';' token
  589. 1007 | R"#(Returns an underlying NCollection_BaseAllocator instance. Returns an object specified in the constructor.)#" )
  590. | ^
  591. | )
  592. 1008 | ;
  593. | ~
  594. ./OCP/OCP/NCollection_tmpl.hxx:984:13: note: to match this '('
  595. 984 | .def("address",
  596. | ^
  597. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_IndexedDataMap(pybind11::object&, const char*)':
  598. ./OCP/OCP/NCollection_tmpl.hxx:1298:84: error: expected unqualified-id before '*' token
  599. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  600. | ^
  601. ./OCP/OCP/NCollection_tmpl.hxx:1298:85: error: expected primary-expression before ')' token
  602. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  603. | ^
  604. ./OCP/OCP/NCollection_tmpl.hxx:1298:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  605. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  606. | ^~~~~~~~
  607. ./OCP/OCP/NCollection_tmpl.hxx:1298:88: error: expected ')' before 'const'
  608. 1298 | (iterator (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::begin,
  609. | ~ ^~~~~~
  610. | )
  611. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_Sequence(pybind11::object&, const char*)':
  612. ./OCP/OCP/NCollection_tmpl.hxx:1396:60: error: expected unqualified-id before '*' token
  613. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  614. | ^
  615. ./OCP/OCP/NCollection_tmpl.hxx:1396:61: error: expected primary-expression before ')' token
  616. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  617. | ^
  618. ./OCP/OCP/NCollection_tmpl.hxx:1396:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  619. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  620. | ^~~~~~~~
  621. ./OCP/OCP/NCollection_tmpl.hxx:1396:64: error: expected ')' before 'const'
  622. 1396 | (iterator (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::begin,
  623. | ~ ^~~~~~
  624. | )
  625. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_List(pybind11::object&, const char*)':
  626. ./OCP/OCP/NCollection_tmpl.hxx:1521:56: error: expected unqualified-id before '*' token
  627. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  628. | ^
  629. ./OCP/OCP/NCollection_tmpl.hxx:1521:57: error: expected primary-expression before ')' token
  630. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  631. | ^
  632. ./OCP/OCP/NCollection_tmpl.hxx:1521:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  633. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  634. | ^~~~~~~~
  635. ./OCP/OCP/NCollection_tmpl.hxx:1521:60: error: expected ')' before 'const'
  636. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  637. | ~ ^~~~~~
  638. | )
  639. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_Map(pybind11::object&, const char*)':
  640. ./OCP/OCP/NCollection_tmpl.hxx:1610:67: error: expected unqualified-id before '*' token
  641. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  642. | ^
  643. ./OCP/OCP/NCollection_tmpl.hxx:1610:68: error: expected primary-expression before ')' token
  644. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  645. | ^
  646. ./OCP/OCP/NCollection_tmpl.hxx:1610:15: warning: there are no arguments to 'const_iterator' that depend on a template parameter, so a declaration of 'const_iterator' must be available [-fpermissive]
  647. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  648. | ^~~~~~~~~~~~~~
  649. ./OCP/OCP/NCollection_tmpl.hxx:1610:71: error: expected ')' before 'const'
  650. 1610 | (const_iterator (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::cbegin,
  651. | ~ ^~~~~~
  652. | )
  653. ./OCP/OCP/NCollection_tmpl.hxx: In function 'void register_template_NCollection_DataMap(pybind11::object&, const char*)':
  654. ./OCP/OCP/NCollection_tmpl.hxx:2159:77: error: expected unqualified-id before '*' token
  655. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  656. | ^
  657. ./OCP/OCP/NCollection_tmpl.hxx:2159:78: error: expected primary-expression before ')' token
  658. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  659. | ^
  660. ./OCP/OCP/NCollection_tmpl.hxx:2159:15: warning: there are no arguments to 'iterator' that depend on a template parameter, so a declaration of 'iterator' must be available [-fpermissive]
  661. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  662. | ^~~~~~~~
  663. ./OCP/OCP/NCollection_tmpl.hxx:2159:81: error: expected ')' before 'const'
  664. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  665. | ~ ^~~~~~
  666. | )
  667. ./OCP/OCP/AIS.cpp: In function 'void register_AIS(pybind11::module&)':
  668. ./OCP/OCP/AIS.cpp:4326:102: error: 'OptionsForAttach' does not name a type
  669. 4326 | (void (AIS_Manipulator::*)( const opencascade::handle<AIS_InteractiveObject> & , const OptionsForAttach & ) ) static_cast<void (AIS_Manipulator::*)( const opencascade::handle<AIS_InteractiveObject> & , const OptionsForAttach & ) >(&AIS_Manipulator::Attach),
  670. | ^~~~~~~~~~~~~~~~
  671. ./OCP/OCP/AIS.cpp:4326:225: error: 'OptionsForAttach' does not name a type
  672. 4326 | (void (AIS_Manipulator::*)( const opencascade::handle<AIS_InteractiveObject> & , const OptionsForAttach & ) ) static_cast<void (AIS_Manipulator::*)( const opencascade::handle<AIS_InteractiveObject> & , const OptionsForAttach & ) >(&AIS_Manipulator::Attach),
  673. | ^~~~~~~~~~~~~~~~
  674. ./OCP/OCP/AIS.cpp:4326:273: error: no matches converting function 'Attach' to type 'void (class AIS_Manipulator::*)(const class opencascade::handle<AIS_InteractiveObject>&, const int&)'
  675. 4326 | (void (AIS_Manipulator::*)( const opencascade::handle<AIS_InteractiveObject> & , const OptionsForAttach & ) ) static_cast<void (AIS_Manipulator::*)( const opencascade::handle<AIS_InteractiveObject> & , const OptionsForAttach & ) >(&AIS_Manipulator::Attach),
  676. | ^
  677. In file included from ./OCP/OCP/AIS.cpp:404:
  678. /usr/include/opencascade/AIS_Manipulator.hxx:137:24: note: candidates are: 'void AIS_Manipulator::Attach(const opencascade::handle<AIS_ManipulatorObjectSequence>&, const OptionsForAttach&)'
  679. 137 | Standard_EXPORT void Attach (const Handle(AIS_ManipulatorObjectSequence)& theObject, const OptionsForAttach& theOptions = OptionsForAttach());
  680. | ^~~~~~
  681. /usr/include/opencascade/AIS_Manipulator.hxx:132:24: note: 'void AIS_Manipulator::Attach(const opencascade::handle<AIS_InteractiveObject>&, const OptionsForAttach&)'
  682. 132 | Standard_EXPORT void Attach (const Handle(AIS_InteractiveObject)& theObject, const OptionsForAttach& theOptions = OptionsForAttach());
  683. | ^~~~~~
  684. ./OCP/OCP/AIS.cpp:4327:282: warning: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  685. 4327 | R"#(Attaches himself to the input interactive object and become displayed in the same context. It is placed in the center of object bounding box, and its size is adjusted to the object bounding box.)#" , py::arg("theObject"), py::arg("theOptions")=static_cast<const OptionsForAttach &>(OptionsForAttach ( ))
  686. | ^~~~~~~~~~~~~~~~
  687. ./OCP/OCP/AIS.cpp:4327:282: error: expected '>' before 'OptionsForAttach'
  688. ./OCP/OCP/AIS.cpp:4327:282: error: expected '(' before 'OptionsForAttach'
  689. 4327 | R"#(Attaches himself to the input interactive object and become displayed in the same context. It is placed in the center of object bounding box, and its size is adjusted to the object bounding box.)#" , py::arg("theObject"), py::arg("theOptions")=static_cast<const OptionsForAttach &>(OptionsForAttach ( ))
  690. | ^~~~~~~~~~~~~~~~
  691. | (
  692. ./OCP/OCP/AIS.cpp:4327:300: error: expected primary-expression before '>' token
  693. 4327 | R"#(Attaches himself to the input interactive object and become displayed in the same context. It is placed in the center of object bounding box, and its size is adjusted to the object bounding box.)#" , py::arg("theObject"), py::arg("theOptions")=static_cast<const OptionsForAttach &>(OptionsForAttach ( ))
  694. | ^
  695. ./OCP/OCP/AIS.cpp:4330:110: error: 'OptionsForAttach' does not name a type
  696. 4330 | (void (AIS_Manipulator::*)( const opencascade::handle<AIS_ManipulatorObjectSequence> & , const OptionsForAttach & ) ) static_cast<void (AIS_Manipulator::*)( const opencascade::handle<AIS_ManipulatorObjectSequence> & , const OptionsForAttach & ) >(&AIS_Manipulator::Attach),
  697. | ^~~~~~~~~~~~~~~~
  698. ./OCP/OCP/AIS.cpp:4330:241: error: 'OptionsForAttach' does not name a type
  699. 4330 | (void (AIS_Manipulator::*)( const opencascade::handle<AIS_ManipulatorObjectSequence> & , const OptionsForAttach & ) ) static_cast<void (AIS_Manipulator::*)( const opencascade::handle<AIS_ManipulatorObjectSequence> & , const OptionsForAttach & ) >(&AIS_Manipulator::Attach),
  700. | ^~~~~~~~~~~~~~~~
  701. ./OCP/OCP/AIS.cpp:4330:289: error: no matches converting function 'Attach' to type 'void (class AIS_Manipulator::*)(const class opencascade::handle<AIS_ManipulatorObjectSequence>&, const int&)'
  702. 4330 | (void (AIS_Manipulator::*)( const opencascade::handle<AIS_ManipulatorObjectSequence> & , const OptionsForAttach & ) ) static_cast<void (AIS_Manipulator::*)( const opencascade::handle<AIS_ManipulatorObjectSequence> & , const OptionsForAttach & ) >(&AIS_Manipulator::Attach),
  703. | ^
  704. /usr/include/opencascade/AIS_Manipulator.hxx:137:24: note: candidates are: 'void AIS_Manipulator::Attach(const opencascade::handle<AIS_ManipulatorObjectSequence>&, const OptionsForAttach&)'
  705. 137 | Standard_EXPORT void Attach (const Handle(AIS_ManipulatorObjectSequence)& theObject, const OptionsForAttach& theOptions = OptionsForAttach());
  706. | ^~~~~~
  707. /usr/include/opencascade/AIS_Manipulator.hxx:132:24: note: 'void AIS_Manipulator::Attach(const opencascade::handle<AIS_InteractiveObject>&, const OptionsForAttach&)'
  708. 132 | Standard_EXPORT void Attach (const Handle(AIS_InteractiveObject)& theObject, const OptionsForAttach& theOptions = OptionsForAttach());
  709. | ^~~~~~
  710. ./OCP/OCP/AIS.cpp:4331:373: warning: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  711. 4331 | R"#(Attaches himself to the input interactive object group and become displayed in the same context. It become attached to the first object, baut manage manipulation of the whole group. It is placed in the center of object bounding box, and its size is adjusted to the object bounding box.)#" , py::arg("theObject"), py::arg("theOptions")=static_cast<const OptionsForAttach &>(OptionsForAttach ( ))
  712. | ^~~~~~~~~~~~~~~~
  713. ./OCP/OCP/AIS.cpp:4331:373: error: expected '>' before 'OptionsForAttach'
  714. ./OCP/OCP/AIS.cpp:4331:373: error: expected '(' before 'OptionsForAttach'
  715. 4331 | R"#(Attaches himself to the input interactive object group and become displayed in the same context. It become attached to the first object, baut manage manipulation of the whole group. It is placed in the center of object bounding box, and its size is adjusted to the object bounding box.)#" , py::arg("theObject"), py::arg("theOptions")=static_cast<const OptionsForAttach &>(OptionsForAttach ( ))
  716. | ^~~~~~~~~~~~~~~~
  717. | (
  718. ./OCP/OCP/AIS.cpp:4331:391: error: expected primary-expression before '>' token
  719. 4331 | R"#(Attaches himself to the input interactive object group and become displayed in the same context. It become attached to the first object, baut manage manipulation of the whole group. It is placed in the center of object bounding box, and its size is adjusted to the object bounding box.)#" , py::arg("theObject"), py::arg("theOptions")=static_cast<const OptionsForAttach &>(OptionsForAttach ( ))
  720. | ^
  721. ./OCP/OCP/AIS.cpp:4446:48: error: 'BehaviorOnTransform' does not name a type
  722. 4446 | (void (AIS_Manipulator::*)( const BehaviorOnTransform & ) ) static_cast<void (AIS_Manipulator::*)( const BehaviorOnTransform & ) >(&AIS_Manipulator::SetTransformBehavior),
  723. | ^~~~~~~~~~~~~~~~~~~
  724. ./OCP/OCP/AIS.cpp:4446:120: error: 'BehaviorOnTransform' does not name a type
  725. 4446 | (void (AIS_Manipulator::*)( const BehaviorOnTransform & ) ) static_cast<void (AIS_Manipulator::*)( const BehaviorOnTransform & ) >(&AIS_Manipulator::SetTransformBehavior),
  726. | ^~~~~~~~~~~~~~~~~~~
  727. ./OCP/OCP/AIS.cpp:4446:75: error: invalid 'static_cast' from type 'void (AIS_Manipulator::*)(const AIS_Manipulator::BehaviorOnTransform&)' to type 'void (AIS_Manipulator::*)(const int&)'
  728. 4446 | (void (AIS_Manipulator::*)( const BehaviorOnTransform & ) ) static_cast<void (AIS_Manipulator::*)( const BehaviorOnTransform & ) >(&AIS_Manipulator::SetTransformBehavior),
  729. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  730. ./OCP/OCP/AIS.cpp:4494:15: error: 'BehaviorOnTransform' was not declared in this scope
  731. 4494 | (BehaviorOnTransform & (AIS_Manipulator::*)() ) static_cast<BehaviorOnTransform & (AIS_Manipulator::*)() >(&AIS_Manipulator::ChangeTransformBehavior),
  732. | ^~~~~~~~~~~~~~~~~~~
  733. ./OCP/OCP/AIS.cpp:4494:55: error: expected unqualified-id before '*' token
  734. 4494 | (BehaviorOnTransform & (AIS_Manipulator::*)() ) static_cast<BehaviorOnTransform & (AIS_Manipulator::*)() >(&AIS_Manipulator::ChangeTransformBehavior),
  735. | ^
  736. ./OCP/OCP/AIS.cpp:4494:56: error: expected primary-expression before ')' token
  737. 4494 | (BehaviorOnTransform & (AIS_Manipulator::*)() ) static_cast<BehaviorOnTransform & (AIS_Manipulator::*)() >(&AIS_Manipulator::ChangeTransformBehavior),
  738. | ^
  739. ./OCP/OCP/AIS.cpp:4499:21: warning: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  740. 4499 | (const BehaviorOnTransform & (AIS_Manipulator::*)() const) static_cast<const BehaviorOnTransform & (AIS_Manipulator::*)() const>(&AIS_Manipulator::TransformBehavior),
  741. | ^~~~~~~~~~~~~~~~~~~
  742. ./OCP/OCP/AIS.cpp:4499:15: error: expected primary-expression before 'const'
  743. 4499 | (const BehaviorOnTransform & (AIS_Manipulator::*)() const) static_cast<const BehaviorOnTransform & (AIS_Manipulator::*)() const>(&AIS_Manipulator::TransformBehavior),
  744. | ^~~~~
  745. ./OCP/OCP/AIS.cpp:4499:15: error: expected ')' before 'const'
  746. 4499 | (const BehaviorOnTransform & (AIS_Manipulator::*)() const) static_cast<const BehaviorOnTransform & (AIS_Manipulator::*)() const>(&AIS_Manipulator::TransformBehavior),
  747. | ~^~~~~
  748. | )
  749. ./OCP/OCP/NCollection_tmpl.hxx: In instantiation of 'void register_template_NCollection_List(pybind11::object&, const char*) [with TheItemType = opencascade::handle<AIS_InteractiveObject>]':
  750. ./OCP/OCP/AIS.cpp:6639:83: required from here
  751. ./OCP/OCP/NCollection_tmpl.hxx:1521:57: error: 'iterator' was not declared in this scope
  752. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  753. | ^
  754. ./OCP/OCP/NCollection_tmpl.hxx:1521:57: note: suggested alternatives:
  755. In file included from /usr/include/c++/13.1.1/bits/stl_algobase.h:65,
  756. from /usr/include/c++/13.1.1/bits/specfun.h:43,
  757. from /usr/include/c++/13.1.1/cmath:3716,
  758. from /usr/include/c++/13.1.1/math.h:36,
  759. from /usr/include/python3.10/pyport.h:210,
  760. from /usr/include/python3.10/Python.h:50,
  761. from /usr/include/pybind11/detail/../detail/common.h:213,
  762. from /usr/include/pybind11/detail/../cast.h:13,
  763. from /usr/include/pybind11/detail/../attr.h:13,
  764. from /usr/include/pybind11/detail/class.h:12,
  765. from /usr/include/pybind11/pybind11.h:13,
  766. from ./OCP/OCP/AIS.cpp:6:
  767. /usr/include/c++/13.1.1/bits/stl_iterator_base_types.h:127:34: note: 'std::iterator'
  768. 127 | struct _GLIBCXX17_DEPRECATED iterator
  769. | ^~~~~~~~
  770. In file included from /usr/include/pybind11/detail/../detail/type_caster_base.h:12,
  771. from /usr/include/pybind11/detail/../cast.h:15:
  772. /usr/include/pybind11/detail/../detail/../pytypes.h:1102:7: note: 'pybind11::iterator'
  773. 1102 | class iterator : public object {
  774. | ^~~~~~~~
  775. ./OCP/OCP/NCollection_tmpl.hxx: In instantiation of 'void register_template_NCollection_DataMap(pybind11::object&, const char*) [with TheKeyType = unsigned int; TheItemType = AIS_MouseGesture; Hasher = NCollection_DefaultHasher<unsigned int>]':
  776. ./OCP/OCP/AIS.cpp:6640:74: required from here
  777. ./OCP/OCP/NCollection_tmpl.hxx:2159:78: error: 'iterator' was not declared in this scope
  778. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  779. | ^
  780. ./OCP/OCP/NCollection_tmpl.hxx:2159:78: note: suggested alternatives:
  781. /usr/include/c++/13.1.1/bits/stl_iterator_base_types.h:127:34: note: 'std::iterator'
  782. 127 | struct _GLIBCXX17_DEPRECATED iterator
  783. | ^~~~~~~~
  784. /usr/include/pybind11/detail/../detail/../pytypes.h:1102:7: note: 'pybind11::iterator'
  785. 1102 | class iterator : public object {
  786. | ^~~~~~~~
  787. ./OCP/OCP/NCollection_tmpl.hxx: In instantiation of 'void register_template_NCollection_DataMap(pybind11::object&, const char*) [with TheKeyType = unsigned int; TheItemType = AIS_SelectionScheme; Hasher = NCollection_DefaultHasher<unsigned int>]':
  788. ./OCP/OCP/AIS.cpp:6641:77: required from here
  789. ./OCP/OCP/NCollection_tmpl.hxx:2159:78: error: 'iterator' was not declared in this scope
  790. 2159 | (iterator (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::begin,
  791. | ^
  792. ./OCP/OCP/NCollection_tmpl.hxx:2159:78: note: suggested alternatives:
  793. /usr/include/c++/13.1.1/bits/stl_iterator_base_types.h:127:34: note: 'std::iterator'
  794. 127 | struct _GLIBCXX17_DEPRECATED iterator
  795. | ^~~~~~~~
  796. /usr/include/pybind11/detail/../detail/../pytypes.h:1102:7: note: 'pybind11::iterator'
  797. 1102 | class iterator : public object {
  798. | ^~~~~~~~
  799. ./OCP/OCP/NCollection_tmpl.hxx: In instantiation of 'void register_template_NCollection_Array1(pybind11::object&, const char*) [with TheItemType = opencascade::handle<SelectMgr_EntityOwner>]':
  800. ./OCP/OCP/AIS.cpp:6642:85: required from here
  801. ./OCP/OCP/NCollection_tmpl.hxx:387:59: error: 'iterator' was not declared in this scope
  802. 387 | (iterator (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::begin,
  803. | ^
  804. ./OCP/OCP/NCollection_tmpl.hxx:387:59: note: suggested alternatives:
  805. /usr/include/c++/13.1.1/bits/stl_iterator_base_types.h:127:34: note: 'std::iterator'
  806. 127 | struct _GLIBCXX17_DEPRECATED iterator
  807. | ^~~~~~~~
  808. /usr/include/pybind11/detail/../detail/../pytypes.h:1102:7: note: 'pybind11::iterator'
  809. 1102 | class iterator : public object {
  810. | ^~~~~~~~
  811. ./OCP/OCP/NCollection_tmpl.hxx: In instantiation of 'void register_template_NCollection_List(pybind11::object&, const char*) [with TheItemType = opencascade::handle<SelectMgr_EntityOwner>]':
  812. ./OCP/OCP/AIS.cpp:6643:83: required from here
  813. ./OCP/OCP/NCollection_tmpl.hxx:1521:57: error: 'iterator' was not declared in this scope
  814. 1521 | (iterator (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::begin,
  815. | ^
  816. ./OCP/OCP/NCollection_tmpl.hxx:1521:57: note: suggested alternatives:
  817. /usr/include/c++/13.1.1/bits/stl_iterator_base_types.h:127:34: note: 'std::iterator'
  818. 127 | struct _GLIBCXX17_DEPRECATED iterator
  819. | ^~~~~~~~
  820. /usr/include/pybind11/detail/../detail/../pytypes.h:1102:7: note: 'pybind11::iterator'
  821. 1102 | class iterator : public object {
  822. | ^~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment