[Issue 23714] compilable/testcstuff1.c:213:1: error: static assertion failed: u'ab' == 0x610062
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 2 12:19:03 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23714
Iain Buclaw <ibuclaw at gdcproject.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ibuclaw at gdcproject.org
--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Walter Bright from comment #1)
> It's a warning, as most C compilers will allow multi-character character
> constants as an extension.
The static assert fails though, which it doesn't with importC. It might suggest
we're following a subtly different semantic than what C does, which may or may
not be problematic in real-life projects.
--
More information about the Digitalmars-d-bugs
mailing list