From: Martin Sebor Date: Thu, 27 Feb 2020 23:53:01 +0000 (-0700) Subject: Document that -Wbuiltin-declaration-mismatch is enabled by default. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab466f73bb3bd24965cb2c7635b0339509dafbe3;p=gcc.git Document that -Wbuiltin-declaration-mismatch is enabled by default. gcc/ChangeLog: * doc/invoke.texi (-Wbuiltin-declaration-mismatch): Fix a typo. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f5d4e6dd582..1992369d068 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2020-02-27 Martin Sebor + + * doc/invoke.texi (-Wbuiltin-declaration-mismatch): Fix a typo. + 2020-02-27 Michael Meissner PR target/93932 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index e70ece6d492..4f88fe68999 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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.