Document that -Wbuiltin-declaration-mismatch is enabled by default.
authorMartin Sebor <msebor@redhat.com>
Thu, 27 Feb 2020 23:53:01 +0000 (16:53 -0700)
committerMartin Sebor <msebor@redhat.com>
Thu, 27 Feb 2020 23:53:01 +0000 (16:53 -0700)
gcc/ChangeLog:

* doc/invoke.texi (-Wbuiltin-declaration-mismatch): Fix a typo.

gcc/ChangeLog
gcc/doc/invoke.texi

index f5d4e6d..1992369 100644 (file)
@@ -1,3 +1,7 @@
+2020-02-27  Martin Sebor  <msebor@redhat.com>
+
+       * doc/invoke.texi (-Wbuiltin-declaration-mismatch): Fix a typo.
+
 2020-02-27  Michael Meissner  <meissner@linux.ibm.com>
 
        PR target/93932
index e70ece6..4f88fe6 100644 (file)
@@ -7683,7 +7683,7 @@ or as a non-function, or when a built-in function declared with a type
 that does not include a prototype is called with arguments whose promoted
 types do not match those expected by the function.  When @option{-Wextra}
 is specified, also warn when a built-in function that takes arguments is
-declared without a prototype.  The @option{-Wno-builtin-declaration-mismatch}
+declared without a prototype.  The @option{-Wbuiltin-declaration-mismatch}
 warning is enabled by default.  To avoid the warning include the appropriate
 header to bring the prototypes of built-in functions into scope.