解决DEV C++警告 [Warning] #warning This file includes at least one deprecated or antiquated header ……
警告原文:
C:\Program Files (x86)\Dev-Cpp\MinGW64\lib\gcc\x86_64-w64-mingw32\4.9.2\include\c++\backward\backward_warning.h [Warning] #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
翻译:
此文件至少包含一个已弃用或过时的标头,将来可能会删除该标头,而不另行通知。请改用具有等效功能的非弃用接口。有关替换标头和接口的列表,请查阅文件backward_warning.h。要禁用此警告,请使用-Wno-deprecated. [-Wcpp]
解决办法:
点击菜单栏的 工具(tool)→ 编译选项,进入如下界面↓ ,将-Wno-deprecated复制到里面,点击确定即可
解决DEV C++警告 [Warning] #warning This file includes at least one deprecated or antiquated header ……相关推荐
- Warning This file includes at least one deprecated or antiquated header
我是在IOS上用GDB编译,也是包如下错误,参考这边文章以后就OK了 把我得#include "deque.h" 改成 #include <deque>, warnin ...
- 解决matlab 关于警告(warning)、错误(error)、异常(exception)与断言(assert)问题总结
在使用matlab中难免会遇到警告(warning).错误(error).异常(exception)与断言(assert)等问题,那如何解决呢??? 本文将从警告(warning).错误(error) ...
- 解决这个警告⚠️:warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory...
⚠️ 在电脑上使用终端连接服务器的时候,经常会打印出如下警告: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such ...
- 解决 Debug编译时,警告:warning LNK4099: 未找到 PDB“vc90.pdb”
警告:warning LNK4099: 未找到 PDB"vc90.pdb" 当多个Project是分开编译的,主项目和子项目的pdb文件名相同(默认都是vc90.pdb或vc100 ...
- MySQL无法启用/etc/my.cnf配置文件,重启报错Warning: World-writable config file ‘/etc/my.cnf’ is ignored的解决方法
MySQL无法启用/etc/my.cnf配置文件,重启报错Warning: World-writable config file '/etc/my.cnf' is ignored的解决方法 问题分析 ...
- MySQL重启也无法解决的Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
故障现象: 手残把配置文件'/etc/mysql/my.cnf' 的权限设置成 "777" 了,在centos7.6环境下,使用rpm包方式安装的mysql5.7.29,在使用命令 ...
- warning C4819: The file contains a character that cannot be represented in the current code page
warning C4819: The file contains a character that cannot be represented in the current code page 编译V ...
- warning C4819 解决方案 warning C4819: The file contains a character that cannot be represented in the cu
原文请见 warning C4819 解决方案 warning C4819: The file contains a character that cannot be represented in t ...
- mysql启动warning: World-writable config file
如果在启动warning: World-writable config file /home/mysql/my.cnf is ignored 原因:my.cnf的读取权限进行了设置,不允许World- ...
最新文章
- ubuntu 14.04 16.04 18.04使用阿里源
- tensorflow eager调试模式关键导入如下两行便于debug
- BZOJ 4555 [Tjoi2016Heoi2016]求和
- 【PC工具】200412更新百度网盘下载工具——最终最简单百度网盘下载方法及注意事项...
- GridView 激发了未处理的事件“RowEditing”
- 通过data目录恢复数据库数据(mysql5.7.22)
- 《趣学JavaScript——教孩子学编程》——2.4 Boolean
- leetcode day7
- mysql游标 循环_MySQL游标与嵌套循环
- 不需要各种代码的MATLAB语法高亮的设置,简单实用
- C# 嵌入式数据库LiteDB
- 01 官网下载各种CentOS教程(超详细版)
- 云服务器什么配置才够用?
- 指出下列程序运行的结果()
- 前端学习规划xmind
- 游戏+区块链的进化三段论:从投机增值到生态意识
- 【收藏】经典shell十三问
- RabbitMQ交换机(扇出模式、直接模式)学习笔记
- 说太多都是话痨,上才艺——PostMan接口自动化测试(一)
- 巡检各个服务器磁盘状态和作业执行状态,服务器状态巡检脚本