__declspec(deprecated) fix and __pragma alloc_text, auto_inline, warning discard