On Sat, 09 Apr 2011 04:07:11 -0400, %u <wfunct...@hotmail.com> wrote:
Thanks for the link!
I tried compiling the file, and I got these errors:
variant.d(454): Warning: statement is not reachable
variant.d(454): Warning: statement is not reachable
variant.d(454): Warning: statement is not reachable
variant.d(634): Warning: statement is not reachable
variant.d(660): Warning: statement is not reachable
variant.d(337): Error: template variant.Variant.Box.opAssign(A :
Variant) does not match any function template declaration
variant.d(337): Error: template variant.Variant.Box.opAssign(A :
Variant) cannot deduce template function from argument types !
()(char[])
variant.d(612): Error: template instance
variant.Variant.Box.opAssign!(char[]) error instantiating
variant.d(1041): instantiated from here: __vtableOf!(char[])
variant.d(605): instantiated from here: opAssign!(char[])
variant.d(757): instantiated from here: SaveResult!(char[])
... (23 instantiations, -v to show) ...
variant.d(376): instantiated from here: SaveResult!(TypeInfo)
variant.d(351): instantiated from here: __vtableOf!(void)
Any ideas how I should fix them?
Sorry. It was late and I forgot to mention some things. A) My code is
dependent on patch 5155, and B) I forgot about changes, etc, that I had to
make to go from DMD 2.051 to DMD 2.052. I've uploaded my current working
copy and remade the docs. Let me know if you have any issues with this.
(And please include a brief description of what/how you're building it:
i.e. dmd 2.052, debug mode, etc) Also, if you want to try my updated
std.json, it requires a few more patches, each listed at the top of the
file.