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:
+1
-1
@@ -165,7 +165,7 @@ void * aligned_alloc(size_t, size_t) __malloc_like __alloc_align(1)
|
|||||||
__alloc_size(2);
|
__alloc_size(2);
|
||||||
int at_quick_exit(void (*)(void)) __noexcept;
|
int at_quick_exit(void (*)(void)) __noexcept;
|
||||||
_Noreturn void
|
_Noreturn void
|
||||||
quick_exit(int) __noexcept;
|
quick_exit(int) /* __noexcept -- not ready ABI issues? */;
|
||||||
#endif /* __ISO_C_VISIBLE >= 2011 */
|
#endif /* __ISO_C_VISIBLE >= 2011 */
|
||||||
/*
|
/*
|
||||||
* Extensions made by POSIX relative to C.
|
* Extensions made by POSIX relative to C.
|
||||||
|
|||||||
Reference in New Issue
Block a user