博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
linux qt编译安装问题解决记录
阅读量:4107 次
发布时间:2019-05-25

本文共 3087 字,大约阅读时间需要 10 分钟。

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

解决:

这里写图片描述

你可能感兴趣的文章
plist文件,Property List 文件
查看>>
iPhone在scrollview中双击定点放大的代码
查看>>
修改 ios 状态栏
查看>>
创建自定义的释放池 管理内存
查看>>
去除Array中重复对象
查看>>
对NString进行nil,null 的判断
查看>>
NSLocalNotification的用法示例
查看>>
NSLog输出类型的标示符
查看>>
邮箱验证
查看>>
ASIHTTPRequest 详解, http 请求终结者
查看>>
ASIHTTPRequest缓存
查看>>
App审核关键点
查看>>
各UI控件尺寸
查看>>
iphone拨号api调用后返回自己的应用
查看>>
VIEW切换时的翻页效果
查看>>
UITableView多选删除,类似mail中的多选删除效果
查看>>
UITableView实现下拉刷新的小功能
查看>>
非AppStore应用检查更新教程(附Demo)
查看>>
iPhone 添加状态栏图标及自定义状态栏
查看>>
iphone守护进程和前台进程之间的通信-前台应用发信息给后台的守护进程
查看>>