The*_*ski 3 c++ winapi directx-11 c++11 visual-studio-2012
我正在尝试继续在VS2012中处理我的VS2010项目.我使用Directx 11(2010年6月)发布,每当我调试我的代码时,都会弹出一堆警告.
像这样:
6>C:\Program Files\Microsoft DirectX SDK (June 2010)\Include\D2DErr.h(59):
warning C4005: 'D2DERR_WRONG_STATE' : macro redefinition
6>C:\Program Files\Windows Kits\8.0\Include\shared\winerror.h(49859):
see previous definition of 'D2DERR_WRONG_STATE'
6>C:\Program Files\Microsoft DirectX SDK (June 2010)\Include\D2DErr.h(64):
warning C4005: 'D2DERR_NOT_INITIALIZED' : macro redefinition
6>C:\Program Files\Windows Kits\8.0\Include\shared\winerror.h(49868):
see previous definition of 'D2DERR_NOT_INITIALIZED'
Run Code Online (Sandbox Code Playgroud)
有没有办法让警告消失,而不会禁用它们.或者我应该将我的代码转换为具有directx的Windows sdk 8.0,然后从项目中完全删除旧的DX(2012年6月).
| 归档时间: |
|
| 查看次数: |
2495 次 |
| 最近记录: |