Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c70be4b9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Globally disable -Wreorder-init-list." into main

parents e8f21ac5 8f8cc166
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -69,8 +69,6 @@ var (
		// Making deprecated usages an error causes extreme pain when trying to
		// deprecate anything.
		"-Wno-error=deprecated-declarations",
		// This rarely indicates a bug. http://b/145210666
		"-Wno-error=reorder-init-list",

		// Warnings disabled by default.

@@ -86,6 +84,14 @@ var (
		// subsequent version of an interface, so this warning is currently
		// infeasible to enable.
		"-Wno-inconsistent-missing-override",
		// Detects designated initializers that are in a different order than
		// the fields in the initialized type, which causes the side effects
		// of initializers to occur out of order with the source code.
		// In practice, this warning has extremely poor signal to noise ratio,
		// because it is triggered even for initializers with no side effects.
		// Individual modules can still opt into it via cflags.
		"-Wno-error=reorder-init-list",
		"-Wno-reorder-init-list",
		// Incompatible with the Google C++ style guidance to use 'int' for loop
		// indices; poor signal to noise ratio.
		"-Wno-sign-compare",