aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/c-family/c.opt
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/c-family/c.opt')
-rw-r--r--gcc-4.9/gcc/c-family/c.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/c-family/c.opt b/gcc-4.9/gcc/c-family/c.opt
index 2abf66cb7..9e0a9a410 100644
--- a/gcc-4.9/gcc/c-family/c.opt
+++ b/gcc-4.9/gcc/c-family/c.opt
@@ -331,6 +331,10 @@ Wconversion-null
C++ ObjC++ Var(warn_conversion_null) Init(1) Warning
Warn for converting NULL from/to a non-pointer type
+Wself-assign-non-pod
+C++ ObjC++ Var(warn_self_assign_non_pod) Init(0) Warning
+Warn when a variable of a non-POD type is assigned to itself
+
Wctor-dtor-privacy
C++ ObjC++ Var(warn_ctor_dtor_privacy) Warning
Warn when all constructors and destructors are private