All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
StdCompiler.cpp File Reference
#include "C4Include.h"
#include "lib/StdCompiler.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "lib/C4Log.h"
Include dependency graph for StdCompiler.cpp:

Go to the source code of this file.


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

Function Documentation

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

Definition at line 1038 of file StdCompiler.cpp.

References DebugLogF().

Referenced by CompileFromBuf_LogWarn().

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

Here is the call graph for this function:

Here is the caller graph for this function: