summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-05-21 23:56:02 -0400
committerEli Schwartz <eschwartz93@gmail.com>2024-05-24 17:10:32 -0400
commitd57ca7d2a21b70bc5a9659c51bc345f539ccc6c9 (patch)
tree1e7afd225387f743829f063a3a7d618e612e010c /docs
parenta66cb97e8cd29e6d8c89232b8e3763677ad3825f (diff)
downloadmeson-d57ca7d2a21b70bc5a9659c51bc345f539ccc6c9.tar.gz
compilers: improve a comment describing why we add a silly clang workaround
Clang is such a great compiler! Not. Compilers have enhanced diagnostics for some kinds of "well known" undeclared identifiers, telling you exactly which header you might have forgotten to include. The reason why clang needs an option GCC doesn't need is because clang's fixit suggestions, unlike GCC's actually *changes the type of the error*, as a result of a fixit of all things. After the fixit suggestion grants this error the right to be ignored, we start having to add clang-specific options. Follow-up to https://github.com/mesonbuild/meson/issues/9140 Upstream clang bug, which appears to be going nowhere: https://github.com/llvm/llvm-project/issues/33905
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions