Fixes Trac #12574. Reorder flag warning messages.
Signed-off-by: Martin Ceresa <email@example.com>
There are a few things wrong here.
Yes, I did not noticed those unrelated submodules updates. I clearly need to do this again.
It seems simpler to separate the current warning flags from the deprecated ones at its definition than check it on flagSpecOf.
If you think the way you suggested it is better, I will do that instead. I not sure all the implications this changes could have.
It's not obviously a better solution but it deserves some discussion. It does have the advantage of being more robust, as we discovered, it is unexpected that the ordering of this list has any impact at all.