[all-commits] [llvm/llvm-project] 2b340c: flang: Fix build with latest libc++ (#127362)

Tom Stellard via All-commits all-commits at lists.llvm.org
Wed Feb 19 06:53:54 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b340c10a611d929fee25e6222909c8915e3d6b6
      https://github.com/llvm/llvm-project/commit/2b340c10a611d929fee25e6222909c8915e3d6b6
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M flang-rt/lib/runtime/io-api-minimal.cpp

  Log Message:
  -----------
  flang: Fix build with latest libc++ (#127362)

I think this first stopped working with
954836634abb446f18719b14120c386a929a42d1. This patch fixes the following
error:


/home/runner/work/llvm-project/llvm-project/flang/runtime/io-api-minimal.cpp:153:11:
error: '__libcpp_verbose_abort' is missing exception specification
'noexcept'
   153 | void std::__libcpp_verbose_abort(char const *format, ...) {
       |           ^
| noexcept
/mnt/build/bin/../include/c++/v1/__verbose_abort:30:28: note: previous
declaration is here
30 | __printf__, 1, 2) void __libcpp_verbose_abort(const char* __format,
...) _LIBCPP_VERBOSE_ABORT_NOEXCEPT;
       |                            ^
1 error generated.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list