=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for HElib-1.0.1 [ 2%] Building CXX object CMakeFiles/helib.dir/ArgMap.cpp.o In file included from /usr/include/g++/regex:35:0, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:15: /usr/include/g++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^ In file included from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:17:0, from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:28, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:18: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:55:28: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 virtual ~Exception() = default; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:57:32: error: expected ';' at end of member declaration virtual const char* what() const noexcept = 0; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:57:38: error: 'noexcept' does not name a type virtual const char* what() const noexcept = 0; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:57:38: note: C++11 'noexcept' only available with -std=c++11 or -std=gnu++11 /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:59:19: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 Exception() = default; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:73:30: error: expected ';' at end of member declaration virtual const char* what() const noexcept override {return std::logic_error::what();}; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:73:36: error: 'noexcept' does not name a type virtual const char* what() const noexcept override {return std::logic_error::what();}; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:73:36: note: C++11 'noexcept' only available with -std=c++11 or -std=gnu++11 /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:71:11: error: looser throw specifier for 'virtual helib::LogicError::~LogicError()' virtual ~LogicError(){}; ^ In file included from /usr/include/g++/bits/ios_base.h:44:0, from /usr/include/g++/ios:42, from /usr/include/g++/ostream:38, from /usr/include/g++/iostream:39, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:13: /usr/include/g++/stdexcept:132:13: error: overriding 'virtual std::logic_error::~logic_error() throw ()' virtual ~logic_error() _GLIBCXX_USE_NOEXCEPT; ^ In file included from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:17:0, from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:28, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:18: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:73:23: error: looser throw specifier for 'virtual const char* helib::LogicError::what() const' virtual const char* what() const noexcept override {return std::logic_error::what();}; ^ In file included from /usr/include/g++/bits/ios_base.h:44:0, from /usr/include/g++/ios:42, from /usr/include/g++/ostream:38, from /usr/include/g++/iostream:39, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:13: /usr/include/g++/stdexcept:137:5: error: overriding 'virtual const char* std::logic_error::what() const throw ()' what() const _GLIBCXX_USE_NOEXCEPT; ^ In file included from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:17:0, from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:28, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:18: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:87:30: error: expected ';' at end of member declaration virtual const char* what() const noexcept override {return std::out_of_range::what();}; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:87:36: error: 'noexcept' does not name a type virtual const char* what() const noexcept override {return std::out_of_range::what();}; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:87:36: note: C++11 'noexcept' only available with -std=c++11 or -std=gnu++11 /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:85:11: error: looser throw specifier for 'virtual helib::OutOfRangeError::~OutOfRangeError()' virtual ~OutOfRangeError(){}; ^ In file included from /usr/include/g++/bits/ios_base.h:44:0, from /usr/include/g++/ios:42, from /usr/include/g++/ostream:38, from /usr/include/g++/iostream:39, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:13: /usr/include/g++/stdexcept:184:13: error: overriding 'virtual std::out_of_range::~out_of_range() throw ()' virtual ~out_of_range() _GLIBCXX_USE_NOEXCEPT; ^ In file included from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:17:0, from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:28, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:18: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:87:23: error: looser throw specifier for 'virtual const char* helib::OutOfRangeError::what() const' virtual const char* what() const noexcept override {return std::out_of_range::what();}; ^ In file included from /usr/include/g++/bits/ios_base.h:44:0, from /usr/include/g++/ios:42, from /usr/include/g++/ostream:38, from /usr/include/g++/iostream:39, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:13: /usr/include/g++/stdexcept:137:5: error: overriding 'virtual const char* std::logic_error::what() const throw ()' what() const _GLIBCXX_USE_NOEXCEPT; ^ In file included from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:17:0, from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:28, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:18: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:101:30: error: expected ';' at end of member declaration virtual const char* what() const noexcept override {return std::runtime_error::what();}; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:101:36: error: 'noexcept' does not name a type virtual const char* what() const noexcept override {return std::runtime_error::what();}; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:101:36: note: C++11 'noexcept' only available with -std=c++11 or -std=gnu++11 /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:99:11: error: looser throw specifier for 'virtual helib::RuntimeError::~RuntimeError()' virtual ~RuntimeError(){}; ^ In file included from /usr/include/g++/bits/ios_base.h:44:0, from /usr/include/g++/ios:42, from /usr/include/g++/ostream:38, from /usr/include/g++/iostream:39, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:13: /usr/include/g++/stdexcept:211:13: error: overriding 'virtual std::runtime_error::~runtime_error() throw ()' virtual ~runtime_error() _GLIBCXX_USE_NOEXCEPT; ^ In file included from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:17:0, from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:28, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:18: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:101:23: error: looser throw specifier for 'virtual const char* helib::RuntimeError::what() const' virtual const char* what() const noexcept override {return std::runtime_error::what();}; ^ In file included from /usr/include/g++/bits/ios_base.h:44:0, from /usr/include/g++/ios:42, from /usr/include/g++/ostream:38, from /usr/include/g++/iostream:39, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:13: /usr/include/g++/stdexcept:216:5: error: overriding 'virtual const char* std::runtime_error::what() const throw ()' what() const _GLIBCXX_USE_NOEXCEPT; ^ In file included from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:17:0, from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:28, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:18: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:115:30: error: expected ';' at end of member declaration virtual const char* what() const noexcept override {return std::invalid_argument::what();}; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:115:36: error: 'noexcept' does not name a type virtual const char* what() const noexcept override {return std::invalid_argument::what();}; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:115:36: note: C++11 'noexcept' only available with -std=c++11 or -std=gnu++11 /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:113:11: error: looser throw specifier for 'virtual helib::InvalidArgument::~InvalidArgument()' virtual ~InvalidArgument(){}; ^ In file included from /usr/include/g++/bits/ios_base.h:44:0, from /usr/include/g++/ios:42, from /usr/include/g++/ostream:38, from /usr/include/g++/iostream:39, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:13: /usr/include/g++/stdexcept:160:13: error: overriding 'virtual std::invalid_argument::~invalid_argument() throw ()' virtual ~invalid_argument() _GLIBCXX_USE_NOEXCEPT; ^ In file included from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:17:0, from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:28, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:18: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/exceptions.h:115:23: error: looser throw specifier for 'virtual const char* helib::InvalidArgument::what() const' virtual const char* what() const noexcept override {return std::invalid_argument::what();}; ^ In file included from /usr/include/g++/bits/ios_base.h:44:0, from /usr/include/g++/ios:42, from /usr/include/g++/ostream:38, from /usr/include/g++/iostream:39, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:13: /usr/include/g++/stdexcept:137:5: error: overriding 'virtual const char* std::logic_error::what() const throw ()' what() const _GLIBCXX_USE_NOEXCEPT; ^ In file included from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:28:0, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:18: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:60:66: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 inline void assertTrue(const T& value, const std::string& message) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h: In function 'void helib::assertTrue(const T&, const string&)': /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:61:17: error: 'is_base_of' is not a member of 'std' static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:61:34: error: expected primary-expression before ':' token static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:61:34: error: expected ']' before ':' token /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:61:64: error: expected primary-expression before '>' token static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:61:65: error: '::value' has not been declared static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:61:122: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive] static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:61:122: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:62:17: error: 'is_same' is not a member of 'std' static_assert(std::is_same::value, "Type T is not boolean"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:62:30: error: expected primary-expression before 'bool' static_assert(std::is_same::value, "Type T is not boolean"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:62:37: error: expected primary-expression before '>' token static_assert(std::is_same::value, "Type T is not boolean"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:62:38: error: '::value' has not been declared static_assert(std::is_same::value, "Type T is not boolean"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:62:70: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive] static_assert(std::is_same::value, "Type T is not boolean"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h: At global scope: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:80:60: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 inline void assertFalse(T value, const std::string& message) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h: In function 'void helib::assertFalse(T, const string&)': /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:81:17: error: 'is_same' is not a member of 'std' static_assert(std::is_same::value, "Type T is not boolean"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:81:30: error: expected primary-expression before 'bool' static_assert(std::is_same::value, "Type T is not boolean"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:81:37: error: expected primary-expression before '>' token static_assert(std::is_same::value, "Type T is not boolean"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:81:38: error: '::value' has not been declared static_assert(std::is_same::value, "Type T is not boolean"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:81:70: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive] static_assert(std::is_same::value, "Type T is not boolean"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:82:17: error: 'is_base_of' is not a member of 'std' static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:82:34: error: expected primary-expression before ':' token static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:82:34: error: expected ']' before ':' token /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:82:64: error: expected primary-expression before '>' token static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:82:65: error: '::value' has not been declared static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:82:122: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive] static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h: At global scope: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:101:72: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 inline void assertEq(const T &a, const T &b, const std::string& message) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h: In function 'void helib::assertEq(const T&, const T&, const string&)': /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:102:17: error: 'is_base_of' is not a member of 'std' static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:102:34: error: expected primary-expression before ':' token static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:102:34: error: expected ']' before ':' token /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:102:64: error: expected primary-expression before '>' token static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:102:65: error: '::value' has not been declared static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:102:122: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive] static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h: At global scope: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:122:73: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 inline void assertNeq(const T &a, const T &b, const std::string& message) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h: In function 'void helib::assertNeq(const T&, const T&, const string&)': /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:123:17: error: 'is_base_of' is not a member of 'std' static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:123:34: error: expected primary-expression before ':' token static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:123:34: error: expected ']' before ':' token /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:123:64: error: expected primary-expression before '>' token static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:123:65: error: '::value' has not been declared static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:123:122: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive] static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h: At global scope: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:142:65: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 inline void assertNotNull(const T &p, const std::string& message) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h: In function 'void helib::assertNotNull(const T&, const string&)': /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:143:17: error: 'is_base_of' is not a member of 'std' static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:143:34: error: expected primary-expression before ':' token static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:143:34: error: expected ']' before ':' token /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:143:64: error: expected primary-expression before '>' token static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:143:65: error: '::value' has not been declared static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:143:122: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive] static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:144:12: error: 'nullptr' was not declared in this scope if (p == nullptr) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h: At global scope: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:164:126: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 inline void assertInRange(const T &elem, const T &min, const T &max, const std::string& message, bool right_inclusive = false) { ^ In file included from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:28:0, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:18: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h: In function 'void helib::assertInRange(const T&, const T&, const T&, const string&, bool)': /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:165:17: error: 'is_base_of' is not a member of 'std' static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:165:34: error: expected primary-expression before ':' token static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:165:34: error: expected ']' before ':' token /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:165:64: error: expected primary-expression before '>' token static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:165:65: error: '::value' has not been declared static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/assertions.h:165:122: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive] static_assert(std::is_base_of<::helib::Exception, ExceptionTy>::value, "ExceptionTy must inherit from helib::Exception"); ^ In file included from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:18:0: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h: At global scope: /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:70:3: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class ArgType ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:85:26: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 bool optional_flag = false; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:120:31: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 virtual ~ArgProcessor() = default; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:137:29: error: 'enable_if_t' in namespace 'std' does not name a template type typename std::enable_if_t::value, int> = 0> ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:137:40: error: expected '>' before '<' token typename std::enable_if_t::value, int> = 0> ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:138:31: error: no default argument for 'S' bool do_process(const S& s) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:138:31: error: no default argument for '' /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:138:31: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:148:23: error: 'enable_if_t' in namespace 'std' does not name a template type typename std::enable_if_t::value, int> = 0> ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:148:34: error: expected '>' before '<' token typename std::enable_if_t::value, int> = 0> ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:149:31: error: no default argument for 'S' bool do_process(const S& s) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:149:31: error: no default argument for '' /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:149:31: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:149:10: error: 'template template > bool helib::ArgMap::ArgProcessorValue::do_process(const S&)' cannot be overloaded bool do_process(const S& s) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:138:10: error: with 'template template > bool helib::ArgMap::ArgProcessorValue::do_process(const S&)' bool do_process(const S& s) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:156:24: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 ArgType getArgType() override { return arg_type; } ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:158:38: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 bool process(const std::string& s) override { return this->do_process(s); } ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:169:33: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 ArgType arg_type = ArgType::DOTS; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:171:11: error: expected nested-name-specifier before 'T' using T = typename C::value_type; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:174:28: error: 'T' does not name a type template ::value, int> = 0> ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:176:40: error: expected '>' before '<' token typename std::enable_if_t::value, int> = 0> ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:177:31: error: no default argument for 'S' bool do_process(const S& s) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:177:31: error: no default argument for '' /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:177:31: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:185:22: error: 'T' does not name a type typename U = T, ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:187:23: error: 'enable_if_t' in namespace 'std' does not name a template type typename std::enable_if_t::value, int> = 0> ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:187:34: error: expected '>' before '<' token typename std::enable_if_t::value, int> = 0> ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:188:31: error: no default argument for 'S' bool do_process(const S& s) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:188:31: error: no default argument for '' /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:188:31: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:188:10: error: 'template template > bool helib::ArgMap::ArgProcessorContainer::do_process(const S&)' cannot be overloaded bool do_process(const S& s) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:177:10: error: with 'template template > bool helib::ArgMap::ArgProcessorContainer::do_process(const S&)' bool do_process(const S& s) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:198:24: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 ArgType getArgType() override { return arg_type; } ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:200:38: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 bool process(const std::string& s) override { return this->do_process(s); } ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:206:23: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 char kv_separator = '='; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:217:8: error: 'unordered_map' in namespace 'std' does not name a template type std::unordered_map> map; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:224:54: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 std::set help_tokens = {"-h", "--help"}; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:227:24: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 bool required_mode = false; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:228:23: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 bool dots_enabled = false; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:229:26: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 bool named_args_only = true; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:230:31: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 ArgType arg_type = ArgType::NAMED; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:232:8: error: 'unique_ptr' in namespace 'std' does not name a template type std::unique_ptr dots_ap; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:234:36: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 std::ostream* diagnostics_strm = nullptr; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:243:36: error: 'forward_list' in namespace 'std' does not name a template type void printDiagnostics(const std::forward_list& args) const; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:243:48: error: expected ',' or '...' before '<' token void printDiagnostics(const std::forward_list& args) const; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:252:31: error: 'forward_list' in namespace 'std' does not name a template type void simpleParse(const std::forward_list& args, ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:252:43: error: expected ',' or '...' before '<' token void simpleParse(const std::forward_list& args, ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:257:3: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class Separator ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:461:31: error: 'initializer_list' in namespace 'std' does not name a template type ArgMap& helpArgs(const std::initializer_list s); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:461:47: error: expected ',' or '...' before '<' token ArgMap& helpArgs(const std::initializer_list s); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:169:24: error: 'ArgType' is not a class or namespace ArgType arg_type = ArgType::DOTS; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:224:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 std::set help_tokens = {"-h", "--help"}; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:230:22: error: 'ArgType' is not a class or namespace ArgType arg_type = ArgType::NAMED; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:234:36: error: 'nullptr' was not declared in this scope std::ostream* diagnostics_strm = nullptr; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h: In member function 'helib::ArgMap& helib::ArgMap::arg(const char*, T&)': /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:282:30: error: 'none_of' is not a member of 'std' !name_str.empty() && std::none_of(name_str.begin(), ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:286:43: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 }), ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:291:9: error: 'map' was not declared in this scope map[name] == nullptr, "Key already in arg map (key: " + name_str + ")"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:291:22: error: 'nullptr' was not declared in this scope map[name] == nullptr, "Key already in arg map (key: " + name_str + ")"); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:300:17: error: 'shared_ptr' is not a member of 'std' map[name] = std::shared_ptr( ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:300:45: error: expected primary-expression before '>' token map[name] = std::shared_ptr( ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:303:27: error: 'ArgType' is not a class or namespace if (this->arg_type == ArgType::POSITIONAL) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:309:29: error: 'ArgType' is not a class or namespace if (this->arg_type == ArgType::TOGGLE_TRUE || ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:310:29: error: 'ArgType' is not a class or namespace this->arg_type == ArgType::TOGGLE_FALSE) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h: In member function 'helib::ArgMap& helib::ArgMap::arg(const char*, T&, const char*)': /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:339:27: error: 'ArgType' is not a class or namespace if (this->arg_type == ArgType::NAMED) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h: In member function 'helib::ArgMap& helib::ArgMap::arg(const char*, T&, const char*, const char*)': /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:367:17: error: 'nullptr' was not declared in this scope if (info != nullptr && info[0] != '\0') ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h: In member function 'helib::ArgMap& helib::ArgMap::dots(C&, const char*)': /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:393:11: error: 'class helib::ArgMap' has no member named 'dots_ap' this->dots_ap = std::make_unique>(&container); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:393:21: error: 'make_unique' is not a member of 'std' this->dots_ap = std::make_unique>(&container); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:393:61: error: spurious '>>', use '>' to terminate a template argument list this->dots_ap = std::make_unique>(&container); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp: In function 'void helib::lstrip(std::string&)': /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:25:8: error: 'it' does not name a type auto it = std::find_if( ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:26:75: error: expected primary-expression before ')' token s.begin(), s.end(), [](unsigned char c) { return !std::isspace(c); }); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:28:22: error: 'it' was not declared in this scope s.erase(s.begin(), it); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp: In function 'void helib::rstrip(std::string&)': /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:33:8: error: 'it' does not name a type auto it = std::find_if( ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:34:77: error: expected primary-expression before ')' token s.rbegin(), s.rend(), [](unsigned char c) { return !std::isspace(c); }); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:36:11: error: 'it' was not declared in this scope s.erase(it.base(), s.end()); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp: In member function 'void helib::ArgMap::usage(const string&) const': /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:66:20: error: ISO C++ forbids declaration of 'n' with no type [-fpermissive] for (const auto& n : this->optional_set) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:66:24: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11 for (const auto& n : this->optional_set) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:67:25: error: 'const class helib::ArgMap' has no member named 'map' bool named = (this->map.at(n)->getArgType() == ArgType::NAMED); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:67:52: error: 'ArgType' is not a class or namespace bool named = (this->map.at(n)->getArgType() == ArgType::NAMED); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:72:20: error: ISO C++ forbids declaration of 'n' with no type [-fpermissive] for (const auto& n : this->required_set) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:72:24: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11 for (const auto& n : this->required_set) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:73:25: error: 'const class helib::ArgMap' has no member named 'map' bool named = (this->map.at(n)->getArgType() == ArgType::NAMED); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:73:52: error: 'ArgType' is not a class or namespace bool named = (this->map.at(n)->getArgType() == ArgType::NAMED); ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp: At global scope: /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:90:37: error: 'initializer_list' in namespace 'std' does not name a template type ArgMap& ArgMap::helpArgs(const std::initializer_list s) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:90:53: error: expected ',' or '...' before '<' token ArgMap& ArgMap::helpArgs(const std::initializer_list s) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp: In member function 'helib::ArgMap& helib::ArgMap::helpArgs(int)': /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:92:23: error: 's' was not declared in this scope this->help_tokens = s; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp: In member function 'helib::ArgMap& helib::ArgMap::helpArgs(std::string)': /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:98:25: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 this->help_tokens = {s}; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:98:21: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 this->help_tokens = {s}; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:98:21: error: no match for 'operator=' (operand types are 'std::set >' and '') In file included from /usr/include/g++/set:61:0, from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:19, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:18: /usr/include/g++/bits/stl_set.h:267:7: note: candidate: std::set<_Key, _Compare, _Alloc>& std::set<_Key, _Compare, _Alloc>::operator=(const std::set<_Key, _Compare, _Alloc>&) [with _Key = std::basic_string; _Compare = std::less >; _Alloc = std::allocator >] operator=(const set& __x) ^ /usr/include/g++/bits/stl_set.h:267:7: note: no known conversion for argument 1 from '' to 'const std::set >&' /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp: In member function 'helib::ArgMap& helib::ArgMap::separator(helib::ArgMap::Separator)': /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:106:8: error: 'Separator' is not a class or namespace case Separator::EQUALS: ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:109:8: error: 'Separator' is not a class or namespace case Separator::COLON: ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:112:8: error: 'Separator' is not a class or namespace case Separator::WHITESPACE: ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp: In member function 'helib::ArgMap& helib::ArgMap::toggle(bool)': /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:138:24: error: 'ArgType' is not a class or namespace this->arg_type = t ? ArgType::TOGGLE_TRUE : ArgType::TOGGLE_FALSE; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:138:47: error: 'ArgType' is not a class or namespace this->arg_type = t ? ArgType::TOGGLE_TRUE : ArgType::TOGGLE_FALSE; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp: In member function 'helib::ArgMap& helib::ArgMap::named()': /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:144:20: error: 'ArgType' is not a class or namespace this->arg_type = ArgType::NAMED; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp: In member function 'helib::ArgMap& helib::ArgMap::positional()': /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:151:20: error: 'ArgType' is not a class or namespace this->arg_type = ArgType::POSITIONAL; ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp: At global scope: /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:161:42: error: 'forward_list' in namespace 'std' does not name a template type void ArgMap::printDiagnostics(const std::forward_list& args) const ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:161:54: error: expected ',' or '...' before '<' token void ArgMap::printDiagnostics(const std::forward_list& args) const ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp: In member function 'void helib::ArgMap::printDiagnostics(int) const': /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:163:33: error: 'nullptr' was not declared in this scope if (this->diagnostics_strm != nullptr) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:166:22: error: ISO C++ forbids declaration of 'e' with no type [-fpermissive] for (const auto& e : args) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:166:26: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11 for (const auto& e : args) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:166:26: error: 'args' was not declared in this scope /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:171:22: error: ISO C++ forbids declaration of 'e' with no type [-fpermissive] for (const auto& e : required_set) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:171:26: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11 for (const auto& e : required_set) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:176:22: error: ISO C++ forbids declaration of 'e' with no type [-fpermissive] for (const auto& e : optional_set) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:176:26: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11 for (const auto& e : optional_set) { ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp: At global scope: /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:183:35: error: variable or field 'splitOnSeparator' declared void static void splitOnSeparator(std::forward_list& args_lst, char sep) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:183:30: error: 'forward_list' is not a member of 'std' static void splitOnSeparator(std::forward_list& args_lst, char sep) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:183:59: error: expected primary-expression before '>' token static void splitOnSeparator(std::forward_list& args_lst, char sep) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:183:62: error: 'args_lst' was not declared in this scope static void splitOnSeparator(std::forward_list& args_lst, char sep) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:183:72: error: expected primary-expression before 'char' static void splitOnSeparator(std::forward_list& args_lst, char sep) ^ /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:372:1: error: expected '}' at end of input } // namespace helib ^ In file included from /usr/include/g++/set:60:0, from /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:19, from /scratch/work/security/HElib/work/HElib-1.0.1/src/ArgMap.cpp:18: /usr/include/g++/bits/stl_tree.h: In instantiation of 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique(_II, _II) [with _InputIterator = const char*; _Key = std::basic_string; _Val = std::basic_string; _KeyOfValue = std::_Identity >; _Compare = std::less >; _Alloc = std::allocator >]': /usr/include/g++/bits/stl_set.h:172:4: required from 'std::set<_Key, _Compare, _Alloc>::set(_InputIterator, _InputIterator) [with _InputIterator = const char*; _Key = std::basic_string; _Compare = std::less >; _Alloc = std::allocator >]' /scratch/work/security/HElib/work/HElib-1.0.1/src/../include/helib/ArgMap.h:224:54: required from here /usr/include/g++/bits/stl_tree.h:2253:21: error: no matching function for call to 'std::_Rb_tree, std::basic_string, std::_Identity >, std::less >, std::allocator > >::_M_insert_unique_(std::_Rb_tree, std::basic_string, std::_Identity >, std::less >, std::allocator > >::iterator, const char&, std::_Rb_tree, std::basic_string, std::_Identity >, std::less >, std::allocator > >::_Alloc_node&)' _M_insert_unique_(end(), *__first, __an); ^ /usr/include/g++/bits/stl_tree.h:978:2: note: candidate: template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique_(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const _Val&, _NodeGen&) [with _NodeGen = _NodeGen; _Key = std::basic_string; _Val = std::basic_string; _KeyOfValue = std::_Identity >; _Compare = std::less >; _Alloc = std::allocator >] _M_insert_unique_(const_iterator __pos, const value_type& __x, ^ /usr/include/g++/bits/stl_tree.h:978:2: note: template argument deduction/substitution failed: /usr/include/g++/bits/stl_tree.h:2253:21: note: cannot convert '* __first' (type 'const char') to type 'const std::basic_string&' _M_insert_unique_(end(), *__first, __an); ^ /usr/include/g++/bits/stl_tree.h:982:7: note: candidate: std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique_(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const value_type&) [with _Key = std::basic_string; _Val = std::basic_string; _KeyOfValue = std::_Identity >; _Compare = std::less >; _Alloc = std::allocator >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::value_type = std::basic_string] _M_insert_unique_(const_iterator __pos, const value_type& __x) ^ /usr/include/g++/bits/stl_tree.h:982:7: note: candidate expects 2 arguments, 3 provided *** [CMakeFiles/helib.dir/ArgMap.cpp.o] Error code 1 make[2]: stopped in /scratch/work/security/HElib/work/HElib-1.0.1/src 1 error make[2]: stopped in /scratch/work/security/HElib/work/HElib-1.0.1/src *** [CMakeFiles/helib.dir/all] Error code 2 make[1]: stopped in /scratch/work/security/HElib/work/HElib-1.0.1/src 1 error make[1]: stopped in /scratch/work/security/HElib/work/HElib-1.0.1/src *** [all] Error code 2 make: stopped in /scratch/work/security/HElib/work/HElib-1.0.1/src 1 error make: stopped in /scratch/work/security/HElib/work/HElib-1.0.1/src *** Error code 2 Stop. make[1]: stopped in /tree/pkgsrc/security/HElib *** Error code 1 Stop. make: stopped in /tree/pkgsrc/security/HElib