zqqw / pakku

Pacman wrapper with AUR support
GNU General Public License v3.0
39 stars 3 forks source link

cstring build warnings #17

Closed zqqw closed 2 years ago

zqqw commented 3 years ago

Lots of cstring warnings with current nim-git build, something that will probably need fixing in due course, if anyone does come up with a fix for this in the meanwhile let me know!

/tmp/pakku/pakku-git/src/pakku/src/utils.nim(326, 33) Warning: implicit conversion to 'cstring' from a non-const location: user.name; this will become a compile time error in the future [CStringConv]
/tmp/pakku/pakku-git/src/pakku/src/utils.nim(327, 37) Warning: implicit conversion to 'cstring' from a non-const location: user.name; this will become a compile time error in the future [CStringConv]
/tmp/pakku/pakku-git/src/pakku/src/utils.nim(328, 36) Warning: implicit conversion to 'cstring' from a non-const location: user.name; this will become a compile time error in the future [CStringConv]
/tmp/pakku/pakku-git/src/pakku/src/utils.nim(329, 33) Warning: implicit conversion to 'cstring' from a non-const location: user.home; this will become a compile time error in the future [CStringConv]
/tmp/pakku/pakku-git/src/pakku/src/utils.nim(330, 34) Warning: implicit conversion to 'cstring' from a non-const location: user.shell; this will become a compile time error in the future [CStringConv]
zqqw commented 2 years ago

Closed by: https://github.com/zqqw/pakku/commit/a1c22c6961b6e1981ee77f69cb137b546c713ec2