警告原文:
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复制到里面,点击确定即可