C++ Logo

sg15

Advanced search

Re: [Tooling] [isocpp-modules] Round2: Path to modules with old bad build systems

From: Ben Boeckel <ben.boeckel_at_[hidden]>
Date: Wed, 6 Mar 2019 08:43:39 -0500
On Tue, Mar 05, 2019 at 15:47:16 -0500, Mathias Stearn wrote:
> [1] Currently, with gcc and clang, you need to "partially preprocess" using
> -fdirectives-only or -frewrite-includes because those tools behave
> differently when compiling TUs that have already been fully preprocessed. I
> haven't tried doing a similar experiment with MSVC to know how well it
> handles fully preprocessed files.

There was discussion of this on Reddit a while ago:

    https://www.reddit.com/r/cpp/comments/6abi99/rfc_issues_with_separate_preprocess_and_compile/

--Ben

Received on 2019-03-06 14:43:42