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

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Tue Jul 30 16:06:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39e192b379362e9e645427631c35450d55ed517d
      https://github.com/llvm/llvm-project/commit/39e192b379362e9e645427631c35450d55ed517d
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2024-07-30 (Tue, 30 Jul 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



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