Enable -Wpedantic to improve GCC compatibility
Perfetto has developed a few incomptablities with GCC's -Wpedantic. Fix
these and enable -Wpedantic by default to avoid these types of problems
in the future.
Change-Id: Ifcd57f420faf5ef004c231a2673295ab2c812b99
diff --git a/gn/standalone/BUILD.gn b/gn/standalone/BUILD.gn
index 0c77eca..c52b7c1 100644
--- a/gn/standalone/BUILD.gn
+++ b/gn/standalone/BUILD.gn
@@ -20,6 +20,7 @@
cflags = [
"-Wall",
"-Wextra",
+ "-Wpedantic",
]
# Disable Weverything on fuzzers to avoid breakages when new versions of clang