Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
#pragma once
//
// Deactivate a few more warnings to allow standard header includes,
// without generating warnings in '-Wall' compile actions enabled
//
#include "NetImgui_WarningDisable.h"
//=================================================================================================
// Clang
//=================================================================================================
#if defined(__clang__)
//=================================================================================================
// Visual Studio warnings
//=================================================================================================
#elif defined(_MSC_VER)
#pragma warning(disable \
: 4061) // enumerator xxx in switch of enum yyy is not
// explicitly handled by a case label (d3d11.h)
#pragma warning(disable \
: 4548) // expression before comma has no effect; expected
// expression with side - effect (malloc.h VS2017)
#pragma warning(disable \
: 4668) // xxx is not defined as a preprocessor macro,
// replacing with '0' for '#if/#elif' (winsock2.h)
#pragma warning(disable : 4574) // xxx is defined to be '0': did you mean to
// use yyy (winsock2.h VS2017)
#pragma warning( \
disable : 4820) // xxx : yyy bytes padding added after data member zzz
#endif
b718d79d4This file is pinned to the selected release. Download the original to open it in your design tool.