summaryrefslogtreecommitdiff
path: root/gcc/c-family/c.opt
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-family/c.opt')
-rw-r--r--gcc/c-family/c.opt6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index f785b606155..d8c944d7e13 100644
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -557,6 +557,10 @@ Wparentheses
C ObjC C++ ObjC++ Var(warn_parentheses) Warning
Warn about possibly missing parentheses
+Wpedantic
+C ObjC C++ ObjC++ Warning
+; Documented in common.opt
+
Wpmf-conversions
C++ ObjC++ Var(warn_pmf2ptr) Init(1) Warning
Warn when converting the type of pointers to member functions
@@ -1184,7 +1188,7 @@ C ObjC C++ ObjC++ Joined Separate
; Documented in common.opt
pedantic
-C ObjC C++ ObjC++
+C ObjC C++ ObjC++ Alias(Wpedantic)
; Documented in common.opt
pedantic-errors