Skip to content

Commit 81c85ea

Browse files
committed
[flang-rt] Fix aarch64-libcxx build failure
There seems to be multiple declarations of __libcpp_verbose_abort, some with noexcept and some without. Reverting to the previous forward-declaration (without noexcept) which seemes to have worked before.
1 parent 8ac5d2d commit 81c85ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang-rt/lib/runtime/io-api-minimal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ bool IODEF(OutputLogical)(Cookie cookie, bool truth) {
150150
// Provide own definition for `std::__libcpp_verbose_abort` to avoid dependency
151151
// on the version provided by libc++.
152152

153-
void std::__libcpp_verbose_abort(char const *format, ...) noexcept {
153+
void std::__libcpp_verbose_abort(char const *format, ...) {
154154
va_list list;
155155
va_start(list, format);
156156
std::vfprintf(stderr, format, list);

0 commit comments

Comments
 (0)