[PATCH] D118737: [CMake] Disable LLVM_ENABLE_PEDANTIC by default for GCC

Snehasish Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 1 14:04:00 PST 2022


snehasish added a comment.

In compiler-rt (and other places with unittests) we've used SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG [1] to detect and suppress variadic macro warnings on gcc. Is that a viable approach for the motivating change?

[1] https://github.com/llvm/llvm-project/blob/db8ef9463ce14f7de0e0a9f438b5e91425fba3a3/llvm/cmake/modules/AddLLVM.cmake#L1475


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118737/new/

https://reviews.llvm.org/D118737



More information about the llvm-commits mailing list