microsoft / DirectXTK12

The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
https://walbourn.github.io/directx-tool-kit-for-directx-12/
MIT License
1.45k stars 371 forks source link

DirectXTK emits a -Wreserved-identifier warning with clang v13 #120

Closed walbourn closed 2 years ago

walbourn commented 2 years ago

Officially _ followed by a capital letter is reserved by the C++ Standard for implementors of the compiler and library. Clang v13 adds a new warning to detect this case.

_IsWIC2
_GetWIC
_WICToDXGI
_WICBitsPerPixel

Also fix

Audio\WaveBankReader.cpp(546,10): warning: variable 'wait' set but not used [-Wunused-but-set-variable]