[Issue 22598] importC: Add support for __extension__ keyword
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 18 07:15:31 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22598
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
The __extension__ documentation is confusing:
"You can prevent such warnings within one expression by
writing `__extension__' before the expression. `__extension__' has no
effect aside from this."
Yet in your example,
__extension__({ if (expr); else ...})
is a statement, not an expression.
--
More information about the Digitalmars-d-bugs
mailing list