* invoke.texi: Add docs for -Wfloat-equal warning.
From-SVN: r29723
This commit is contained in:
parent
b843d2101e
commit
b8d2540a85
2 changed files with 5 additions and 1 deletions
|
@ -6,6 +6,7 @@ Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
|
|||
* c-typeck.c (build_binary_op): Conditionally warn
|
||||
about equality tests of floating point types.
|
||||
* toplev.c (documented_lan_options): Add -W[no-]float-equal.
|
||||
* invoke.texi: Add docs for -Wfloat-equal warning.
|
||||
|
||||
Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
|
|
|
@ -125,7 +125,7 @@ in the following sections.
|
|||
-Wconversion -Werror -Wformat
|
||||
-Wid-clash-@var{len} -Wimplicit -Wimplicit-int
|
||||
-Wimplicit-function-declaration -Wimport
|
||||
-Werror-implicit-function-declaration -Winline
|
||||
-Werror-implicit-function-declaration -Wfloat-equal -Winline
|
||||
-Wlarger-than-@var{len} -Wlong-long
|
||||
-Wmain -Wmissing-declarations -Wmissing-noreturn
|
||||
-Wmissing-prototypes -Wmultichar -Wnested-externs -Wno-import
|
||||
|
@ -1389,6 +1389,9 @@ Warn when a declaration does not specify a type.
|
|||
Give a warning (or error) whenever a function is used before being
|
||||
declared.
|
||||
|
||||
@item -Wfloat-equal
|
||||
Warn if floating point values are used in equality comparisons.
|
||||
|
||||
@item -Wimplicit
|
||||
Same as @samp{-Wimplicit-int} and @samp{-Wimplicit-function-}@*
|
||||
@samp{declaration}.
|
||||
|
|
Loading…
Add table
Reference in a new issue