Adjust handling of -Wsuggest-override
authorCarl Hetherington <cth@carlh.net>
Thu, 21 Apr 2022 12:22:08 +0000 (14:22 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 21 Apr 2022 12:22:50 +0000 (14:22 +0200)
commite7e4af869f7144fa9a265ccf1e15c7b2f182ac2c
tree72d0973e1a7a57f8d31219f1bf50eefcff5279e0
parenteaee99e58f3f8b2f63f43dee9e346d0b025f688a
Adjust handling of -Wsuggest-override

It seems that on older GCCs (e.g. the one from Ubuntu 18.04) the
pragma to temporarily turn off this warning does not work, so here
we only use it on newer GCCs where we can turn it off for libraries
that trigger the warning (mostly asdcplib, but also wxWidgets).
src/lib/warnings.h
wscript