From da66774323ba38c87f876555a62a83867bd7e706 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Mon, 5 Oct 2009 19:54:18 +0000 Subject: [PATCH] Fix check_warning_flags warnings. gcc/: * c.opt (Wjump-misses-init): Fix typo to enable for ObjC. * doc/invoke.texi (Warning Options): Annotate allowed languages for -Wunsuffixed-float-constants. From-SVN: r152469 --- gcc/ChangeLog | 6 ++++++ gcc/c.opt | 2 +- gcc/doc/invoke.texi | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4c6dbef0069..1711cbda565 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-10-05 Ralf Wildenhues + + * c.opt (Wjump-misses-init): Fix typo to enable for ObjC. + * doc/invoke.texi (Warning Options): Annotate allowed languages + for -Wunsuffixed-float-constants. + 2009-10-05 Jakub Jelinek * dwarf2out.c (modified_type_die): Don't add DW_AT_name to diff --git a/gcc/c.opt b/gcc/c.opt index 006f9ae9c1b..429c035f38f 100644 --- a/gcc/c.opt +++ b/gcc/c.opt @@ -285,7 +285,7 @@ C ObjC C++ ObjC++ Warning Warn about PCH files that are found but not used Wjump-misses-init -C Objc Var(warn_jump_misses_init) Init(-1) Warning +C ObjC Var(warn_jump_misses_init) Init(-1) Warning Warn when a jump misses a variable initialization Wlogical-op diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 9d39624ad9f..3cb309c657d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -4315,7 +4315,7 @@ minimum maximum, so we do not diagnose overlength strings in C++@. This option is implied by @option{-pedantic}, and can be disabled with @option{-Wno-overlength-strings}. -@item -Wunsuffixed-float-constants +@item -Wunsuffixed-float-constants @r{(C and Objective-C only)} @opindex Wunsuffixed-float-constants GCC will issue a warning for any floating constant that does not have