Skip to content

Commit ec43cc4

Browse files
committed
output results of size check
1 parent 16117b3 commit ec43cc4

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

library/Core.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1653,9 +1653,11 @@ bool Core::InitMainThread() {
16531653
// to faciliate the linux symbol discovery process (which runs without any symbols)
16541654
// or if --skip-size-check is discovered on the command line
16551655

1656-
if (df::global::global_table && df::global::game &&
1657-
df::global::game->command_line.original.find("--skip-size-check") == std::string::npos)
1656+
if (!df::global::global_table || !df::global::game ||
1657+
df::global::game->command_line.original.find("--skip-size-check") != std::string::npos)
16581658
{
1659+
std::cerr << "Skipping structure size verification check." << std::endl;
1660+
} else {
16591661
std::stringstream msg;
16601662
bool gt_error = false;
16611663
static const std::map<const std::string, const size_t> sizechecks{
@@ -1684,6 +1686,8 @@ bool Core::InitMainThread() {
16841686
errorstate = true;
16851687
return false;
16861688
}
1689+
1690+
std::cerr << "Structure size verification check passed." << std::endl;
16871691
}
16881692

16891693
perf_counters.reset();

0 commit comments

Comments
 (0)