=> 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 bpf-filter.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 dnsdist-ecs.o CXX dnsdist-protobuf.o CXX dnsdist-tcp.o CXX dns.o CXX dnsdist-lua2.o CXX dnsdist-rings.o CXX dnsdist-snmp.o CXX dnsdist-lua.o 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=] CXX dnsdist-web.o 20 errors generated. 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=] Makefile:1020: recipe for target 'dnsdist-ecs.o' failed gmake[2]: *** [dnsdist-ecs.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... 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: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.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.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.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.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.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.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.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.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: 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.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.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.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=] 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:134:12: note: template is declared here struct components_impl ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. 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=] Makefile:1020: recipe for target 'dnsdist-protobuf.o' failed gmake[2]: *** [dnsdist-protobuf.o] Error 1 20 errors generated. 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=] Makefile:1020: recipe for target 'dnsdist-snmp.o' failed gmake[2]: *** [dnsdist-snmp.o] Error 1 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: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() ^~~~~~ /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-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: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: In file included from error: dnsdist-lua2.ccexpected ';' at end of declaration list: 22: In file included from ./dnsdist.hh:47{ typedef typename mpl::apply1::type type; }; ^: 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:/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp15:35:49: :In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:error11: : template argument for non-type template parameter must be an expressionIn file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from template struct class_transform< T, mpl::identity<_> >/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: :/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp26::3126: note:: 31template parameter is declared here : error: template expected a qualified name after 'typename' ^ ./dns.hh:228:11: note: templateexpanded from macro 'L' ^ #define L theL() ^ ./dns.hh:228:11: noteIn file included from : dnsdist-rings.ccexpanded from macro 'L': 22: In file included from ./dnsdist.hh#define L theL(): 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 In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hppdnsdist-lua2.cc::61: 22/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp: :38In file included from :49./dnsdist.hh::47 error: : template argument for non-type template parameter must be an expressionIn 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.hpptemplate struct class_transform< T, add_reference<_> > : 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:26::3115:: In file included from note/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp: :template parameter is declared here 11: In file included from template/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp : ^ 14: In file included from ./dns.hh/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61:: 228/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp::1128:: note32: expanded from macro 'L' : #define L theL() error ^ : template argument for template type parameter must be a type In file included from dnsdist-rings.cc:22: In file included from ./dnsdist.hh:47{ typedef typename mpl::apply1::type type; };: 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./dns.hh:19:: 228:In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:11:15 note: : expanded from macro 'L'In file included from /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: 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: /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpptemplate argument for non-type template parameter must be an expression :40:16: note: template struct class_transform< T, add_pointer<_> >template parameter is declared here ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26 typename F, typename T1:31: note: template parameter is declared here ^ template In file included from ^dnsdist-lua2.cc :./dns.hh:22228:: 11In file included from :./dnsdist.hh :note: 47expanded from macro 'L' : In file included from #define L theL() /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:19In file included from : dnsdist-rings.ccIn file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp22: In file included from :./dnsdist.hh15:: 47In file included from : /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hppIn file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp::1117: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp: :In file included from 19: /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/has_member_function.hpp:1514: : In file included from /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/components.hpp:11:: 61In file included from : /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:14:28: In file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:3861: : /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpperror:44: :49expected a qualified name after 'typename': error: template argument for non-type template parameter must be an expression { typedef typename mpl::apply1::type type; };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/function_types/detail/class_transform.hpp/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17:: In file included from 28/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:42:19: :In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from error/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: expected ';' at end of declaration listIn 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{ 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<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp::2635::3149: note:: template parameter is declared here error: template ^ template argument for non-type template parameter must be an expression./dns.hh :228:11: note: expanded from macro 'L' #define L theL()template struct class_transform< T, mpl::identity<_> > ^ ^~~~~~~~~~~~~~~~ /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 ./dnsdist.hh:note47: : template parameter is declared hereIn 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:template15 : ^In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp :11: ./dns.hh:In file included from 228/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp::1114: In file included from : /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:note61: : expanded from macro 'L'/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp: 50:#define L theL()49 : ^error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > In file included from ^~~~~~~~~~~~~~~~~~~~~~~~~~~dnsdist-lua2.cc :/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:2226: :In file included from ./dnsdist.hh31:: 47note: : template parameter is declared here In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:template17 : ^In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp./dns.hh::19228: :In file included from 11:/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp note:: 15expanded from macro 'L': In file included from /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: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61In file included from : dnsdist-rings.cc:22: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hppIn file included from :./dnsdist.hh38:47:: 49In file included from : /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpperror:: 17template argument for non-type template parameter must be an expression: 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 struct class_transform< T, add_reference<_> > /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp: 11 ^~~~~~~~~~~~~~~~ : /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hppIn file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14:: 26In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp::6131: :/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp :53:note: 61template parameter is declared here: error: templatetemplate argument for non-type template parameter must be an expression ^ ./dns.hh:228:11template struct class_transform< T, mpl::always > : ^~~~~~~~~~~~~~ note/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp: :26expanded from macro 'L':31 : note: #define L theL()template parameter is declared here ^ template ^ ./dns.hh:228:11: note: expanded from macro 'L'In file included from dnsdist-lua2.cc:22#define L theL(): 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:In file included from 15dnsdist-rings.cc:: 22In file included from : In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp./dnsdist.hh::1147: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp: :In file included from 17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp::1514: : In file included from In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp::6111: : /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hppIn file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp::1441: :/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp49:78:37:: error : expected a qualified name after 'typename'error : template argument for non-type template parameter must be an expression template struct components_impl; ^ ./dns.hh:228:11template struct class_transform< T, add_pointer<_> >: note ^~~~~~~~~~~~~~: expanded from macro 'L'/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp :26:#define L theL() ^31 : note: template parameter is declared here In file included from dnsdist-rings.cctemplate: 22 ^: In file included from ./dns.hh./dnsdist.hh::47228: In file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp11:17:: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hppnote:: 19expanded 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.hpp :11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14In file included from : dnsdist-lua2.cc/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp::8722: :In file included from 36./dnsdist.hh:: 47error: : In file included from template argument for non-type template parameter must be an expression/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp :17: : detail::components_implIn file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp ^~~~~~~~~~~~~~~~~~: 19/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:: 78In file included from :37/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp: :note15: : template parameter is declared hereIn file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11 template struct components_impl;: ^In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp./dns.hh::22814:: 11: note: expanded from macro 'L'In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp#define L theL(): 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: noteIn file included from : dnsdist-rings.cc:template parameter is declared here22 : In file included from template./dnsdist.hh:47 : ^In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:./dns.hh:17228: :In file included from 11/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:: 19: noteIn file included from : /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hppexpanded from macro 'L':15: In file included from /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:35: In file included from errordnsdist-lua2.cc: :expected a qualified name after 'typename'22 : In file included from ./dnsdist.hh template : ^ 47./dns.hh: :228In file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp11::17: In file included from note: /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hppexpanded 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 /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:In file included from 61dnsdist-rings.cc: :22/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp: :In file included from ./dnsdist.hh:4747:49: 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.hpperror:19: : template argument for non-type template parameter must be an expressionIn 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: template struct class_transform< T, add_reference< remove_cv<_> > >/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35 : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: expected a qualified name after 'typename'/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp :26: template31 : ^ note./dns.hh: :228template parameter is declared here:11: note: expanded from macro 'L' template #define L theL() ^ ^ ./dns.hh:228:11: note: In file included from expanded from macro 'L'dnsdist-rings.cc: 22: In file included from ./dnsdist.hh#define L theL() :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:In file included from 11: In file included from dnsdist-lua2.cc:/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:1422: : /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hppIn file included from ./dnsdist.hh:47:140: :12In file included from :/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp :error: 17class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19 struct components_impl : ^ 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/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp::14014:32:: noteIn file included from : deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()')/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp :61: struct components_impl /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp ^:50 :./dns.hh49:228:: 11error:: notetemplate argument for non-type template parameter must be an expression: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134template struct class_transform< T, add_pointer< remove_cv<_> > >:12: note : ^~~~~~~~~~~~~~~~~~~~~~~~~~~ template is declared here/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp :26: struct components_impl31 : ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140note:: 12: template parameter is declared hereerror: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] template struct components_impl ^ ^~~~~~~~~~~~~~~~~~~~~~ ./dns.hh:228/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp::11139::35: note: non-deducible template parameter 'theL'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-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 In file included from dnsdist-rings.cc/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp::2219: : In file included from In file included from ./dnsdist.hh:/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp47:: 15In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp: :In file included from 17/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp: :In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:1119: : In file included from In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp::1415: : In file included from In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:1161: : 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/function_types/is_member_function_pointer.hpp::14: 53/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp::17661::35 :error error: : expected a qualified name after 'typename'template argument for non-type template parameter must be an expression template ^ ./dns.hh:228:11template struct class_transform< T, mpl::always >: note: ^~~~~~~~~~~~~~expanded from macro 'L' #define L theL()/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp : ^ 26:31: In file included from notednsdist-rings.cc: :template parameter is declared here22 : In file included from ./dnsdist.hh:47: templateIn 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 : ./dns.hh:In file included from 228/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15:: In file included from 11/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp: :note11: : expanded from macro 'L' In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14#define L theL(): /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: In file included from deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') dnsdist-lua2.cc:22 < detail::components_impl : In file included from ^./dnsdist.hh: 47./dns.hh: :228:In file included from 11/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:: 17note: : In file included from expanded from macro 'L'/data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp :19#define L theL(): 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/components.hpp::13415:12: :In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hppnote: template is declared here :11 struct components_impl : ^ In file included from fatal error/data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp: :too many errors emitted, stopping now [-ferror-limit=]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. Makefile:1020: recipe for target 'dnsdist-dnscrypt.o' failed gmake[2]: *** [dnsdist-dnscrypt.o] Error 1 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: 20In file included from error/data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpps: generated. 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-rings.o' failed gmake[2]: *** [dnsdist-rings.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-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=] 20 errors generated. Makefile:1020: recipe for target 'dnsdist.o' failed gmake[2]: *** [dnsdist.o] Error 1 20 errors generated. 20 errors generated. 20 errors generated. 20 errors generated. Makefile:1020: recipe for target 'dnsdist-console.o' failed gmake[2]: *** [dnsdist-console.o] Error 1 20 errors generated. Makefile:1020: recipe for target 'dnsdist-lua.o' failed gmake[2]: *** [dnsdist-lua.o] Error 1 Makefile:1020: recipe for target 'dnsdist-lua2.o' failed gmake[2]: *** [dnsdist-lua2.o] Error 1 Makefile:1020: recipe for target 'dnsdist-tcp.o' failed gmake[2]: *** [dnsdist-tcp.o] Error 1 Makefile:1020: recipe for target 'dnsdist-cache.o' failed gmake[2]: *** [dnsdist-cache.o] Error 1 In file included from dnsdist-web.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-web.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-web.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-web.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-web.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-web.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-web.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-web.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-web.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-web.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-web.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-web.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-web.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-web.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-web.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-web.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. Makefile:1020: recipe for target 'dnsdist-web.o' failed gmake[2]: *** [dnsdist-web.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