wirmachenbunt/box2dx

Unsafe code won't compile in a Silverlight class library

Closed this issue · 1 comments

What steps will reproduce the problem?
1. Install the Silverlight SDK and Create a VS project using the 
"Silverlight Class Library" template.
2. Add the box2dx files to the project.
3. Compile, it won't work.

It would be great to keep the fast unsafe methods for desktop apps, but 
provide safe versions for Silverlight.

Original issue reported on code.google.com by josh.end...@gmail.com on 13 Oct 2008 at 3:25

ALLOWUNSAFE directive was added to Broadphase.cs. Use it for choose safe or 
unsafe 
context.

Original comment by ihar3d@gmail.com on 13 Oct 2008 at 10:02

  • Changed state: Verified