Pull request #8373 implementing issue 333 (but please note differences).
Pull request description follows:
This PR adds a -Wconf
compiler flag that allows filtering and configuring compiler warnings (silence
them, or turn them into errors).
It also integrates the fantastic silencer compiler plugin by @ghik
into the compiler, which allows suppressing warnings locally using the @nowarn
annotation.