mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-22 11:57:00 +00:00
Fixed warning with VS2015 in stb_truetype.h
This commit is contained in:
parent
7d6ddbe5c8
commit
8a3593257f
@ -48,6 +48,11 @@ namespace IMGUI_STB_NAMESPACE
|
||||
{
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (push)
|
||||
#pragma warning (disable: 4456) // declaration of 'xx' hides previous local declaration
|
||||
#endif
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wunused-function"
|
||||
@ -76,6 +81,10 @@ namespace IMGUI_STB_NAMESPACE
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (pop)
|
||||
#endif
|
||||
|
||||
#ifdef IMGUI_STB_NAMESPACE
|
||||
} // namespace ImGuiStb
|
||||
using namespace IMGUI_STB_NAMESPACE;
|
||||
|
Loading…
Reference in New Issue
Block a user