C++ Logo

std-proposals

Advanced search

Re: [std-proposals] unimplemented attribute

From: Marcin Jaczewski <marcinjaczewski86_at_[hidden]>
Date: Wed, 19 Mar 2025 00:31:53 +0100
wt., 18 mar 2025 o 23:05 Hans Åberg via Std-Proposals
<std-proposals_at_[hidden]> napisał(a):
>
> Allowing for compiler diagnostic, and can be overridden, not relying solely on the linker to detect errors.
>

Please rethink this step by step, who diagnoses it and based on what
exactly? What TU know this and what TU do not.
How and where exactly its overridden? Is same TU as usage or
different? If diffrent then when it will be compiled, before or after
TU that use it?
If after how TU that use it know if you did that as there is NO info
available for him now.

Write some pseudo code that try do this, and you will see that it's
impossible to implement in the way you describe it.

>
> > On 18 Mar 2025, at 22:40, Sebastian Wittmeier via Std-Proposals <std-proposals_at_[hidden]> wrote:
> >
> > AW: [std-proposals] unimplemented attribute body { font-family: Arial, Verdana, Sans-Serif ! important; font-size: 12px; padding: 5px 5px 5px 5px; margin: 0px; border-style: none; background-color: #ffffff; } p, ul, li { margin-top: 0px; margin-bottom: 0px; } So the header marks a usage as dubious and the compiler outputs a warning diagnostics.
> >
> > During linking it is decided, whether the symbol actually exists. Linking succeeds or fails, based on that?
> >
> > Is this the gist of it?
>
>
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals

Received on 2025-03-18 23:32:06