Opened 16 months ago
Closed 14 months ago
#67828 closed defect (fixed)
lldb-1[1-4]: Error: Macro '__STDC_LIMIT_MACROS' redefined
Reported by: | jmroot (Joshua Root) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia), catap (Kirill A. Korinsky) | |
Port: | lldb-11 lldb-12 lldb-13 lldb-14 |
Description
These are failing to build on all supported platforms.
llvm-project-14.0.6.src/lldb/bindings/interfaces.swig:5: Error: Macro '__STDC_LIMIT_MACROS' redefined, :1: Error: previous definition of '__STDC_LIMIT_MACROS'.
The previous definition of the macro is from the command line: -D__STDC_LIMIT_MACROS
Attachments (1)
Change History (8)
Changed 16 months ago by jmroot (Joshua Root)
Attachment: | lldb-14-macOS13-arm64.log added |
---|
comment:1 Changed 14 months ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:2 follow-up: 3 Changed 14 months ago by mascguy (Christopher Nielsen)
Cc: | catap added; mascguy removed |
---|---|
Owner: | set to mascguy |
Status: | new → assigned |
comment:3 Changed 14 months ago by mascguy (Christopher Nielsen)
comment:4 Changed 14 months ago by Christopher Nielsen <mascguy@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 14 months ago by mascguy (Christopher Nielsen)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
It looks like we also have an unrelated issue, this time related to SWIG:
.../lldb-13/work/build/bindings/python/LLDBWrapPython.cpp: error: non-const lvalue reference to type 'lldb::FileSP' (aka 'shared_ptr<lldb_private::File>') cannot bind to a value of unrelated type 'SwigValueWrapper<std::shared_ptr<lldb_private::File>>' lldb::FileSP &sp = result; ^ ~~~~~~
Upstream patch:
comment:6 Changed 14 months ago by Christopher Nielsen <mascguy@…>
comment:7 Changed 14 months ago by mascguy (Christopher Nielsen)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Looks good now, closing as fixed.
Note: See
TracTickets for help on using
tickets.
I'll try to fix this over the next few days, assuming it's relatively straightforward.