push/pop macros for deprecation warnings