[all-commits] [llvm/llvm-project] 0c098a: [Support] [CMake] Only pass -Wno-c99-extensions to...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Mon Sep 7 23:42:56 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c098ae4518902f8f30abae5a620bf57fa84895a
      https://github.com/llvm/llvm-project/commit/0c098ae4518902f8f30abae5a620bf57fa84895a
  Author: Martin Storsjö <martin at martin.st>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M llvm/lib/Support/CMakeLists.txt

  Log Message:
  -----------
  [Support] [CMake] Only pass -Wno-c99-extensions to Clang, not GCC (#221822)

GCC doesn't support this option, only Clang.

GCC doesn't warn if an unrecognized `-Wno-<foo>` option is passed, but
if GCC produces other warnings, it also adds a note about `-Wno-<foo>`
not being recognized, and that it may have been intended to silence the
warning that was produced.



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