From 8815379e1505aa3cd92b0a96215cd6db839bafa0 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 18 Dec 2018 18:42:37 +0200 Subject: [PATCH] - fixed compilation of POSIX targets Making callstack resolving operational will require a little bit more effort src/scripting/vm/jit_runtime.cpp:900:31: error: use of undeclared identifier 'frames' src/scripting/vm/jit_runtime.cpp:903:23: error: use of undeclared identifier 'cnt' --- src/scripting/vm/jit_runtime.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scripting/vm/jit_runtime.cpp b/src/scripting/vm/jit_runtime.cpp index c3ea50eeb..80c1fa7b2 100644 --- a/src/scripting/vm/jit_runtime.cpp +++ b/src/scripting/vm/jit_runtime.cpp @@ -897,10 +897,11 @@ public: { FString s; char **strings; + void **frames; strings = backtrace_symbols(frames, 1); // Decode the strings - char *ptr = strings[cnt]; + char *ptr = strings[0]; char *filename = ptr; const char *function = "";