===> Building for rdfind-1.5.0 /opt/pkg/bin/bmake all-am clang++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -MT rdfind.o -MD -MP -MF .deps/rdfind.Tpo -c -o rdfind.o rdfind.cc In file included from rdfind.cc:17: ./CmdlineParser.hh:39:4: error: expected expression [[gnu::pure]] bool parsed_string_is(const char* value) const; ^ ./CmdlineParser.hh:39:17: error: expected member name or ';' after declaration specifiers [[gnu::pure]] bool parsed_string_is(const char* value) const; ^ ./CmdlineParser.hh:52:13: error: function definition does not declare parameters const int m_argc{}; ^ ./CmdlineParser.hh:53:16: error: function definition does not declare parameters const char** m_argv{}; ^ ./CmdlineParser.hh:54:15: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions] int m_index = 1; ^ ./CmdlineParser.hh:55:8: error: function definition does not declare parameters bool m_last_bool_result{}; ^ ./CmdlineParser.hh:56:15: error: function definition does not declare parameters const char* m_last_str_result{}; ^ ./CmdlineParser.hh:19:7: error: member initializer 'm_argc' does not name a non-static data member or base class : m_argc(argc) ^~~~~~~~~~~~ ./CmdlineParser.hh:20:7: error: member initializer 'm_argv' does not name a non-static data member or base class , m_argv(argv) ^~~~~~~~~~~~ ./CmdlineParser.hh:37:41: error: use of undeclared identifier 'm_last_bool_result' bool get_parsed_bool() const { return m_last_bool_result; } ^ ./CmdlineParser.hh:38:50: error: use of undeclared identifier 'm_last_str_result' const char* get_parsed_string() const { return m_last_str_result; } ^ ./CmdlineParser.hh:45:49: error: use of undeclared identifier 'm_argc' bool has_args_left() const { return m_index < m_argc; } ^ In file included from rdfind.cc:19: ./Fileinfo.hh:39:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using filesizetype = off_t; ^ ./Fileinfo.hh:42:8: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions] enum class readtobuffermode : signed char ^ ./Fileinfo.hh:42:8: error: reference to enumeration must use 'enum' not 'enum class' [-Welaborated-enum-class] enum class readtobuffermode : signed char ^~~~~~ ./Fileinfo.hh:42:40: error: expected '(' for function-style cast or type construction enum class readtobuffermode : signed char ~~~~~~ ^ ./Fileinfo.hh:53:8: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions] enum class duptype : char ^ ./Fileinfo.hh:53:8: error: reference to enumeration must use 'enum' not 'enum class' [-Welaborated-enum-class] enum class duptype : char ^~~~~~ ./Fileinfo.hh:54:3: error: expected '(' for function-style cast or type construction { ^ ./Fileinfo.hh:66:4: error: expected expression [[gnu::pure]] static const char* getduptypestring(const Fileinfo& A); ^ ./Fileinfo.hh:66:17: error: expected member name or ';' after declaration specifiers [[gnu::pure]] static const char* getduptypestring(const Fileinfo& A); ^ ./Fileinfo.hh:30:17: warning: use of enumeration in a nested name specifier is a C++11 extension [-Wc++11-extensions] , m_duptype(duptype::DUPTYPE_UNKNOWN) ^ ./Fileinfo.hh:30:17: error: incomplete type 'duptype' named in nested name specifier , m_duptype(duptype::DUPTYPE_UNKNOWN) ^~~~~~~~~ In file included from rdfind.cc:21: ./Rdutil.hh:89:36: error: no enum named 'readtobuffermode' in 'Fileinfo' int fillwithbytes(enum Fileinfo::readtobuffermode type, ~~~~~~~~~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 5 warnings and 20 errors generated. *** [rdfind.o] Error code 1 bmake[1]: stopped making "all-am" in /Users/pbulk/build/sysutils/rdfind/work/rdfind-1.5.0 bmake[1]: 1 error bmake[1]: stopped making "all-am" in /Users/pbulk/build/sysutils/rdfind/work/rdfind-1.5.0 bmake: stopped making "all" in /Users/pbulk/build/sysutils/rdfind/work/rdfind-1.5.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/rdfind *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/rdfind