add missing %s in abort message

v1
Brett 2024-07-11 02:30:54 -04:00
parent 4de3aeb87c
commit 456eeb12ac
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.20)
include(cmake/color.cmake)
set(BLT_VERSION 0.18.4)
set(BLT_VERSION 0.18.5)
set(BLT_TEST_VERSION 0.0.1)
set(BLT_TARGET BLT)

@ -1 +1 @@
Subproject commit d88c5e15079047777b418132ece5879e7c9aaa2b
Subproject commit 8a889d3699b3c09ade435641fb034427f3fd12b6

View File

@ -130,7 +130,7 @@ namespace blt {
BLT_STACK_TRACE(50);
#endif
BLT_FATAL("----{ABORT}----");
BLT_FATAL("\tWhat: ", what);
BLT_FATAL("\tWhat: %s", what);
BLT_FATAL("\tcalled from %s:%d", path, line);
#if defined(__GNUC__) && !defined(__EMSCRIPTEN__)
printStacktrace(messages, size, path, line);