Date: Thu, 7 Nov 2024 15:53:43 -0600
> Prior to the load.
> That means you need to require your OS to provide a way to get that
string for
a potential plugin before it is loaded.
Does it have to be prior to the load? What’s wrong with loading it as long
as you don’t use stdlib constructs across ABI boundary until after
verifying some match?
Jeremy
On Thu, Nov 7, 2024 at 12:22 Thiago Macieira via Std-Proposals <
std-proposals_at_[hidden]> wrote:
> On Thursday 7 November 2024 07:29:38 Pacific Standard Time Jeremy Rifkin
> via
> Std-Proposals wrote:
> > My suggestion: Rrquire plugins to publish a C string with some identifier
> > indicating the standard library being used (e.g. "libstdc++" or "libcxx"
> > depending on preprocessor macros set by the libraries). Then check that
> on
> > load.
>
> Prior to the load.
>
> That means you need to require your OS to provide a way to get that string
> for
> a potential plugin before it is loaded.
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> Principal Engineer - Intel DCAI Platform & System Engineering
>
>
>
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
> That means you need to require your OS to provide a way to get that
string for
a potential plugin before it is loaded.
Does it have to be prior to the load? What’s wrong with loading it as long
as you don’t use stdlib constructs across ABI boundary until after
verifying some match?
Jeremy
On Thu, Nov 7, 2024 at 12:22 Thiago Macieira via Std-Proposals <
std-proposals_at_[hidden]> wrote:
> On Thursday 7 November 2024 07:29:38 Pacific Standard Time Jeremy Rifkin
> via
> Std-Proposals wrote:
> > My suggestion: Rrquire plugins to publish a C string with some identifier
> > indicating the standard library being used (e.g. "libstdc++" or "libcxx"
> > depending on preprocessor macros set by the libraries). Then check that
> on
> > load.
>
> Prior to the load.
>
> That means you need to require your OS to provide a way to get that string
> for
> a potential plugin before it is loaded.
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> Principal Engineer - Intel DCAI Platform & System Engineering
>
>
>
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
Received on 2024-11-07 21:53:55