Skip to content

[flang] Use of precompiled headers leads to undetected missing includes #143234

@mgorny

Description

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    build-problemflangFlang issues not falling into any other category

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions