C++ Logo

sg15

Advanced search

Re: [SG15] module source suffixes

From: Olga Arkhipova <olgaark_at_[hidden]>
Date: Tue, 27 Aug 2019 17:13:23 +0000
+ Cameron
Currently it builds (no ifc is produced), but I think it should be at least a warning.
Olga

-----Original Message-----
From: Ben Boeckel <ben.boeckel_at_[hidden]re.com>
Sent: Tuesday, August 27, 2019 7:05 AM
To: Olga Arkhipova via SG15 <sg15_at_lists.isocpp.org>
Cc: Olga Arkhipova <olgaark_at_microsoft.com>
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?

--Ben

Received on 2019-08-27 12:15:33