These fixes should be useful for all, even non-Mac.
They relate to either forgotten #includes, forgotten override keywords, or forgotten const keywords. They all caused compilation errors in my MacBook.
#includes
override
const