We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc3c37a commit 5664c75Copy full SHA for 5664c75
1 file changed
example/terminate_handler.cpp
@@ -240,10 +240,14 @@ int test_inplace() {
240
return 53;
241
}
242
243
+#if !defined(BOOST_MSVC) && !defined(BOOST_STACKTRACE_USE_WINDBG)
244
+ // This is very dependent on compiler and link flags. No sane way to make it work, because
245
+ // BOOST_NOINLINE could be ignored by MSVC compiler if link-time optimization is enabled.
246
if (ss1 && ss1[0].name() != ss2[0].name()) {
247
std::cerr << "Stacktraces differ:\n" << ss1 << "\n vs \n" << ss2 << '\n';
248
return 54;
249
250
+#endif
251
252
253
{
0 commit comments