proot-me / proot

chroot, mount --bind, and binfmt_misc without privilege/setup for Linux
https://proot-me.github.io
GNU General Public License v2.0
1.96k stars 369 forks source link

Fix compiler error when using newer clang versions #383

Open saurik opened 2 months ago

saurik commented 2 months ago

https://www.redhat.com/en/blog/new-warnings-and-errors-clang-16

Starting with Clang 16, implicit function definitions will be considered an error instead of a warning. The C99 standard dropped support for implicit function definitions, but many compilers continued to accept them for backward compatibility.