Skip to content

Commit 246fb48

Browse files
committed
Force 'LC_ALL=C.UTF-8' for all steps of '.github/workflows/ccpp.yml:jobs.build-and-check'
That's what I use in my local development enviroment, and I suppose I'll be the main one touching this file semi-regularly in context of <#247> "Rebasing against GCC".
1 parent 202e61b commit 246fb48

File tree

2 files changed

+55
-55
lines changed

2 files changed

+55
-55
lines changed

.github/bors_log_expected_warnings

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
1-
../../../../libffi/src/x86/ffi.c:612:1: warning: label 'out' defined but not used [-Wunused-label]
2-
../../../../libssp/ssp.c:172:11: warning: array subscript 0 is outside array bounds of 'volatile int[0]' [-Warray-bounds]
1+
../../../../libffi/src/x86/ffi.c:612:1: warning: label out defined but not used [-Wunused-label]
2+
../../../../libssp/ssp.c:172:11: warning: array subscript 0 is outside array bounds of volatile int[0] [-Warray-bounds]
33
../../../libcpp/expr.cc:808:18: warning: format not a string literal and no format arguments [-Wformat-security]
44
../../../libcpp/expr.cc:811:39: warning: format not a string literal and no format arguments [-Wformat-security]
55
../../../libcpp/expr.cc:821:34: warning: format not a string literal and no format arguments [-Wformat-security]
66
../../../libcpp/macro.cc:186:23: warning: format not a string literal and no format arguments [-Wformat-security]
77
../../../libcpp/macro.cc:215:24: warning: format not a string literal and no format arguments [-Wformat-security]
88
../../../libcpp/macro.cc:3701:58: warning: format not a string literal and no format arguments [-Wformat-security]
99
../../../libcpp/macro.cc:3716:58: warning: format not a string literal and no format arguments [-Wformat-security]
10-
../../../libffi/src/java_raw_api.c:317:3: warning: 'ffi_java_raw_to_ptrarray' is deprecated [-Wdeprecated-declarations]
11-
../../../libffi/src/java_raw_api.c:328:3: warning: 'ffi_java_raw_size' is deprecated [-Wdeprecated-declarations]
12-
../../../libffi/src/java_raw_api.c:331:3: warning: 'ffi_java_ptrarray_to_raw' is deprecated [-Wdeprecated-declarations]
13-
../../../libffi/src/java_raw_api.c:369:3: warning: 'ffi_prep_java_raw_closure_loc' is deprecated [-Wdeprecated-declarations]
14-
../../../libffi/src/x86/ffi64.c:783:1: warning: label 'out' defined but not used [-Wunused-label]
15-
../../../libffi/src/x86/ffiw64.c:250:1: warning: label 'out' defined but not used [-Wunused-label]
16-
../../../libssp/ssp.c:172:11: warning: array subscript 0 is outside array bounds of 'volatile int[0]' [-Warray-bounds]
17-
../../c++tools/server.cc:486:11: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
18-
../../c++tools/server.cc:616:10: warning: ignoring return value of 'int pipe(int*)', declared with attribute warn_unused_result [-Wunused-result]
19-
../../gcc/../libgcc/libgcov-util.c:465:9: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result]
10+
../../../libffi/src/java_raw_api.c:317:3: warning: ffi_java_raw_to_ptrarray is deprecated [-Wdeprecated-declarations]
11+
../../../libffi/src/java_raw_api.c:328:3: warning: ffi_java_raw_size is deprecated [-Wdeprecated-declarations]
12+
../../../libffi/src/java_raw_api.c:331:3: warning: ffi_java_ptrarray_to_raw is deprecated [-Wdeprecated-declarations]
13+
../../../libffi/src/java_raw_api.c:369:3: warning: ffi_prep_java_raw_closure_loc is deprecated [-Wdeprecated-declarations]
14+
../../../libffi/src/x86/ffi64.c:783:1: warning: label out defined but not used [-Wunused-label]
15+
../../../libffi/src/x86/ffiw64.c:250:1: warning: label out defined but not used [-Wunused-label]
16+
../../../libssp/ssp.c:172:11: warning: array subscript 0 is outside array bounds of volatile int[0] [-Warray-bounds]
17+
../../c++tools/server.cc:486:11: warning: ignoring return value of ssize_t write(int, const void*, size_t), declared with attribute warn_unused_result [-Wunused-result]
18+
../../c++tools/server.cc:616:10: warning: ignoring return value of int pipe(int*), declared with attribute warn_unused_result [-Wunused-result]
19+
../../gcc/../libgcc/libgcov-util.c:465:9: warning: ignoring return value of int chdir(const char*), declared with attribute warn_unused_result [-Wunused-result]
2020
../../gcc/analyzer/engine.cc:1521:3: warning: too many arguments for format [-Wformat-extra-args]
21-
../../gcc/analyzer/engine.cc:1521:60: warning: unknown conversion type character '@' in format [-Wformat=]
21+
../../gcc/analyzer/engine.cc:1521:60: warning: unknown conversion type character ‘@’ in format [-Wformat=]
2222
../../gcc/analyzer/program-state.cc:1252:20: warning: format not a string literal and no format arguments [-Wformat-security]
2323
../../gcc/analyzer/sm-file.cc:181:34: warning: too many arguments for format [-Wformat-extra-args]
24-
../../gcc/analyzer/sm-file.cc:181:70: warning: unknown conversion type character '@' in format [-Wformat=]
24+
../../gcc/analyzer/sm-file.cc:181:70: warning: unknown conversion type character ‘@’ in format [-Wformat=]
2525
../../gcc/analyzer/sm-file.cc:231:31: warning: too many arguments for format [-Wformat-extra-args]
26-
../../gcc/analyzer/sm-file.cc:231:63: warning: unknown conversion type character '@' in format [-Wformat=]
26+
../../gcc/analyzer/sm-file.cc:231:63: warning: unknown conversion type character ‘@’ in format [-Wformat=]
2727
../../gcc/analyzer/sm-file.cc:234:31: warning: too many arguments for format [-Wformat-extra-args]
28-
../../gcc/analyzer/sm-file.cc:234:59: warning: unknown conversion type character '@' in format [-Wformat=]
28+
../../gcc/analyzer/sm-file.cc:234:59: warning: unknown conversion type character ‘@’ in format [-Wformat=]
2929
../../gcc/analyzer/sm-malloc.cc:1023:36: warning: too many arguments for format [-Wformat-extra-args]
30-
../../gcc/analyzer/sm-malloc.cc:1023:61: warning: unknown conversion type character '@' in format [-Wformat=]
30+
../../gcc/analyzer/sm-malloc.cc:1023:61: warning: unknown conversion type character ‘@’ in format [-Wformat=]
3131
../../gcc/analyzer/sm-malloc.cc:1193:31: warning: too many arguments for format [-Wformat-extra-args]
32-
../../gcc/analyzer/sm-malloc.cc:1193:67: warning: unknown conversion type character '@' in format [-Wformat=]
32+
../../gcc/analyzer/sm-malloc.cc:1193:67: warning: unknown conversion type character ‘@’ in format [-Wformat=]
3333
../../gcc/analyzer/sm-malloc.cc:1196:31: warning: too many arguments for format [-Wformat-extra-args]
34-
../../gcc/analyzer/sm-malloc.cc:1196:69: warning: unknown conversion type character '@' in format [-Wformat=]
34+
../../gcc/analyzer/sm-malloc.cc:1196:69: warning: unknown conversion type character ‘@’ in format [-Wformat=]
3535
../../gcc/analyzer/sm-malloc.cc:1199:31: warning: too many arguments for format [-Wformat-extra-args]
36-
../../gcc/analyzer/sm-malloc.cc:1200:28: warning: unknown conversion type character '@' in format [-Wformat=]
36+
../../gcc/analyzer/sm-malloc.cc:1200:28: warning: unknown conversion type character ‘@’ in format [-Wformat=]
3737
../../gcc/analyzer/sm-malloc.cc:1269:31: warning: too many arguments for format [-Wformat-extra-args]
38-
../../gcc/analyzer/sm-malloc.cc:1269:66: warning: unknown conversion type character '@' in format [-Wformat=]
38+
../../gcc/analyzer/sm-malloc.cc:1269:66: warning: unknown conversion type character ‘@’ in format [-Wformat=]
3939
../../gcc/analyzer/sm-malloc.cc:1277:31: warning: too many arguments for format [-Wformat-extra-args]
40-
../../gcc/analyzer/sm-malloc.cc:1277:66: warning: unknown conversion type character '@' in format [-Wformat=]
40+
../../gcc/analyzer/sm-malloc.cc:1277:66: warning: unknown conversion type character ‘@’ in format [-Wformat=]
4141
../../gcc/analyzer/sm-malloc.cc:795:7: warning: too many arguments for format [-Wformat-extra-args]
42-
../../gcc/analyzer/sm-malloc.cc:796:24: warning: unknown conversion type character '@' in format [-Wformat=]
43-
../../gcc/analyzer/sm-malloc.cc:796:54: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'diagnostic_event_id_t*' [-Wformat=]
42+
../../gcc/analyzer/sm-malloc.cc:796:24: warning: unknown conversion type character ‘@’ in format [-Wformat=]
43+
../../gcc/analyzer/sm-malloc.cc:796:54: warning: format ‘%s’ expects argument of type char*, but argument 4 has type diagnostic_event_id_t* [-Wformat=]
4444
../../gcc/analyzer/sm-malloc.cc:801:7: warning: too many arguments for format [-Wformat-extra-args]
45-
../../gcc/analyzer/sm-malloc.cc:802:23: warning: unknown conversion type character '@' in format [-Wformat=]
45+
../../gcc/analyzer/sm-malloc.cc:802:23: warning: unknown conversion type character ‘@’ in format [-Wformat=]
4646
../../gcc/analyzer/sm-malloc.cc:859:34: warning: too many arguments for format [-Wformat-extra-args]
47-
../../gcc/analyzer/sm-malloc.cc:859:70: warning: unknown conversion type character '@' in format [-Wformat=]
47+
../../gcc/analyzer/sm-malloc.cc:859:70: warning: unknown conversion type character ‘@’ in format [-Wformat=]
4848
../../gcc/analyzer/sm-malloc.cc:930:34: warning: too many arguments for format [-Wformat-extra-args]
49-
../../gcc/analyzer/sm-malloc.cc:930:76: warning: unknown conversion type character '@' in format [-Wformat=]
49+
../../gcc/analyzer/sm-malloc.cc:930:76: warning: unknown conversion type character ‘@’ in format [-Wformat=]
5050
../../gcc/analyzer/sm-sensitive.cc:138:34: warning: too many arguments for format [-Wformat-extra-args]
51-
../../gcc/analyzer/sm-sensitive.cc:139:22: warning: unknown conversion type character '@' in format [-Wformat=]
51+
../../gcc/analyzer/sm-sensitive.cc:139:22: warning: unknown conversion type character ‘@’ in format [-Wformat=]
5252
../../gcc/c-family/c-common.cc:6580:30: warning: format not a string literal and no format arguments [-Wformat-security]
5353
../../gcc/c-family/c-common.cc:6584:33: warning: format not a string literal and no format arguments [-Wformat-security]
5454
../../gcc/c/c-convert.cc:84:31: warning: format not a string literal and no format arguments [-Wformat-security]
@@ -59,44 +59,44 @@
5959
../../gcc/collect-utils.cc:237:37: warning: format not a string literal and no format arguments [-Wformat-security]
6060
../../gcc/collect2.cc:2397:37: warning: format not a string literal and no format arguments [-Wformat-security]
6161
../../gcc/config/i386/i386.cc:21446:32: warning: too many arguments for format [-Wformat-extra-args]
62-
../../gcc/config/i386/i386.cc:21446:32: warning: unknown conversion type character '{' in format [-Wformat=]
63-
../../gcc/config/i386/i386.cc:21446:32: warning: unknown conversion type character '}' in format [-Wformat=]
62+
../../gcc/config/i386/i386.cc:21446:32: warning: unknown conversion type character ‘{’ in format [-Wformat=]
63+
../../gcc/config/i386/i386.cc:21446:32: warning: unknown conversion type character ‘}’ in format [-Wformat=]
6464
../../gcc/config/i386/i386.cc:2535:8: warning: too many arguments for format [-Wformat-extra-args]
65-
../../gcc/config/i386/i386.cc:2535:8: warning: unknown conversion type character '{' in format [-Wformat=]
66-
../../gcc/config/i386/i386.cc:2535:8: warning: unknown conversion type character '}' in format [-Wformat=]
65+
../../gcc/config/i386/i386.cc:2535:8: warning: unknown conversion type character ‘{’ in format [-Wformat=]
66+
../../gcc/config/i386/i386.cc:2535:8: warning: unknown conversion type character ‘}’ in format [-Wformat=]
6767
../../gcc/diagnostic.cc:2021:52: warning: format not a string literal and no format arguments [-Wformat-security]
6868
../../gcc/fold-const.cc:305:42: warning: format not a string literal and no format arguments [-Wformat-security]
69-
../../gcc/gcc.cc:10560:12: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
70-
../../gcc/gcc.cc:7776:9: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
71-
../../gcc/gcc.cc:7779:13: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
72-
../../gcc/gcc.cc:7780:13: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
73-
../../gcc/gcc.cc:7782:9: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
74-
../../gcc/genhooks.cc:112:17: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
75-
../../gcc/genhooks.cc:121:14: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
76-
../../gcc/genhooks.cc:174:14: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
77-
../../gcc/genhooks.cc:180:14: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
69+
../../gcc/gcc.cc:10560:12: warning: ignoring return value of ssize_t read(int, void*, size_t), declared with attribute warn_unused_result [-Wunused-result]
70+
../../gcc/gcc.cc:7776:9: warning: ignoring return value of ssize_t write(int, const void*, size_t), declared with attribute warn_unused_result [-Wunused-result]
71+
../../gcc/gcc.cc:7779:13: warning: ignoring return value of ssize_t write(int, const void*, size_t), declared with attribute warn_unused_result [-Wunused-result]
72+
../../gcc/gcc.cc:7780:13: warning: ignoring return value of ssize_t write(int, const void*, size_t), declared with attribute warn_unused_result [-Wunused-result]
73+
../../gcc/gcc.cc:7782:9: warning: ignoring return value of ssize_t write(int, const void*, size_t), declared with attribute warn_unused_result [-Wunused-result]
74+
../../gcc/genhooks.cc:112:17: warning: ignoring return value of int fscanf(FILE*, const char*, ...), declared with attribute warn_unused_result [-Wunused-result]
75+
../../gcc/genhooks.cc:121:14: warning: ignoring return value of int fscanf(FILE*, const char*, ...), declared with attribute warn_unused_result [-Wunused-result]
76+
../../gcc/genhooks.cc:174:14: warning: ignoring return value of int fscanf(FILE*, const char*, ...), declared with attribute warn_unused_result [-Wunused-result]
77+
../../gcc/genhooks.cc:180:14: warning: ignoring return value of int fscanf(FILE*, const char*, ...), declared with attribute warn_unused_result [-Wunused-result]
7878
../../gcc/gimple-range-gori.cc:411:22: warning: format not a string literal and no format arguments [-Wformat-security]
7979
../../gcc/gimple-ssa-warn-access.cc:3954:15: warning: too many arguments for format [-Wformat-extra-args]
8080
../../gcc/gimple-ssa-warn-access.cc:3962:11: warning: too many arguments for format [-Wformat-extra-args]
8181
../../gcc/ipa-devirt.cc:951:47: warning: format not a string literal and no format arguments [-Wformat-security]
82-
../../gcc/lto-wrapper.cc:1131:8: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
82+
../../gcc/lto-wrapper.cc:1131:8: warning: ignoring return value of ssize_t read(int, void*, size_t), declared with attribute warn_unused_result [-Wunused-result]
8383
../../gcc/lto-wrapper.cc:1376:52: warning: format not a string literal and no format arguments [-Wformat-security]
8484
../../gcc/lto-wrapper.cc:1957:35: warning: format not a string literal and no format arguments [-Wformat-security]
85-
../../gcc/lto/lto-common.cc:2072:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
86-
../../gcc/lto/lto-common.cc:2074:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
87-
../../gcc/lto/lto-common.cc:2094:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
88-
../../gcc/omp-low.cc:10527:19: warning: 'T' conversion used within a quoted sequence [-Wformat=]
89-
../../gcc/omp-offload.cc:2241:22: warning: 'T' conversion used within a quoted sequence [-Wformat=]
90-
../../gcc/omp-offload.cc:2279:22: warning: 'T' conversion used within a quoted sequence [-Wformat=]
85+
../../gcc/lto/lto-common.cc:2072:10: warning: ignoring return value of int fscanf(FILE*, const char*, ...), declared with attribute warn_unused_result [-Wunused-result]
86+
../../gcc/lto/lto-common.cc:2074:9: warning: ignoring return value of size_t fread(void*, size_t, size_t, FILE*), declared with attribute warn_unused_result [-Wunused-result]
87+
../../gcc/lto/lto-common.cc:2094:10: warning: ignoring return value of int fscanf(FILE*, const char*, ...), declared with attribute warn_unused_result [-Wunused-result]
88+
../../gcc/omp-low.cc:10527:19: warning: ‘T’ conversion used within a quoted sequence [-Wformat=]
89+
../../gcc/omp-offload.cc:2241:22: warning: ‘T’ conversion used within a quoted sequence [-Wformat=]
90+
../../gcc/omp-offload.cc:2279:22: warning: ‘T’ conversion used within a quoted sequence [-Wformat=]
9191
../../gcc/tree-diagnostic-path.cc:177:21: warning: too many arguments for format [-Wformat-extra-args]
92-
../../gcc/tree-diagnostic-path.cc:177:24: warning: unknown conversion type character '@' in format [-Wformat=]
93-
../../gcc/tree-diagnostic-path.cc:177:28: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'diagnostic_event_id_t*' [-Wformat=]
94-
../../gcc/tree-diagnostic-path.cc:467:12: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'diagnostic_event_id_t*' [-Wformat=]
92+
../../gcc/tree-diagnostic-path.cc:177:24: warning: unknown conversion type character ‘@’ in format [-Wformat=]
93+
../../gcc/tree-diagnostic-path.cc:177:28: warning: format ‘%s’ expects argument of type char*, but argument 3 has type diagnostic_event_id_t* [-Wformat=]
94+
../../gcc/tree-diagnostic-path.cc:467:12: warning: format ‘%s’ expects argument of type char*, but argument 3 has type diagnostic_event_id_t* [-Wformat=]
9595
../../gcc/tree-diagnostic-path.cc:467:7: warning: too many arguments for format [-Wformat-extra-args]
96-
../../gcc/tree-diagnostic-path.cc:467:9: warning: unknown conversion type character '@' in format [-Wformat=]
96+
../../gcc/tree-diagnostic-path.cc:467:9: warning: unknown conversion type character ‘@’ in format [-Wformat=]
9797
../../gcc/tree-diagnostic-path.cc:68:21: warning: too many arguments for format [-Wformat-extra-args]
98-
../../gcc/tree-diagnostic-path.cc:68:23: warning: unknown conversion type character '@' in format [-Wformat=]
99-
../../gcc/tree-diagnostic-path.cc:68:26: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'diagnostic_event_id_t*' [-Wformat=]
98+
../../gcc/tree-diagnostic-path.cc:68:23: warning: unknown conversion type character ‘@’ in format [-Wformat=]
99+
../../gcc/tree-diagnostic-path.cc:68:26: warning: format ‘%s’ expects argument of type char*, but argument 3 has type diagnostic_event_id_t* [-Wformat=]
100100
../../gcc/tree-ssa-sccvn.cc:280:67: warning: format not a string literal and no format arguments [-Wformat-security]
101101
../../libcpp/expr.cc:808:18: warning: format not a string literal and no format arguments [-Wformat-security]
102102
../../libcpp/expr.cc:811:39: warning: format not a string literal and no format arguments [-Wformat-security]

.github/workflows/ccpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
env:
1515
# Force locale, in particular for reproducible results re '.github/bors_log_expected_warnings' (see below).
16-
LC_ALL: C
16+
LC_ALL: C.UTF-8
1717

1818
runs-on: ubuntu-latest
1919

0 commit comments

Comments
 (0)