Incorrect Warning on GCC compile about array parameters
Bug #1983549 reported by
Lee Ainsley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-defaults (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Jammy Jellyfish 22.04
Using the standard GCC 11.2
Example:
Compiling file.c...
file.c:169:30: error: argument 1 of type ‘unsigned char[64]’ with mismatched bound [-Werror=
169 | void sc_reduce(unsigned char x[64])
| ~~~~~~~~~~~~~~^~~~~
In file included from file.c:24:
header.h:71:36: note: previously declared as ‘byte *’ {aka ‘unsigned char *’}
71 | void sc_reduce(byte* s);
| ~~~~~~^
cc1: all warnings being treated as errors
Probable cause:
Bug in GCC 11.2 - due for fix in GCC 11.3
https:/
Can GCC 11 be updated in Ubuntu?
description: | updated |
affects: | canonical-identity-provider → gcc-defaults (Ubuntu) |
To post a comment you must log in.