Issue 143234
Summary [flang] Use of precompiled headers leads to undetected missing includes
Labels flang
Assignees
Reporter mgorny
    I do realize that @mrkajetanp did introduce precompiled headers to reduce memory usage on my request in #131137, but looks like we missed a major problem with them: they hide missing includes, so now buildbots remain green when a code with missing includes is committed, but the end user builds without PCH fail.

Perhaps we should disable PCH on (some of the) buildbots via `-DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON` to catch issues.

See #143196
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to