Skip to content

Add new header for new std::nothrow#20

Merged
zyedidia merged 1 commit into
lfi-project:masterfrom
Sharjeel-Khan:header-fix
Jul 15, 2026
Merged

Add new header for new std::nothrow#20
zyedidia merged 1 commit into
lfi-project:masterfrom
Sharjeel-Khan:header-fix

Conversation

@Sharjeel-Khan

@Sharjeel-Khan Sharjeel-Khan commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Libc++ removed certain transitive includes so we need to add new header for the file.

Error:
external/lfi/lfi-runtime/core/mmap/mmap_c.cpp:34:24: error: no member named 'nothrow' in namespace 'std'
   34 |   auto *mm = new (std::nothrow) MMapAddrSpace;
      |                        ^~~~~~~
1 error generated

Libc++ removed certain transitive includes so we need to add new header
for the file.

Error:
external/lfi/lfi-runtime/core/mmap/mmap_c.cpp:34:24: error: no member
named 'nothrow' in namespace 'std'
   34 |   auto *mm = new (std::nothrow) MMapAddrSpace;
      |                        ^~~~~~~
1 error generated
@Sharjeel-Khan
Sharjeel-Khan requested a review from zyedidia July 15, 2026 03:47
@zyedidia
zyedidia merged commit a277d31 into lfi-project:master Jul 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants