C++ Logo

sg15

Advanced search

Re: [isocpp-ext] Can we expect that all C++ source files can have the same suffix?

From: Ben Boeckel <ben.boeckel_at_[hidden]>
Date: Wed, 20 Apr 2022 16:23:30 -0400
On Wed, Apr 20, 2022 at 19:12:32 +0000, Gabriel Dos Reis wrote:
> [Ben]
> > Again, compilers should have ways of asking this information. It should
> > ideally be communicated in the format described by P1689
>
> Haven't we (SG15) agree on this already? What else is left?

Getting compilers that actually make the format. Given that one
implementation outputs it in a released version but needs
pre-classification (MSVC), one has an extant patch that works for named
modules and needs plumbing for header units (GCC), and one needs
plumbing to get even named modules working (Clang), it's definitely not
ready for any build system to just start scanning today. Maybe
clang-scan-deps is more ready then Clang itself; I haven't tested it at
all yet.

--Ben

Received on 2022-04-20 20:25:29