ENH: use pragma instead of generic warning when detecting for function attributes.
FEAT: add a check_gcc_variable_attribute function in config command.