=> 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 reqresp.lo CXX router.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 dns.o CXX dnsdist-dynbpf.o CXX dnsdist.o CXX dnscrypt.o CXX dnsdist-carbon.o CXX dnsdist-console.o CXX dnsdist-lua2.o CXX dnsdist-cache.o CXX dnsdist-protobuf.o CXX dnsdist-lua.o CXX dnsdist-ecs.o CXX dnsdist-dnscrypt.o CXX dnsdist-rings.o CXX dnsdist-tcp.o CXX dnsdist-snmp.o CXX dnsdist-web.o In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:32: error: template argument for template type parameter must be a type { typedef typename mpl::apply1::type type; }; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:40:16: note: template parameter is declared here typename F, typename T1 ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:38: error: expected a qualified name after 'typename' { typedef typename mpl::apply1::type type; }; ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:42: error: expected ';' at end of declaration list { typedef typename mpl::apply1::type type; }; ^ ; /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:35:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::identity<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:38:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:41:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer<_> > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:44:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:47:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:50:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:53:61: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: error: expected a qualified name after 'typename' template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:87:36: error: template argument for non-type template parameter must be an expression : detail::components_impl ^~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: note: template parameter is declared here template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:133:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:32: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') struct components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] struct components_impl ^~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: note: non-deducible template parameter 'theL' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:176:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:177:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:136:38: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') < detail::components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from dnsdist-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=] 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=] CXX dnslabeltext.o 20 errors generated. gmake[2]: *** [Makefile:1020: dnsdist-console.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... 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. gmake[2]: *** [Makefile:1020: dnsdist-snmp.o] Error 1 20 errors generated. 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=] gmake[2]: *** [Makefile:1020: dnsdist-cache.o] Error 1 20 errors generated. 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-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:32: error: template argument for template type parameter must be a type { typedef typename mpl::apply1::type type; }; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:40:16: note: template parameter is declared here typename F, typename T1 ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:38: error: expected a qualified name after 'typename' { typedef typename mpl::apply1::type type; }; ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:42: error: expected ';' at end of declaration list { typedef typename mpl::apply1::type type; }; ^ ; /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:35:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::identity<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:38:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:41:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer<_> > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:44:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:47:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:50:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:53:61: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: error: expected a qualified name after 'typename' template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ gmake[2]: *** [Makefile:1020: dnsdist-protobuf.o] Error 1 In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /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=] In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:32: error: template argument for template type parameter must be a type { typedef typename mpl::apply1::type type; }; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:40:16: note: template parameter is declared here typename F, typename T1 ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:38: error: expected a qualified name after 'typename' { typedef typename mpl::apply1::type type; }; ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:42: error: expected ';' at end of declaration list { typedef typename mpl::apply1::type type; }; ^ ; /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:35:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::identity<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:38:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:41:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer<_> > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:44:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:47:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:50:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:53:61: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: error: expected a qualified name after 'typename' template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:87:36: error: template argument for non-type template parameter must be an expression : detail::components_impl ^~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: note: template parameter is declared here template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:133:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:32: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') struct components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] struct components_impl ^~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: note: non-deducible template parameter 'theL' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:176:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-lua.cc:25: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:177:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:136:38: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') < detail::components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:32: error: template argument for template type parameter must be a type { typedef typename mpl::apply1::type type; }; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:40:16: note: template parameter is declared here typename F, typename T1 ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:38: error: expected a qualified name after 'typename' { typedef typename mpl::apply1::type type; }; ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:28:42: error: expected ';' at end of declaration list { typedef typename mpl::apply1::type type; }; ^ ; /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:35:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::identity<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:38:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference<_> > ^~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:41:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer<_> > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:44:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, remove_cv<_> > ^~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:47:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_reference< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:50:49: error: template argument for non-type template parameter must be an expression template struct class_transform< T, add_pointer< remove_cv<_> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:61: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:53:61: error: template argument for non-type template parameter must be an expression template struct class_transform< T, mpl::always > ^~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/detail/class_transform.hpp:26:31: note: template parameter is declared here template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: error: expected a qualified name after 'typename' template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:87:36: error: template argument for non-type template parameter must be an expression : detail::components_impl ^~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:78:37: note: template parameter is declared here template struct components_impl; ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:133:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:32: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') struct components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:140:12: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] struct components_impl ^~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:139:35: note: non-deducible template parameter 'theL' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:176:35: error: expected a qualified name after 'typename' template ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:47: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/uuid_generators.hpp:17: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/uuid/random_generator.hpp:19: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/has_member_function.hpp:15: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/tti/detail/dmem_fun.hpp:11: In file included from /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/is_member_function_pointer.hpp:14: /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:177:12: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization] struct components_impl ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:136:38: note: deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'int (*)()') < detail::components_impl ^ ./dns.hh:228:11: note: expanded from macro 'L' #define L theL() ^ /data/scratch/net/dnsdist/work/.buildlink/include/boost/function_types/components.hpp:134:12: note: template is declared here struct components_impl ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. 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=] gmake[2]: *** [Makefile:1020: dnsdist-tcp.o] Error 1 20 errors generated. 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: 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-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: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-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: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-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: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-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: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-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: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-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: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-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: /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-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: /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-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: /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-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: /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-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: /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-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: /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-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: /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=] gmake[2]: *** [Makefile:1020: dnsdist-dnscrypt.o] Error 1 20 errors generated. 20 errors generated. gmake[2]: *** [Makefile:1020: dnsdist.o] Error 1 20 errors generated. gmake[2]: *** [Makefile:1020: dnsdist-ecs.o] Error 1 gmake[2]: *** [Makefile:1020: dnsdist-rings.o] Error 1 20 errors generated. 20 errors generated. gmake[2]: *** [Makefile:1020: dnsdist-lua2.o] Error 1 gmake[2]: *** [Makefile:1020: dnsdist-lua.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. gmake[2]: *** [Makefile:1020: dnsdist-web.o] Error 1 gmake[2]: Leaving directory '/data/scratch/net/dnsdist/work/dnsdist-1.2.1' gmake[1]: *** [Makefile:1147: all-recursive] Error 1 gmake[1]: Leaving directory '/data/scratch/net/dnsdist/work/dnsdist-1.2.1' gmake: *** [Makefile:840: 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