summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Simpson <simpsont@objectcomputing.com>2022-10-03 14:52:43 -0500
committerTimothy Simpson <simpsont@objectcomputing.com>2022-10-03 14:52:43 -0500
commitdbc1d4e7b8dcddbfeaf227ecdd2f09dd017f266d (patch)
tree05d3717ebd99379a9fef994e87dafba4d86df92b
parentf7612da13ee5cc1fec02cf237d42fa9fc7ea1a5b (diff)
downloadATCD-dbc1d4e7b8dcddbfeaf227ecdd2f09dd017f266d.tar.gz
For llvm's libcxx, C++17 or greater implies lack of std::auto_ptr unless defines are set
-rw-r--r--.github/workflows/macosx.yml4
-rw-r--r--ACE/ace/config-macosx-leopard.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/macosx.yml b/.github/workflows/macosx.yml
index d74e4f83420..10fefd443ef 100644
--- a/.github/workflows/macosx.yml
+++ b/.github/workflows/macosx.yml
@@ -16,8 +16,8 @@ jobs:
strategy:
fail-fast: false
matrix:
- cxxstd: ["03", "11"]
- os: [macos-10.15, macos-11.0]
+ cxxstd: ["03", "11", "17"]
+ os: [macos-10.15, macos-11, macos-12]
include:
- platform_file: include $(ACE_ROOT)/include/makeinclude/platform_macosx.GNU
runs-on: ${{ matrix.os }}
diff --git a/ACE/ace/config-macosx-leopard.h b/ACE/ace/config-macosx-leopard.h
index 23d9dea5ddd..f86314bda3a 100644
--- a/ACE/ace/config-macosx-leopard.h
+++ b/ACE/ace/config-macosx-leopard.h
@@ -211,6 +211,10 @@
#endif
#endif
+#if __cplusplus >= 201703L && !defined (_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR)
+# define ACE_LACKS_AUTO_PTR
+#endif
+
// dlcompat package (not part of base Darwin) is needed for dlopen().
// You may download directly from sourceforge and install or use fink
// Fink installer puts libraries in /sw/lib and headers in /sw/include