Added warnings for GHC >= 7.2