=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for dnsdist-1.2.1 GEN dnsmessage.pb.cc /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/data/scratch/net/dnsdist/work/dnsdist-1.2.1' Making all in ext/yahttp gmake[2]: Entering directory '/data/scratch/net/dnsdist/work/dnsdist-1.2.1/ext/yahttp' Making all in yahttp gmake[3]: Entering directory '/data/scratch/net/dnsdist/work/dnsdist-1.2.1/ext/yahttp/yahttp' CXX router.lo CXX reqresp.lo CXXLD libyahttp.la gmake[3]: Leaving directory '/data/scratch/net/dnsdist/work/dnsdist-1.2.1/ext/yahttp/yahttp' gmake[3]: Entering directory '/data/scratch/net/dnsdist/work/dnsdist-1.2.1/ext/yahttp' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/data/scratch/net/dnsdist/work/dnsdist-1.2.1/ext/yahttp' gmake[2]: Leaving directory '/data/scratch/net/dnsdist/work/dnsdist-1.2.1/ext/yahttp' gmake[2]: Entering directory '/data/scratch/net/dnsdist/work/dnsdist-1.2.1' CXX dns.o CXX dnscrypt.o CXX dnsdist.o CXX dnsdist-dynbpf.o CXX dnsdist-cache.o CXX dnsdist-carbon.o CXX dnsdist-console.o CXX dnsdist-dnscrypt.o CXX bpf-filter.o CXX dnsdist-ecs.o CXX dnsdist-lua.o CXX dnsdist-rings.o CXX dnsdist-protobuf.o CXX dnsdist-lua2.o CXX dnsdist-snmp.o CXX dnsdist-tcp.o In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:32: error: template argument for template type parameter must be a type { typedef typename mpl::apply1::type type; }; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:40:16: note: template parameter is declared here typename F, typename T1 ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:38: error: expected a qualified name after 'typename' { typedef typename mpl::apply1::type type; }; ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:42: error: expected ';' at end of declaration list { typedef typename mpl::apply1::type type; }; ^ ; /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:35:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::identity<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:38:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:41:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer<_> > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:44:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:47:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:50:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:53:61: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: error: expected a qualified name after 'typename' template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:87:36: error: template argument for non-type template parameter must be an expression : detail::components_impl ^~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: note: template parameter is declared here template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:133:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:32: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') struct components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] struct components_impl ^~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: note: non-deducible template parameter 'theL' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:176:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:177:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:136:38: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') < detail::components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:32: error: template argument for template type parameter must be a type { typedef typename mpl::apply1::type type; }; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:40:16: note: template parameter is declared here typename F, typename T1 ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:38: error: expected a qualified name after 'typename' { typedef typename mpl::apply1::type type; }; ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:42: error: expected ';' at end of declaration list { typedef typename mpl::apply1::type type; }; ^ ; /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:35:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::identity<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:38:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:41:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer<_> > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:44:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:47:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:50:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:53:61: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: error: expected a qualified name after 'typename' template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:87:36: error: template argument for non-type template parameter must be an expression : detail::components_impl ^~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: note: template parameter is declared here template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:133:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:32: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') struct components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] struct components_impl ^~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: note: non-deducible template parameter 'theL' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:176:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:177:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:136:38: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') < detail::components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. 20 errors generated. Makefile:1020: recipe for target 'dnsdist-lua.o' failed gmake[2]: *** [dnsdist-lua.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... Makefile:1020: recipe for target 'dnsdist-dnscrypt.o' failed gmake[2]: *** [dnsdist-dnscrypt.o] Error 1 In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:32: error: template argument for template type parameter must be a type { typedef typename mpl::apply1::type type; }; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:40:16: note: template parameter is declared here typename F, typename T1 ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:38: error: expected a qualified name after 'typename' { typedef typename mpl::apply1::type type; }; ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:42: error: expected ';' at end of declaration list { typedef typename mpl::apply1::type type; }; ^ ; /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:35:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::identity<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:38:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:41:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer<_> > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:44:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:47:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:50:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:53:61: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: error: expected a qualified name after 'typename' template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:87:36: error: template argument for non-type template parameter must be an expression : detail::components_impl ^~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: note: template parameter is declared here template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:133:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:32: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') struct components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] struct components_impl ^~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: note: non-deducible template parameter 'theL' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:176:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-tcp.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:177:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:136:38: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') < detail::components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:32: error: template argument for template type parameter must be a type { typedef typename mpl::apply1::type type; }; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:40:16: note: template parameter is declared here typename F, typename T1 ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:38: error: expected a qualified name after 'typename' { typedef typename mpl::apply1::type type; }; ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:42: error: expected ';' at end of declaration list { typedef typename mpl::apply1::type type; }; ^ ; /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:35:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::identity<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:38:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:41:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer<_> > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:44:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:47:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:50:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:53:61: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: error: expected a qualified name after 'typename' template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:87:36: error: template argument for non-type template parameter must be an expression : detail::components_impl ^~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: note: template parameter is declared here template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:133:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:32: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') struct components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] struct components_impl ^~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: note: non-deducible template parameter 'theL' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:176:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:177:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:136:38: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') < detail::components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:32: error: template argument for template type parameter must be a type { typedef typename mpl::apply1::type type; }; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:40:16: note: template parameter is declared here typename F, typename T1 ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:38: error: expected a qualified name after 'typename' { typedef typename mpl::apply1::type type; }; ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:42: error: expected ';' at end of declaration list { typedef typename mpl::apply1::type type; }; ^ ; /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:35:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::identity<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:38:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:41:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer<_> > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:44:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:47:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:50:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:53:61: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: error: expected a qualified name after 'typename' template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:87:36: error: template argument for non-type template parameter must be an expression : detail::components_impl ^~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: note: template parameter is declared here template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:133:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:32: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') struct components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] struct components_impl ^~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: note: non-deducible template parameter 'theL' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:176:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:177:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:136:38: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') < detail::components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:32: error: template argument for template type parameter must be a type { typedef typename mpl::apply1::type type; }; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:40:16: note: template parameter is declared here typename F, typename T1 ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:38: error: expected a qualified name after 'typename' { typedef typename mpl::apply1::type type; }; ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:42: error: expected ';' at end of declaration list { typedef typename mpl::apply1::type type; }; ^ ; /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:35:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::identity<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:38:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:41:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer<_> > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:44:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:47:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:50:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:53:61: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: error: expected a qualified name after 'typename' template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:87:36: error: template argument for non-type template parameter must be an expression : detail::components_impl ^~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: note: template parameter is declared here template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:133:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:32: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') struct components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] struct components_impl ^~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: note: non-deducible template parameter 'theL' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:176:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:177:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:136:38: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') < detail::components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. 20 errors generated. Makefile:1020: recipe for target 'dnsdist-console.o' failed gmake[2]: *** [dnsdist-console.o] Error 1 Makefile:1020: recipe for target 'dnsdist-tcp.o' failed gmake[2]: *** [dnsdist-tcp.o] Error 1 20 errors generated. In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:32: error: template argument for template type parameter must be a type { typedef typename mpl::apply1::type type; }; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:40:16: note: template parameter is declared here typename F, typename T1 ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:38: error: expected a qualified name after 'typename' { typedef typename mpl::apply1::type type; }; ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:42: error: expected ';' at end of declaration list { typedef typename mpl::apply1::type type; }; ^ ; /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:35:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::identity<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:38:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:41:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer<_> > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:44:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:47:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:50:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:53:61: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: error: expected a qualified name after 'typename' template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:87:36: error: template argument for non-type template parameter must be an expression : detail::components_impl ^~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: note: template parameter is declared here template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:133:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:32: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') struct components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] struct components_impl ^~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: note: non-deducible template parameter 'theL' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:176:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-snmp.cc:2: In file included from ./dnsdist-snmp.hh:10: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:177:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:136:38: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') < detail::components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:In file included from 134:dnsdist-rings.cc12: :note22: : In file included from template is declared here./dnsdist.hh :47 struct components_impl: In file included from ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17fatal error: : In file included from too many errors emitted, stopping now [-ferror-limit=]/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp :19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-rings.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:32: error: template argument for template type parameter must be a type { typedef typename mpl::apply1::type type; }; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^~~~~~ In file included from dnsdist.cc:22: /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hppIn file included from :40:16./dnsdist.hh:: 47note: template parameter is declared here: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp: typename F, typename T1 ^ 17In file included from : dnsdist-rings.ccIn file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp22: :In file included from 19./dnsdist.hh: :47In file included from : /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hppIn file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp15:: 17: In file included from In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp19:: In file included from 11/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp: :15In file included from : /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hppIn file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp14:11: : In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hppIn file included from :14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hppIn file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:6161: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp: :28:38/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp: error:: expected a qualified name after 'typename' 26{ typedef typename mpl::apply1::type type; }; : ^ 31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L'/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp :28:42#define L theL(): error: expected ';' at end of declaration list ^{ typedef typename mpl::apply1::type type; }; ^ ; In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:dnsdist.cc35::2249: : error: In file included from template argument for non-type template parameter must be an expression ./dnsdist.hh:template struct class_transform< T, mpl::identity<_> > 47 ^~~~~~~~~~~~~~~~: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp::31:17 note: : template parameter is declared hereIn file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpptemplate: 19 ^ : ./dns.hh:228In file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp11:: 15note: : In file included from expanded from macro 'L'/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp :11#define L theL(): ^In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:In file included from 14dnsdist-rings.cc:: 22: In file included from In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17:: 61In file included from : /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp19: In file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:2815:: 32In file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp: 11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:error14: : In file included from template argument for template type parameter must be a type/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp :61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:38:49: error{ typedef typename mpl::apply1::type type; };: template argument for non-type template parameter must be an expression ^ template struct class_transform< T, add_reference<_> > ^~~~~~~~~~~~~~~~./dns.hh :/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp228::2611:31:: note : template parameter is declared herenote : template expanded from macro 'L' ^ ./dns.hh#define L theL():228:11 : ^~~~~~ note : expanded from macro 'L' #define L theL() ^ In file included from dnsdist-rings.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp::1540: :In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from 16/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp::14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hppnote:: 61template parameter is declared here: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:41 :49: error: typename F, typename T1template argument for non-type template parameter must be an expression ^ template struct class_transform< T, add_pointer<_> > In file included from ^~~~~~~~~~~~~~ dnsdist.cc/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26::2231: :In file included from ./dnsdist.hhnote:: 47template parameter is declared here: In file included from template/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp : ^17 : ./dns.hhIn file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp228::11:19 note: : expanded from macro 'L'In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp#define L theL(): 15 ^ : In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hppIn file included from :dnsdist-rings.cc11:: 22In file included from : In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp./dnsdist.hh::4714: : In file included from In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:17:: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:6119: In file included from : /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:15:: In file included from 28/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11:: 38In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14:: In file included from error/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:: 61: expected a qualified name after 'typename'/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp :44:49: { typedef typename mpl::apply1::type type; };error: template argument for non-type template parameter must be an expression ^ template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-rings.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp::1528: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp::1142: :In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: errorIn file included from : /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:expected ';' at end of declaration list61 : /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp{ typedef typename mpl::apply1::type type; };: 47:49 ^: error ;: template argument for non-type template parameter must be an expression /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpptemplate struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~: 35/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp::4926:31:: note : template parameter is declared here error: template argument for non-type template parameter must be an expressiontemplate ^ ./dns.hh:228template struct class_transform< T, mpl::identity<_> >: 11: ^~~~~~~~~~~~~~~~ note: expanded from macro 'L' /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp#define L theL() : ^26 :31In file included from dnsdist-rings.cc::22 : noteIn file included from : ./dnsdist.hh:47template parameter is declared here: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp :17: templateIn file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp: 19 ^: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp./dns.hh::15228: In file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:1111:: noteIn file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from : /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:expanded from macro 'L'61 : /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp#define L theL(): 50:49: ^ error: template argument for non-type template parameter must be an expression In file included from dnsdist.cc:22template struct class_transform< T, add_pointer< remove_cv<_> > > : ^~~~~~~~~~~~~~~~~~~~~~~~~~~In file included from ./dnsdist.hh/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp::2647:: 31: In file included from note: template parameter is declared here /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17template ^: In file included from ./dns.hh/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:228::1119: note: expanded from macro 'L' : #define L theL()In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp ^: 15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hppIn file included from dnsdist-rings.cc::22: 14In file included from ./dnsdist.hh: :47: In file included from In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hppIn file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:6119: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:: 15/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp::3811:: In file included from 49/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:: 14: In file included from error/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: : /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:template argument for non-type template parameter must be an expression53:61 : error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference<_> > template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp: note:: 26template parameter is declared here :31template ^ :./dns.hh: 228note:: 11: note: expanded from macro 'L'template parameter is declared here #define L theL() template ^ ^ ./dns.hh:228:11: noteIn file included from : dnsdist-rings.ccexpanded from macro 'L':22 : In file included from #define L theL()./dnsdist.hh:47 : ^In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hppdnsdist.cc:15:: 22In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp: :11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hppIn file included from :14: ./dnsdist.hh/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78::37: error: expected a qualified name after 'typename'47 : In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp: template struct components_impl; ^ 17./dns.hh: :In file included from 228/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:11: note: :expanded from macro 'L'19 : #define L theL()In file included from ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from In file included from dnsdist-rings.cc:22: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hppIn file included from :./dnsdist.hh:1447: : In file included from In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp17:: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp61:19: : In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp::15: In file included from 41/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11:: 49In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:: 14: error/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp: :87:36: error: template argument for non-type template parameter must be an expression template argument for non-type template parameter must be an expression : detail::components_impl ^~~~~~~~~~~~~~~~~~ template struct class_transform< T, add_pointer<_> >/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp : ^~~~~~~~~~~~~~78: 37/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp: note: template parameter is declared here: 26: template struct components_impl;31 : ^ note./dns.hh: :template parameter is declared here228 :11: templatenote : ^expanded from macro 'L' ./dns.hh#define L theL(): ^228 :11: note: expanded from macro 'L' #define L theL() 20 errors ^ generated. In file included from dnsdist-rings.cc:22: In file included from In file included from ./dnsdist.hh:dnsdist.cc47:: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp22:: 17In file included from : ./dnsdist.hhIn file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from 47/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp: :11In file included from : /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hppIn file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: 17/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp: :In file included from 133:/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp35:: error: 19expected a qualified name after 'typename' : In file included from template /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp ^ :./dns.hh15:228:: 11In file included from : note: expanded from macro 'L'/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp :#define L theL()Makefile:1020: recipe for target 'dnsdist-cache.o' failed 11 ^gmake[2]: *** [dnsdist-cache.o] Error 1 : In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:44:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:47:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31In file included from dnsdist-rings.cc:22:: In file included from note./dnsdist.hh:47: : In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17template parameter is declared here: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11template: In file included from ^/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp :14./dns.hh: :/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139228:35: :error11: :expected a qualified name after 'typename' note: expanded from macro 'L' template #define L theL() ^ ./dns.hh:228 ^:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hppIn file included from :dnsdist-rings.cc:1722: In file included from : /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hppIn file included from ./dnsdist.hh::4719: : In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hppIn file included from :17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:19:: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:1515: : In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hppIn file included from :11: /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hppIn file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp::14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:14011:12:: In file included from error: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hppclass template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]: 14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp struct components_impl ^: 61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:50:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:53:61: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: error: expected a qualified name after 'typename' template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:87:36: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:error140:: 32template argument for non-type template parameter must be an expression : note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') struct components_impl ^ : detail::components_impl./dns.hh :228: ^~~~~~~~~~~~~~~~~~11: note: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hppexpanded from macro 'L' :78#define L theL() : ^ 37/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:: 134:12:note : notetemplate parameter is declared here: template is declared here struct components_impl ^ template struct components_impl; /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp ^:140:12: error: ./dns.hhclass template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization]: 228 struct components_impl : ^~~~~~~~~~~~~~~~~~~~~~11 : note/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:: 139:35expanded from macro 'L': note: non-deducible template parameter 'theL' #define L theL() ^ template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-rings.cc:22: In file included from ./dnsdist.hh:47: In file included from In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17dnsdist.cc: :In file included from 22/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: : In file included from In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp./dnsdist.hh::15: 47In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:: 11: In file included from In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:176::1735:: In file included from error: /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hppexpected a qualified name after 'typename' :19: In file included from template ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp./dns.hh::228:1511:: note: In file included from expanded from macro 'L' /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:#define L theL()11: In file included from ^/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp :14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:133:35In file included from dnsdist-rings.cc::22: In file included from ./dnsdist.hh :error47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: : expected a qualified name after 'typename'In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp: 19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from template/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp : ^11 : In file included from ./dns.hh/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp::22814: :/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp11::177:12: noteerror: : class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] expanded from macro 'L' struct components_impl #define L theL() ^ ^/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp :136:38: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') < detail::components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hppIn file included from :134dnsdist.cc:12:: 22note: template is declared here: In file included from ./dnsdist.hh: struct components_impl 47: ^ In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hppfatal error: too many errors emitted, stopping now [-ferror-limit=]: 17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:32: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') struct components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] struct components_impl ^~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: note: non-deducible template parameter 'theL' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:176:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:177:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:136:38: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') < detail::components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] Makefile:1020: recipe for target 'dnsdist-ecs.o' failed gmake[2]: *** [dnsdist-ecs.o] Error 1 In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:32: error: template argument for template type parameter must be a type { typedef typename mpl::apply1::type type; }; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:40:16: note: template parameter is declared here typename F, typename T1 ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:38: error: expected a qualified name after 'typename' { typedef typename mpl::apply1::type type; }; ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:42: error: expected ';' at end of declaration list { typedef typename mpl::apply1::type type; }; ^ ; /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:35:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::identity<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:38:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:41:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer<_> > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:44:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:47:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:50:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:53:61: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: error: expected a qualified name after 'typename' template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:87:36: error: template argument for non-type template parameter must be an expression : detail::components_impl ^~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: note: template parameter is declared here template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:133:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:32: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') struct components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] struct components_impl ^~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: note: non-deducible template parameter 'theL' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:176:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:177:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:136:38: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') < detail::components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. 20 errors generated. Makefile:1020: recipe for target 'dnsdist-snmp.o' failed gmake[2]: *** [dnsdist-snmp.o] Error 1 Makefile:1020: recipe for target 'dnsdist-rings.o' failed gmake[2]: *** [dnsdist-rings.o] Error 1 In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:32: error: template argument for template type parameter must be a type { typedef typename mpl::apply1::type type; }; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:40:16: note: template parameter is declared here typename F, typename T1 ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:38: error: expected a qualified name after 'typename' { typedef typename mpl::apply1::type type; }; ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:42: error: expected ';' at end of declaration list { typedef typename mpl::apply1::type type; }; ^ ; /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:35:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::identity<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:38:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:41:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer<_> > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:44:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:47:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:50:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:53:61: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: error: expected a qualified name after 'typename' template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:87:36: error: template argument for non-type template parameter must be an expression : detail::components_impl ^~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: note: template parameter is declared here template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:133:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:32: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') struct components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] struct components_impl ^~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: note: non-deducible template parameter 'theL' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:176:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:177:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:136:38: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') < detail::components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. 20 errors generated. Makefile:1020: recipe for target 'dnsdist-lua2.o' failed gmake[2]: *** [dnsdist-lua2.o] Error 1 Makefile:1020: recipe for target 'dnsdist.o' failed gmake[2]: *** [dnsdist.o] Error 1 20 errors generated. Makefile:1020: recipe for target 'dnsdist-protobuf.o' failed gmake[2]: *** [dnsdist-protobuf.o] Error 1 gmake[2]: Leaving directory '/data/scratch/net/dnsdist/work/dnsdist-1.2.1' Makefile:1147: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/data/scratch/net/dnsdist/work/dnsdist-1.2.1' Makefile:840: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/net/dnsdist *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/dnsdist