[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: API change between GCC 12.3.0 and 13.2.0?
From: |
Fischlin Andreas |
Subject: |
Re: API change between GCC 12.3.0 and 13.2.0? |
Date: |
Sun, 24 Dec 2023 17:38:25 +0000 |
I fully concur. What Benjamin proposed is the way to go.
Cheers, Andreas
ETH Zurich, Prof. em. Dr. Andreas Fischlin, IPCC Vice-Chair WGII, Systems
Ecology, CHN E 24, Universitaetstrasse 16, CH-8092 Zurich, SWITZERLAND
Tel: +41 44 633-6090 Mobile: +41 79 595-4050 Mail:
andreas.fischlin@env.ethz.ch
www.sysecol.ethz.ch/people/andreas.fischlin.html
> On 20 Dec 2023, at 18:13, Gaius Mulley <gaiusmod2@gmail.com> wrote:
>
> Benjamin Kowarsch <trijezdci@gmail.com> writes:
>
>> Thus, I say, please consider adopting an FFI pragma
>>
>> DEFINITION MODULE FooLib <*FFI="C"*>;
>>
>> and then let the compiler follow any and all conventions necessary to
>> interface to the specified foreign language.
>>
>> Remember, things should be made as simple as possible, not any
>> simpler, but also not any more complicated.
>
> Hi,
>
> ok this sounds very sensible. The <*FFI="C"*> is consise and
> unobtrusive - also it is well documented the m2r10 language spec:
>
> http://modula-2.net/m2r10/pmwiki.php?n=Spec.LanguageReport#PragmaFFI
>
> I propose implementing <*FFI="C"*> also <*FFIDENT="foobar"*>,
>
> thanks for the explanations of their rationale
>
> regards,
> Gaius
>