[Issue 11268] [REG 2.064beta] cannot use non-constant CTFE pointer in an initializer

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 16 11:51:51 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11268



--- Comment #2 from Jacob Carlborg <doob at me.com> 2013-10-16 11:51:50 PDT ---
(In reply to comment #1)
> Did this actually work correctly before?
> 
> Or was it acting as macro, ie was equivalent to:
>    static const char* ReBarClass = "ReBarWindow32".ptr;
> ?

What do you mean "acting as a macro"?

> Tests that I've done suggest that it was acting as a macro.
> Obviously this should work. But is it actually a regression, or a change from
> wrong-code --> rejects-valid ?

I don't know. All I'm saying is that it used to compile but now it doesn't.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list