diff options
author | Martin Sebor <msebor@redhat.com> | 2020-02-27 16:53:01 -0700 |
---|---|---|
committer | Martin Sebor <msebor@redhat.com> | 2020-02-27 16:53:01 -0700 |
commit | ab466f73bb3bd24965cb2c7635b0339509dafbe3 (patch) | |
tree | 9044830108a028e6b902df8de30f4f0cc459eb78 | |
parent | 58645f7153dc29ff8a28ae421598e825d808c01c (diff) | |
download | gcc-ab466f73bb3bd24965cb2c7635b0339509dafbe3.zip gcc-ab466f73bb3bd24965cb2c7635b0339509dafbe3.tar.gz gcc-ab466f73bb3bd24965cb2c7635b0339509dafbe3.tar.bz2 |
Document that -Wbuiltin-declaration-mismatch is enabled by default.
gcc/ChangeLog:
* doc/invoke.texi (-Wbuiltin-declaration-mismatch): Fix a typo.
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f5d4e6d..1992369 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index e70ece6..4f88fe6 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. |