May 18, 2015 Re: [Request for ABI Breakage]: Ambiguity between extern(Pascal) vs. Template Value Parameters. | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | On 5/18/2015 6:51 AM, Steven Schveighoffer wrote:
> I'd also call it something else besides extern(Pascal) to avoid confusion.
It's called "pascal" on the extensions to the C/C++ compilers.
| |||
May 18, 2015 Re: [Request for ABI Breakage]: Ambiguity between extern(Pascal) vs. Template Value Parameters. | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On 5/18/15 3:48 PM, Walter Bright wrote:
> On 5/18/2015 6:51 AM, Steven Schveighoffer wrote:
>> I'd also call it something else besides extern(Pascal) to avoid
>> confusion.
>
> It's called "pascal" on the extensions to the C/C++ compilers.
>
I meant call it something else, so it's not confused with the original meaning of extern(Pascal). If you decided to limit it to only Windows API or similar functions.
-Steve
| |||
May 18, 2015 Re: [Request for ABI Breakage]: Ambiguity between extern(Pascal) vs. Template Value Parameters. | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | On Saturday, 16 May 2015 at 09:07:57 UTC, Iain Buclaw wrote:
> or have it's mangled symbol be renamed to something other than a 'V' that does not clash with other types/identifiers.
Well, change it to whatever letter works, if that resolves mangling ambiguities.
| |||
May 19, 2015 Re: [Request for ABI Breakage]: Ambiguity between extern(Pascal) vs. Template Value Parameters. | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | "Steven Schveighoffer" wrote in message news:mjdgdk$15c4$1@digitalmars.com... > I meant call it something else, so it's not confused with the original meaning of extern(Pascal). If you decided to limit it to only Windows API or similar functions. It's not used for the Windows API, it _was_ used for the Windows API. The current calling convention is extern(Windows) which is IIRC the same thing with the argument push order reversed. It might still survive in a few dark corners, not sure. | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply