[PATCH 2/3] Add DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION

Nick Clifton nickc@redhat.com
Fri Jun 1 07:57:00 GMT 2018


Hi H.J.

> +# if __GNUC__ >= 8
> +#  define DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION \
> +  DIAGNOSTIC_IGNORE ("-Wstringop-truncation")
> +# endif
> +#endif

Presumably the Wstringop-truncation bug will be fixed in gcc 8.1
so shouldn't the test check the revision number as well ?

Cheers
  Nick



More information about the Binutils mailing list