I always argued compiling/looking for errors are two different things and should be two different tools.
Developers need linters/warnings.
Packagers don't need this information unless it will stop the software from functioning as it has previously been functioning (prexisting bugs included).
Packagers don't need this information unless it will stop the software from functioning as it has previously been functioning (prexisting bugs included).