From 57c7a85d9f1c9acdf986c16065ba8d087fd38143 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 9 Apr 2021 15:55:30 +0300 Subject: [PATCH] - fixed compilation with Clang source/build/src/defs.cpp:3198:56: error: cannot pass non-trivial object of type 'FString' to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs] --- source/build/src/defs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/defs.cpp b/source/build/src/defs.cpp index 3c35ff162..d141f2219 100644 --- a/source/build/src/defs.cpp +++ b/source/build/src/defs.cpp @@ -3195,7 +3195,7 @@ int32_t loaddefinitionsfile(const char *fn, bool loadadds, bool cumulative) int lump, lastlump = 0; while ((lump = fileSystem.FindLumpFullName(fn, &lastlump)) >= 0) { - Printf(PRINT_NONOTIFY, "Loading \"%s\"\n", fileSystem.GetFileFullPath(lump)); + Printf(PRINT_NONOTIFY, "Loading \"%s\"\n", fileSystem.GetFileFullPath(lump).GetChars()); parseit(lump); } }