error should be output to stderr
workaround for __GNUC_MINOR__

it becomes '2' in some cases though the actual version is later than 4.8.