C++ Logo

sg15

Advanced search

Re: [SG15] module source suffixes

From: Gabriel Dos Reis <gdr_at_[hidden]>
Date: Wed, 28 Aug 2019 04:50:13 +0000
| -----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

Received on 2019-08-27 23:52:17