C++ Logo


Advanced search

Subject: Re: [SG15] module source suffixes
From: Olga Arkhipova (olgaark_at_[hidden])
Date: 2019-08-27 12:13:23

+ Cameron
Currently it builds (no ifc is produced), but I think it should be at least a warning.

-----Original Message-----
From: Ben Boeckel <ben.boeckel_at_[hidden]>
Sent: Tuesday, August 27, 2019 7:05 AM
To: Olga Arkhipova via SG15 <sg15_at_[hidden]>
Cc: Olga Arkhipova <olgaark_at_[hidden]>
Subject: Re: [SG15] module source suffixes

On Tue, Aug 27, 2019 at 03:49:16 +0000, Olga Arkhipova via SG15 wrote:
> You still will be able to do it, but at least in MSVC case you'll have
> to explicitly tell the compiler (by setting /module:interface switch)
> that this cpp file is actually a module.

Is this a mutually exclusive thing? Would saying `/module:interface` for a C++ TU without `export module foo;` be a problem?


SG15 list run by sg15-owner@lists.isocpp.org

Older archives