Hi Dan,
Sorry for the delay.
Your mail is referred to as spam in Gmail...
I also got same error in compare_json.d,
and I agree with Jesse.
"pragma(msg, typeof(via.map.length));" returns 'ulong' during
compilation.
But the linker error occurred in the runtime.
Now, I have no idea to resolve i
Hmm, I can reproduce. It is caused by the call to pack in
function 2.
void f2()
{
unpack(pack(mpObj));
}
I get the feeling this may be a compiler bug, I'm not seeing
anything used that isn't part of those two files or Phobos.
On Thursday, 25 October 2012 at 17:59:40 UTC, Jesse Phillips
wrote:
It is a linker error. You need to compile the msgpack.d file
and tell the linker where to find it. The simplest way is to
just throw the file on the command line.
dmd compare_json.d msgpack.d
Thanks. I tried your suggesti
On Wednesday, 24 October 2012 at 11:19:08 UTC, Dan wrote:
No answer yet, but the errors look very similar to those run
into here:
http://www.digitalmars.com/d/archives/digitalmars/D/Something_wrong_with_dmd_s_-c_command_162601.html
back in March. Wish I knew how that was resolved. When I tried
On Tuesday, 23 October 2012 at 13:40:00 UTC, Dan wrote:
/tmp/.rd.../objs/compare_json.o: In function `const(@trusted
void function(ref
msgpack.Packer!(std.array.Appender!(ubyte[]).Appender).Packer))
msgpack.Value.toMsgpack!(msgpack.Packer!(std.array.Appender!(ubyte[]).Appender).Packer).toMsgpac
I got msgpack and was trying out an example (compare_json.d) and
I get an unresolved error.
Not sure what I'm doing wrong...
https://github.com/msgpack/msgpack-d/blob/master/src/msgpack.d
I think length is built in for associative arrays?
Thanks
Dan
The error and lines of code is:
-
/tmp/