many thanks! However there is another problem (already seen in this forum): system/framework headers contains many warnings.
I read this “old” topic, but it seems a solution (last post) is #pragma GCC diagnostic, which is not very appealing since I have to modify all the files in my library (I will do if it is THE solution):