JetBrains / UnrealLink

Apache License 2.0
128 stars 24 forks source link

RiderDebuggerSupport emitting C4100 compiler warning #281

Closed phlosber closed 1 month ago

phlosber commented 1 month ago

In DebugLogger.cpp, you have

void RiderDebuggerSupport::SendLogToDebugger(const char* FormatStr, ...)
{
#if JB_DEBUG_MODE
 // code
#endif
}

When JB_DEBUG_MODE if false, the param FormalStr is not used and this create a compiler C4100 warning. On projects treating that as an error, it blocks compilation (it is the case in our company after updating to Unreal 5.4.1).

DecoyRS commented 1 month ago

Hello. This is fixed, will be available in the nearest build