Skip to content
Snippets Groups Projects
Commit f6a7a9d5 authored by David Malcolm's avatar David Malcolm Committed by David Malcolm
Browse files

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
parent c330f788
No related merge requests found
2017-03-31 David Malcolm <dmalcolm@redhat.com>
PR documentation/78732
* c.opt (Wendif-labels): Fix description to refer to
#else rather than #elif.
2017-03-31 Jakub Jelinek <jakub@redhat.com>
PR libstdc++/80251
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment