from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:24,
from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:173:69: error: ‘std::tr1’ has not been declared
template struct HasTrivialConstructor : public std::tr1::has_trivial_constructor { };
^~~
../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:173:74: error: expected ‘{’ before ‘has_trivial_constructor’
template struct HasTrivialConstructor : public std::tr1::has_trivial_constructor { };
^~~~~~~~~~~~~~~~~~~
../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:174:68: error: ‘std::tr1’ has not been declared
template struct HasTrivialDestructor : public std::tr1::has_trivial_destructor { };
^~~
../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:174:73: error: expected ‘{’ before ‘has_trivial_destructor’
template struct HasTrivialDestructor : public std::tr1::has_trivial_destructor { };
^~~~~~~~~~~~~~~~~~
In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/VectorTraits.h:24:0,
from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:27,
from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
../3rdparty/javascriptcore/JavaScriptCore/wtf/OwnPtr.h:43:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
OwnPtr(std::auto_ptr autoPtr) : m_ptr(autoPtr.release()) { }
^~~~
In file included from /usr/include/c++/7/memory:80:0,
from ../3rdparty/javascriptcore/JavaScriptCore/wtf/OwnPtr.h:29,
from ../3rdparty/javascriptcore/JavaScriptCore/wtf/VectorTraits.h:24,
from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:27,
from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template class auto_ptr;
^~~~
In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/VectorTraits.h:24:0,
from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:27,
from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
../3rdparty/javascriptcore/JavaScriptCore/wtf/OwnPtr.h:61:25: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
void adopt(std::auto_ptr autoPtr) { ASSERT(!autoPtr.get() || m_ptr != autoPtr.get()); deleteOwnedPtr(m_ptr); m_ptr = autoPtr.release(); }
^~~~
In file included from /usr/include/c++/7/memory:80:0,
from ../3rdparty/javascriptcore/JavaScriptCore/wtf/OwnPtr.h:29,
from ../3rdparty/javascriptcore/JavaScriptCore/wtf/VectorTraits.h:24,
from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:27,
from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template class auto_ptr;
^~~~
In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:27:0,
from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
../3rdparty/javascriptcore/JavaScriptCore/wtf/VectorTraits.h:84:30: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
struct VectorTraits

解决:

https://blog.csdn.net/baidu_33850454/article/details/79147161

linux qt编译安装问题解决记录

相关文章:

  • 2021-12-30
  • 2020-10-28
  • 2021-12-07
  • 2021-11-11
  • 2022-01-28
  • 2021-08-04
  • 2022-12-23
  • 2021-10-14
猜你喜欢
  • 2021-04-18
  • 2021-04-27
  • 2021-08-04
  • 2021-07-15
  • 2022-12-23
  • 2022-01-16
  • 2022-12-23
相关资源
相似解决方案