Git Product home page Git Product logo

diva's People

Contributors

flametop avatar freakydug avatar jmagee avatar seaneveson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

diva's Issues

build is failing

make output -

xgupta@archlinux ~/Downloads/DIVA/DIVA/build (master) $ make -j12
[ 6%] Building CXX object ExternalDependencies/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
[ 6%] Building CXX object LibScopeView/CMakeFiles/LibScopeView.dir/src/FileUtilities.cpp.o
[ 6%] Building CXX object ExternalDependencies/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock-all.cc.o
[ 6%] Building CXX object ExternalDependencies/googletest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 8%] Building CXX object LibScopeView/CMakeFiles/LibScopeView.dir/src/Error.cpp.o
[ 10%] Building CXX object ExternalDependencies/googletest/googlemock/CMakeFiles/gmock.dir//googletest/src/gtest-all.cc.o
[ 12%] Building CXX object LibScopeView/CMakeFiles/LibScopeView.dir/src/Line.cpp.o
[ 15%] Building CXX object ExternalDependencies/googletest/googlemock/CMakeFiles/gmock_main.dir/
/googletest/src/gtest-all.cc.o
[ 15%] Building CXX object ExternalDependencies/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
[ 17%] Building CXX object LibScopeView/CMakeFiles/LibScopeView.dir/src/Object.cpp.o
[ 20%] Building CXX object LibScopeView/CMakeFiles/LibScopeView.dir/src/PrintSettings.cpp.o
[ 20%] Building CXX object ElfDwarfReader/CMakeFiles/ElfDwarfReader.dir/src/ElfDwarfReader.cpp.o
[ 22%] Building CXX object ElfDwarfReader/CMakeFiles/ElfDwarfReader.dir/src/LibDwarfHelpers.cpp.o
/home/xgupta/Downloads/DIVA/DIVA/LibScopeView/src/FileUtilities.cpp: In function 'bool {anonymous}::getBytesFromFile(std::vector&, std::string, size_t)':
/home/xgupta/Downloads/DIVA/DIVA/LibScopeView/src/FileUtilities.cpp:81:33: error: 'numeric_limits' is not a member of 'std'
81 | static_cast<size_t>(std::numeric_limitsstd::streamsize::max())});
| ^~~~~~~~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/LibScopeView/src/FileUtilities.cpp:81:63: error: expected primary-expression before '>' token
81 | static_cast<size_t>(std::numeric_limitsstd::streamsize::max())});
| ^
/home/xgupta/Downloads/DIVA/DIVA/LibScopeView/src/FileUtilities.cpp:81:66: error: '::max' has not been declared; did you mean 'std::max'?
81 | static_cast<size_t>(std::numeric_limitsstd::streamsize::max())});
| ^~~
| std::max
In file included from /usr/include/c++/11.1.0/algorithm:62,
from /home/xgupta/Downloads/DIVA/DIVA/LibScopeView/src/FileUtilities.cpp:35:
/usr/include/c++/11.1.0/bits/stl_algo.h:3467:5: note: 'std::max' declared here
3467 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
/home/xgupta/Downloads/DIVA/DIVA/LibScopeView/src/FileUtilities.cpp:79:37: error: no matching function for call to 'min()'
79 | const size_t SizeToRead = std::min(
| ~~~~~~~~^
80 | {static_cast<size_t>(ActualSize), SizeRequest,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
81 | static_cast<size_t>(std::numeric_limitsstd::streamsize::max())});
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11.1.0/bits/char_traits.h:39,
from /usr/include/c++/11.1.0/string:40,
from /home/xgupta/Downloads/DIVA/DIVA/LibScopeView/src/FileUtilities.h:34,
from /home/xgupta/Downloads/DIVA/DIVA/LibScopeView/src/FileUtilities.cpp:31:
/usr/include/c++/11.1.0/bits/stl_algobase.h:230:5: note: candidate: 'template constexpr const _Tp& std::min(const _Tp&, const _Tp&)'
230 | min(const _Tp& __a, const _Tp& __b)
| ^~~
/usr/include/c++/11.1.0/bits/stl_algobase.h:230:5: note: template argument deduction/substitution failed:
/home/xgupta/Downloads/DIVA/DIVA/LibScopeView/src/FileUtilities.cpp:79:37: note: candidate expects 2 arguments, 1 provided
79 | const size_t SizeToRead = std::min(
| ~~~~~~~~^
80 | {static_cast<size_t>(ActualSize), SizeRequest,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
81 | static_cast<size_t>(std::numeric_limitsstd::streamsize::max())});
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11.1.0/bits/char_traits.h:39,
from /usr/include/c++/11.1.0/string:40,
from /home/xgupta/Downloads/DIVA/DIVA/LibScopeView/src/FileUtilities.h:34,
from /home/xgupta/Downloads/DIVA/DIVA/LibScopeView/src/FileUtilities.cpp:31:
/usr/include/c++/11.1.0/bits/stl_algobase.h:278:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare)'
278 | min(const _Tp& __a, const _Tp& __b, _Compare __comp)
| ^~~
/usr/include/c++/11.1.0/bits/stl_algobase.h:278:5: note: template argument deduction/substitution failed:
/home/xgupta/Downloads/DIVA/DIVA/LibScopeView/src/FileUtilities.cpp:79:37: note: candidate expects 3 arguments, 1 provided
79 | const size_t SizeToRead = std::min(
| ~~~~~~~~^
80 | {static_cast<size_t>(ActualSize), SizeRequest,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
81 | static_cast<size_t>(std::numeric_limitsstd::streamsize::max())});
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11.1.0/algorithm:62,
from /home/xgupta/Downloads/DIVA/DIVA/LibScopeView/src/FileUtilities.cpp:35:
/usr/include/c++/11.1.0/bits/stl_algo.h:3449:5: note: candidate: 'template constexpr _Tp std::min(std::initializer_list<_Tp>)'
3449 | min(initializer_list<_Tp> __l)
| ^~~
/usr/include/c++/11.1.0/bits/stl_algo.h:3449:5: note: template argument deduction/substitution failed:
/usr/include/c++/11.1.0/bits/stl_algo.h:3455:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::min(std::initializer_list<_Tp>, _Compare)'
3455 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
/usr/include/c++/11.1.0/bits/stl_algo.h:3455:5: note: template argument deduction/substitution failed:
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-exit-time-destructors' may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option '-Wno-global-constructors' may have been intended to silence earlier diagnostics
make[2]: *** [LibScopeView/CMakeFiles/LibScopeView.dir/build.make:90: LibScopeView/CMakeFiles/LibScopeView.dir/src/FileUtilities.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/LibDwarfHelpers.h:48,
from /home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.cpp:34:
/home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.cpp: In function 'void {anonymous}::setSourceFile(LibScopeView::Object&, const std::vector<std::__cxx11::basic_string >&, Dwarf_Unsigned)':
/home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.cpp:84:20: error: 'numeric_limits' is not a member of 'std'
84 | assert(ID < std::numeric_limits<size_t>::max());
| ^~~~~~~~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.cpp:84:41: error: expected primary-expression before '>' token
84 | assert(ID < std::numeric_limits<size_t>::max());
| ^
/home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.cpp:84:44: error: '::max' has not been declared; did you mean 'std::max'?
84 | assert(ID < std::numeric_limits<size_t>::max());
| ^~~
In file included from /usr/include/c++/11.1.0/algorithm:62,
from /usr/include/c++/11.1.0/regex:38,
from /home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/../LibScopeView/src/PrintSettings.h:35,
from /home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/../LibScopeView/src/Reader.h:33,
from /home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.h:35,
from /home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.cpp:31:
/usr/include/c++/11.1.0/bits/stl_algo.h:3467:5: note: 'std::max' declared here
3467 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/LibDwarfHelpers.h:48,
from /home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.cpp:34:
/home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.cpp: In member function 'void ElfDwarfReader::DwarfReader::initTypeFromAttrs(LibScopeView::Type&, const ElfDwarfReader::DwarfDie&)':
/home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.cpp:465:44: error: 'numeric_limits' is not a member of 'std'
465 | assert(ByteSize.getUnsigned() < std::numeric_limits::max());
| ^~~~~~~~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.cpp:465:59: error: expected primary-expression before 'unsigned'
465 | assert(ByteSize.getUnsigned() < std::numeric_limits::max());
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.cpp:465:59: error: expected ')' before 'unsigned'
/home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.cpp:465:59: error: expected ')' before 'unsigned'
/home/xgupta/Downloads/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.cpp:465:7: note: to match this '('
465 | assert(ByteSize.getUnsigned() < std::numeric_limits::max());
| ^~~~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-exit-time-destructors' may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option '-Wno-global-constructors' may have been intended to silence earlier diagnostics
make[2]: *** [ElfDwarfReader/CMakeFiles/ElfDwarfReader.dir/build.make:76: ElfDwarfReader/CMakeFiles/ElfDwarfReader.dir/src/ElfDwarfReader.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:337: ElfDwarfReader/CMakeFiles/ElfDwarfReader.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:311: LibScopeView/CMakeFiles/LibScopeView.dir/all] Error 2
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:3978:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::StrEqualityMatcher<std::__cxx11::basic_string >::StrEqualityMatcher(const testing::internal::StrEqualityMatcher<std::_cxx11::basic_string >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::StrEqualityMatcher<std::__cxx11::basic_string >' has user-provided 'void testing::internal::StrEqualityMatcher::operator=(const testing::internal::StrEqualityMatcher&) [with StringType = std::cxx11::basic_string]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1180:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1180 | GTEST_DISALLOW_ASSIGN
(StrEqualityMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4007:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::HasSubstrMatcher<std::__cxx11::basic_string >::HasSubstrMatcher(const testing::internal::HasSubstrMatcher<std::_cxx11::basic_string >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::HasSubstrMatcher<std::__cxx11::basic_string >' has user-provided 'void testing::internal::HasSubstrMatcher::operator=(const testing::internal::HasSubstrMatcher&) [with StringType = std::cxx11::basic_string]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1227:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1227 | GTEST_DISALLOW_ASSIGN
(HasSubstrMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4014:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::StartsWithMatcher<std::__cxx11::basic_string >::StartsWithMatcher(const testing::internal::StartsWithMatcher<std::_cxx11::basic_string >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::StartsWithMatcher<std::__cxx11::basic_string >' has user-provided 'void testing::internal::StartsWithMatcher::operator=(const testing::internal::StartsWithMatcher&) [with StringType = std::cxx11::basic_string]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1274:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1274 | GTEST_DISALLOW_ASSIGN
(StartsWithMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4021:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::EndsWithMatcher<std::__cxx11::basic_string >::EndsWithMatcher(const testing::internal::EndsWithMatcher<std::cxx11::basic_string >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::EndsWithMatcher<std::cxx11::basic_string >' has user-provided 'void testing::internal::EndsWithMatcher::operator=(const testing::internal::EndsWithMatcher&) [with StringType = std::cxx11::basic_string]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1320:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1320 | GTEST_DISALLOW_ASSIGN
(EndsWithMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::MatchesRegexMatcher]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::MatchesRegexMatcher]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4028:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::MatchesRegexMatcher::MatchesRegexMatcher(const testing::internal::MatchesRegexMatcher&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::MatchesRegexMatcher' has user-provided 'void testing::internal::MatchesRegexMatcher::operator=(const testing::internal::MatchesRegexMatcher&)'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1369:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1369 | GTEST_DISALLOW_ASSIGN
(MatchesRegexMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4052:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >::StrEqualityMatcher(const testing::internal::StrEqualityMatcher<std::_cxx11::basic_string<wchar_t> >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >' has user-provided 'void testing::internal::StrEqualityMatcher::operator=(const testing::internal::StrEqualityMatcher&) [with StringType = std::cxx11::basic_string<wchar_t>]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1180:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1180 | GTEST_DISALLOW_ASSIGN
(StrEqualityMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4081:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >::HasSubstrMatcher(const testing::internal::HasSubstrMatcher<std::_cxx11::basic_string<wchar_t> >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >' has user-provided 'void testing::internal::HasSubstrMatcher::operator=(const testing::internal::HasSubstrMatcher&) [with StringType = std::cxx11::basic_string<wchar_t>]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1227:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1227 | GTEST_DISALLOW_ASSIGN
(HasSubstrMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4088:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >::StartsWithMatcher(const testing::internal::StartsWithMatcher<std::_cxx11::basic_string<wchar_t> >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >' has user-provided 'void testing::internal::StartsWithMatcher::operator=(const testing::internal::StartsWithMatcher&) [with StringType = std::cxx11::basic_string<wchar_t>]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1274:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1274 | GTEST_DISALLOW_ASSIGN
(StartsWithMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4095:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >::EndsWithMatcher(const testing::internal::EndsWithMatcher<std::_cxx11::basic_string<wchar_t> >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >' has user-provided 'void testing::internal::EndsWithMatcher::operator=(const testing::internal::EndsWithMatcher&) [with StringType = std::cxx11::basic_string<wchar_t>]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1320:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1320 | GTEST_DISALLOW_ASSIGN
(EndsWithMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:3978:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::StrEqualityMatcher<std::__cxx11::basic_string >::StrEqualityMatcher(const testing::internal::StrEqualityMatcher<std::_cxx11::basic_string >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::StrEqualityMatcher<std::__cxx11::basic_string >' has user-provided 'void testing::internal::StrEqualityMatcher::operator=(const testing::internal::StrEqualityMatcher&) [with StringType = std::cxx11::basic_string]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1180:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1180 | GTEST_DISALLOW_ASSIGN
(StrEqualityMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4007:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::HasSubstrMatcher<std::__cxx11::basic_string >::HasSubstrMatcher(const testing::internal::HasSubstrMatcher<std::_cxx11::basic_string >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::HasSubstrMatcher<std::__cxx11::basic_string >' has user-provided 'void testing::internal::HasSubstrMatcher::operator=(const testing::internal::HasSubstrMatcher&) [with StringType = std::cxx11::basic_string]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1227:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1227 | GTEST_DISALLOW_ASSIGN
(HasSubstrMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4014:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::StartsWithMatcher<std::__cxx11::basic_string >::StartsWithMatcher(const testing::internal::StartsWithMatcher<std::_cxx11::basic_string >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::StartsWithMatcher<std::__cxx11::basic_string >' has user-provided 'void testing::internal::StartsWithMatcher::operator=(const testing::internal::StartsWithMatcher&) [with StringType = std::cxx11::basic_string]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1274:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1274 | GTEST_DISALLOW_ASSIGN
(StartsWithMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4021:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::EndsWithMatcher<std::__cxx11::basic_string >::EndsWithMatcher(const testing::internal::EndsWithMatcher<std::cxx11::basic_string >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::EndsWithMatcher<std::cxx11::basic_string >' has user-provided 'void testing::internal::EndsWithMatcher::operator=(const testing::internal::EndsWithMatcher&) [with StringType = std::cxx11::basic_string]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1320:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1320 | GTEST_DISALLOW_ASSIGN
(EndsWithMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::MatchesRegexMatcher]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::MatchesRegexMatcher]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4028:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::MatchesRegexMatcher::MatchesRegexMatcher(const testing::internal::MatchesRegexMatcher&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::MatchesRegexMatcher' has user-provided 'void testing::internal::MatchesRegexMatcher::operator=(const testing::internal::MatchesRegexMatcher&)'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1369:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1369 | GTEST_DISALLOW_ASSIGN
(MatchesRegexMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4052:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >::StrEqualityMatcher(const testing::internal::StrEqualityMatcher<std::_cxx11::basic_string<wchar_t> >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >' has user-provided 'void testing::internal::StrEqualityMatcher::operator=(const testing::internal::StrEqualityMatcher&) [with StringType = std::cxx11::basic_string<wchar_t>]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1180:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1180 | GTEST_DISALLOW_ASSIGN
(StrEqualityMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4081:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >::HasSubstrMatcher(const testing::internal::HasSubstrMatcher<std::_cxx11::basic_string<wchar_t> >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >' has user-provided 'void testing::internal::HasSubstrMatcher::operator=(const testing::internal::HasSubstrMatcher&) [with StringType = std::cxx11::basic_string<wchar_t>]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1227:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1227 | GTEST_DISALLOW_ASSIGN
(HasSubstrMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4088:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >::StartsWithMatcher(const testing::internal::StartsWithMatcher<std::_cxx11::basic_string<wchar_t> >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >' has user-provided 'void testing::internal::StartsWithMatcher::operator=(const testing::internal::StartsWithMatcher&) [with StringType = std::cxx11::basic_string<wchar_t>]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1274:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1274 | GTEST_DISALLOW_ASSIGN
(StartsWithMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4095:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >::EndsWithMatcher(const testing::internal::EndsWithMatcher<std::_cxx11::basic_string<wchar_t> >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock_main.cc:33:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >' has user-provided 'void testing::internal::EndsWithMatcher::operator=(const testing::internal::EndsWithMatcher&) [with StringType = std::cxx11::basic_string<wchar_t>]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1320:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1320 | GTEST_DISALLOW_ASSIGN
(EndsWithMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [ExternalDependencies/googletest/googlemock/CMakeFiles/gmock_main.dir/build.make:104: ExternalDependencies/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-all.cc:43:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-death-test.cc: In function 'bool testing::internal::StackGrowsDown()':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-death-test.cc:1002:24: error: 'dummy' may be used uninitialized [-Werror=maybe-uninitialized]
1002 | StackLowerThanAddress(&dummy, &result);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-death-test.cc:992:13: note: by argument 1 of type 'const void*' to 'void testing::internal::StackLowerThanAddress(const void*, bool*)' declared here
992 | static void StackLowerThanAddress(const void* ptr, bool* result) {
| ^~~~~~~~~~~~~~~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-death-test.cc:1000:7: note: 'dummy' declared here
1000 | int dummy;
| ^~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:3978:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::StrEqualityMatcher<std::__cxx11::basic_string >::StrEqualityMatcher(const testing::internal::StrEqualityMatcher<std::_cxx11::basic_string >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::StrEqualityMatcher<std::__cxx11::basic_string >' has user-provided 'void testing::internal::StrEqualityMatcher::operator=(const testing::internal::StrEqualityMatcher&) [with StringType = std::cxx11::basic_string]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1180:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1180 | GTEST_DISALLOW_ASSIGN
(StrEqualityMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4007:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::HasSubstrMatcher<std::__cxx11::basic_string >::HasSubstrMatcher(const testing::internal::HasSubstrMatcher<std::_cxx11::basic_string >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::HasSubstrMatcher<std::__cxx11::basic_string >' has user-provided 'void testing::internal::HasSubstrMatcher::operator=(const testing::internal::HasSubstrMatcher&) [with StringType = std::cxx11::basic_string]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1227:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1227 | GTEST_DISALLOW_ASSIGN
(HasSubstrMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4014:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::StartsWithMatcher<std::__cxx11::basic_string >::StartsWithMatcher(const testing::internal::StartsWithMatcher<std::_cxx11::basic_string >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::StartsWithMatcher<std::__cxx11::basic_string >' has user-provided 'void testing::internal::StartsWithMatcher::operator=(const testing::internal::StartsWithMatcher&) [with StringType = std::cxx11::basic_string]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1274:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1274 | GTEST_DISALLOW_ASSIGN
(StartsWithMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4021:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::EndsWithMatcher<std::__cxx11::basic_string >::EndsWithMatcher(const testing::internal::EndsWithMatcher<std::cxx11::basic_string >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::EndsWithMatcher<std::cxx11::basic_string >' has user-provided 'void testing::internal::EndsWithMatcher::operator=(const testing::internal::EndsWithMatcher&) [with StringType = std::cxx11::basic_string]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1320:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1320 | GTEST_DISALLOW_ASSIGN
(EndsWithMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::MatchesRegexMatcher]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::MatchesRegexMatcher]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4028:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::MatchesRegexMatcher::MatchesRegexMatcher(const testing::internal::MatchesRegexMatcher&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::MatchesRegexMatcher' has user-provided 'void testing::internal::MatchesRegexMatcher::operator=(const testing::internal::MatchesRegexMatcher&)'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1369:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1369 | GTEST_DISALLOW_ASSIGN
(MatchesRegexMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4052:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >::StrEqualityMatcher(const testing::internal::StrEqualityMatcher<std::_cxx11::basic_string<wchar_t> >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >' has user-provided 'void testing::internal::StrEqualityMatcher::operator=(const testing::internal::StrEqualityMatcher&) [with StringType = std::cxx11::basic_string<wchar_t>]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1180:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1180 | GTEST_DISALLOW_ASSIGN
(StrEqualityMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4081:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >::HasSubstrMatcher(const testing::internal::HasSubstrMatcher<std::_cxx11::basic_string<wchar_t> >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >' has user-provided 'void testing::internal::HasSubstrMatcher::operator=(const testing::internal::HasSubstrMatcher&) [with StringType = std::cxx11::basic_string<wchar_t>]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1227:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1227 | GTEST_DISALLOW_ASSIGN
(HasSubstrMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4088:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >::StartsWithMatcher(const testing::internal::StartsWithMatcher<std::_cxx11::basic_string<wchar_t> >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >' has user-provided 'void testing::internal::StartsWithMatcher::operator=(const testing::internal::StartsWithMatcher&) [with StringType = std::cxx11::basic_string<wchar_t>]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1274:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1274 | GTEST_DISALLOW_ASSIGN
(StartsWithMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:61,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h: In instantiation of 'testing::PolymorphicMatcher::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >]':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:497:10: required from 'testing::PolymorphicMatcher testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >]'
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:4095:32: required from here
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:432:54: error: implicitly-declared 'testing::internal::EndsWithMatcher<std::_cxx11::basic_string<wchar_t> >::EndsWithMatcher(const testing::internal::EndsWithMatcher<std::cxx11::basic_string<wchar_t> >&)' is deprecated [-Werror=deprecated-copy]
432 | explicit PolymorphicMatcher(const Impl& an_impl) : impl
(an_impl) {}
| ^~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-port.h:53,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-actions.h:46,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock.h:58,
from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/src/gmock-all.cc:40:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/include/gtest/internal/gtest-port.h:901:8: note: because 'testing::internal::EndsWithMatcher<std::cxx11::basic_string<wchar_t> >' has user-provided 'void testing::internal::EndsWithMatcher::operator=(const testing::internal::EndsWithMatcher&) [with StringType = std::cxx11::basic_string<wchar_t>]'
901 | void operator=(type const &)
| ^~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googlemock/include/gmock/gmock-matchers.h:1320:3: note: in expansion of macro 'GTEST_DISALLOW_ASSIGN
'
1320 | GTEST_DISALLOW_ASSIGN
(EndsWithMatcher);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-all.cc:43:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-death-test.cc: In function 'bool testing::internal::StackGrowsDown()':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-death-test.cc:1002:24: error: 'dummy' may be used uninitialized [-Werror=maybe-uninitialized]
1002 | StackLowerThanAddress(&dummy, &result);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-death-test.cc:992:13: note: by argument 1 of type 'const void*' to 'void testing::internal::StackLowerThanAddress(const void*, bool*)' declared here
992 | static void StackLowerThanAddress(const void* ptr, bool* result) {
| ^~~~~~~~~~~~~~~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-death-test.cc:1000:7: note: 'dummy' declared here
1000 | int dummy;
| ^~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [ExternalDependencies/googletest/googlemock/CMakeFiles/gmock.dir/build.make:90: ExternalDependencies/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-all.cc:43:
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-death-test.cc: In function 'bool testing::internal::StackGrowsDown()':
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-death-test.cc:1002:24: error: 'dummy' may be used uninitialized [-Werror=maybe-uninitialized]
1002 | StackLowerThanAddress(&dummy, &result);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-death-test.cc:992:13: note: by argument 1 of type 'const void*' to 'void testing::internal::StackLowerThanAddress(const void*, bool*)' declared here
992 | static void StackLowerThanAddress(const void* ptr, bool* result) {
| ^~~~~~~~~~~~~~~~~~~~~
/home/xgupta/Downloads/DIVA/DIVA/ExternalDependencies/googletest/googletest/src/gtest-death-test.cc:1000:7: note: 'dummy' declared here
1000 | int dummy;
| ^~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [ExternalDependencies/googletest/googlemock/CMakeFiles/gmock_main.dir/build.make:90: ExternalDependencies/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock-all.cc.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [ExternalDependencies/googletest/googlemock/gtest/CMakeFiles/gtest.dir/build.make:76: ExternalDependencies/googletest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:285: ExternalDependencies/googletest/googlemock/gtest/CMakeFiles/gtest.dir/all] Error 2
cc1plus: all warnings being treated as errors
make[2]: *** [ExternalDependencies/googletest/googlemock/CMakeFiles/gmock.dir/build.make:76: ExternalDependencies/googletest/googlemock/CMakeFiles/gmock.dir/
/googletest/src/gtest-all.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:233: ExternalDependencies/googletest/googlemock/CMakeFiles/gmock.dir/all] Error 2
cc1plus: all warnings being treated as errors
make[2]: *** [ExternalDependencies/googletest/googlemock/CMakeFiles/gmock_main.dir/build.make:76: ExternalDependencies/googletest/googlemock/CMakeFiles/gmock_main.dir/
/googletest/src/gtest-all.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:207: ExternalDependencies/googletest/googlemock/CMakeFiles/gmock_main.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

DW_DLE_ATTR_FORM_BAD (114) ERR_INVALID_DWARF: Failed to read DWARF from 'asan.o'

Hello.

Following test-case:

$ cat asan.ii
template < int b > class c {};
template < typename d > struct e {};
e< struct a > f;
struct a {
  c< 3 > g;
};

Fails with GCC 7.1.0+. Looks it started with r241085 of GCC:

SVN revision: 241085
Author: rguenth
2016-10-13  Richard Biener  <[email protected]>

	* dwarf2out.c (tree_add_const_value_attribute): Do not try
	rtl_for_decl_init during early phase.
	(gen_variable_die): Do not create locations during early phase.
	(gen_label_die): Likewise.
	(decls_for_scope): Do not waste time handling BLOCK_NONLOCALIZED_VARs
	twice.

Assertion `ReferencesToBeSet.empty() && "Some objects had a reference that was not created"' failed.

Using arbitrary GCC 4.8.0+, I can see:

$ cat ipa-icf.ii
template < typename _Tp>
class Trans_NS___cxx11_list
    {
  

typedef _Tp iterator;

typedef _Tp _Node;
  _Node _M_create_node();

public:
  iterator end() ;
  void push_back(_Tp ) { _M_insert(end()); }
  template < typename... _Args > void _M_insert(_Args ... ) {
    _M_create_node();
  }
};
class sem_item_optimizer {
Trans_NS___cxx11_list< int * > worklist;
  void worklist_push();
};
int *worklist_push_cls;
void sem_item_optimizer::worklist_push() {
  worklist.push_back(worklist_push_cls);
}

$ g++ /tmp/ipa-icf.ii -g -c -O2
$ ./bin/diva ipa-icf.o

Warning: Ignoring unrecognised DW_AT, DW_FORM combination 'DW_AT_const_value', 'DW_FORM_block1'.

Warning: Ignoring unknown/unsupported DWARF tag 'DW_TAG_GNU_call_site'.

Warning: Ignoring unknown/unsupported DWARF tag 'DW_TAG_GNU_formal_parameter_pack'.

Warning: Ignoring unknown/unsupported DWARF tag 'DW_TAG_dwarf_procedure'.
diva: /home/marxin/Programming/DIVA/DIVA/ElfDwarfReader/src/ElfDwarfReader.cpp:155: void ElfDwarfReader::DwarfReader::createCompileUnits(const ElfDwarfReader::DwarfDebugData&, LibScopeView::ScopeRoot&): Assertion `ReferencesToBeSet.empty() && "Some objects had a reference that was not created"' failed.
Aborted (core dumped)

Thanks

Diva segfaults for crtbegin.o

Running for arbitrary crt{begin,end}.o file:

valgrind ./bin/diva /usr/lib64/gcc/x86_64-suse-linux/7/crtbegin.o
==28869== Memcheck, a memory error detector
==28869== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28869== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28869== Command: ./bin/diva /usr/lib64/gcc/x86_64-suse-linux/7/crtbegin.o
==28869== 
==28869== Conditional jump or move depends on uninitialised value(s)
==28869==    at 0x4E4F007: dwarf_errno (dwarf_error.c:123)
==28869==    by 0x5704A8: ElfDwarfReader::LibDwarfError::LibDwarfError(Dwarf_Error_s*, Dwarf_Debug_s*) (LibDwarfHelpers.cpp:49)
==28869==    by 0x570682: ElfDwarfReader::DwarfDebugData::DwarfDebugData(int) (LibDwarfHelpers.cpp:85)
==28869==    by 0x56738F: ElfDwarfReader::DwarfReader::createScopes() (ElfDwarfReader.cpp:123)
==28869==    by 0x57A59C: LibScopeView::Reader::executeActions() (Reader.cpp:71)
==28869==    by 0x564724: main (main.cpp:91)
==28869== 
==28869== Use of uninitialised value of size 8
==28869==    at 0x4E4F014: dwarf_errno (dwarf_error.c:127)
==28869==    by 0x5704A8: ElfDwarfReader::LibDwarfError::LibDwarfError(Dwarf_Error_s*, Dwarf_Debug_s*) (LibDwarfHelpers.cpp:49)
==28869==    by 0x570682: ElfDwarfReader::DwarfDebugData::DwarfDebugData(int) (LibDwarfHelpers.cpp:85)
==28869==    by 0x56738F: ElfDwarfReader::DwarfReader::createScopes() (ElfDwarfReader.cpp:123)
==28869==    by 0x57A59C: LibScopeView::Reader::executeActions() (Reader.cpp:71)
==28869==    by 0x564724: main (main.cpp:91)
==28869== 
==28869== Invalid read of size 8
==28869==    at 0x4E4F014: dwarf_errno (dwarf_error.c:127)
==28869==    by 0x5704A8: ElfDwarfReader::LibDwarfError::LibDwarfError(Dwarf_Error_s*, Dwarf_Debug_s*) (LibDwarfHelpers.cpp:49)
==28869==    by 0x570682: ElfDwarfReader::DwarfDebugData::DwarfDebugData(int) (LibDwarfHelpers.cpp:85)
==28869==    by 0x56738F: ElfDwarfReader::DwarfReader::createScopes() (ElfDwarfReader.cpp:123)
==28869==    by 0x57A59C: LibScopeView::Reader::executeActions() (Reader.cpp:71)
==28869==    by 0x564724: main (main.cpp:91)
==28869==  Address 0x629ada0 is 0 bytes inside a block of size 46 free'd
==28869==    at 0x4C2E7BB: operator delete(void*) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==28869==    by 0x56736D: ElfDwarfReader::DwarfReader::createScopes() (ElfDwarfReader.cpp:122)
==28869==    by 0x57A59C: LibScopeView::Reader::executeActions() (Reader.cpp:71)
==28869==    by 0x564724: main (main.cpp:91)
==28869==  Block was alloc'd at
==28869==    at 0x4C2D6FF: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==28869==    by 0x545DC1: void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) (basic_string.tcc:219)
==28869==    by 0x5C593E: _M_construct_aux<char*> (basic_string.h:220)
==28869==    by 0x5C593E: _M_construct<char*> (basic_string.h:239)
==28869==    by 0x5C593E: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (basic_string.h:424)
==28869==    by 0x54215D: LibScopeView::ViewSpecification::getInputFile[abi:cxx11]() const (ViewSpecification.h:108)
==28869==    by 0x564CD8: LibScopeView::Reader::getInputFile[abi:cxx11]() const (Reader.h:129)
==28869==    by 0x56734B: ElfDwarfReader::DwarfReader::createScopes() (ElfDwarfReader.cpp:122)
==28869==    by 0x57A59C: LibScopeView::Reader::executeActions() (Reader.cpp:71)
==28869==    by 0x564724: main (main.cpp:91)
==28869== 
==28869== Conditional jump or move depends on uninitialised value(s)
==28869==    at 0x4E4F026: dwarf_errmsg (dwarf_error.c:136)
==28869==    by 0x5704D3: ElfDwarfReader::LibDwarfError::LibDwarfError(Dwarf_Error_s*, Dwarf_Debug_s*) (LibDwarfHelpers.cpp:49)
==28869==    by 0x570682: ElfDwarfReader::DwarfDebugData::DwarfDebugData(int) (LibDwarfHelpers.cpp:85)
==28869==    by 0x56738F: ElfDwarfReader::DwarfReader::createScopes() (ElfDwarfReader.cpp:123)
==28869==    by 0x57A59C: LibScopeView::Reader::executeActions() (Reader.cpp:71)
==28869==    by 0x564724: main (main.cpp:91)
==28869== 
==28869== Use of uninitialised value of size 8
==28869==    at 0x4E4F035: dwarf_errmsg (dwarf_error.c:140)
==28869==    by 0x5704D3: ElfDwarfReader::LibDwarfError::LibDwarfError(Dwarf_Error_s*, Dwarf_Debug_s*) (LibDwarfHelpers.cpp:49)
==28869==    by 0x570682: ElfDwarfReader::DwarfDebugData::DwarfDebugData(int) (LibDwarfHelpers.cpp:85)
==28869==    by 0x56738F: ElfDwarfReader::DwarfReader::createScopes() (ElfDwarfReader.cpp:123)
==28869==    by 0x57A59C: LibScopeView::Reader::executeActions() (Reader.cpp:71)
==28869==    by 0x564724: main (main.cpp:91)
==28869== 
==28869== Invalid read of size 8
==28869==    at 0x4E4F035: dwarf_errmsg (dwarf_error.c:140)
==28869==    by 0x5704D3: ElfDwarfReader::LibDwarfError::LibDwarfError(Dwarf_Error_s*, Dwarf_Debug_s*) (LibDwarfHelpers.cpp:49)
==28869==    by 0x570682: ElfDwarfReader::DwarfDebugData::DwarfDebugData(int) (LibDwarfHelpers.cpp:85)
==28869==    by 0x56738F: ElfDwarfReader::DwarfReader::createScopes() (ElfDwarfReader.cpp:123)
==28869==    by 0x57A59C: LibScopeView::Reader::executeActions() (Reader.cpp:71)
==28869==    by 0x564724: main (main.cpp:91)
==28869==  Address 0x629ada0 is 0 bytes inside a block of size 46 free'd
==28869==    at 0x4C2E7BB: operator delete(void*) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==28869==    by 0x56736D: ElfDwarfReader::DwarfReader::createScopes() (ElfDwarfReader.cpp:122)
==28869==    by 0x57A59C: LibScopeView::Reader::executeActions() (Reader.cpp:71)
==28869==    by 0x564724: main (main.cpp:91)
==28869==  Block was alloc'd at
==28869==    at 0x4C2D6FF: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==28869==    by 0x545DC1: void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) (basic_string.tcc:219)
==28869==    by 0x5C593E: _M_construct_aux<char*> (basic_string.h:220)
==28869==    by 0x5C593E: _M_construct<char*> (basic_string.h:239)
==28869==    by 0x5C593E: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (basic_string.h:424)
==28869==    by 0x54215D: LibScopeView::ViewSpecification::getInputFile[abi:cxx11]() const (ViewSpecification.h:108)
==28869==    by 0x564CD8: LibScopeView::Reader::getInputFile[abi:cxx11]() const (Reader.h:129)
==28869==    by 0x56734B: ElfDwarfReader::DwarfReader::createScopes() (ElfDwarfReader.cpp:122)
==28869==    by 0x57A59C: LibScopeView::Reader::executeActions() (Reader.cpp:71)
==28869==    by 0x564724: main (main.cpp:91)
==28869== 
==28869== Conditional jump or move depends on uninitialised value(s)
==28869==    at 0x4C2E271: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==28869==    by 0x570521: ElfDwarfReader::LibDwarfError::LibDwarfError(Dwarf_Error_s*, Dwarf_Debug_s*) (LibDwarfHelpers.cpp:61)
==28869==    by 0x570682: ElfDwarfReader::DwarfDebugData::DwarfDebugData(int) (LibDwarfHelpers.cpp:85)
==28869==    by 0x56738F: ElfDwarfReader::DwarfReader::createScopes() (ElfDwarfReader.cpp:123)
==28869==    by 0x57A59C: LibScopeView::Reader::executeActions() (Reader.cpp:71)
==28869==    by 0x564724: main (main.cpp:91)
==28869== 
==28869== Invalid free() / delete / delete[] / realloc()
==28869==    at 0x4C2E2BB: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==28869==    by 0x570521: ElfDwarfReader::LibDwarfError::LibDwarfError(Dwarf_Error_s*, Dwarf_Debug_s*) (LibDwarfHelpers.cpp:61)
==28869==    by 0x570682: ElfDwarfReader::DwarfDebugData::DwarfDebugData(int) (LibDwarfHelpers.cpp:85)
==28869==    by 0x56738F: ElfDwarfReader::DwarfReader::createScopes() (ElfDwarfReader.cpp:123)
==28869==    by 0x57A59C: LibScopeView::Reader::executeActions() (Reader.cpp:71)
==28869==    by 0x564724: main (main.cpp:91)
==28869==  Address 0x629ada0 is 0 bytes inside a block of size 46 free'd
==28869==    at 0x4C2E7BB: operator delete(void*) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==28869==    by 0x56736D: ElfDwarfReader::DwarfReader::createScopes() (ElfDwarfReader.cpp:122)
==28869==    by 0x57A59C: LibScopeView::Reader::executeActions() (Reader.cpp:71)
==28869==    by 0x564724: main (main.cpp:91)
==28869==  Block was alloc'd at
==28869==    at 0x4C2D6FF: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==28869==    by 0x545DC1: void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) (basic_string.tcc:219)
==28869==    by 0x5C593E: _M_construct_aux<char*> (basic_string.h:220)
==28869==    by 0x5C593E: _M_construct<char*> (basic_string.h:239)
==28869==    by 0x5C593E: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (basic_string.h:424)
==28869==    by 0x54215D: LibScopeView::ViewSpecification::getInputFile[abi:cxx11]() const (ViewSpecification.h:108)
==28869==    by 0x564CD8: LibScopeView::Reader::getInputFile[abi:cxx11]() const (Reader.h:129)
==28869==    by 0x56734B: ElfDwarfReader::DwarfReader::createScopes() (ElfDwarfReader.cpp:122)
==28869==    by 0x57A59C: LibScopeView::Reader::executeActions() (Reader.cpp:71)
==28869==    by 0x564724: main (main.cpp:91)

Source code

Hi,

Is the source code for DIVA available somewhere, or will it be available? I was interested in trying to fix #2, but couldn't find any source code in the repository.

I have to say that it was not very obvious that the binaries were only found in the releases tab of github. I would suggest putting a link at the top of the readme pointing to the latest release, or at least at the releases page.

Simon

Can not read static binaries

I just played around with diva, and seems like it fails to open static binaries?

Output:

ERR_INVALID_DWARF: Failed to read DWARF from 'clang-static.elf'

The binaries are built on OpenSUSE Leap 42.2 with gcc 4.8.5 and clang 3.8, flags "-g -static":
I also tried our CompCert C Compiler (recent, internal build), and diva can read both statically and dynamically linked executables.

The file utility outputs this information for the failing files:

clang-static.elf: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 3.0.0, BuildID[sha1]=..., not stripped
gcc-static.elf: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 3.0.0, BuildID[sha1]=..., not stripped

These work:

gcc.elf: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 3.0.0, BuildID[sha1]=..., not stripped
clang.elf: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 3.0.0, BuildID[sha1]=..., not stripped
compcert.elf: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
compcert-static.elf: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped

Tested both on Linux with wine and in a Windows VM.

License information

Could you please add some information about the license condition of this product? We need this for the open source clearing process.

Can't process DWARF from dwo file

Hi,

I thought I would try DIVA to investigate the differences between the DWARF generated by gcc and clang, in the context of this bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=20899

The bug is about separate debug info (aka Fission). Instead of having the complete DWARF in the final executable, a .dwo file containing the DWARF info is generated by the compiler for each compilation unit. The final executable has a list of DW_TAG_compile_unit referring to those .dwo files. Using DIVA on the main executable gives only a CompileUnit, since that's what's really in there:

$ diva libfunc.so
           {InputFile} "libfunc.so"

             {CompileUnit} ""

Trying to use DIVA on the .dwo file gives:

$ diva func.dwo 

ERR_INVALID_DWARF: Failed to read DWARF from 'func.dwo'

Here's how you can reproduce

// Save to func.cc
namespace N {
int func() {
    return 42;
}
}

Build with:

clang++ -gsplit-dwarf -g2 -c func.cc && clang++ -shared -o libfunc.so func.o

Then, try to use DIVA on both libfunc.so and func.dwo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.