microsoft / DirectXTK

The DirectX Tool Kit (aka DirectXTK) is a collection of helper classes for writing DirectX 11.x code in C++

Home Page:https://walbourn.github.io/directxtk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DirectXTK emits a -Wreserved-identifier warning with clang v13

walbourn opened this issue · comments

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]