summaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-11 12:47:42 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-11 12:47:42 +0000
commitc54151fc6e59d4c8f098f613d9c228d14701dd37 (patch)
treea6924f208de2f2c4ca7c84c3605e16b1d484b223 /gcc/c-common.c
parent5fd824edc318aa20d7b1041fffbbafc8361f640b (diff)
downloadgcc-c54151fc6e59d4c8f098f613d9c228d14701dd37.tar.gz
PR C++/689
PR C++/9257 * c-opts.c (c_common_decode_option): Don't set warn_ctor_dtor_privacy wen -Wall. * c-common.c (warn_ctor_dtor_privacy): Don't turn on by default. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66684 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index aa34d53afcb..c3fcf42e8d1 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -626,7 +626,7 @@ int warn_implicit = 1;
/* Nonzero means warn when all ctors or dtors are private, and the class
has no friends. */
-int warn_ctor_dtor_privacy = 1;
+int warn_ctor_dtor_privacy = 0;
/* Nonzero means warn in function declared in derived class has the
same name as a virtual in the base class, but fails to match the