C++ Logo


Advanced search

Subject: Re: [SG15] module source suffixes
From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2019-08-27 23:50:13

| -----Original Message-----
| From: SG15 <sg15-bounces_at_[hidden]> On Behalf Of Ben Boeckel via
| SG15
| Sent: Tuesday, August 27, 2019 7:05 AM
| To: Olga Arkhipova via SG15 <sg15_at_[hidden]>
| Cc: Ben Boeckel <ben.boeckel_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?

If tools expect auxiliary files to be produced when /module:interface, yes.

-- Gaby

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

Older archives