public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Nathan Sidwell <nathan@acm.org>
To: Jonathan Wakely <jwakely.gcc@gmail.com>,
	"chuanqi.xcq" <yedeng.yd@linux.alibaba.com>
Cc: David Blaikie <dblaikie@gmail.com>,
	gcc Mailing List <gcc@gcc.gnu.org>,
	Iain Sandoe <iain@sandoe.co.uk>,
	Nathan Sidwell <nathanmsidwell@gmail.com>,
	"ben.boeckel" <ben.boeckel@kitware.com>
Subject: Re: Naming flag for specifying the output file name for Binary Module Interface files
Date: Wed, 7 Dec 2022 11:43:15 -0500	[thread overview]
Message-ID: <e9a0744c-7215-1bf5-ac5d-45d54ac7cd4c@acm.org> (raw)
In-Reply-To: <CAH6eHdTOXUVQ_k6FKgrS+tkPfwCJBT-toAWZBoW32__7JxfX7g@mail.gmail.com>

On 12/7/22 10:23, Jonathan Wakely wrote:
> 
> 
> On Wed, 7 Dec 2022, 02:30 chuanqi.xcq via Gcc, <gcc@gcc.gnu.org 
> <mailto:gcc@gcc.gnu.org>> wrote:
\
> 
>     (2) If (1) is not acceptable and we love to keep the command line
>     consistency, I think clang can use '-fmodule-output=' as long as we make it
>     clear in the document. It will be confusing but it may be the cost clang
>     need to pay for the extension (so I'll vote against strongly if someone want
>     to add some other extensions)
> 
> 
> Given that C++20 modules are in an ISO standard and clang modules aren't, I 
> think it's right that the "simple" name refers to C++20 modules, without 
> requiring "std-c++-modules". It also seems right that the difficulty of 
> distinguishing clang modules from std modules should be dealt with by clang, not 
> by other compilers.

Wait, why does clang want different options to specify the name of the 
clang-module file vs a C++ module file?  It's only in one mode at a time isn't 
it?  And that mode is controlled by other options.  It cannot generate both in a 
single compilation, right?

nathan

-- 
Nathan Sidwell


      parent reply	other threads:[~2022-12-07 16:43 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-06 21:03 David Blaikie
2022-12-07  0:35 ` Nathan Sidwell
2022-12-07  1:45   ` Jonathan Wakely
2022-12-07  2:30   ` chuanqi.xcq
2022-12-07 15:23     ` Jonathan Wakely
2022-12-07 15:45       ` ben.boeckel
2022-12-07 16:18         ` Iain Sandoe
2022-12-07 16:29           ` ben.boeckel
2022-12-07 16:52           ` Nathan Sidwell
2022-12-07 16:58             ` Iain Sandoe
2022-12-07 17:00               ` Nathan Sidwell
2022-12-09  1:58                 ` chuanqi.xcq
2022-12-09 17:33                   ` Iain Sandoe
2022-12-09 17:43                     ` David Blaikie
2022-12-12 14:30                     ` Nathan Sidwell
2022-12-13  3:10                       ` chuanqi.xcq
2022-12-13 15:56                         ` David Blaikie
2022-12-14  9:56                           ` chuanqi.xcq
2022-12-14 18:39                             ` David Blaikie
2022-12-14 22:29                               ` Nathan Sidwell
2022-12-15  5:58                                 ` chuanqi.xcq
2022-12-15  7:37                                   ` Iain Sandoe
2022-12-15 13:21                                     ` ben.boeckel
2022-12-07 16:43       ` Nathan Sidwell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e9a0744c-7215-1bf5-ac5d-45d54ac7cd4c@acm.org \
    --to=nathan@acm.org \
    --cc=ben.boeckel@kitware.com \
    --cc=dblaikie@gmail.com \
    --cc=gcc@gcc.gnu.org \
    --cc=iain@sandoe.co.uk \
    --cc=jwakely.gcc@gmail.com \
    --cc=nathanmsidwell@gmail.com \
    --cc=yedeng.yd@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).