-
-
Notifications
You must be signed in to change notification settings - Fork 56
Conversation
@zapisanchez I'm sure what you are suggesting is correct, but a simple go test / build on my environment does not reproduce the warning. Can you describe why that is? I (belated) added a CI environment in GitHub Actions for this repository just now so you know what I do to check. |
With a simple go test under arch linux this warns appears: go test ./...
I Bet this is for the same than last problem, my arch is using latest version of libxml-2 |
Awwww, ubuntu doesn't have a deb for libxml2 2.12... |
Hi @lestrrat I Have done a small refactor:
I have tested in local and everything passed as usual I know that's a big change. It is not my intention to change your code, just to help you update it and clean it up. :D |
@zapisanchez I'm very sorry, but I can't accept your PR as is. I don't claim that my code is better by any means, but I can't accept a PR that contains various different all jumbled into one :( I have created #93 to apply your warnings fix and CI env. I haven't merged it in case you wanted credit for your work -- if you do, please create a PR with your commits that only contain what's on #93. |
@lestrrat otherwise, i recommend update the code to use go modules and make linting cleanup |
@zapisanchez but I already did that in #92...? (which confused the hell out of me) |
* Add archlinux CI Copied from #91 * See if this allows me to install a specific version * fix version * Apply casting to do away the const explicitly
closed by #93 |
C does not have an implicit conversion from const-qualified pointer types to non-const-qualified ones, so you should add an explicit one