From 8a1e0ee4b52ccaacac8c2fdb80a6985d7e3f76c5 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 4 Mar 2017 12:03:31 +0200 Subject: [PATCH] Fixed compilation with GCC/Clang src/menu/menu.cpp:806:20: error: cannot pass non-trivial object of type 'FString' to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs] --- src/menu/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/menu/menu.cpp b/src/menu/menu.cpp index dbe5eb9fb..a481dd24b 100644 --- a/src/menu/menu.cpp +++ b/src/menu/menu.cpp @@ -803,7 +803,7 @@ void M_Init (void) catch (CVMAbortException &err) { err.MaybePrintMessage(); - Printf("%s", err.stacktrace); + Printf("%s", err.stacktrace.GetChars()); I_FatalError("Failed to initialize menus"); } M_CreateMenus();