On 07/11/2017 06:29 AM, Prathamesh Kulkarni wrote:

@@ -6074,6 +6076,12 @@ In C++ enumerated type mismatches in conditional 
expressions are also
 diagnosed and the warning is enabled by default.  In C this warning is
 enabled by @option{-Wall}.

+@item -Wenum-conversion @r{(C, Objective-C only)}
+@opindex Wenum-conversion
+@opindex Wno-enum-conversion
+Warn when an enum value of a type is implicitly converted to an enum valeu of
+another type. This warning is enabled by @option{-Wall}.
+
 @item -Wextra-semi @r{(C++, Objective-C++ only)}
 @opindex Wextra-semi
 @opindex Wno-extra-semi

Aside from the "valeu" typo, I think this would be more clearly phrased as

Warn when a value of enumerated type is implicitly converted to a different enumerated type. This warning is enabled by @option{-Wall}.

The rest of the documentation changes are OK.

-Sandra

Reply via email to