maria-developers team mailing list archive
Mailing list archive
Re: -Wnon-virtual-dtor and scripts in
Sure. There is a cmake file https://github.com/MariaDB/server/blob/10.3/cmake/maintainer.cmake which seems to become the place to customize GCC/Clang specific warnings. I suppose you can add this flag there , to MY_MAINTAINER_CXX_WARNINGS.
From: Alexander Barkov
Sent: Wednesday, December 6, 2017 12:49 PM
To: Vladislav Vaintroub; monty@xxxxxxxxxxx; maria-developers
Subject: -Wnon-virtual-dtor and scripts in
Are we still supposed to use these scripts in the BUILD directory:
I stopped using them long time ago.
But these scripts set some extra warnings for gcc,
so now it's easy to overlook some warnings.
Monty is still using these scripts and gets those extra warnings.
In particular, -Wnon-virtual-dtor is often a subject of warnings.
Is there a way to enable the -Wnon-virtual-dtor for gcc
in the default build, i.e. when just using "cmake" instead of