On 1/24/22 23:36, Marek Polacek via Gcc-patches wrote:
|@@ -7820,6 +7820,10 @@ bidi contexts. @option{-Wbidi-chars=none} turns the warning off. @option{-Wbidi-chars=any} warns about any use of bidirectional control characters. +By default, this warning does not warn about UCNs. It is, however, possible +to turn on such checking by using @option{-Wbidi-chars=unpaired,ucn} or +@option{-Wbidi-chars=any,ucn}.|
Hello. Can you please extend the documentation entry and explain what 'ucn' actually means? ''' There are three levels of warning supported by GCC@. The default is @option{-Wbidi-chars=unpaired}, which warns about improperly terminated bidi contexts. @option{-Wbidi-chars=none} turns the warning off. @option{-Wbidi-chars=any} warns about any use of bidirectional control characters. ''' Right now we have 4 levels and 'ucn' is not defined the paragraph. Thanks, Martin