[Issue 23718] runnable/initializer.c:583:10: error: cast specifies array type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 2 02:32:48 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23718

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
int a[3] in C specifies a static array, and the cast is converting a static
array with 3 elements to a static array with 3 elements, i.e. the cast is a
no-op, which is likely why it succeeds.

--


More information about the Digitalmars-d-bugs mailing list