Date: Mon, 22 May 2023 22:40:56 +0000
> Ah, cool, that must have changed during the past 2.5 decades or so.
Single dash isn't an issue; it is the double dash.
-- Gaby
-----Original Message-----
From: SG15 <sg15-bounces_at_[hidden]> On Behalf Of Jens Maurer via SG15
Sent: Monday, May 22, 2023 1:15 PM
To: sg15_at_[hidden]
Cc: Jens Maurer <jens.maurer_at_[hidden]>; Herb Sutter <hsutter_at_[hidden]>
Subject: Re: [SG15] Meeting in Varna?
On 22/05/2023 22.02, Ville Voutilainen via SG15 wrote:
> On Mon, 22 May 2023 at 22:56, Gabriel Dos Reis via SG15
> <sg15_at_[hidden]> wrote:
>>
>> [Jens]
>>> Oh, and I'm seeing "--std-info" as a command-line option. I thought
>>> Microsoft, for instance, is using the /xxx option format. Has the use
>>> of "--xxx" been socialized with Microsoft?
>>
>> Not to my knowledge.
>
> Uh huh. This https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options?view=msvc-170
> says "You may use either a forward slash (/) or a dash (-) to specify
> a compiler option."
>
> I ran into that when looking at how to use address sanitizer with MSVC
> in cmake. The instructions
> said "just add -fsanitize=address", and I was all "uh, where's the
> MSVC version of this?", and realized
> that that *is* the MSVC version, too, since MSVC accepts dash options
> as well as slash options.
Ah, cool, that must have changed during the past 2.5 decades or so.
Jens
_______________________________________________
SG15 mailing list
SG15_at_[hidden]
https://lists.isocpp.org/mailman/listinfo.cgi/sg15
Single dash isn't an issue; it is the double dash.
-- Gaby
-----Original Message-----
From: SG15 <sg15-bounces_at_[hidden]> On Behalf Of Jens Maurer via SG15
Sent: Monday, May 22, 2023 1:15 PM
To: sg15_at_[hidden]
Cc: Jens Maurer <jens.maurer_at_[hidden]>; Herb Sutter <hsutter_at_[hidden]>
Subject: Re: [SG15] Meeting in Varna?
On 22/05/2023 22.02, Ville Voutilainen via SG15 wrote:
> On Mon, 22 May 2023 at 22:56, Gabriel Dos Reis via SG15
> <sg15_at_[hidden]> wrote:
>>
>> [Jens]
>>> Oh, and I'm seeing "--std-info" as a command-line option. I thought
>>> Microsoft, for instance, is using the /xxx option format. Has the use
>>> of "--xxx" been socialized with Microsoft?
>>
>> Not to my knowledge.
>
> Uh huh. This https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options?view=msvc-170
> says "You may use either a forward slash (/) or a dash (-) to specify
> a compiler option."
>
> I ran into that when looking at how to use address sanitizer with MSVC
> in cmake. The instructions
> said "just add -fsanitize=address", and I was all "uh, where's the
> MSVC version of this?", and realized
> that that *is* the MSVC version, too, since MSVC accepts dash options
> as well as slash options.
Ah, cool, that must have changed during the past 2.5 decades or so.
Jens
_______________________________________________
SG15 mailing list
SG15_at_[hidden]
https://lists.isocpp.org/mailman/listinfo.cgi/sg15
Received on 2023-05-22 22:40:59