third_party/fuchsia: Drop -Wno-nested-anon-types
The -Wnested-anon-types warning was fixed in the Fuchsia repository.
Fixes: b/243045403
Change-Id: Ia40a57b8ad11e443ac59ab7f8f0e61834fc009f1
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/108554
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Reviewed-by: Matthias Guenther <mrguenther@google.com>
Reviewed-by: Ted Pudlik <tpudlik@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
diff --git a/third_party/fuchsia/BUILD.gn b/third_party/fuchsia/BUILD.gn
index 298e96f..0730b99 100644
--- a/third_party/fuchsia/BUILD.gn
+++ b/third_party/fuchsia/BUILD.gn
@@ -32,17 +32,8 @@
visibility = [ ":*" ]
}
-# TODO(b/243045403): Fix this warning and remove the flag that disables it.
-config("disable_nested_anon_types") {
- cflags = [ "-Wno-nested-anon-types" ]
- visibility = [ ":*" ]
-}
-
pw_source_set("fit") {
- public_configs = [
- ":fit_public_include_path",
- ":disable_nested_anon_types",
- ]
+ public_configs = [ ":fit_public_include_path" ]
public_deps = [ ":stdcompat" ]
public = [
"repo/sdk/lib/fit/include/lib/fit/function.h",