Skip to content

Consistent use of sigs vs signatures in warnings

If I have a polymorphic local binding without a type signature, -Weverything complains:

warning: [-Wmissing-local-sigs]
    Polymorphic local binding with no type signature: ...

However, when I add -Wno-missing-local-sigs, I immediately get a deprecation warning

-Wno-missing-local-sigs is deprecated: it is replaced by -Wmissing-local-signatures

First, the warning with -Weveryting should use the non-depricated signatures version. Second, the deprecation warning should probably respect my use of no: -Wno-missing-local-sigs is replaced by -Wno-missing-local-signatures, not -Wmissing-local-signatures.

Obviously, check for similar cases with the other "sigs" options mentioned in #11583 (closed).

Trac metadata
Trac field Value
Version 8.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related #11583 (closed)
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information