This should be the default with Clang. Is GCC set as your default compiler?