-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When defined a CORLIB_ONLY. #88
Comments
Additional(another Issues?) AotHelper.EqualityComparers.cs Line 1619 ~ 1633. TypeInfoEncoder.cs Line 71 ~ 72. Thanks, |
CORLIB_ONLY compiler parameter switches AotHelper.EqualityComparers.cs Line 1619 - 1533 compare TypeInfoEncoder.cs Line 71 - 72 should be routed in Pack, but they are not very efficient, so they should use |
・AotHelper.EqualityComparers.cs Line 1619 - 1533 It reported a compile error in my environment. Assets/MsgPack/Serialization/AotHelper.EqualityComparers.cs(1658,38): error CS0121: The call is ambiguous between the following methods or properties: Is this a problem of Unity Buildin Monodevelop? My environment: Or, whether the registration of any file is missing? Thanks, |
I was mistaken. Mistake : Monodevelop version 2.x * Add more information. |
Thank you very much! However, we still have "BooleanStack" and "Int64Stack" to SubtreeUnpacker.cs is used. Thanks, |
Sorry for delay. And I'm sorry to forgot telling the problem. Did you include sources which exist only under https://github.com/msgpack/msgpack-cli/tree/master/src/MsgPack.Unity3D.Full ? |
Thank you for your reply. The problem is that the UnityBuild uses a MonoVersion 2.x. Specifically, 71 line of TypeInfoEncoder.cs. Thanks, |
Sorry for delay. |
Thank you very much. Thanks, |
Environment:
-using MsgPack.Unity3D.(2015/06/16, 0.6.0-beta3)
-Mac OS X Yosemite(10.10.3)
(In another matter, I am happy if you could make a unitypackage for Mac environment.)
-Unity 5.1.0f3, buildin monodevelop.
-Unity settings,
Api Compatibility Level ".NET 2.0 Subset",
CORLIB_ONLY defined.
Now the compiling is stopped, the SubtreeUnpacker.cs Line 51, 52, 53.
The reason is because has disappeared defined from line 35 ~ 38.
35 #if !CORLIB_ONLY
36 using BooleanStack = System.Collections.Generic.Stack<System.Boolean>;
37 using Int64Stack = System.Collections.Generic.Stack<System.Int64>;
38 #endif
51 private readonly BooleanStack _isMap; // <- BooleanStack undefine.
52 private readonly Int64Stack _unpacked; // <- Int64Stack undefine.
53 private readonly Int64Stack _itemsCount; // <- Int64Stack undefine.
Same problem in "ItemsUnpacker.Skipping.cs".
It may be present in other.
I made unitypackage(Source code registration) for Mac environment.
So I want you to tell me if I have a mistake.
Thanks,
The text was updated successfully, but these errors were encountered: