mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-25 02:42:33 -05:00
The clang 12 has a new warning that warns when using multi-line strings
in the string arrays, f.e.:
{ "aa",
"b"
"b",
"cc" }
would generate warning like this:
private_test.c:162:7: error: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Werror,-Wstring-concatenation]
"33333/RSASHA1" };
^
private_test.c:161:7: note: place parentheses around the string literal to silence warning
"Done removing signatures for key "
^
private_test.c:197:7: error: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Werror,-Wstring-concatenation]
"NSEC chain",
^
private_test.c:196:7: note: place parentheses around the string literal to silence warning
"Removing NSEC3 chain 1 0 30 DEAF / creating "
^
2 errors generated.
|
||
|---|---|---|
| .. | ||
| testdata | ||
| testkeys | ||
| .gitignore | ||
| acl_test.c | ||
| db_test.c | ||
| dbdiff_test.c | ||
| dbiterator_test.c | ||
| dbversion_test.c | ||
| dh_test.c | ||
| dispatch_test.c | ||
| dnstap_test.c | ||
| dnstest.c | ||
| dnstest.h | ||
| dst_test.c | ||
| geoip_test.c | ||
| Kdh.+002+18602.key | ||
| keytable_test.c | ||
| Krsa.+005+29235.key | ||
| Makefile.am | ||
| master_test.c | ||
| mkraw.pl | ||
| name_test.c | ||
| nsec3_test.c | ||
| peer_test.c | ||
| private_test.c | ||
| rbt_serialize_test.c | ||
| rbt_test.c | ||
| rdata_test.c | ||
| rdataset_test.c | ||
| rdatasetstats_test.c | ||
| resolver_test.c | ||
| result_test.c | ||
| rsa_test.c | ||
| sigs_test.c | ||
| time_test.c | ||
| tsig_test.c | ||
| update_test.c | ||
| zonemgr_test.c | ||
| zt_test.c | ||