mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- common fixes for compilation with GCC and Clang
This commit is contained in:
parent
f5a98ed7fa
commit
2b1ef5f4f2
3 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
#include "image.h"
|
||||
|
||||
class FImageTexture;
|
||||
class FTextureManager;
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// TexPart is the data that will get passed to the final texture.
|
||||
|
|
Loading…
Reference in a new issue