[all-commits] [llvm/llvm-project] 392963: [lldb] Fix 'error: non-const lvalue...' caused by ...

Tom Stellard via All-commits all-commits at lists.llvm.org
Tue Nov 15 15:42:25 PST 2022


  Branch: refs/heads/release/15.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 392963bb1daf7ec8822a0f02929a8ada17eb0a0a
      https://github.com/llvm/llvm-project/commit/392963bb1daf7ec8822a0f02929a8ada17eb0a0a
  Author: Jitka Plesnikova <jplesnik at redhat.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

  Changed paths:
    M lldb/bindings/python/python-typemaps.swig

  Log Message:
  -----------
  [lldb] Fix 'error: non-const lvalue...' caused by SWIG 4.1.0

Fix the failure caused by change in SwigValueWraper for C++11 and later
for improved move semantics in SWIG commit.

https://github.com/swig/swig/commit/d1055f4b3d51cb8060893f8036846ac743302dab
(cherry picked from commit f0a25fe0b746f56295d5c02116ba28d2f965c175)


  Commit: dc8f6ffc3bf297098a1dfd3fbce801afbe9f5238
      https://github.com/llvm/llvm-project/commit/dc8f6ffc3bf297098a1dfd3fbce801afbe9f5238
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

  Changed paths:
    M lldb/bindings/CMakeLists.txt
    M lldb/bindings/interfaces.swig

  Log Message:
  -----------
  [lldb] Get rid of __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS

C++11 made the use of these macro obsolete, see https://sourceware.org/bugzilla/show_bug.cgi?id=15366

As a side effect this prevents https://github.com/swig/swig/issues/2193.

Differential Revision: https://reviews.llvm.org/D134877

(cherry picked from commit 81fc5f7909a4ef5a8d4b5da2a10f77f7cb01ba63)


Compare: https://github.com/llvm/llvm-project/compare/68799e789fc5...dc8f6ffc3bf2


More information about the All-commits mailing list