summaryrefslogtreecommitdiff
path: root/gcc/c.opt
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c.opt')
-rw-r--r--gcc/c.opt6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/c.opt b/gcc/c.opt
index 01cb779dc31..6cd179038a6 100644
--- a/gcc/c.opt
+++ b/gcc/c.opt
@@ -151,7 +151,7 @@ Synonym for -Wcomment
Wconversion
C ObjC C++ ObjC++ Var(warn_conversion)
-Warn about possibly confusing type conversions
+Warn for implicit type conversions that may change a value
Wctor-dtor-privacy
C++ ObjC++ Var(warn_ctor_dtor_privacy)
@@ -399,6 +399,10 @@ Wtraditional
C ObjC Var(warn_traditional)
Warn about features not present in traditional C
+Wtraditional-conversion
+C ObjC Var(warn_traditional_conversion)
+Warn of prototypes causing type conversions different from what would happen in the absence of prototype
+
Wtrigraphs
C ObjC C++ ObjC++
Warn if trigraphs are encountered that might affect the meaning of the program