[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit bef461ef1fac2fbcca5768b2f351f7eeec496759
Author: Fernando Fernandez Mancera <ffernandezmancera@xxxxxxxxx>
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@xxxxxxxxx>
---
 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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits