Rephrase PURGE documentation and raise the default level to 2

Fixes #1847
This commit is contained in:
Rangi42
2025-10-13 11:43:29 -04:00
parent 651877e094
commit aa672bbec9
3 changed files with 16 additions and 10 deletions

View File

@@ -441,10 +441,10 @@ or
.Fl Wno-purge
disables this warning.
.Fl Wpurge=1
or just
.Fl Wpurge
warns when purging any exported symbol (regardless of type).
.Fl Wpurge=2
or just
.Fl Wpurge
also warns when purging any label (even if not exported).
.It Fl Wshift
Warn when shifting right a negative value.