From bacad8474e13605d24fe82bdaf4b32a4548c8c2f Mon Sep 17 00:00:00 2001 From: James Wainwright Date: Mon, 5 Feb 2024 16:13:17 +0000 Subject: [PATCH] Add -Wtype-limits to default set of flags --- features/common/BUILD.bazel | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/features/common/BUILD.bazel b/features/common/BUILD.bazel index ccc45d7..e88f42a 100644 --- a/features/common/BUILD.bazel +++ b/features/common/BUILD.bazel @@ -112,6 +112,11 @@ feature_single_flag_c_cpp( flag = "-Wno-unused-parameter", ) +feature_single_flag_c_cpp( + name = "type_limits_warning", + flag = "-Wtype-limits", +) + feature( name = "reproducible", enabled = True,