tid-kijyun / Kanna

Kanna(鉋) is an XML/HTML parser for Swift.
MIT License
2.42k stars 221 forks source link

libxmlHTMLDocument.swift showing Warnings in Xcode 11.4 #227

Closed ethanwa closed 4 years ago

ethanwa commented 4 years ago

Description:

libxmlHTMLDocument.swift showing the following Warnings in Xcode 11.4:

<my-project-path>/Pods/Kanna/Sources/Kanna/libxmlHTMLDocument.swift:222:30: Initialization of 'UnsafeRawPointer' results in a dangling pointer

<my-project-path>/Pods/Kanna/Sources/Kanna/libxmlHTMLDocument.swift:354:29: Initialization of 'UnsafeRawPointer' results in a dangling pointer

Installation method:

Kanna version (or commit hash): 5.0.0

Xcode version (optional): 11.4

tid-kijyun commented 4 years ago

Thank you for your report. I've just released version 5.2.0 which fixes this issue.

ethanwa commented 4 years ago

Thank you, but now 5.2.0 is bringing up another warning:

https://github.com/tid-kijyun/Kanna/issues/231