SHA256
1
0
forked from pool/FreeFileSync
FreeFileSync/FreeFileSync-remove_ifdef_exceptions.patch
Paolo Stivanin 1314098614 - Update to 13.3:
* Completed CASA security assessment for Google Drive
  * Use system temp folder for auto-updating
  * Ignore errors when setting directory attributes is unsupported
  * Save GUI sync log file even when cancelled
  * Fixed Business Edition install over existing installation

OBS-URL: https://build.opensuse.org/package/show/network/FreeFileSync?expand=0&rev=78
2024-01-31 07:16:37 +00:00

31 lines
1.3 KiB
Diff

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()
{
-#if wxUSE_EXCEPTIONS
-#error why is wxWidgets uncaught exception handling enabled!?
-#endif
-
//exception => Windows: let it crash and create mini dump!!! Linux/macOS: std::exception::what() logged to console
[[maybe_unused]] const int rc = wxApp::OnRun();
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()
{
-#if wxUSE_EXCEPTIONS
-#error why is wxWidgets uncaught exception handling enabled!?
-#endif
-
//exception => Windows: let it crash and create mini dump!!! Linux/macOS: std::exception::what() logged to console
[[maybe_unused]] const int rc = wxApp::OnRun();
return static_cast<int>(FfsExitCode::success); //process exit code