diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-08 15:31:15 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-08 15:31:15 (GMT) |
commit | 56dbbded838fc6f8e95af96bbbc20519e8a98089 (patch) | |
tree | e3fd01c37ebfc874ab2b82453562b3bdd61f274a /.github | |
parent | f5e6fef4338a536102ec83ccbbed76552033e0d8 (diff) | |
download | tcl-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 '.github')
-rw-r--r-- | .github/workflows/linux-build.yml | 4 | ||||
-rw-r--r-- | .github/workflows/win-build.yml | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index e6095f9..e7a9849 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -7,10 +7,12 @@ jobs: matrix: cfgopt: - "" + - "CFLAGS=-DTCL_UTF_MAX=4" + - "CFLAGS=-DTCL_NO_DEPRECATED=1" - "--disable-shared" - "--enable-symbols" - "--enable-symbols=mem" - - "CFLAGS=-DTCL_UTF_MAX=4" + - "CC=g++" defaults: run: shell: bash diff --git a/.github/workflows/win-build.yml b/.github/workflows/win-build.yml index 0c0e597..36cdf69 100644 --- a/.github/workflows/win-build.yml +++ b/.github/workflows/win-build.yml @@ -11,6 +11,8 @@ jobs: matrix: cfgopt: - "" + - "OPTS=utfmax" + - "OPTS=nodep" - "OPTS=static,staticpkg,msvcrt" - "OPTS=symbols" - "OPTS=memdbg" @@ -51,9 +53,12 @@ jobs: matrix: cfgopt: - "" + - "CFLAGS=-DTCL_UTF_MAX=4" + - "CFLAGS=-DTCL_NO_DEPRECATED=1" - "--disable-shared" - "--enable-symbols" - "--enable-symbols=mem" + - "CC=g++" # Using powershell means we need to explicitly stop on failure steps: - name: Checkout |