Advertisement
illwieckz

netradiant clang issue #2

Apr 4th, 2020
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.72 KB | None | 0 0
  1. $ make -j1 netradiant
  2. [ 0%] Built target filematch
  3. [ 2%] Built target vfspk3
  4. [ 2%] Built target archivepak
  5. [ 4%] Built target archivewad
  6. [ 4%] Built target archivezip
  7. [ 8%] Built target entity
  8. [ 10%] Built target etclib
  9. [ 12%] Built target ddslib
  10. [ 16%] Built target image
  11. [ 16%] Built target crnrgba
  12. [ 18%] Built target imagecrn
  13. [ 20%] Built target imagehl
  14. [ 20%] Built target imagepng
  15. [ 22%] Built target imageq2
  16. [ 24%] Built target imagewebp
  17. [ 26%] Built target iqmmodel
  18. [ 28%] Built target mapq3
  19. [ 30%] Built target xmllib
  20. [ 32%] Built target mapxml
  21. [ 34%] Built target md3model
  22. [ 44%] Built target picomodel
  23. [ 46%] Built target model
  24. [ 46%] Built target shaders
  25. [ 46%] Built target modules
  26. [ 46%] Built target cmdlib
  27. [ 48%] Built target container
  28. [ 48%] Built target debugging
  29. [ 48%] Built target generic
  30. [ 48%] Built target uilib
  31. [ 57%] Built target gtkutil
  32. [ 57%] Built target l_net
  33. [ 57%] Built target math
  34. [ 61%] Built target mathlib
  35. [ 61%] Built target memory
  36. [ 63%] Built target modulesystem
  37. [ 63%] Built target os
  38. [ 63%] Built target profile
  39. [ 63%] Built target script
  40. [ 65%] Built target signal
  41. [ 67%] Built target splines
  42. [ 69%] Built target stream
  43. [ 69%] Built target string
  44. [ 69%] Built target includes
  45. [ 69%] Building CXX object radiant/CMakeFiles/netradiant.dir/dialog.cpp.o
  46. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  47. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:26:
  48. /home/illwieckz/dev/netradiant/libs/uilib/uilib.h:602:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
  49. #define this (*static_cast<self>(this))
  50. ^
  51. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  52. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  53. /home/illwieckz/dev/netradiant/libs/property.h:51:77: error: non-type template argument refers to function 'Export' that does not have linkage
  54. using Get = ConstReferenceCaller<Self, void(const Callback<void(T)> &), I::Export>;
  55. ^~~~~~~~~
  56. /home/illwieckz/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<_GtkToggleButton, bool, Wrapper>' requested here
  57. using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
  58. ^
  59. /home/illwieckz/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
  60. template<class I, class Self, class T = detail::propertyimpl_other<I>>
  61. ^
  62. /home/illwieckz/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<_GtkToggleButton, bool, Wrapper>, _GtkToggleButton>' required here
  63. Property<T> make_property(Self &self) {
  64. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  65. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:278:13: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<_GtkToggleButton, bool, Wrapper>, Self = _GtkToggleButton, T = (no value)]
  66. make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
  67. ^
  68. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:337:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::ToggleButton, bool, BoolToggle> >' requested here
  69. AddDataCustom<BoolToggleImportExport>( m_data, widget, cb );
  70. ^
  71. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:265:21: note: non-type template argument refers to function here
  72. static void Export(const native &self, const Callback<void(T)> &returnz) {
  73. ^
  74. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  75. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  76. /home/illwieckz/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
  77. using Set = ReferenceCaller<Self, void(T), I::Import>;
  78. ^~~~~~~~~
  79. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:271:21: note: non-type template argument refers to function here
  80. static void Import(native &self, T value) {
  81. ^
  82. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  83. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  84. /home/illwieckz/dev/netradiant/libs/property.h:70:13: error: cannot convert 'typename PropertyAdaptor<_GtkToggleButton, bool, Wrapper>::Type' (aka '_GtkToggleButton') to 'typename PropertyAdaptor<_GtkToggleButton, bool, Wrapper>::Get' (aka 'int') without a conversion operator
  85. return {typename A::Get(self), typename A::Set(self)};
  86. ^~~~~~~~~~~~~~~~~~~~
  87. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:278:13: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<_GtkToggleButton, bool, Wrapper> >' requested here
  88. make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
  89. ^
  90. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:337:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::ToggleButton, bool, BoolToggle> >' requested here
  91. AddDataCustom<BoolToggleImportExport>( m_data, widget, cb );
  92. ^
  93. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  94. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  95. /home/illwieckz/dev/netradiant/libs/property.h:51:77: error: non-type template argument refers to function 'Export' that does not have linkage
  96. using Get = ConstReferenceCaller<Self, void(const Callback<void(T)> &), I::Export>;
  97. ^~~~~~~~~
  98. /home/illwieckz/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<_GtkRadioButton, int, Wrapper>' requested here
  99. using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
  100. ^
  101. /home/illwieckz/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
  102. template<class I, class Self, class T = detail::propertyimpl_other<I>>
  103. ^
  104. /home/illwieckz/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<_GtkRadioButton, int, Wrapper>, _GtkRadioButton>' required here
  105. Property<T> make_property(Self &self) {
  106. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  107. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:278:13: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<_GtkRadioButton, int, Wrapper>, Self = _GtkRadioButton, T = (no value)]
  108. make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
  109. ^
  110. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:341:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::RadioButton, int, IntRadio> >' requested here
  111. AddDataCustom<IntRadioImportExport>( m_data, widget, cb );
  112. ^
  113. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:265:21: note: non-type template argument refers to function here
  114. static void Export(const native &self, const Callback<void(T)> &returnz) {
  115. ^
  116. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  117. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  118. /home/illwieckz/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
  119. using Set = ReferenceCaller<Self, void(T), I::Import>;
  120. ^~~~~~~~~
  121. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:271:21: note: non-type template argument refers to function here
  122. static void Import(native &self, T value) {
  123. ^
  124. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  125. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  126. /home/illwieckz/dev/netradiant/libs/property.h:70:13: error: cannot convert 'typename PropertyAdaptor<_GtkRadioButton, int, Wrapper>::Type' (aka '_GtkRadioButton') to 'typename PropertyAdaptor<_GtkRadioButton, int, Wrapper>::Get' (aka 'int') without a conversion operator
  127. return {typename A::Get(self), typename A::Set(self)};
  128. ^~~~~~~~~~~~~~~~~~~~
  129. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:278:13: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<_GtkRadioButton, int, Wrapper> >' requested here
  130. make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
  131. ^
  132. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:341:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::RadioButton, int, IntRadio> >' requested here
  133. AddDataCustom<IntRadioImportExport>( m_data, widget, cb );
  134. ^
  135. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  136. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  137. /home/illwieckz/dev/netradiant/libs/property.h:51:77: error: non-type template argument refers to function 'Export' that does not have linkage
  138. using Get = ConstReferenceCaller<Self, void(const Callback<void(T)> &), I::Export>;
  139. ^~~~~~~~~
  140. /home/illwieckz/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<_GtkEntry, const char *, Wrapper>' requested here
  141. using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
  142. ^
  143. /home/illwieckz/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
  144. template<class I, class Self, class T = detail::propertyimpl_other<I>>
  145. ^
  146. /home/illwieckz/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<_GtkEntry, const char *, Wrapper>, _GtkEntry>' required here
  147. Property<T> make_property(Self &self) {
  148. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  149. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:278:13: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<_GtkEntry, const char *, Wrapper>, Self = _GtkEntry, T = (no value)]
  150. make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
  151. ^
  152. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:345:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, const char *, TextEntry> >' requested here
  153. AddDataCustom<TextEntryImportExport>( m_data, widget, cb );
  154. ^
  155. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:265:21: note: non-type template argument refers to function here
  156. static void Export(const native &self, const Callback<void(T)> &returnz) {
  157. ^
  158. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  159. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  160. /home/illwieckz/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
  161. using Set = ReferenceCaller<Self, void(T), I::Import>;
  162. ^~~~~~~~~
  163. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:271:21: note: non-type template argument refers to function here
  164. static void Import(native &self, T value) {
  165. ^
  166. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  167. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  168. /home/illwieckz/dev/netradiant/libs/property.h:70:13: error: cannot convert 'typename PropertyAdaptor<_GtkEntry, const char *, Wrapper>::Type' (aka '_GtkEntry') to 'typename PropertyAdaptor<_GtkEntry, const char *, Wrapper>::Get' (aka 'int') without a conversion operator
  169. return {typename A::Get(self), typename A::Set(self)};
  170. ^~~~~~~~~~~~~~~~~~~~
  171. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:278:13: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<_GtkEntry, const char *, Wrapper> >' requested here
  172. make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
  173. ^
  174. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:345:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, const char *, TextEntry> >' requested here
  175. AddDataCustom<TextEntryImportExport>( m_data, widget, cb );
  176. ^
  177. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  178. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  179. /home/illwieckz/dev/netradiant/libs/property.h:51:77: error: non-type template argument refers to function 'Export' that does not have linkage
  180. using Get = ConstReferenceCaller<Self, void(const Callback<void(T)> &), I::Export>;
  181. ^~~~~~~~~
  182. /home/illwieckz/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<_GtkEntry, int, Wrapper>' requested here
  183. using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
  184. ^
  185. /home/illwieckz/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
  186. template<class I, class Self, class T = detail::propertyimpl_other<I>>
  187. ^
  188. /home/illwieckz/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<_GtkEntry, int, Wrapper>, _GtkEntry>' required here
  189. Property<T> make_property(Self &self) {
  190. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  191. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:278:13: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<_GtkEntry, int, Wrapper>, Self = _GtkEntry, T = (no value)]
  192. make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
  193. ^
  194. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:349:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, int, IntEntry> >' requested here
  195. AddDataCustom<IntEntryImportExport>( m_data, widget, cb );
  196. ^
  197. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:265:21: note: non-type template argument refers to function here
  198. static void Export(const native &self, const Callback<void(T)> &returnz) {
  199. ^
  200. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  201. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  202. /home/illwieckz/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
  203. using Set = ReferenceCaller<Self, void(T), I::Import>;
  204. ^~~~~~~~~
  205. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:271:21: note: non-type template argument refers to function here
  206. static void Import(native &self, T value) {
  207. ^
  208. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  209. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  210. /home/illwieckz/dev/netradiant/libs/property.h:70:13: error: cannot convert 'typename PropertyAdaptor<_GtkEntry, int, Wrapper>::Type' (aka '_GtkEntry') to 'typename PropertyAdaptor<_GtkEntry, int, Wrapper>::Get' (aka 'int') without a conversion operator
  211. return {typename A::Get(self), typename A::Set(self)};
  212. ^~~~~~~~~~~~~~~~~~~~
  213. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:278:13: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<_GtkEntry, int, Wrapper> >' requested here
  214. make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
  215. ^
  216. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:349:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, int, IntEntry> >' requested here
  217. AddDataCustom<IntEntryImportExport>( m_data, widget, cb );
  218. ^
  219. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  220. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  221. /home/illwieckz/dev/netradiant/libs/property.h:51:77: error: non-type template argument refers to function 'Export' that does not have linkage
  222. using Get = ConstReferenceCaller<Self, void(const Callback<void(T)> &), I::Export>;
  223. ^~~~~~~~~
  224. /home/illwieckz/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<_GtkEntry, unsigned long, Wrapper>' requested here
  225. using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
  226. ^
  227. /home/illwieckz/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
  228. template<class I, class Self, class T = detail::propertyimpl_other<I>>
  229. ^
  230. /home/illwieckz/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<_GtkEntry, unsigned long, Wrapper>, _GtkEntry>' required here
  231. Property<T> make_property(Self &self) {
  232. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  233. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:278:13: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<_GtkEntry, unsigned long, Wrapper>, Self = _GtkEntry, T = (no value)]
  234. make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
  235. ^
  236. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:353:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, unsigned long, SizeEntry> >' requested here
  237. AddDataCustom<SizeEntryImportExport>( m_data, widget, cb );
  238. ^
  239. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:265:21: note: non-type template argument refers to function here
  240. static void Export(const native &self, const Callback<void(T)> &returnz) {
  241. ^
  242. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  243. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  244. /home/illwieckz/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
  245. using Set = ReferenceCaller<Self, void(T), I::Import>;
  246. ^~~~~~~~~
  247. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:271:21: note: non-type template argument refers to function here
  248. static void Import(native &self, T value) {
  249. ^
  250. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  251. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  252. /home/illwieckz/dev/netradiant/libs/property.h:70:13: error: cannot convert 'typename PropertyAdaptor<_GtkEntry, unsigned long, Wrapper>::Type' (aka '_GtkEntry') to 'typename PropertyAdaptor<_GtkEntry, unsigned long, Wrapper>::Get' (aka 'int') without a conversion operator
  253. return {typename A::Get(self), typename A::Set(self)};
  254. ^~~~~~~~~~~~~~~~~~~~
  255. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:278:13: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<_GtkEntry, unsigned long, Wrapper> >' requested here
  256. make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
  257. ^
  258. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:353:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, unsigned long, SizeEntry> >' requested here
  259. AddDataCustom<SizeEntryImportExport>( m_data, widget, cb );
  260. ^
  261. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  262. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  263. /home/illwieckz/dev/netradiant/libs/property.h:51:77: error: non-type template argument refers to function 'Export' that does not have linkage
  264. using Get = ConstReferenceCaller<Self, void(const Callback<void(T)> &), I::Export>;
  265. ^~~~~~~~~
  266. /home/illwieckz/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<_GtkEntry, float, Wrapper>' requested here
  267. using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
  268. ^
  269. /home/illwieckz/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
  270. template<class I, class Self, class T = detail::propertyimpl_other<I>>
  271. ^
  272. /home/illwieckz/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<_GtkEntry, float, Wrapper>, _GtkEntry>' required here
  273. Property<T> make_property(Self &self) {
  274. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  275. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:278:13: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<_GtkEntry, float, Wrapper>, Self = _GtkEntry, T = (no value)]
  276. make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
  277. ^
  278. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:357:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, float, FloatEntry> >' requested here
  279. AddDataCustom<FloatEntryImportExport>( m_data, widget, cb );
  280. ^
  281. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:265:21: note: non-type template argument refers to function here
  282. static void Export(const native &self, const Callback<void(T)> &returnz) {
  283. ^
  284. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  285. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  286. /home/illwieckz/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
  287. using Set = ReferenceCaller<Self, void(T), I::Import>;
  288. ^~~~~~~~~
  289. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:271:21: note: non-type template argument refers to function here
  290. static void Import(native &self, T value) {
  291. ^
  292. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  293. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  294. /home/illwieckz/dev/netradiant/libs/property.h:70:13: error: cannot convert 'typename PropertyAdaptor<_GtkEntry, float, Wrapper>::Type' (aka '_GtkEntry') to 'typename PropertyAdaptor<_GtkEntry, float, Wrapper>::Get' (aka 'int') without a conversion operator
  295. return {typename A::Get(self), typename A::Set(self)};
  296. ^~~~~~~~~~~~~~~~~~~~
  297. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:278:13: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<_GtkEntry, float, Wrapper> >' requested here
  298. make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
  299. ^
  300. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:357:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, float, FloatEntry> >' requested here
  301. AddDataCustom<FloatEntryImportExport>( m_data, widget, cb );
  302. ^
  303. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.cpp:29:
  304. In file included from /home/illwieckz/dev/netradiant/radiant/dialog.h:27:
  305. /home/illwieckz/dev/netradiant/libs/property.h:51:77: error: non-type template argument refers to function 'Export' that does not have linkage
  306. using Get = ConstReferenceCaller<Self, void(const Callback<void(T)> &), I::Export>;
  307. ^~~~~~~~~
  308. /home/illwieckz/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<_GtkSpinButton, float, Wrapper>' requested here
  309. using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
  310. ^
  311. /home/illwieckz/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
  312. template<class I, class Self, class T = detail::propertyimpl_other<I>>
  313. ^
  314. /home/illwieckz/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<_GtkSpinButton, float, Wrapper>, _GtkSpinButton>' required here
  315. Property<T> make_property(Self &self) {
  316. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  317. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:278:13: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<_GtkSpinButton, float, Wrapper>, Self = _GtkSpinButton, T = (no value)]
  318. make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
  319. ^
  320. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:361:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::SpinButton, float, FloatSpinner> >' requested here
  321. AddDataCustom<FloatSpinnerImportExport>( m_data, widget, cb );
  322. ^
  323. /home/illwieckz/dev/netradiant/radiant/dialog.cpp:265:21: note: non-type template argument refers to function here
  324. static void Export(const native &self, const Callback<void(T)> &returnz) {
  325. ^
  326. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  327. 1 warning and 20 errors generated.
  328. make[3]: *** [radiant/CMakeFiles/netradiant.dir/build.make:245: radiant/CMakeFiles/netradiant.dir/dialog.cpp.o] Error 1
  329. make[2]: *** [CMakeFiles/Makefile2:3301: radiant/CMakeFiles/netradiant.dir/all] Error 2
  330. make[1]: *** [CMakeFiles/Makefile2:3313: radiant/CMakeFiles/netradiant.dir/rule] Error 2
  331. make: *** [Makefile:950: netradiant] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement