[Lldb-commits] [PATCH] D134877: [lldb] Fixes for swig-4.1.0 macro definition correction
serge via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 29 07:00:51 PDT 2022
serge-sans-paille created this revision.
serge-sans-paille added reviewers: clayborg, jingham.
Herald added a project: All.
serge-sans-paille requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
For swig-4.1.0 change:
#2193 -DFOO on the SWIG command line now sets FOO to 1 for
consistency with C/C++ compiler preprocessors. Previously
SWIG set FOO to an empty value.
Existing invocations of SWIG with `-DFOO` where the empty value
matters can be updated to `-DFOO=` which should work with both
old and new releases of SWIG.
*** POTENTIAL INCOMPATIBILITY ***
See https://github.com/swig/swig/issues/2193
This patch is backwards compatible with older versions of SWIG.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D134877
Files:
lldb/bindings/CMakeLists.txt
Index: lldb/bindings/CMakeLists.txt
===================================================================
--- lldb/bindings/CMakeLists.txt
+++ lldb/bindings/CMakeLists.txt
@@ -26,8 +26,8 @@
-features autodoc
-I${LLDB_SOURCE_DIR}/include
-I${CMAKE_CURRENT_SOURCE_DIR}
- -D__STDC_LIMIT_MACROS
- -D__STDC_CONSTANT_MACROS
+ -D__STDC_LIMIT_MACROS=
+ -D__STDC_CONSTANT_MACROS=
${DARWIN_EXTRAS}
)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134877.463883.patch
Type: text/x-patch
Size: 407 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220929/38317399/attachment.bin>
More information about the lldb-commits
mailing list