Beta problems... 'this' pointer in union?
Jonathan M Davis
jmdavisProg at gmx.com
Sat Dec 29 19:42:09 PST 2012
On Sunday, December 30, 2012 04:33:54 Era Scarecrow wrote:
> On Saturday, 29 December 2012 at 23:58:49 UTC, Jonathan M Davis
>
> wrote:
> > That would be your problem. It's not fixed in 2.060. It was
> > fixed since then. Use the latest from git or the current beta.
>
> Hmm alright, I've installed the beta. New problems are creeping
> up curiously enough. There seems to be an invisibly added pointer
> 'this', which then makes a union break while using bitfields.
> This didn't break before...
>
> Unless I use the traits it doesn't show the problem. Any
> thoughts?
For any bugs that you find in the beta, bring them up in the beta list and
create bug reports for them in bugzilla: http://d.puremagic.com/issues
Looking at the code though, I'm shocked to see a function declaration in a
union. I wouldn't have thought that that was legal. But maybe that's why the
static assertions are failing.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list