gcc-10-20220422 is now available

2022-04-22 Thread GCC Administrator via Gcc
Snapshot gcc-10-20220422 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20220422/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 10 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: [modules] Preprocessing requires compiled header unit modules

2022-04-22 Thread Ben Boeckel via Gcc
On Fri, Apr 22, 2022 at 16:08:00 +0200, Boris Kolpackov wrote: > Ben Boeckel writes: > > I agree that the header needs to be *found*, but scanning cannot require > > a pre-existing BMI for that header. > > Well, if scanning cannot require a pre-existing BMI but a pre-existing > BMI is required to

Re: [modules] Preprocessing requires compiled header unit modules

2022-04-22 Thread Iain Sandoe
> On 22 Apr 2022, at 15:08, Boris Kolpackov wrote: > > Ben Boeckel writes: > >> On Thu, Apr 21, 2022 at 06:05:52 +0200, Boris Kolpackov wrote: >> >>> I don't think it is. A header unit (unlike a named module) may export >>> macros which could affect further dependencies. Consider: >>> >>>

Re: [modules] Preprocessing requires compiled header unit modules

2022-04-22 Thread Boris Kolpackov
Ben Boeckel writes: > On Thu, Apr 21, 2022 at 06:05:52 +0200, Boris Kolpackov wrote: > > > I don't think it is. A header unit (unlike a named module) may export > > macros which could affect further dependencies. Consider: > > > > import "header-unit.hpp"; // May or may not export macro FOO. > >