[BUG #8022] remove deprecation warnings for #-compiler hints