Skip to content
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

Convert to Swift 3 #8

Open
akirmse opened this issue Sep 21, 2016 · 0 comments
Open

Convert to Swift 3 #8

akirmse opened this issue Sep 21, 2016 · 0 comments

Comments

@akirmse
Copy link

akirmse commented Sep 21, 2016

There are some errors when compiling under Swift 3:

/Users/akirmse/peakbagger/ios/Peakbagger/Peakbagger/GlimpseXML/GlimpseXML/GlimpseXML.swift:83:76: 'init' is unavailable: use 'withMemoryRebound(to:capacity:)' to temporarily view memory as another layout-compatible type.
/Users/akirmse/peakbagger/ios/Peakbagger/Peakbagger/GlimpseXML/GlimpseXML/GlimpseXML.swift:212:109: 'nulTerminatedUTF8' is unavailable: Please use String.utf8CString instead.
/Users/akirmse/peakbagger/ios/Peakbagger/Peakbagger/GlimpseXML/GlimpseXML/GlimpseXML.swift:455:76: 'init' is unavailable: use 'withMemoryRebound(to:capacity:
)' to temporarily view memory as another layout-compatible type.
/Users/akirmse/peakbagger/ios/Peakbagger/Peakbagger/GlimpseXML/GlimpseXML/GlimpseXML.swift:760:41: 'init(allocatingCapacity:)' is unavailable: use 'UnsafeMutablePointer.allocate(capacity:)'
/Users/akirmse/peakbagger/ios/Peakbagger/Peakbagger/GlimpseXML/GlimpseXML/GlimpseXML.swift:762:25: 'fromCStringRepairingIllFormedUTF8' is unavailable: Please use String.init(cString:) instead. Note that it no longer accepts NULL as a valid input. See also String.decodeCString if you need more control.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant