From: David Malcolm Date: Fri, 31 Mar 2017 14:24:27 +0000 (+0000) Subject: Fix description of Wendif-labels (PR documentation/78732) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6a7a9d51c41b7795604edf48865f941c7db7cc8;p=gcc.git Fix description of Wendif-labels (PR documentation/78732) gcc/c-family/ChangeLog: PR documentation/78732 * c.opt (Wendif-labels): Fix description to refer to #else rather than #elif. From-SVN: r246616 --- diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index a129f5def77..0f0bd49714a 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2017-03-31 David Malcolm + + PR documentation/78732 + * c.opt (Wendif-labels): Fix description to refer to + #else rather than #elif. + 2017-03-31 Jakub Jelinek PR libstdc++/80251 diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 78fea61ef2a..13b930d75d4 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -486,7 +486,7 @@ Warn about an empty body in an if or else statement. Wendif-labels C ObjC C++ ObjC++ CPP(warn_endif_labels) CppReason(CPP_W_ENDIF_LABELS) Var(cpp_warn_endif_labels) Init(1) Warning LangEnabledBy(C ObjC C++ ObjC++,Wpedantic) -Warn about stray tokens after #elif and #endif. +Warn about stray tokens after #else and #endif. Wenum-compare C ObjC C++ ObjC++ Var(warn_enum_compare) Init(-1) Warning LangEnabledBy(C ObjC,Wall || Wc++-compat)