{"action":"created","issue":{"url":"https://api.github.com/repos/n6xej/StructureCloudScanner/issues/1","repository_url":"https://api.github.com/repos/n6xej/StructureCloudScanner","labels_url":"https://api.github.com/repos/n6xej/StructureCloudScanner/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/n6xej/StructureCloudScanner/issues/1/comments","events_url":"https://api.github.com/repos/n6xej/StructureCloudScanner/issues/1/events","html_url":"https://github.com/n6xej/StructureCloudScanner/issues/1","id":187133556,"number":1,"title":"unsafe mutable pointers","user":{"login":"kallipigous","id":609665,"avatar_url":"https://avatars.githubusercontent.com/u/609665?v=3","gravatar_id":"","url":"https://api.github.com/users/kallipigous","html_url":"https://github.com/kallipigous","followers_url":"https://api.github.com/users/kallipigous/followers","following_url":"https://api.github.com/users/kallipigous/following{/other_user}","gists_url":"https://api.github.com/users/kallipigous/gists{/gist_id}","starred_url":"https://api.github.com/users/kallipigous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kallipigous/subscriptions","organizations_url":"https://api.github.com/users/kallipigous/orgs","repos_url":"https://api.github.com/users/kallipigous/repos","events_url":"https://api.github.com/users/kallipigous/events{/privacy}","received_events_url":"https://api.github.com/users/kallipigous/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-03T17:14:47Z","updated_at":"2016-11-03T18:44:15Z","closed_at":null,"body":"I'm getting 6 compilation errors when I try to compile this on swift 3.0 ios 10\r\n\r\n Cannot convert value of type 'UnsafePointer<_>' to expected argument type 'UnsafeMutableRawPointer!'\r\n\r\nAny thoughts?"},"comment":{"url":"https://api.github.com/repos/n6xej/StructureCloudScanner/issues/comments/258237279","html_url":"https://github.com/n6xej/StructureCloudScanner/issues/1#issuecomment-258237279","issue_url":"https://api.github.com/repos/n6xej/StructureCloudScanner/issues/1","id":258237279,"user":{"login":"kallipigous","id":609665,"avatar_url":"https://avatars.githubusercontent.com/u/609665?v=3","gravatar_id":"","url":"https://api.github.com/users/kallipigous","html_url":"https://github.com/kallipigous","followers_url":"https://api.github.com/users/kallipigous/followers","following_url":"https://api.github.com/users/kallipigous/following{/other_user}","gists_url":"https://api.github.com/users/kallipigous/gists{/gist_id}","starred_url":"https://api.github.com/users/kallipigous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kallipigous/subscriptions","organizations_url":"https://api.github.com/users/kallipigous/orgs","repos_url":"https://api.github.com/users/kallipigous/repos","events_url":"https://api.github.com/users/kallipigous/events{/privacy}","received_events_url":"https://api.github.com/users/kallipigous/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T18:44:14Z","updated_at":"2016-11-03T18:44:14Z","body":"Hi in viewcontroller+OpenGL\n\nI’ve fixed (I think) 3 three of them by converting but what’s left is  three instances of\n\nwithUnsafePointer(to: &colorCameraPoseInDepthCoordinateSpace, {\n\t\t\t\t\t$0.withMemoryRebound(to: Float.self, capacity: 16, {\n\t\t\t\t\t\tdepthFrame.colorCameraPose(inDepthCoordinateFrame: $0)\n\t\t\t\t\t\t\n\n\t\t\t\t\t})\n\t\t\t\t})\n\n\nit’s the depthframe.colorCameraPose it doesn't like\n\n\nI commented them out and it compiled and worked but I got no bounding cube showing.\n\nI don't think that’s the same issue though\n\n\n\n\n> On Nov 3, 2016, at 11:29 AM, Christopher Worley <notifications@github.com> wrote:\n> \n> As much as I love the language I hate the way Swift does pointers and it seems like every release they change it. On Xcode 8.1 where you are getting the errors change withUnsafePointer to withUnsafeMutablePointer.\n> \n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub <https://github.com/n6xej/StructureCloudScanner/issues/1#issuecomment-258232934>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAlNgdrnsT9rgReplC7CGgUvOJdKU_qCks5q6igggaJpZM4Koq6v>.\n> \n\n"}}
{"actor":{"display_login":"kallipigous"}}