From ab466f73bb3bd24965cb2c7635b0339509dafbe3 Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Thu, 27 Feb 2020 16:53:01 -0700 Subject: [PATCH] Document that -Wbuiltin-declaration-mismatch is enabled by default. gcc/ChangeLog: * doc/invoke.texi (-Wbuiltin-declaration-mismatch): Fix a typo. --- gcc/ChangeLog | 4 ++++ gcc/doc/invoke.texi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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. -- 2.30.2