Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ 78%] Building CXX object _radiant/CMakeFiles/radiant.dir/brushmodule.cpp.o
- [ 78%] Building CXX object _radiant/CMakeFiles/radiant.dir/dialog.cpp.o
- [ 78%] Building CXX object _radiant/CMakeFiles/radiant.dir/preferences.cpp.o
- [ 78%] Building CXX object _radiant/CMakeFiles/radiant.dir/texwindow.cpp.o
- [ 78%] Building CXX object _radiant/CMakeFiles/radiant.dir/camwindow.cpp.o
- [ 79%] Building CXX object _radiant/CMakeFiles/radiant.dir/undo.cpp.o
- [ 80%] Building CXX object _radiant/CMakeFiles/radiant.dir/textures.cpp.o
- [ 81%] Building CXX object _radiant/CMakeFiles/radiant.dir/xywindow.cpp.o
- In file included from /home/thdebess/dev/netradiant/radiant/brushmodule.cpp:24:
- In file included from /home/thdebess/dev/netradiant/include/qerplugin.h:29:
- /home/thdebess/dev/netradiant/libs/uilib/uilib.h:602:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
- #define this (*static_cast<self>(this))
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/camwindow.cpp:28:
- In file included from /home/thdebess/dev/netradiant/radiant/camwindow.h:25:
- /home/thdebess/dev/netradiant/libs/uilib/uilib.h:602:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
- #define this (*static_cast<self>(this))
- ^
- In file included from In file included from /home/thdebess/dev/netradiant/radiant/texwindow.cpp:28:
- In file included from /home/thdebess/dev/netradiant/radiant/texwindow.h:25:
- /home/thdebess/dev/netradiant/libs/uilib/uilib.h:602:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
- #define this (*static_cast<self>(this))
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:26:
- /home/thdebess/dev/netradiant/libs/uilib/uilib.h:602:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
- #define this (*static_cast<self>(this))
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/textures.cpp:33:
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:185:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
- register ub4 a,b,c,len;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:185:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
- register ub4 a,b,c,len;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:185:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
- register ub4 a,b,c,len;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:185:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
- register ub4 a,b,c,len;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:206:62: warning: declaration does not declare anything [-Wmissing-declarations]
- case 11: c += ( ( ub4 ) UB1Traits::as_ub1( k[10] ) << 24 ); __attribute((fallthrough));
- ^
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:207:61: warning: declaration does not declare anything [-Wmissing-declarations]
- case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); __attribute((fallthrough));
- ^
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:208:59: warning: declaration does not declare anything [-Wmissing-declarations]
- case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); __attribute((fallthrough));
- ^
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:210:60: warning: declaration does not declare anything [-Wmissing-declarations]
- case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); __attribute((fallthrough));
- ^
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:211:60: warning: declaration does not declare anything [-Wmissing-declarations]
- case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); __attribute((fallthrough));
- ^
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:212:59: warning: declaration does not declare anything [-Wmissing-declarations]
- case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); __attribute((fallthrough));
- ^
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:213:43: warning: declaration does not declare anything [-Wmissing-declarations]
- case 5: b += UB1Traits::as_ub1( k[4] ); __attribute((fallthrough));
- ^
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:214:60: warning: declaration does not declare anything [-Wmissing-declarations]
- case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); __attribute((fallthrough));
- ^
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:215:60: warning: declaration does not declare anything [-Wmissing-declarations]
- case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); __attribute((fallthrough));
- ^
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:216:59: warning: declaration does not declare anything [-Wmissing-declarations]
- case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); __attribute((fallthrough));
- ^
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:243:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
- register ub4 a,b,c,len;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:243:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
- register ub4 a,b,c,len;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:243:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
- register ub4 a,b,c,len;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/container/hashfunc.h:243:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
- register ub4 a,b,c,len;
- ^~~~~~~~~
- In file included from /home/thdebess/dev/netradiant/radiant/preferences.cpp:28:
- In file included from /home/thdebess/dev/netradiant/radiant/preferences.h:33:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:26:
- /home/thdebess/dev/netradiant/libs/uilib/uilib.h:602:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
- #define this (*static_cast<self>(this))
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/undo.cpp:31:
- In file included from /home/thdebess/dev/netradiant/radiant/preferences.h:33:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:26:
- /home/thdebess/dev/netradiant/libs/uilib/uilib.h:602:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
- #define this (*static_cast<self>(this))
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/xywindow.cpp:28:
- In file included from /home/thdebess/dev/netradiant/radiant/xywindow.h:28:
- In file included from /home/thdebess/dev/netradiant/libs/gtkutil/cursor.h:25:
- /home/thdebess/dev/netradiant/libs/uilib/uilib.h:602:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
- #define this (*static_cast<self>(this))
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/textures.cpp:40:
- In file included from /home/thdebess/dev/netradiant/radiant/preferences.h:33:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:26:
- /home/thdebess/dev/netradiant/libs/uilib/uilib.h:602:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
- #define this (*static_cast<self>(this))
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/undo.cpp:28:
- In file included from /home/thdebess/dev/netradiant/include/preferencesystem.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:118:87: error: non-type template argument refers to function 'ExportThunk' that does not have linkage
- A::Get::thunk_(self, ConstReferenceCaller<Callback<void(DST)>, void(SRC), ExportThunk>(returnz));
- ^~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:112:12: note: in instantiation of member function 'make_property_chain(detail::propertyimpl_self<UndoLevels> &)::I::Export' requested here
- struct I {
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, UndoLevels>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/undo.cpp:511:67: note: in instantiation of function template specialization 'make_property_string<UndoLevels, RadiantUndoSystem>' requested here
- GlobalPreferenceSystem().registerPreference("UndoLevels", make_property_string<UndoLevels>(m_undosystem));
- ^
- /home/thdebess/dev/netradiant/libs/property.h:113:21: note: non-type template argument refers to function here
- static void ExportThunk(const Callback<void(DST)> &self, SRC value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = ReferenceCaller<Self, void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<RadiantUndoSystem, const char *, I>' requested here
- using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
- template<class I, class Self, class T = detail::propertyimpl_other<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<RadiantUndoSystem, const char *, I>, RadiantUndoSystem>' required here
- Property<T> make_property(Self &self) {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:127:12: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<RadiantUndoSystem, const char *, I>, Self = RadiantUndoSystem, T =
- (no value)]
- return make_property<PropertyAdaptor<X, DST, I>>(it);
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, UndoLevels>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/undo.cpp:511:67: note: in instantiation of function template specialization 'make_property_string<UndoLevels, RadiantUndoSystem>' requested here
- GlobalPreferenceSystem().registerPreference("UndoLevels", make_property_string<UndoLevels>(m_undosystem));
- ^
- /home/thdebess/dev/netradiant/libs/property.h:121:21: note: non-type template argument refers to function here
- static void Import(X &self, DST value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:70:13: error: cannot convert 'typename PropertyAdaptor<RadiantUndoSystem, const char *, I>::Type' (aka 'RadiantUndoSystem') to
- 'typename PropertyAdaptor<RadiantUndoSystem, const char *, I>::Get' (aka 'int') without a conversion operator
- return {typename A::Get(self), typename A::Set(self)};
- ^~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:127:12: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<RadiantUndoSystem, const char *, I> >' requested here
- return make_property<PropertyAdaptor<X, DST, I>>(it);
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, UndoLevels>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/undo.cpp:511:67: note: in instantiation of function template specialization 'make_property_string<UndoLevels, RadiantUndoSystem>' requested here
- GlobalPreferenceSystem().registerPreference("UndoLevels", make_property_string<UndoLevels>(m_undosystem));
- ^
- 1 warning and 3 errors generated.
- _radiant/CMakeFiles/radiant.dir/build.make:1814 : la recette pour la cible « _radiant/CMakeFiles/radiant.dir/undo.cpp.o » a échouée
- make[2]: *** [_radiant/CMakeFiles/radiant.dir/undo.cpp.o] Erreur 1
- make[2]: *** Attente des tâches non terminées....
- In file included from /home/thdebess/dev/netradiant/radiant/textures.cpp:29:
- In file included from /home/thdebess/dev/netradiant/include/preferencesystem.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:142:90: error: non-type template argument refers to function 'ExportThunk' that does not have linkage
- A::Get::thunk_(nullptr, ConstReferenceCaller<Callback<void(DST)>, void(SRC), ExportThunk>(returnz));
- ^~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:136:12: note: in instantiation of member function 'make_property_chain()::I::Export' requested here
- struct I {
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:49:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, TextureCompressionPreference>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other_free<I>, const char *>, I>();
- ^
- /home/thdebess/dev/netradiant/radiant/textures.cpp:828:49: note: in instantiation of function template specialization 'make_property_string<TextureCompressionPreference>' requested here
- make_property_string<TextureCompressionPreference>());
- ^
- /home/thdebess/dev/netradiant/libs/property.h:137:21: note: non-type template argument refers to function here
- static void ExportThunk(const Callback<void(DST)> &self, SRC value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:63:37: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = FreeCaller<void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:36:60: note: in instantiation of template class 'PropertyAdaptorFree<const char *, I>' requested here
- using propertyimpl_other_free = get_argument<decltype(&I::Import), 0>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:91:37: note: in instantiation of template type alias 'propertyimpl_other_free' requested here
- template<class I, class T = detail::propertyimpl_other_free<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:92:13: note: in instantiation of default argument for 'make_property<PropertyAdaptorFree<const char *, I> >' required here
- Property<T> make_property() {
- ^~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:151:12: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptorFree<const char *, I>, T = (no value)]
- return make_property<PropertyAdaptorFree<DST, I>>();
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:49:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, TextureCompressionPreference>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other_free<I>, const char *>, I>();
- ^
- /home/thdebess/dev/netradiant/radiant/textures.cpp:828:49: note: in instantiation of function template specialization 'make_property_string<TextureCompressionPreference>' requested here
- make_property_string<TextureCompressionPreference>());
- ^
- /home/thdebess/dev/netradiant/libs/property.h:145:21: note: non-type template argument refers to function here
- static void Import(DST value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:75:13: error: no viable conversion from 'typename PropertyAdaptorFree<const char *, I>::Get' (aka 'int') to 'Callback<void (const Callback<void (const char *)> &)>'
- return {typename A::Get(), typename A::Set()};
- ^~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:151:12: note: in instantiation of function template specialization 'make_property<PropertyAdaptorFree<const char *, I> >' requested here
- return make_property<PropertyAdaptorFree<DST, I>>();
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:49:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, TextureCompressionPreference>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other_free<I>, const char *>, I>();
- ^
- /home/thdebess/dev/netradiant/radiant/textures.cpp:828:49: note: in instantiation of function template specialization 'make_property_string<TextureCompressionPreference>' requested here
- make_property_string<TextureCompressionPreference>());
- ^
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Get' (aka 'int') to
- 'const Callback<void (const Callback<void (const char *)> &)> &' for 1st argument
- class Callback<R(Ts...)> : public detail::CallbackBase<R(*)(void *, Ts...)> {
- ^
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Get' (aka 'int') to
- 'Callback<void (const Callback<void (const char *)> &)> &&' for 1st argument
- /home/thdebess/dev/netradiant/libs/generic/callback.h:214:2: note: candidate template ignored: could not match 'BindFirstOpaqueN<type-parameter-0-0, typename decltype(detail::get_func::test<Caller>(detail::rank<2>{}))::type::type>' against
- 'int'
- Callback(const BindFirstOpaque<Caller> &caller) : Base(caller.getEnvironment(), BindFirstOpaque<Caller>::thunk) {
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/textures.cpp:29:
- In file included from /home/thdebess/dev/netradiant/include/preferencesystem.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:75:32: error: no viable conversion from 'typename PropertyAdaptorFree<const char *, I>::Set' (aka 'int') to 'Callback<void (const char *)>'
- return {typename A::Get(), typename A::Set()};
- ^~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Set' (aka 'int') to
- 'const Callback<void (const char *)> &' for 1st argument
- class Callback<R(Ts...)> : public detail::CallbackBase<R(*)(void *, Ts...)> {
- ^
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Set' (aka 'int') to
- 'Callback<void (const char *)> &&' for 1st argument
- /home/thdebess/dev/netradiant/libs/generic/callback.h:214:2: note: candidate template ignored: could not match 'BindFirstOpaqueN<type-parameter-0-0, typename decltype(detail::get_func::test<Caller>(detail::rank<2>{}))::type::type>' against
- 'int'
- Callback(const BindFirstOpaque<Caller> &caller) : Base(caller.getEnvironment(), BindFirstOpaque<Caller>::thunk) {
- ^
- 19 warnings and 4 errors generated.
- _radiant/CMakeFiles/radiant.dir/build.make:1718 : la recette pour la cible « _radiant/CMakeFiles/radiant.dir/textures.cpp.o » a échouée
- make[2]: *** [_radiant/CMakeFiles/radiant.dir/textures.cpp.o] Erreur 1
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:51:77: error: non-type template argument refers to function 'Export' that does not have linkage
- using Get = ConstReferenceCaller<Self, void(const Callback<void(T)> &), I::Export>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<_GtkToggleButton, bool, Wrapper>' requested here
- using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
- template<class I, class Self, class T = detail::propertyimpl_other<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<_GtkToggleButton, bool, Wrapper>, _GtkToggleButton>' required here
- Property<T> make_property(Self &self) {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:309:13: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<_GtkToggleButton, bool, Wrapper>, Self = _GtkToggleButton, T =
- (no value)]
- make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:376:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::ToggleButton, bool, BoolToggle> >' requested here
- AddDataCustom<BoolToggleImportExport>(m_data, widget, cb);
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:294:21: note: non-type template argument refers to function here
- static void Export(const native &self, const Callback<void(T)> &returnz)
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = ReferenceCaller<Self, void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:301:21: note: non-type template argument refers to function here
- static void Import(native &self, T value)
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/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
- return {typename A::Get(self), typename A::Set(self)};
- ^~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:309:13: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<_GtkToggleButton, bool, Wrapper> >' requested here
- make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:376:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::ToggleButton, bool, BoolToggle> >' requested here
- AddDataCustom<BoolToggleImportExport>(m_data, widget, cb);
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:51:77: error: non-type template argument refers to function 'Export' that does not have linkage
- using Get = ConstReferenceCaller<Self, void(const Callback<void(T)> &), I::Export>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<_GtkRadioButton, int, Wrapper>' requested here
- using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
- template<class I, class Self, class T = detail::propertyimpl_other<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<_GtkRadioButton, int, Wrapper>, _GtkRadioButton>' required here
- Property<T> make_property(Self &self) {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:309:13: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<_GtkRadioButton, int, Wrapper>, Self = _GtkRadioButton, T =
- (no value)]
- make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:381:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::RadioButton, int, IntRadio> >' requested here
- AddDataCustom<IntRadioImportExport>(m_data, widget, cb);
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:294:21: note: non-type template argument refers to function here
- static void Export(const native &self, const Callback<void(T)> &returnz)
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = ReferenceCaller<Self, void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:301:21: note: non-type template argument refers to function here
- static void Import(native &self, T value)
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/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
- return {typename A::Get(self), typename A::Set(self)};
- ^~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:309:13: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<_GtkRadioButton, int, Wrapper> >' requested here
- make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:381:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::RadioButton, int, IntRadio> >' requested here
- AddDataCustom<IntRadioImportExport>(m_data, widget, cb);
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:51:77: error: non-type template argument refers to function 'Export' that does not have linkage
- using Get = ConstReferenceCaller<Self, void(const Callback<void(T)> &), I::Export>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<_GtkEntry, const char *, Wrapper>' requested here
- using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
- template<class I, class Self, class T = detail::propertyimpl_other<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<_GtkEntry, const char *, Wrapper>, _GtkEntry>' required here
- Property<T> make_property(Self &self) {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:309:13: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<_GtkEntry, const char *, Wrapper>, Self = _GtkEntry, T =
- (no value)]
- make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:386:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, const char *, TextEntry> >' requested here
- AddDataCustom<TextEntryImportExport>(m_data, widget, cb);
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:294:21: note: non-type template argument refers to function here
- static void Export(const native &self, const Callback<void(T)> &returnz)
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = ReferenceCaller<Self, void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:301:21: note: non-type template argument refers to function here
- static void Import(native &self, T value)
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/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
- return {typename A::Get(self), typename A::Set(self)};
- ^~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:309:13: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<_GtkEntry, const char *, Wrapper> >' requested here
- make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:386:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, const char *, TextEntry> >' requested here
- AddDataCustom<TextEntryImportExport>(m_data, widget, cb);
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:51:77: error: non-type template argument refers to function 'Export' that does not have linkage
- using Get = ConstReferenceCaller<Self, void(const Callback<void(T)> &), I::Export>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<_GtkEntry, int, Wrapper>' requested here
- using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
- template<class I, class Self, class T = detail::propertyimpl_other<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<_GtkEntry, int, Wrapper>, _GtkEntry>' required here
- Property<T> make_property(Self &self) {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:309:13: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<_GtkEntry, int, Wrapper>, Self = _GtkEntry, T = (no value)]
- make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:391:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, int, IntEntry> >' requested here
- AddDataCustom<IntEntryImportExport>(m_data, widget, cb);
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:294:21: note: non-type template argument refers to function here
- static void Export(const native &self, const Callback<void(T)> &returnz)
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = ReferenceCaller<Self, void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:301:21: note: non-type template argument refers to function here
- static void Import(native &self, T value)
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/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
- return {typename A::Get(self), typename A::Set(self)};
- ^~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:309:13: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<_GtkEntry, int, Wrapper> >' requested here
- make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:391:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, int, IntEntry> >' requested here
- AddDataCustom<IntEntryImportExport>(m_data, widget, cb);
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:51:77: error: non-type template argument refers to function 'Export' that does not have linkage
- using Get = ConstReferenceCaller<Self, void(const Callback<void(T)> &), I::Export>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<_GtkEntry, unsigned long, Wrapper>' requested here
- using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
- template<class I, class Self, class T = detail::propertyimpl_other<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<_GtkEntry, unsigned long, Wrapper>, _GtkEntry>' required here
- Property<T> make_property(Self &self) {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:309:13: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<_GtkEntry, unsigned long, Wrapper>, Self = _GtkEntry, T =
- (no value)]
- make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:396:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, unsigned long, SizeEntry> >' requested here
- AddDataCustom<SizeEntryImportExport>(m_data, widget, cb);
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:294:21: note: non-type template argument refers to function here
- static void Export(const native &self, const Callback<void(T)> &returnz)
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = ReferenceCaller<Self, void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:301:21: note: non-type template argument refers to function here
- static void Import(native &self, T value)
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/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
- return {typename A::Get(self), typename A::Set(self)};
- ^~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:309:13: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<_GtkEntry, unsigned long, Wrapper> >' requested here
- make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:396:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, unsigned long, SizeEntry> >' requested here
- AddDataCustom<SizeEntryImportExport>(m_data, widget, cb);
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:51:77: error: non-type template argument refers to function 'Export' that does not have linkage
- using Get = ConstReferenceCaller<Self, void(const Callback<void(T)> &), I::Export>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<_GtkEntry, float, Wrapper>' requested here
- using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
- template<class I, class Self, class T = detail::propertyimpl_other<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<_GtkEntry, float, Wrapper>, _GtkEntry>' required here
- Property<T> make_property(Self &self) {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:309:13: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<_GtkEntry, float, Wrapper>, Self = _GtkEntry, T = (no value)]
- make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:401:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, float, FloatEntry> >' requested here
- AddDataCustom<FloatEntryImportExport>(m_data, widget, cb);
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:294:21: note: non-type template argument refers to function here
- static void Export(const native &self, const Callback<void(T)> &returnz)
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = ReferenceCaller<Self, void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:301:21: note: non-type template argument refers to function here
- static void Import(native &self, T value)
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/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
- return {typename A::Get(self), typename A::Set(self)};
- ^~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:309:13: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<_GtkEntry, float, Wrapper> >' requested here
- make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:401:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::Entry, float, FloatEntry> >' requested here
- AddDataCustom<FloatEntryImportExport>(m_data, widget, cb);
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.cpp:29:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:51:77: error: non-type template argument refers to function 'Export' that does not have linkage
- using Get = ConstReferenceCaller<Self, void(const Callback<void(T)> &), I::Export>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<_GtkSpinButton, float, Wrapper>' requested here
- using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
- template<class I, class Self, class T = detail::propertyimpl_other<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<_GtkSpinButton, float, Wrapper>, _GtkSpinButton>' required here
- Property<T> make_property(Self &self) {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:309:13: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<_GtkSpinButton, float, Wrapper>, Self = _GtkSpinButton, T =
- (no value)]
- make_property<PropertyAdaptor<native, T, Wrapper>>(*static_cast<native *>(widget)),
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:406:5: note: in instantiation of function template specialization 'AddDataCustom<PropertyAdaptor<ui::SpinButton, float, FloatSpinner> >' requested here
- AddDataCustom<FloatSpinnerImportExport>(m_data, widget, cb);
- ^
- /home/thdebess/dev/netradiant/radiant/dialog.cpp:294:21: note: non-type template argument refers to function here
- static void Export(const native &self, const Callback<void(T)> &returnz)
- ^
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 1 warning and 20 errors generated.
- _radiant/CMakeFiles/radiant.dir/build.make:398 : la recette pour la cible « _radiant/CMakeFiles/radiant.dir/dialog.cpp.o » a échouée
- make[2]: *** [_radiant/CMakeFiles/radiant.dir/dialog.cpp.o] Erreur 1
- In file included from /home/thdebess/dev/netradiant/radiant/texwindow.cpp:28:
- In file included from /home/thdebess/dev/netradiant/radiant/texwindow.h:26:
- /home/thdebess/dev/netradiant/libs/property.h:118:87: error: non-type template argument refers to function 'ExportThunk' that does not have linkage
- A::Get::thunk_(self, ConstReferenceCaller<Callback<void(DST)>, void(SRC), ExportThunk>(returnz));
- ^~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:112:12: note: in instantiation of member function 'make_property_chain(detail::propertyimpl_self<TextureScale> &)::I::Export' requested here
- struct I {
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, TextureScale>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/texwindow.cpp:2792:65: note: in instantiation of function template specialization 'make_property_string<TextureScale, TextureBrowser>' requested here
- GlobalPreferenceSystem().registerPreference("TextureScale", make_property_string<TextureScale>(g_TextureBrowser));
- ^
- /home/thdebess/dev/netradiant/libs/property.h:113:21: note: non-type template argument refers to function here
- static void ExportThunk(const Callback<void(DST)> &self, SRC value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = ReferenceCaller<Self, void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<TextureBrowser, const char *, I>' requested here
- using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
- template<class I, class Self, class T = detail::propertyimpl_other<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<TextureBrowser, const char *, I>, TextureBrowser>' required here
- Property<T> make_property(Self &self) {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:127:12: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<TextureBrowser, const char *, I>, Self = TextureBrowser, T =
- (no value)]
- return make_property<PropertyAdaptor<X, DST, I>>(it);
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, TextureScale>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/texwindow.cpp:2792:65: note: in instantiation of function template specialization 'make_property_string<TextureScale, TextureBrowser>' requested here
- GlobalPreferenceSystem().registerPreference("TextureScale", make_property_string<TextureScale>(g_TextureBrowser));
- ^
- /home/thdebess/dev/netradiant/libs/property.h:121:21: note: non-type template argument refers to function here
- static void Import(X &self, DST value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:70:13: error: cannot convert 'typename PropertyAdaptor<TextureBrowser, const char *, I>::Type' (aka 'TextureBrowser') to 'typename PropertyAdaptor<TextureBrowser, const char *, I>::Get'
- (aka 'int') without a conversion operator
- return {typename A::Get(self), typename A::Set(self)};
- ^~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:127:12: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<TextureBrowser, const char *, I> >' requested here
- return make_property<PropertyAdaptor<X, DST, I>>(it);
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, TextureScale>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/texwindow.cpp:2792:65: note: in instantiation of function template specialization 'make_property_string<TextureScale, TextureBrowser>' requested here
- GlobalPreferenceSystem().registerPreference("TextureScale", make_property_string<TextureScale>(g_TextureBrowser));
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/texwindow.cpp:28:
- In file included from /home/thdebess/dev/netradiant/radiant/texwindow.h:26:
- /home/thdebess/dev/netradiant/libs/property.h:118:87: error: non-type template argument refers to function 'ExportThunk' that does not have linkage
- A::Get::thunk_(self, ConstReferenceCaller<Callback<void(DST)>, void(SRC), ExportThunk>(returnz));
- ^~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:112:12: note: in instantiation of member function 'make_property_chain(detail::propertyimpl_self<UniformTextureSize> &)::I::Export' requested here
- struct I {
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, UniformTextureSize>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/texwindow.cpp:2794:49: note: in instantiation of function template specialization 'make_property_string<UniformTextureSize, TextureBrowser>' requested here
- make_property_string<UniformTextureSize>(g_TextureBrowser));
- ^
- /home/thdebess/dev/netradiant/libs/property.h:113:21: note: non-type template argument refers to function here
- static void ExportThunk(const Callback<void(DST)> &self, SRC value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = ReferenceCaller<Self, void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<TextureBrowser, const char *, I>' requested here
- using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
- template<class I, class Self, class T = detail::propertyimpl_other<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<TextureBrowser, const char *, I>, TextureBrowser>' required here
- Property<T> make_property(Self &self) {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:127:12: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<TextureBrowser, const char *, I>, Self = TextureBrowser, T =
- (no value)]
- return make_property<PropertyAdaptor<X, DST, I>>(it);
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, UniformTextureSize>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/texwindow.cpp:2794:49: note: in instantiation of function template specialization 'make_property_string<UniformTextureSize, TextureBrowser>' requested here
- make_property_string<UniformTextureSize>(g_TextureBrowser));
- ^
- /home/thdebess/dev/netradiant/libs/property.h:121:21: note: non-type template argument refers to function here
- static void Import(X &self, DST value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:70:13: error: cannot convert 'typename PropertyAdaptor<TextureBrowser, const char *, I>::Type' (aka 'TextureBrowser') to 'typename PropertyAdaptor<TextureBrowser, const char *, I>::Get'
- (aka 'int') without a conversion operator
- return {typename A::Get(self), typename A::Set(self)};
- ^~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:127:12: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<TextureBrowser, const char *, I> >' requested here
- return make_property<PropertyAdaptor<X, DST, I>>(it);
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, UniformTextureSize>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/texwindow.cpp:2794:49: note: in instantiation of function template specialization 'make_property_string<UniformTextureSize, TextureBrowser>' requested here
- make_property_string<UniformTextureSize>(g_TextureBrowser));
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/texwindow.cpp:28:
- In file included from /home/thdebess/dev/netradiant/radiant/texwindow.h:26:
- /home/thdebess/dev/netradiant/libs/property.h:118:87: error: non-type template argument refers to function 'ExportThunk' that does not have linkage
- A::Get::thunk_(self, ConstReferenceCaller<Callback<void(DST)>, void(SRC), ExportThunk>(returnz));
- ^~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:112:12: note: in instantiation of member function 'make_property_chain(detail::propertyimpl_self<TextureBrowser_ShowScrollbar> &)::I::Export' requested here
- struct I {
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, TextureBrowser_ShowScrollbar>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/texwindow.cpp:2795:69: note: in instantiation of function template specialization 'make_property_string<TextureBrowser_ShowScrollbar, TextureBrowser>' requested here
- GlobalPreferenceSystem().registerPreference("TextureScrollbar", make_property_string<TextureBrowser_ShowScrollbar>(
- ^
- /home/thdebess/dev/netradiant/libs/property.h:113:21: note: non-type template argument refers to function here
- static void ExportThunk(const Callback<void(DST)> &self, SRC value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = ReferenceCaller<Self, void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<TextureBrowser, const char *, I>' requested here
- using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
- template<class I, class Self, class T = detail::propertyimpl_other<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<TextureBrowser, const char *, I>, TextureBrowser>' required here
- Property<T> make_property(Self &self) {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:127:12: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<TextureBrowser, const char *, I>, Self = TextureBrowser, T =
- (no value)]
- return make_property<PropertyAdaptor<X, DST, I>>(it);
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, TextureBrowser_ShowScrollbar>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/texwindow.cpp:2795:69: note: in instantiation of function template specialization 'make_property_string<TextureBrowser_ShowScrollbar, TextureBrowser>' requested here
- GlobalPreferenceSystem().registerPreference("TextureScrollbar", make_property_string<TextureBrowser_ShowScrollbar>(
- ^
- /home/thdebess/dev/netradiant/libs/property.h:121:21: note: non-type template argument refers to function here
- static void Import(X &self, DST value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:70:13: error: cannot convert 'typename PropertyAdaptor<TextureBrowser, const char *, I>::Type' (aka 'TextureBrowser') to 'typename PropertyAdaptor<TextureBrowser, const char *, I>::Get'
- (aka 'int') without a conversion operator
- return {typename A::Get(self), typename A::Set(self)};
- ^~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:127:12: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<TextureBrowser, const char *, I> >' requested here
- return make_property<PropertyAdaptor<X, DST, I>>(it);
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, TextureBrowser_ShowScrollbar>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/texwindow.cpp:2795:69: note: in instantiation of function template specialization 'make_property_string<TextureBrowser_ShowScrollbar, TextureBrowser>' requested here
- GlobalPreferenceSystem().registerPreference("TextureScrollbar", make_property_string<TextureBrowser_ShowScrollbar>(
- ^
- 1 warning and 9 errors generated.
- _radiant/CMakeFiles/radiant.dir/build.make:1742 : la recette pour la cible « _radiant/CMakeFiles/radiant.dir/texwindow.cpp.o » a échouée
- make[2]: *** [_radiant/CMakeFiles/radiant.dir/texwindow.cpp.o] Erreur 1
- In file included from /home/thdebess/dev/netradiant/radiant/brushmodule.cpp:24:
- In file included from /home/thdebess/dev/netradiant/include/qerplugin.h:29:
- In file included from /home/thdebess/dev/netradiant/libs/uilib/uilib.h:4:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/string:41:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/allocator.h:46:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/x86_64-linux-gnu/c++/6.3.0/bits/c++allocator.h:33:
- /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/ext/new_allocator.h:124:29: warning: destructor called on non-final 'EdgeInstance' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
- destroy(_Up* __p) { __p->~_Up(); }
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/alloc_traits.h:487:8: note: in instantiation of function template specialization '__gnu_cxx::new_allocator<EdgeInstance>::destroy<EdgeInstance>' requested here
- { __a.destroy(__p); }
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/vector.tcc:430:23: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<EdgeInstance> >::destroy<EdgeInstance>'
- requested here
- _Alloc_traits::destroy(this->_M_impl, __new_start + size());
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/vector.tcc:101:4: note: in instantiation of function template specialization 'std::vector<EdgeInstance, std::allocator<EdgeInstance>
- >::_M_emplace_back_aux<EdgeInstance>' requested here
- _M_emplace_back_aux(std::forward<_Args>(__args)...);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/stl_vector.h:933:9: note: in instantiation of function template specialization 'std::vector<EdgeInstance, std::allocator<EdgeInstance>
- >::emplace_back<EdgeInstance>' requested here
- { emplace_back(std::move(__x)); }
- ^
- /home/thdebess/dev/netradiant/radiant/brush.h:3504:25: note: in instantiation of member function 'std::vector<EdgeInstance, std::allocator<EdgeInstance> >::push_back' requested here
- m_edgeInstances.push_back(EdgeInstance(m_faceInstances, edge));
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/ext/new_allocator.h:124:35: note: qualify call to silence this warning
- destroy(_Up* __p) { __p->~_Up(); }
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/ext/new_allocator.h:124:29: warning: destructor called on non-final 'VertexInstance' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
- destroy(_Up* __p) { __p->~_Up(); }
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/alloc_traits.h:487:8: note: in instantiation of function template specialization '__gnu_cxx::new_allocator<VertexInstance>::destroy<VertexInstance>' requested
- here
- { __a.destroy(__p); }
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/vector.tcc:430:23: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<VertexInstance> >::destroy<VertexInstance>'
- requested here
- _Alloc_traits::destroy(this->_M_impl, __new_start + size());
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/vector.tcc:101:4: note: in instantiation of function template specialization 'std::vector<VertexInstance, std::allocator<VertexInstance>
- >::_M_emplace_back_aux<VertexInstance>' requested here
- _M_emplace_back_aux(std::forward<_Args>(__args)...);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/stl_vector.h:933:9: note: in instantiation of function template specialization 'std::vector<VertexInstance, std::allocator<VertexInstance>
- >::emplace_back<VertexInstance>' requested here
- { emplace_back(std::move(__x)); }
- ^
- /home/thdebess/dev/netradiant/radiant/brush.h:3514:27: note: in instantiation of member function 'std::vector<VertexInstance, std::allocator<VertexInstance> >::push_back' requested here
- m_vertexInstances.push_back(VertexInstance(m_faceInstances, vertex));
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/ext/new_allocator.h:124:35: note: qualify call to silence this warning
- destroy(_Up* __p) { __p->~_Up(); }
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/camwindow.cpp:41:
- In file included from /home/thdebess/dev/netradiant/include/preferencesystem.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:142:90: error: non-type template argument refers to function 'ExportThunk' that does not have linkage
- A::Get::thunk_(nullptr, ConstReferenceCaller<Callback<void(DST)>, void(SRC), ExportThunk>(returnz));
- ^~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:136:12: note: in instantiation of member function 'make_property_chain()::I::Export' requested here
- struct I {
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:49:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, CamWnd_Move_Discrete>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other_free<I>, const char *>, I>();
- ^
- /home/thdebess/dev/netradiant/radiant/camwindow.cpp:2155:64: note: in instantiation of function template specialization 'make_property_string<CamWnd_Move_Discrete>' requested here
- GlobalPreferenceSystem().registerPreference("CamDiscrete", make_property_string<CamWnd_Move_Discrete>());
- ^
- /home/thdebess/dev/netradiant/libs/property.h:137:21: note: non-type template argument refers to function here
- static void ExportThunk(const Callback<void(DST)> &self, SRC value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:63:37: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = FreeCaller<void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:36:60: note: in instantiation of template class 'PropertyAdaptorFree<const char *, I>' requested here
- using propertyimpl_other_free = get_argument<decltype(&I::Import), 0>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:91:37: note: in instantiation of template type alias 'propertyimpl_other_free' requested here
- template<class I, class T = detail::propertyimpl_other_free<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:92:13: note: in instantiation of default argument for 'make_property<PropertyAdaptorFree<const char *, I> >' required here
- Property<T> make_property() {
- ^~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:151:12: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptorFree<const char *, I>, T = (no value)]
- return make_property<PropertyAdaptorFree<DST, I>>();
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:49:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, CamWnd_Move_Discrete>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other_free<I>, const char *>, I>();
- ^
- /home/thdebess/dev/netradiant/radiant/camwindow.cpp:2155:64: note: in instantiation of function template specialization 'make_property_string<CamWnd_Move_Discrete>' requested here
- GlobalPreferenceSystem().registerPreference("CamDiscrete", make_property_string<CamWnd_Move_Discrete>());
- ^
- /home/thdebess/dev/netradiant/libs/property.h:145:21: note: non-type template argument refers to function here
- static void Import(DST value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:75:13: error: no viable conversion from 'typename PropertyAdaptorFree<const char *, I>::Get' (aka 'int') to 'Callback<void (const Callback<void (const char *)> &)>'
- return {typename A::Get(), typename A::Set()};
- ^~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:151:12: note: in instantiation of function template specialization 'make_property<PropertyAdaptorFree<const char *, I> >' requested here
- return make_property<PropertyAdaptorFree<DST, I>>();
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:49:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, CamWnd_Move_Discrete>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other_free<I>, const char *>, I>();
- ^
- /home/thdebess/dev/netradiant/radiant/camwindow.cpp:2155:64: note: in instantiation of function template specialization 'make_property_string<CamWnd_Move_Discrete>' requested here
- GlobalPreferenceSystem().registerPreference("CamDiscrete", make_property_string<CamWnd_Move_Discrete>());
- ^
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Get' (aka 'int') to
- 'const Callback<void (const Callback<void (const char *)> &)> &' for 1st argument
- class Callback<R(Ts...)> : public detail::CallbackBase<R(*)(void *, Ts...)> {
- ^
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Get' (aka 'int') to
- 'Callback<void (const Callback<void (const char *)> &)> &&' for 1st argument
- /home/thdebess/dev/netradiant/libs/generic/callback.h:214:2: note: candidate template ignored: could not match 'BindFirstOpaqueN<type-parameter-0-0, typename decltype(detail::get_func::test<Caller>(detail::rank<2>{}))::type::type>' against
- 'int'
- Callback(const BindFirstOpaque<Caller> &caller) : Base(caller.getEnvironment(), BindFirstOpaque<Caller>::thunk) {
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/camwindow.cpp:41:
- In file included from /home/thdebess/dev/netradiant/include/preferencesystem.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:75:32: error: no viable conversion from 'typename PropertyAdaptorFree<const char *, I>::Set' (aka 'int') to 'Callback<void (const char *)>'
- return {typename A::Get(), typename A::Set()};
- ^~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Set' (aka 'int') to
- 'const Callback<void (const char *)> &' for 1st argument
- class Callback<R(Ts...)> : public detail::CallbackBase<R(*)(void *, Ts...)> {
- ^
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Set' (aka 'int') to
- 'Callback<void (const char *)> &&' for 1st argument
- /home/thdebess/dev/netradiant/libs/generic/callback.h:214:2: note: candidate template ignored: could not match 'BindFirstOpaqueN<type-parameter-0-0, typename decltype(detail::get_func::test<Caller>(detail::rank<2>{}))::type::type>' against
- 'int'
- Callback(const BindFirstOpaque<Caller> &caller) : Base(caller.getEnvironment(), BindFirstOpaque<Caller>::thunk) {
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/camwindow.cpp:41:
- In file included from /home/thdebess/dev/netradiant/include/preferencesystem.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:142:90: error: non-type template argument refers to function 'ExportThunk' that does not have linkage
- A::Get::thunk_(nullptr, ConstReferenceCaller<Callback<void(DST)>, void(SRC), ExportThunk>(returnz));
- ^~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:136:12: note: in instantiation of member function 'make_property_chain()::I::Export' requested here
- struct I {
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:49:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, RenderMode>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other_free<I>, const char *>, I>();
- ^
- /home/thdebess/dev/netradiant/radiant/camwindow.cpp:2163:69: note: in instantiation of function template specialization 'make_property_string<RenderMode>' requested here
- GlobalPreferenceSystem().registerPreference("CameraRenderMode", make_property_string<RenderMode>());
- ^
- /home/thdebess/dev/netradiant/libs/property.h:137:21: note: non-type template argument refers to function here
- static void ExportThunk(const Callback<void(DST)> &self, SRC value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:63:37: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = FreeCaller<void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:36:60: note: in instantiation of template class 'PropertyAdaptorFree<const char *, I>' requested here
- using propertyimpl_other_free = get_argument<decltype(&I::Import), 0>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:91:37: note: in instantiation of template type alias 'propertyimpl_other_free' requested here
- template<class I, class T = detail::propertyimpl_other_free<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:92:13: note: in instantiation of default argument for 'make_property<PropertyAdaptorFree<const char *, I> >' required here
- Property<T> make_property() {
- ^~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:151:12: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptorFree<const char *, I>, T = (no value)]
- return make_property<PropertyAdaptorFree<DST, I>>();
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:49:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, RenderMode>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other_free<I>, const char *>, I>();
- ^
- /home/thdebess/dev/netradiant/radiant/camwindow.cpp:2163:69: note: in instantiation of function template specialization 'make_property_string<RenderMode>' requested here
- GlobalPreferenceSystem().registerPreference("CameraRenderMode", make_property_string<RenderMode>());
- ^
- /home/thdebess/dev/netradiant/libs/property.h:145:21: note: non-type template argument refers to function here
- static void Import(DST value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:75:13: error: no viable conversion from 'typename PropertyAdaptorFree<const char *, I>::Get' (aka 'int') to 'Callback<void (const Callback<void (const char *)> &)>'
- return {typename A::Get(), typename A::Set()};
- ^~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:151:12: note: in instantiation of function template specialization 'make_property<PropertyAdaptorFree<const char *, I> >' requested here
- return make_property<PropertyAdaptorFree<DST, I>>();
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:49:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<int, const char *>, RenderMode>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other_free<I>, const char *>, I>();
- ^
- /home/thdebess/dev/netradiant/radiant/camwindow.cpp:2163:69: note: in instantiation of function template specialization 'make_property_string<RenderMode>' requested here
- GlobalPreferenceSystem().registerPreference("CameraRenderMode", make_property_string<RenderMode>());
- ^
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Get' (aka 'int') to
- 'const Callback<void (const Callback<void (const char *)> &)> &' for 1st argument
- class Callback<R(Ts...)> : public detail::CallbackBase<R(*)(void *, Ts...)> {
- ^
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Get' (aka 'int') to
- 'Callback<void (const Callback<void (const char *)> &)> &&' for 1st argument
- /home/thdebess/dev/netradiant/libs/generic/callback.h:214:2: note: candidate template ignored: could not match 'BindFirstOpaqueN<type-parameter-0-0, typename decltype(detail::get_func::test<Caller>(detail::rank<2>{}))::type::type>' against
- 'int'
- Callback(const BindFirstOpaque<Caller> &caller) : Base(caller.getEnvironment(), BindFirstOpaque<Caller>::thunk) {
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/camwindow.cpp:41:
- In file included from /home/thdebess/dev/netradiant/include/preferencesystem.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:75:32: error: no viable conversion from 'typename PropertyAdaptorFree<const char *, I>::Set' (aka 'int') to 'Callback<void (const char *)>'
- return {typename A::Get(), typename A::Set()};
- ^~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Set' (aka 'int') to
- 'const Callback<void (const char *)> &' for 1st argument
- class Callback<R(Ts...)> : public detail::CallbackBase<R(*)(void *, Ts...)> {
- ^
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Set' (aka 'int') to
- 'Callback<void (const char *)> &&' for 1st argument
- /home/thdebess/dev/netradiant/libs/generic/callback.h:214:2: note: candidate template ignored: could not match 'BindFirstOpaqueN<type-parameter-0-0, typename decltype(detail::get_func::test<Caller>(detail::rank<2>{}))::type::type>' against
- 'int'
- Callback(const BindFirstOpaque<Caller> &caller) : Base(caller.getEnvironment(), BindFirstOpaque<Caller>::thunk) {
- ^
- 1 warning and 8 errors generated.
- In file included from /home/thdebess/dev/netradiant/radiant/preferences.cpp:28:
- In file included from /home/thdebess/dev/netradiant/radiant/preferences.h:33:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:142:90: error: non-type template argument refers to function 'ExportThunk' that does not have linkage
- A::Get::thunk_(nullptr, ConstReferenceCaller<Callback<void(DST)>, void(SRC), ExportThunk>(returnz));
- ^~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:136:12: note: in instantiation of member function 'make_property_chain()::I::Export' requested here
- struct I {
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:49:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, LogConsole>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other_free<I>, const char *>, I>();
- ^
- /home/thdebess/dev/netradiant/radiant/preferences.cpp:246:51: note: in instantiation of function template specialization 'make_property_string<LogConsole>' requested here
- preferences.registerPreference("log console", make_property_string<LogConsole>());
- ^
- /home/thdebess/dev/netradiant/libs/property.h:137:21: note: non-type template argument refers to function here
- static void ExportThunk(const Callback<void(DST)> &self, SRC value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:63:37: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = FreeCaller<void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:36:60: note: in instantiation of template class 'PropertyAdaptorFree<const char *, I>' requested here
- using propertyimpl_other_free = get_argument<decltype(&I::Import), 0>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:91:37: note: in instantiation of template type alias 'propertyimpl_other_free' requested here
- template<class I, class T = detail::propertyimpl_other_free<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:92:13: note: in instantiation of default argument for 'make_property<PropertyAdaptorFree<const char *, I> >' required here
- Property<T> make_property() {
- ^~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:151:12: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptorFree<const char *, I>, T = (no value)]
- return make_property<PropertyAdaptorFree<DST, I>>();
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:49:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, LogConsole>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other_free<I>, const char *>, I>();
- ^
- /home/thdebess/dev/netradiant/radiant/preferences.cpp:246:51: note: in instantiation of function template specialization 'make_property_string<LogConsole>' requested here
- preferences.registerPreference("log console", make_property_string<LogConsole>());
- ^
- /home/thdebess/dev/netradiant/libs/property.h:145:21: note: non-type template argument refers to function here
- static void Import(DST value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:75:13: error: no viable conversion from 'typename PropertyAdaptorFree<const char *, I>::Get' (aka 'int') to 'Callback<void (const Callback<void (const char *)> &)>'
- return {typename A::Get(), typename A::Set()};
- ^~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:151:12: note: in instantiation of function template specialization 'make_property<PropertyAdaptorFree<const char *, I> >' requested here
- return make_property<PropertyAdaptorFree<DST, I>>();
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:49:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, LogConsole>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other_free<I>, const char *>, I>();
- ^
- /home/thdebess/dev/netradiant/radiant/preferences.cpp:246:51: note: in instantiation of function template specialization 'make_property_string<LogConsole>' requested here
- preferences.registerPreference("log console", make_property_string<LogConsole>());
- ^
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Get' (aka 'int') to
- 'const Callback<void (const Callback<void (const char *)> &)> &' for 1st argument
- class Callback<R(Ts...)> : public detail::CallbackBase<R(*)(void *, Ts...)> {
- ^
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Get' (aka 'int') to
- 'Callback<void (const Callback<void (const char *)> &)> &&' for 1st argument
- /home/thdebess/dev/netradiant/libs/generic/callback.h:214:2: note: candidate template ignored: could not match 'BindFirstOpaqueN<type-parameter-0-0, typename decltype(detail::get_func::test<Caller>(detail::rank<2>{}))::type::type>' against
- 'int'
- Callback(const BindFirstOpaque<Caller> &caller) : Base(caller.getEnvironment(), BindFirstOpaque<Caller>::thunk) {
- ^
- In file included from /home/thdebess/dev/netradiant/radiant/preferences.cpp:28:
- In file included from /home/thdebess/dev/netradiant/radiant/preferences.h:33:
- In file included from /home/thdebess/dev/netradiant/radiant/dialog.h:27:
- /home/thdebess/dev/netradiant/libs/property.h:75:32: error: no viable conversion from 'typename PropertyAdaptorFree<const char *, I>::Set' (aka 'int') to 'Callback<void (const char *)>'
- return {typename A::Get(), typename A::Set()};
- ^~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Set' (aka 'int') to
- 'const Callback<void (const char *)> &' for 1st argument
- class Callback<R(Ts...)> : public detail::CallbackBase<R(*)(void *, Ts...)> {_radiant/CMakeFiles/radiant.dir/build.make:278 : la recette pour la cible « _radiant/CMakeFiles/radiant.dir/camwindow.cpp.o » a échouée
- make[2]: *** [_radiant/CMakeFiles/radiant.dir/camwindow.cpp.o] Erreur 1
- ^
- /home/thdebess/dev/netradiant/libs/generic/callback.h:201:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'typename PropertyAdaptorFree<const char *, I>::Set' (aka 'int') to
- 'Callback<void (const char *)> &&' for 1st argument
- /home/thdebess/dev/netradiant/libs/generic/callback.h:214:2: note: candidate template ignored: could not match 'BindFirstOpaqueN<type-parameter-0-0, typename decltype(detail::get_func::test<Caller>(detail::rank<2>{}))::type::type>' against
- 'int'
- Callback(const BindFirstOpaque<Caller> &caller) : Base(caller.getEnvironment(), BindFirstOpaque<Caller>::thunk) {
- ^
- 1 warning and 4 errors generated.
- _radiant/CMakeFiles/radiant.dir/build.make:1334 : la recette pour la cible « _radiant/CMakeFiles/radiant.dir/preferences.cpp.o » a échouée
- make[2]: *** [_radiant/CMakeFiles/radiant.dir/preferences.cpp.o] Erreur 1
- In file included from /home/thdebess/dev/netradiant/radiant/brushmodule.cpp:26:
- In file included from /home/thdebess/dev/netradiant/radiant/brushnode.h:27:
- In file included from /home/thdebess/dev/netradiant/radiant/brushtokens.h:25:
- In file included from /home/thdebess/dev/netradiant/libs/stringio.h:32:
- /home/thdebess/dev/netradiant/libs/property.h:118:87: error: non-type template argument refers to function 'ExportThunk' that does not have linkage
- A::Get::thunk_(self, ConstReferenceCaller<Callback<void(DST)>, void(SRC), ExportThunk>(returnz));
- ^~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:112:12: note: in instantiation of member function 'make_property_chain(detail::propertyimpl_self<Face_SnapPlanes> &)::I::Export' requested here
- struct I {
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, Face_SnapPlanes>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/brushmodule.cpp:167:49: note: in instantiation of function template specialization 'make_property_string<Face_SnapPlanes, double (*)(double)>' requested here
- make_property_string<Face_SnapPlanes>(Face::m_quantise));
- ^
- /home/thdebess/dev/netradiant/libs/property.h:113:21: note: non-type template argument refers to function here
- static void ExportThunk(const Callback<void(DST)> &self, SRC value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = ReferenceCaller<Self, void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<double (*)(double), const char *, I>' requested here
- using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
- template<class I, class Self, class T = detail::propertyimpl_other<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<double (*)(double), const char *, I>, double (*)(double)>' required here
- Property<T> make_property(Self &self) {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:127:12: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<double (*)(double), const char *, I>, Self = double (*)(double), T =
- (no value)]
- return make_property<PropertyAdaptor<X, DST, I>>(it);
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, Face_SnapPlanes>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/brushmodule.cpp:167:49: note: in instantiation of function template specialization 'make_property_string<Face_SnapPlanes, double (*)(double)>' requested here
- make_property_string<Face_SnapPlanes>(Face::m_quantise));
- ^
- /home/thdebess/dev/netradiant/libs/property.h:121:21: note: non-type template argument refers to function here
- static void Import(X &self, DST value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:70:13: error: cast from pointer to smaller type 'typename PropertyAdaptor<double (*)(double), const char *, I>::Get' (aka 'int') loses information
- return {typename A::Get(self), typename A::Set(self)};
- ^~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:127:12: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<double (*)(double), const char *, I> >' requested here
- return make_property<PropertyAdaptor<X, DST, I>>(it);
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, Face_SnapPlanes>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/brushmodule.cpp:167:49: note: in instantiation of function template specialization 'make_property_string<Face_SnapPlanes, double (*)(double)>' requested here
- make_property_string<Face_SnapPlanes>(Face::m_quantise));
- ^
- 3 warnings and 3 errors generated.
- _radiant/CMakeFiles/radiant.dir/build.make:158 : la recette pour la cible « _radiant/CMakeFiles/radiant.dir/brushmodule.cpp.o » a échouée
- make[2]: *** [_radiant/CMakeFiles/radiant.dir/brushmodule.cpp.o] Erreur 1
- In file included from /home/thdebess/dev/netradiant/radiant/xywindow.cpp:28:
- In file included from /home/thdebess/dev/netradiant/radiant/xywindow.h:29:
- In file included from /home/thdebess/dev/netradiant/libs/gtkutil/window.h:29:
- In file included from /home/thdebess/dev/netradiant/libs/gtkutil/widget.h:31:
- /home/thdebess/dev/netradiant/libs/property.h:118:87: error: non-type template argument refers to function 'ExportThunk' that does not have linkage
- A::Get::thunk_(self, ConstReferenceCaller<Callback<void(DST)>, void(SRC), ExportThunk>(returnz));
- ^~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:112:12: note: in instantiation of member function 'make_property_chain(detail::propertyimpl_self<ToggleShown_Bool> &)::I::Export' requested here
- struct I {
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, ToggleShown_Bool>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/xywindow.cpp:2962:58: note: in instantiation of function template specialization 'make_property_string<ToggleShown_Bool, ToggleShown>' requested here
- GlobalPreferenceSystem().registerPreference("XZVIS", make_property_string<ToggleShown_Bool>(g_xz_front_shown));
- ^
- /home/thdebess/dev/netradiant/libs/property.h:113:21: note: non-type template argument refers to function here
- static void ExportThunk(const Callback<void(DST)> &self, SRC value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:52:48: error: non-type template argument refers to function 'Import' that does not have linkage
- using Set = ReferenceCaller<Self, void(T), I::Import>;
- ^~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:33:55: note: in instantiation of template class 'PropertyAdaptor<ToggleShown, const char *, I>' requested here
- using propertyimpl_other = get_argument<decltype(&I::Import), 1>;
- ^
- /home/thdebess/dev/netradiant/libs/property.h:83:49: note: in instantiation of template type alias 'propertyimpl_other' requested here
- template<class I, class Self, class T = detail::propertyimpl_other<I>>
- ^
- /home/thdebess/dev/netradiant/libs/property.h:84:13: note: in instantiation of default argument for 'make_property<PropertyAdaptor<ToggleShown, const char *, I>, ToggleShown>' required here
- Property<T> make_property(Self &self) {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:127:12: note: while substituting deduced template arguments into function template 'make_property' [with I = PropertyAdaptor<ToggleShown, const char *, I>, Self = ToggleShown, T = (no value)]
- return make_property<PropertyAdaptor<X, DST, I>>(it);
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, ToggleShown_Bool>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/xywindow.cpp:2962:58: note: in instantiation of function template specialization 'make_property_string<ToggleShown_Bool, ToggleShown>' requested here
- GlobalPreferenceSystem().registerPreference("XZVIS", make_property_string<ToggleShown_Bool>(g_xz_front_shown));
- ^
- /home/thdebess/dev/netradiant/libs/property.h:121:21: note: non-type template argument refers to function here
- static void Import(X &self, DST value) {
- ^
- /home/thdebess/dev/netradiant/libs/property.h:70:13: error: cannot convert 'typename PropertyAdaptor<ToggleShown, const char *, I>::Type' (aka 'ToggleShown') to 'typename PropertyAdaptor<ToggleShown, const char *, I>::Get' (aka 'int')
- without a conversion operator
- return {typename A::Get(self), typename A::Set(self)};
- ^~~~~~~~~~~~~~~~~~~~
- /home/thdebess/dev/netradiant/libs/property.h:127:12: note: in instantiation of function template specialization 'make_property<PropertyAdaptor<ToggleShown, const char *, I> >' requested here
- return make_property<PropertyAdaptor<X, DST, I>>(it);
- ^
- /home/thdebess/dev/netradiant/include/preferencesystem.h:44:9: note: in instantiation of function template specialization 'make_property_chain<PropertyImpl<bool, const char *>, ToggleShown_Bool>' requested here
- return make_property_chain<PropertyImpl<detail::propertyimpl_other<I>, const char *>, I>(it);
- ^
- /home/thdebess/dev/netradiant/radiant/xywindow.cpp:2962:58: note: in instantiation of function template specialization 'make_property_string<ToggleShown_Bool, ToggleShown>' requested here
- GlobalPreferenceSystem().registerPreference("XZVIS", make_property_string<ToggleShown_Bool>(g_xz_front_shown));
- ^
- 1 warning and 3 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement