Merge pull request #5916 from RosettaCommons/vmullig/fix_new_macos_errors Fix issues flagged by latest clang on MacOS The new version of clang on MacOS flags a bunch of issues in the code. Fixing these so that I can finish pull request #5915.