2024-01-31 07:16:37 +00:00
|
|
|
Index: FreeFileSync-13.3/FreeFileSync/Source/application.cpp
|
|
|
|
===================================================================
|
|
|
|
--- FreeFileSync-13.3.orig/FreeFileSync/Source/application.cpp
|
|
|
|
+++ FreeFileSync-13.3/FreeFileSync/Source/application.cpp
|
|
|
|
@@ -243,10 +243,6 @@ wxLayoutDirection Application::GetLayout
|
|
|
|
|
|
|
|
int Application::OnRun()
|
2023-11-06 09:32:03 +00:00
|
|
|
{
|
|
|
|
-#if wxUSE_EXCEPTIONS
|
|
|
|
-#error why is wxWidgets uncaught exception handling enabled!?
|
|
|
|
-#endif
|
2024-01-31 07:16:37 +00:00
|
|
|
-
|
|
|
|
//exception => Windows: let it crash and create mini dump!!! Linux/macOS: std::exception::what() logged to console
|
2023-11-06 09:32:03 +00:00
|
|
|
[[maybe_unused]] const int rc = wxApp::OnRun();
|
2024-01-31 07:16:37 +00:00
|
|
|
return static_cast<int>(exitCode_);
|
|
|
|
Index: FreeFileSync-13.3/FreeFileSync/Source/RealTimeSync/application.cpp
|
|
|
|
===================================================================
|
|
|
|
--- FreeFileSync-13.3.orig/FreeFileSync/Source/RealTimeSync/application.cpp
|
|
|
|
+++ FreeFileSync-13.3/FreeFileSync/Source/RealTimeSync/application.cpp
|
|
|
|
@@ -209,10 +209,6 @@ wxLayoutDirection Application::GetLayout
|
|
|
|
|
|
|
|
int Application::OnRun()
|
2023-11-06 09:32:03 +00:00
|
|
|
{
|
|
|
|
-#if wxUSE_EXCEPTIONS
|
|
|
|
-#error why is wxWidgets uncaught exception handling enabled!?
|
|
|
|
-#endif
|
2024-01-31 07:16:37 +00:00
|
|
|
-
|
|
|
|
//exception => Windows: let it crash and create mini dump!!! Linux/macOS: std::exception::what() logged to console
|
2023-11-06 09:32:03 +00:00
|
|
|
[[maybe_unused]] const int rc = wxApp::OnRun();
|
2024-01-31 07:16:37 +00:00
|
|
|
return static_cast<int>(FfsExitCode::success); //process exit code
|