Different versions of compilers or even the same version of a compiler on different Linux distributions may generate different warnings for the same code. In some cases the warnings are correct and we take remedial action, and in some cases the warnings are not because there are reasons for the code being the way it is, and we have to add compiler flags to turn off a specific warning (and in some cases, if the flag is not available in an earlier version of a compiler, we may opt to not add the flag). This is an ongoing process that never stops.
What I would ask is that when you see a warning, please do investigate whether it appears legitimate. If it does, please submit a merge request on GitLab with a fix, and if it does not and there is a compiler flag to turn if off, please submit a merge request with the updated flag. Thank you.
Regards
– Bhaskar