diff --git a/cfg/windows.cfg b/cfg/windows.cfg
index 61eb76e36..cb7b7a404 100644
--- a/cfg/windows.cfg
+++ b/cfg/windows.cfg
@@ -2548,6 +2548,20 @@ HFONT CreateFont(
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
diff --git a/test/cfg/windows.cpp b/test/cfg/windows.cpp
index 33a3c8bb1..9b78c8286 100644
--- a/test/cfg/windows.cpp
+++ b/test/cfg/windows.cpp
@@ -12,6 +12,13 @@
#include
#include
+unsigned char * overlappingWriteFunction__mbscpy(unsigned char *src, unsigned char *dest)
+{
+ // No warning shall be shown:
+ (void)_mbscpy(dest, src);
+ // cppcheck-suppress overlappingWriteFunction
+ return _mbscpy(src, src);
+}
SYSTEM_INFO uninitvar_GetSystemInfo(char * envstr)
{
@@ -21,7 +28,6 @@ SYSTEM_INFO uninitvar_GetSystemInfo(char * envstr)
return SystemInfo;
}
-
void uninitvar__putenv(char * envstr)
{
// No warning is expected