[llvm] [CMake] Suppress more MSVC warnings (PR #205766)
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 25 04:51:42 PDT 2026
https://github.com/AaronBallman requested changes to this pull request.
> no suitable definition provided for explicit template instantiation request
We should not disable this diagnostic; there is a PR open to address the existing warnings that snuck in: https://github.com/llvm/llvm-project/pull/205623
> '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation
We should not disable this diagnostic, it points out a real issue that should be addressed. The `dllexport` is saying "this is a definition" while the `extern` is saying "this isn't a definition, that comes from elsewhere", which makes the code harder to read and maintain. That said, I'm not seeing this failure with MSVC though, so what code needs it suppressed?
https://github.com/llvm/llvm-project/pull/205766
More information about the llvm-commits
mailing list