Merge pull request #18408 from jketema/config-silence

C++: Silence alerts coming from CMake test compilation files
This commit is contained in:
Jeroen Ketema
2025-01-09 16:31:55 +01:00
committed by GitHub
13 changed files with 70 additions and 8 deletions

View File

@@ -0,0 +1,8 @@
typedef long long size_t;
size_t strlen(const char *s);
int main() {
strlen(""); // GOOD: the source file occurs in a `CMakeFiles/CMakeScratch/TryCompile-...` directory
return 0;
}