7 ms·
Deprecation annotations are incredibly helpful, many thanks. This is off the top of my head and likely clang specific: -Werror // Treat all warnings as errors
by doubleplaid 10y ago
Deprecation annotations are incredibly helpful, many thanks.
This is off the top of my head and likely clang specific:
-Werror // Treat all warnings as errors
-Wno-error=deprecated // Except deprecated warnings
-Wno-error=deprecated-implementation // And these ones too
The deprecated-implementation warning flag should likely be made part of the deprecated warning group, but it's not yet. See the clang source for a helpful TODO? comment.
-Wclang-please-warn-about-warning-groups-that-are-missing-warnings ?