]> git.saurik.com Git - bison.git/blobdiff - NEWS
Add -Wother so -Wnone suppresses all warnings.
[bison.git] / NEWS
diff --git a/NEWS b/NEWS
index ed2b23f9dd4905577b5e3770c382a7841a5eb5a7..eff33c080e113f6d957e888ecf76b7bed76d4a43 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -359,6 +359,31 @@ Bison News
 
 *** Parser traces now print the top element of the stack.
 
+** -W/--warnings fixes:
+
+*** Bison now properly recognizes the "no-" versions of categories:
+
+  For example, given the following command line, Bison now enables all
+  warnings except warnings for incompatibilities with POSIX Yacc:
+
+    bison -Wall,no-yacc gram.y
+
+*** The "none" category no longer disables a preceding "error":
+
+  For example, for the following command line, Bison now reports
+  errors instead of warnings for incompatibilities with POSIX Yacc:
+
+    bison -Werror,none,yacc gram.y
+
+*** The "none" category now disables all Bison warnings.
+
+  Previously, the "none" category disabled only Bison warnings for
+  which there existed a specific -W/--warning category.  However,
+  given the following command line, Bison is now guaranteed to
+  suppress all warnings:
+
+    bison -Wnone gram.y
+
 * Changes in version 2.4.3 (2010-08-05):
 
 ** Bison now obeys -Werror and --warnings=error for warnings about