[all-commits] [llvm/llvm-project] c30040: [Support] Silence warnings when retrieving exporte...

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Thu Aug 1 06:19:04 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: c3004032c244cb5264790dc535437b9c3b93acb6
      https://github.com/llvm/llvm-project/commit/c3004032c244cb5264790dc535437b9c3b93acb6
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M llvm/lib/Support/Windows/Process.inc
    M llvm/lib/Support/Windows/Signals.inc

  Log Message:
  -----------
  [Support] Silence warnings when retrieving exported functions (#97905)

Since functions exported from DLLs are type-erased, before this patch I
was seeing the new Clang 19 warning `-Wcast-function-type-mismatch`.

This happens when building LLVM on Windows.

Following discussion in
https://github.com/llvm/llvm-project/commit/593f708118aef792f434185547f74fedeaf51dd4#commitcomment-143905744

(cherry picked from commit 39e192b379362e9e645427631c35450d55ed517d)



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