The message you’re seeing is likely related to the version of clang you’re using. Can you try switching clang to 3.8 and then run through ./Setup.sh & ./GenerateProjectFiles.sh. You may also want to download a fresh instance of the engine and do a clean rebuild as well.
You should be able to use the command “sudo apt-get install clang-3.8” in your terminal output to install 3.8 specifically. You may want to check the following page for how to set it as default: 12.04 - Set clang-3.8 as default - Ask Ubuntu