http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47699

           Summary: Support PCH without #include
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: pch
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: olafvds...@gmail.com


PCH looks for all.h.gch when it encounters #include "all.h". Projects that
don't use PCH probably don't have a #include "all.h" at the top of every source
file.

Could an option be added like VC /Yu (/Yu all.h.gch") that would cause the
compiler to use all.h.gch without an #include being present?

This would make using PCH simpler and less intrusive.

Reply via email to