C++ Logo

sg15

Advanced search

Re: A Different Approach To Compiling C++

From: Daniel Ruoso <daniel_at_[hidden]>
Date: Wed, 2 Aug 2023 12:09:49 -0400
On Wed, Aug 2, 2023, 11:52 Hassan Sajjad <hassan.sajjad069_at_[hidden]> wrote:

> https://youtu.be/_LGR0U5Opdg?t=3148
>
> How this example is to be compiled by the build-system after the new
> consensus. During the scanning, build-system can not supply the dependency
> header-units, as it does not know them beforehand. The scanner will error
> out because of the unavailability of the header-unit.
>

The dependency scanning has to emulate the import by finding the header
file and starting a new preprocessor state to do it, and then report the
entire dependency graph of the header units used by that translation unit.

Daniel

>

Received on 2023-08-02 16:10:02