summaryrefslogtreecommitdiffstats
path: root/win/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-08 15:31:15 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-08 15:31:15 (GMT)
commit56dbbded838fc6f8e95af96bbbc20519e8a98089 (patch)
treee3fd01c37ebfc874ab2b82453562b3bdd61f274a /win/configure
parentf5e6fef4338a536102ec83ccbbed76552033e0d8 (diff)
downloadtcl-56dbbded838fc6f8e95af96bbbc20519e8a98089.zip
tcl-56dbbded838fc6f8e95af96bbbc20519e8a98089.tar.gz
tcl-56dbbded838fc6f8e95af96bbbc20519e8a98089.tar.bz2
Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
Diffstat (limited to 'win/configure')
-rwxr-xr-xwin/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/configure b/win/configure
index 89bec9f..8830ea8 100755
--- a/win/configure
+++ b/win/configure
@@ -4207,7 +4207,7 @@ $as_echo "using shared flags" >&6; }
CFLAGS_DEBUG=-g
CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
- CFLAGS_WARNING="-Wall -Wextra -Wshadow -Wundef -Wwrite-strings -Wpointer-arith"
+ CFLAGS_WARNING="-Wall -Wextra -Wshadow -Wundef -Wwrite-strings -Wpointer-arith -finput-charset=UTF-8"
LDFLAGS_DEBUG=
LDFLAGS_OPTIMIZE=
@@ -4216,7 +4216,7 @@ $as_echo "using shared flags" >&6; }
CFLAGS_WARNING="${CFLAGS_WARNING} -Wno-format"
;;
*)
- CFLAGS_WARNING="${CFLAGS_WARNING} -Wc++-compat -Wdeclaration-after-statement"
+ CFLAGS_WARNING="${CFLAGS_WARNING} -Wc++-compat -fextended-identifiers -Wdeclaration-after-statement"
;;
esac