Thread overview
[Issue 23718] runnable/initializer.c:583:10: error: cast specifies array type
Feb 15, 2023
Iain Buclaw
Feb 27, 2023
Iain Buclaw
Dec 02, 2023
Walter Bright
Dec 14, 2023
Walter Bright
February 15, 2023
https://issues.dlang.org/show_bug.cgi?id=23718

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid, ImportC
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=23689
         Depends on|                            |23689


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=23689
[Issue 23689] ImportC: C tests in the testsuite are not valid C
--
February 27, 2023
https://issues.dlang.org/show_bug.cgi?id=23718

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P2

--
December 02, 2023
https://issues.dlang.org/show_bug.cgi?id=23718

Walter Bright <bugzilla@digitalmars.com> changed:

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

--- Comment #1 from Walter Bright <bugzilla@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.

--
December 14, 2023
https://issues.dlang.org/show_bug.cgi?id=23718

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |minor

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
Why is this marked as major? It's a very minor extension. I don't see an issue with leaving it as it is.

--
December 15, 2023
https://issues.dlang.org/show_bug.cgi?id=23718
Issue 23718 depends on issue 23689, which changed state.

Issue 23689 Summary: ImportC: C tests in the testsuite are not valid C https://issues.dlang.org/show_bug.cgi?id=23689

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--