meson/mesonbuild/compilers/mixins
Eli Schwartz d57ca7d2a2
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
2024-05-24 17:10:32 -04:00
..
__init__.py compilers: Move clike into a mixins directory 2019-07-15 10:59:22 -07:00
arm.py Remove `get_buildtype_args` function 2023-12-23 13:32:49 +02:00
ccrx.py Remove `get_buildtype_args` function 2023-12-23 13:32:49 +02:00
clang.py compilers: improve a comment describing why we add a silly clang workaround 2024-05-24 17:10:32 -04:00
clike.py Catch Python exception in the event alignment can't be converted to int 2024-04-25 18:49:57 -04:00
compcert.py Remove `get_buildtype_args` function 2023-12-23 13:32:49 +02:00
elbrus.py compilers/elbrus: wrap get_default_include_dirs with lru_cache 2023-12-23 00:31:53 -08:00
emscripten.py Refactor option classes to their own file. 2024-05-23 21:26:45 +03:00
gnu.py Turn on strict mode, as it is no longer the default since Python 3.6 2024-02-05 17:24:21 +08:00
intel.py Remove `get_buildtype_args` function 2023-12-23 13:32:49 +02:00
islinker.py Remove `get_buildtype_args` function 2023-12-23 13:32:49 +02:00
metrowerks.py Remove `get_buildtype_args` function 2023-12-23 13:32:49 +02:00
pgi.py Remove `get_buildtype_args` function 2023-12-23 13:32:49 +02:00
ti.py Remove `get_buildtype_args` function 2023-12-23 13:32:49 +02:00
visualstudio.py Merge pull request #12144 from amyspark/fix-msvc-clangcl-linker-flag-detection 2024-04-05 00:08:09 +03:00
xc16.py Remove `get_buildtype_args` function 2023-12-23 13:32:49 +02:00