Const compile error for DMD 2.061 vs 2.060
Jonathan Crapuchettes
jcrapuchettes at gmail.com
Thu Jan 3 14:59:16 PST 2013
I have some code in a library that currently compiles with DMD 2.060, but as
soon as I switched to 2.061 I start getting errors. Is there a visible error in
my code?
http://dpaste.dzfl.pl/614558a4
(Warning: DustMite minimized)
The code should not fully compile, since it has been minimized, but with DMD
2.061 I get the following errors:
---
Error: can only initialize const member _dimStrides_field_0 inside constructor
Error: can only initialize const member _dimStrides_field_1 inside constructor
Error: can only initialize const member _dimStrides_field_2 inside constructor
---
Again, DMD 2.060 doesn't throw those errors.
Thanks,
Jonathan
More information about the Digitalmars-d
mailing list