Fix some msvc warnings
This commit is contained in:
parent
ca8416ea1e
commit
e86f4eba8f
@ -47,7 +47,7 @@ void dump_symbols(const std::filesystem::path& path) {
|
||||
fmt::println("Not implemented yet (TODO)");
|
||||
}
|
||||
#else
|
||||
void dump_symbols(const std::filesystem::path& path) {
|
||||
void dump_symbols(const std::filesystem::path&) {
|
||||
fmt::println("Unable to dump symbol table on this platform");
|
||||
}
|
||||
#endif
|
||||
@ -76,6 +76,7 @@ int main(int argc, char** argv) CPPTRACE_TRY {
|
||||
return 1;
|
||||
}
|
||||
dump_symbols(path);
|
||||
return 0;
|
||||
} CPPTRACE_CATCH(const std::exception& e) {
|
||||
fmt::println(stderr, "Caught exception {}: {}", cpptrace::demangle(typeid(e).name()), e.what());
|
||||
cpptrace::from_current_exception().print();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user