https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83773

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Warning for redefined macro |Create new switch,
                   |does not have its own       |-Wmacro-redefined, to
                   |-Wsomething switch          |control warning for
                   |                            |redefined macro

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #2)
> Clang calls it -Wmacro-redefined: 
> 
> $ clang -fdiagnostics-show-option -Wall -c 83773.c
> 83773.c:2:9: warning: 'AAA' macro redefined [-Wmacro-redefined]
> #define AAA 2
>         ^
> 83773.c:1:9: note: previous definition is here
> #define AAA 1
>         ^
> 1 warning generated.
> $

Retitling to include that name in the title

Reply via email to