When installing libbitcoin there are checks of the code, why is this?
These are not tests. They are simply warnings generated by the compiler indicating there may be an issue with the code being compiled.

Most likely, it's just being overzealous and the developers are aware of this.