[tor-commits] [tor/master] Switch -Wnormalized=id to -Wnormalized=nfkc

nickm at torproject.org nickm at torproject.org
Thu Nov 30 01:31:20 UTC 2017


commit bef461ef1fac2fbcca5768b2f351f7eeec496759
Author: Fernando Fernandez Mancera <ffernandezmancera at gmail.com>
Date:   Wed Nov 29 17:04:41 2017 +0100

    Switch -Wnormalized=id to -Wnormalized=nfkc
    
    Modified -Wnormalized flag to nfkc option in configure.ac to avoid source code
    identifier confusion.
    
    Fixes #24467
    
    Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera at gmail.com>
---
 changes/ticket24467 | 3 +++
 configure.ac        | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/changes/ticket24467 b/changes/ticket24467
new file mode 100644
index 000000000..1b1c223f5
--- /dev/null
+++ b/changes/ticket24467
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+    - Switch -Wnormalized=id to -Wnormalized=nfkc in configure.ac to avoid
+      source code identifier confusion. Closes ticket 24467.
diff --git a/configure.ac b/configure.ac
index fd098b48d..0b3e1dda2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2017,7 +2017,7 @@ if test "x$enable_gcc_warnings_advisory" != "xno"; then
      -Wnon-literal-null-conversion
      -Wnon-pod-varargs
      -Wnonportable-cfstrings
-     -Wnormalized=id
+     -Wnormalized=nfkc
      -Wnull-arithmetic
      -Wnull-character
      -Wnull-conversion



More information about the tor-commits mailing list