windows.cfg: Removed TEXT()-macro support since it is already handled internally by Cppcheck. A corresponding comment was added into the configuration file.

This commit is contained in:
orbitcowboy 2019-03-10 14:09:48 +01:00
parent df8cfe2fc6
commit 5426a984b3
1 changed files with 1 additions and 2 deletions

View File

@ -5654,8 +5654,7 @@ HFONT CreateFont(
<define name="INVALID_HANDLE_VALUE" value="0"/> <define name="INVALID_HANDLE_VALUE" value="0"/>
<define name="INVALID_SOCKET" value="0"/> <define name="INVALID_SOCKET" value="0"/>
<define name="WINAPI" value="__stdcall"/> <define name="WINAPI" value="__stdcall"/>
<!-- https://docs.microsoft.com/en-us/windows/desktop/api/winnt/nf-winnt-text --> <!-- Text conversion macros like 'TEXT()', '_TEXT()' and '_T()' are handled internally by Cppcheck. There is no need to added them here. -->
<define name="TEXT(s)" value="s"/>
<define name="__pragma(x)" value=""/> <define name="__pragma(x)" value=""/>
<define name="_countof(_Array)" value="(sizeof(_Array) / sizeof(_Array[0]))"/> <define name="_countof(_Array)" value="(sizeof(_Array) / sizeof(_Array[0]))"/>
<define name="__wchar_t" value="wchar_t"/> <define name="__wchar_t" value="wchar_t"/>