Paul Eggert wrote:
> -Wunused-const-variable was introduced in GCC 6.1.

Indeed. My mistake. When I tested which GCC versions support
'-Wno-unused-const-variable', I forgot add option -Wall. Only with
that option does gcc report a
  cc1: warning: unrecognized command line option "-Wno-unused-const-variable"
(for gcc versions >= 4.4, < 6).

Bruno




Reply via email to