-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ace] Add patch to fix Visual Studio 2019 16.5 internal compiler error (
#11369) * [ace] Update to 6.5.8 * Address review comments * ports/ace/portfile.cmake: * Put back copy step * ports/ace/portfile.cmake: * Fixed error * ports/ace/portfile.cmake: * ARM should work, let us try it * ports/ace/portfile.cmake: * ARM doesn't work yet, so disable it again * ports/ace/portfile.cmake: * Add support for vcpkg of ace on MacOSX * ports/ace/portfile.cmake: * [ace] Add patch to fix Visual Studio 2019 internal compiler error * ports/ace/process_manager.patch: Added. * ports/ace/CONTROL: * ports/ace/portfile.cmake: * Attempt to fix apply patches * ports/ace/portfile.cmake: * [ace] Updated baseline for ace, 4 configurations work again with the applied patch * scripts/ci.baseline.txt: * Address review comments * ports/ace/portfile.cmake: * Revised patch for ACE * ports/ace/process_manager.patch: * Update ports/ace/portfile.cmake add comment about why the patch is needed Co-authored-by: nicole mazzuca <[email protected]>
- Loading branch information
1 parent
9dde75b
commit 9c04c2e
Showing
4 changed files
with
61 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
diff --git a/ace/Process_Manager.cpp b/ace/Process_Manager.cpp | ||
index ee0418b8fca..da9d9741e28 100644 | ||
--- a/ace/Process_Manager.cpp | ||
+++ b/ace/Process_Manager.cpp | ||
@@ -26,6 +26,9 @@ ACE_Process_Manager_cleanup (void *instance, void *arg) | ||
{ | ||
ACE_Process_Manager::cleanup (instance, arg); | ||
} | ||
+#define ACE_PROCESS_MANAGER_CLEANUP_FUNCTION ACE_Process_Manager_cleanup | ||
+#else | ||
+#define ACE_PROCESS_MANAGER_CLEANUP_FUNCTION ACE_Process_Manager::cleanup | ||
#endif | ||
|
||
ACE_BEGIN_VERSIONED_NAMESPACE_DECL | ||
@@ -124,19 +127,10 @@ ACE_Process_Manager::instance (void) | ||
// Register with the Object_Manager so that the wrapper to | ||
// delete the proactor will be called when Object_Manager is | ||
// being terminated. | ||
- | ||
-#if defined ACE_HAS_SIG_C_FUNC | ||
- ACE_Object_Manager::at_exit (ACE_Process_Manager::instance_, | ||
- ACE_Process_Manager_cleanup, | ||
- 0, | ||
- typeid (*ACE_Process_Manager::instance_).name ()); | ||
-#else | ||
ACE_Object_Manager::at_exit (ACE_Process_Manager::instance_, | ||
- ACE_Process_Manager::cleanup, | ||
+ ACE_PROCESS_MANAGER_CLEANUP_FUNCTION, | ||
0, | ||
- typeid (*ACE_Process_Manager::instance_).name ()); | ||
-#endif /* ACE_HAS_SIG_C_FUNC */ | ||
- | ||
+ typeid (ACE_Process_Manager).name ()); | ||
} | ||
} | ||
|
||
@@ -157,18 +151,10 @@ ACE_Process_Manager::instance (ACE_Process_Manager *tm) | ||
// Register with the Object_Manager so that the wrapper to | ||
// delete the proactor will be called when Object_Manager is | ||
// being terminated. | ||
- | ||
-#if defined ACE_HAS_SIG_C_FUNC | ||
- ACE_Object_Manager::at_exit (ACE_Process_Manager::instance_, | ||
- ACE_Process_Manager_cleanup, | ||
- 0, | ||
- typeid (*ACE_Process_Manager::instance_).name ()); | ||
-#else | ||
ACE_Object_Manager::at_exit (ACE_Process_Manager::instance_, | ||
- ACE_Process_Manager::cleanup, | ||
+ ACE_PROCESS_MANAGER_CLEANUP_FUNCTION, | ||
0, | ||
- typeid (*ACE_Process_Manager::instance_).name ()); | ||
-#endif /* ACE_HAS_SIG_C_FUNC */ | ||
+ typeid (*t).name ()); | ||
|
||
ACE_Process_Manager::instance_ = tm; | ||
return t; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters