coding conventions and compilation warnings