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

Mathias Lang <[email protected]> changed:

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

--- Comment #2 from Mathias Lang <[email protected]> ---
> First, is the summary "[REG 2.070] ..." a mistake of REG-master (or 
> REG-devel, etc)? 

It stopped compiling when I tried 2.071. Do you use the version of the last
working compiler, or the first broken one ? I want with the last working one,
but according to your comment it should probably be [REG 2.071]` then.


In the presented case, it would probably work, but since it's highly dependent
of the order of declaration, I don't know if it's worth supporting it. I'm
pretty sure anything achievable by mean of `offsetof` is achievable by mean of
`sizeof` + `align`.

TL;DR:
We fixed the issue in our code, and I don't find the breakage unreasonable.
We reported the issue for documentation purpose, because the code broke. But
looks like it was already broken before anyway.
Closing as WONTFIX, feel free to reopen if you think it's worth enhancing.

--

Reply via email to