[Issue 21938] importC: Support __attribute__ specifiers that could be mapped to D attributes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 15 02:07:46 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=21938
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> ---
Currently doing all but `access`. The access modes are read_only, read_write,
write_only, or none.
https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html
None of those access modes are supported in detail by D semantics, the best we
can do without adding more D semantics is to simply ignore them, which is done
today.
I.e. there isn't much value in implementing `access`. I'm going to write the
rest as "FIXED" and `access` as WONTFIX.
--
More information about the Digitalmars-d-bugs
mailing list