CTFE limitation on reinterpreting cast

user1234 user1234 at 12.de
Tue Sep 29 11:19:15 UTC 2026


On Monday, 28 September 2026 at 22:50:21 UTC, Rambutan wrote:
> Here's a tiny version of something I ran into working on a 
> project with both C and D source, while moving into D a C 
> global array of structs that was initialized in place.
> [...]
> Why? What can you tell me about this? Is there a workaround? 
> Can you point me at connected documentation?
>
> Any information about this will be gratefully received.
>
> R.

I think this is not related to CTFE, that should just work in a 
`@system` scope. In other words, congrats you've found a bug.


More information about the Digitalmars-d mailing list