Merge pull request #1710 from TheBlueMatt/2022-09-compile-warn