OpenClonk
StdCompiler.cpp File Reference
#include "C4Include.h"
#include "lib/StdCompiler.h"
Include dependency graph for StdCompiler.cpp:

Go to the source code of this file.

Functions

void StdCompilerWarnCallback (void *pData, const char *szPosition, const char *szError)
 

Function Documentation

◆ StdCompilerWarnCallback()

void StdCompilerWarnCallback ( void *  pData,
const char *  szPosition,
const char *  szError 
)

Definition at line 1036 of file StdCompiler.cpp.

1037 {
1038  const char *szName = reinterpret_cast<const char *>(pData);
1039  if (!szPosition || !*szPosition)
1040  DebugLogF("WARNING: %s (in %s)", szError, szName);
1041  else
1042  DebugLogF("WARNING: %s (in %s, %s)", szError, szPosition, szName);
1043 }
bool DebugLogF(const char *strMessage ...)
Definition: C4Log.cpp:290

References DebugLogF().

Referenced by CompileFromBuf_LogWarn().

Here is the call graph for this function:
Here is the caller graph for this function: