aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffernandezmancera@gmail.com>2017-11-29 17:04:41 +0100
committerNick Mathewson <nickm@torproject.org>2017-11-29 20:29:55 -0500
commitbef461ef1fac2fbcca5768b2f351f7eeec496759 (patch)
tree6d5a02baba51d77772e15d003151b84ac684ae77
parent27f017639fa87eb3f235e6d8434f0b7776a38492 (diff)
downloadtor-bef461ef1fac2fbcca5768b2f351f7eeec496759.tar.gz
tor-bef461ef1fac2fbcca5768b2f351f7eeec496759.zip
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@gmail.com>
-rw-r--r--changes/ticket244673
-rw-r--r--configure.ac2
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/ticket24467 b/changes/ticket24467
new file mode 100644
index 0000000000..1b1c223f5f
--- /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 fd098b48de..0b3e1dda26 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