Instantly share code, notes, and snippets.

View winerror.h
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _WINERROR_
#define _WINERROR_
#define __IN__WINERROR_ 1
View ProblemMCVE.cpp
// Enable this to work around the problem.
//#define COMPILE_WORKAROUND
#ifdef _MSC_VER
#pragma warning( disable : 4005 ) // macro redefinition for URHO3D_STATIC_DEFINE and URHO3D_SSE in <Urho3D/Urho3D.h>
#endif
#include <Urho3D/Urho3D.h>
#include <Urho3D/Core/CoreEvents.h>
#include <Urho3D/Engine/Application.h>
#include <Urho3D/Input/Input.h>