d: Enable miscellaneous warnings by -Wextra flag
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 8 Sep 2020 16:22:04 +0000 (18:22 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Thu, 10 Sep 2020 16:04:11 +0000 (18:04 +0200)
commitead85749b0a8efb26325571b36c4c966280146bc
treef617be31ca314e06003d1dfee862bf7e2e731ad1
parent27f698bde905c1c106f0404dc7d0df1819761ce7
d: Enable miscellaneous warnings by -Wextra flag

These warnings are handled outside of the D core language front-end, so
shouldn't be enabled by -Wall.

gcc/d/ChangeLog:

* lang.opt (Waddress): Enable warning by -Wextra.
(Wcast-result): Likewise.
(Wunknown-pragmas): Likewise.
gcc/d/lang.opt