Perl is broken as it tries to detect C11 macro without compiler support.
This patch is wrong. We shall not overwrite compiler builtins. It
already caused enough issues in certain cases (like __func__ overload).
On 22.05.2019 20:41, m...@netbsd.org wrote:
> How is this for a proposed patch?
>
>
How is this for a proposed patch?
Provide a fallback definition for _Static_assert for when the compiler
doesn't provide it (it doesn't have to for pre-C11).
Fixes https://rt.perl.org/Public/Bug/Display.html?id=134023
Index: cdefs.h
=
perl is not broken. providing a broken macro and hoping nobody uses it
on GCC is.
On 22.05.2019 13:44, m...@netbsd.org wrote:
> This is definition is causing problems.
Please fix Perl to stop mixing C11 with C++98 code.
This is designed (discussed and approved by Joerg) to be an extension,
similarly to the code in . We explicitly allow mixing
features from newer standards of C