[Issue 23949] New: core.stdc.assert_ for FreeBSD is incorrect
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 31 12:52:26 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23949
Issue ID: 23949
Summary: core.stdc.assert_ for FreeBSD is incorrect
Product: D
Version: D2
Hardware: x86_64
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: mail at ernestocastellotti.it
The __assert function prototype in core.stdc.assert_ is incorrect for FreeBSD.
Currently on D is:
noreturn __assert(const(char)* exp, const(char)* file, uint line);
But according to the FreeBSD header it should be:
noreturn __assert(const(char)* fun, const(char)* file, uint line, const(char)*
exp);
--
More information about the Digitalmars-d-bugs
mailing list