mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-11 10:40:56 -04:00
GCC 11 produced the following warnings:
sha2.c:888:26: error: argument 1 of type ‘uint8_t[]’ {aka ‘unsigned char[]’} with mismatched bound [-Werror=array-parameter=]
888 | isc_sha224_final(uint8_t digest[], isc_sha224_t *context) {
| ~~~~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:132:24: note: previously declared as ‘uint8_t[28]’ {aka ‘unsigned char[28]’}
132 | void isc_sha224_final (uint8_t[ISC_SHA224_DIGESTLENGTH], isc_sha224_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1151:26: error: argument 1 of type ‘uint8_t[]’ {aka ‘unsigned char[]’} with mismatched bound [-Werror=array-parameter=]
1151 | isc_sha256_final(uint8_t digest[], isc_sha256_t *context) {
| ~~~~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:139:24: note: previously declared as ‘uint8_t[32]’ {aka ‘unsigned char[32]’}
139 | void isc_sha256_final (uint8_t[ISC_SHA256_DIGESTLENGTH], isc_sha256_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1514:31: error: argument 1 of type ‘uint8_t[]’ {aka ‘unsigned char[]’} with mismatched bound [-Werror=array-parameter=]
1514 | void isc_sha512_final(uint8_t digest[], isc_sha512_t *context) {
| ~~~~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:153:24: note: previously declared as ‘uint8_t[64]’ {aka ‘unsigned char[64]’}
153 | void isc_sha512_final (uint8_t[ISC_SHA512_DIGESTLENGTH], isc_sha512_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1567:26: error: argument 1 of type ‘uint8_t[]’ {aka ‘unsigned char[]’} with mismatched bound [-Werror=array-parameter=]
1567 | isc_sha384_final(uint8_t digest[], isc_sha384_t *context) {
| ~~~~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:146:24: note: previously declared as ‘uint8_t[48]’ {aka ‘unsigned char[48]’}
146 | void isc_sha384_final (uint8_t[ISC_SHA384_DIGESTLENGTH], isc_sha384_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1604:44: error: argument 2 of type ‘char[]’ with mismatched bound [-Werror=array-parameter=]
1604 | isc_sha224_end(isc_sha224_t *context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:133:39: note: previously declared as ‘char[57]’
133 | char *isc_sha224_end (isc_sha224_t *, char[ISC_SHA224_DIGESTSTRINGLENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1645:44: error: argument 2 of type ‘char[]’ with mismatched bound [-Werror=array-parameter=]
1645 | isc_sha256_end(isc_sha256_t *context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:140:39: note: previously declared as ‘char[65]’
140 | char *isc_sha256_end (isc_sha256_t *, char[ISC_SHA256_DIGESTSTRINGLENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1686:44: error: argument 2 of type ‘char[]’ with mismatched bound [-Werror=array-parameter=]
1686 | isc_sha512_end(isc_sha512_t *context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:154:39: note: previously declared as ‘char[129]’
154 | char *isc_sha512_end (isc_sha512_t *, char[ISC_SHA512_DIGESTSTRINGLENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1727:44: error: argument 2 of type ‘char[]’ with mismatched bound [-Werror=array-parameter=]
1727 | isc_sha384_end(isc_sha384_t *context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:58:
./include/isc/sha2.h:147:39: note: previously declared as ‘char[97]’
147 | char *isc_sha384_end (isc_sha384_t *, char[ISC_SHA384_DIGESTSTRINGLENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
|
||
|---|---|---|
| .. | ||
| alpha | ||
| ia64 | ||
| include | ||
| mips | ||
| nls | ||
| noatomic | ||
| nothreads | ||
| powerpc | ||
| pthreads | ||
| sparc64 | ||
| tests | ||
| unix | ||
| win32 | ||
| x86_32 | ||
| x86_64 | ||
| .gitignore | ||
| aes.c | ||
| api | ||
| app_api.c | ||
| assertions.c | ||
| backtrace-emptytbl.c | ||
| backtrace.c | ||
| base32.c | ||
| base64.c | ||
| bind9.c | ||
| buffer.c | ||
| bufferlist.c | ||
| chacha_private.h | ||
| commandline.c | ||
| counter.c | ||
| crc64.c | ||
| entropy.c | ||
| error.c | ||
| event.c | ||
| fsaccess.c | ||
| hash.c | ||
| heap.c | ||
| hex.c | ||
| hmacmd5.c | ||
| hmacsha.c | ||
| ht.c | ||
| httpd.c | ||
| inet_aton.c | ||
| inet_ntop.c | ||
| inet_pton.c | ||
| iterated_hash.c | ||
| Kyuafile | ||
| lex.c | ||
| lfsr.c | ||
| lib.c | ||
| log.c | ||
| Makefile.in | ||
| md5.c | ||
| mem.c | ||
| mutexblock.c | ||
| netaddr.c | ||
| netscope.c | ||
| ondestroy.c | ||
| parseint.c | ||
| pk11.c | ||
| pk11_result.c | ||
| pool.c | ||
| portset.c | ||
| print.c | ||
| quota.c | ||
| radix.c | ||
| random.c | ||
| ratelimiter.c | ||
| refcount.c | ||
| regex.c | ||
| region.c | ||
| result.c | ||
| rwlock.c | ||
| safe.c | ||
| serial.c | ||
| sha1.c | ||
| sha2.c | ||
| siphash.c | ||
| sockaddr.c | ||
| socket_api.c | ||
| stats.c | ||
| string.c | ||
| strtoul.c | ||
| symtab.c | ||
| task.c | ||
| task_p.h | ||
| taskpool.c | ||
| timer.c | ||
| timer_p.h | ||
| tm.c | ||
| utf8.c | ||
| version.c | ||