← 返回事件
持续讨论AI发版5.6-Sol

viable/strict/1789858227: Use language-specific cache keys for compiler flag checks (#197614)

发生了什么

The C and C++ flag helpers used the same cache variable for a given flag. Since CMake caches compiler-check results by variable name, the second helper could reuse the first language's result without testing its compiler. Prefix the cache variables with C or CXX so each language is checked independently. Motivation This issue was discovered by GPT-5.6-Sol while I was working on another feature. I don't think it has…

摘要按规则整理自下方来源原文

为什么在扩散

来源