mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 22:23:08 +00:00
stdlib.h: Partially revert c27a899718
quick_exit() can call other functions, and we don't guarantee it calls std::terminate should those other functions throw exceptions. And to make it do so has ABI complications for libc. Until that's sorted out, revert this noexcept (but leave a comment behind so people will find this commit message) Requested by: kib Sponsored by: Netflix
This commit is contained in:
parent
c475e61f66
commit
d56a6f0516
@ -165,7 +165,7 @@ void * aligned_alloc(size_t, size_t) __malloc_like __alloc_align(1)
|
||||
__alloc_size(2);
|
||||
int at_quick_exit(void (*)(void)) __noexcept;
|
||||
_Noreturn void
|
||||
quick_exit(int) __noexcept;
|
||||
quick_exit(int) /* __noexcept -- not ready ABI issues? */;
|
||||
#endif /* __ISO_C_VISIBLE >= 2011 */
|
||||
/*
|
||||
* Extensions made by POSIX relative to C.
|
||||
|
Loading…
Reference in New Issue
Block a user