add the ability to disable syntax deprecation warnings