- common fixes for compilation with GCC and Clang

This commit is contained in:
alexey.lysiuk 2020-04-12 11:02:05 +03:00
parent f5a98ed7fa
commit 2b1ef5f4f2
3 changed files with 5 additions and 1 deletions

View file

@ -486,7 +486,7 @@ void FUnsafeConsoleCommand::Run(FCommandLine &args, int key)
{
if (UnsafeExecutionContext)
{
Printf(TEXTCOLOR_RED "Cannot execute unsafe command " TEXTCOLOR_GOLD "%s\n", m_Name);
Printf(TEXTCOLOR_RED "Cannot execute unsafe command " TEXTCOLOR_GOLD "%s\n", m_Name.GetChars());
return;
}

View file

@ -5,6 +5,8 @@
#error You must #include "dobject.h" to get dobjtype.h
#endif
#include <limits.h>
typedef std::pair<const class PType *, unsigned> FTypeAndOffset;
#if 0

View file

@ -7,6 +7,8 @@
#include "image.h"
class FImageTexture;
class FTextureManager;
//==========================================================================
//
// TexPart is the data that will get passed to the final texture.