nrappkit: argument 1 of type ‘char[128]’ with mismatched bound [-Werror=array-parameter=]
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Tracking
(firefox86 fixed)
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
Details
Attachments
(1 file)
0:02.05 In file included from Unified_c_nrappkit0.c:29:
0:02.05 /root/firefox-gcc-last/dom/media/webrtc/transport/third_party/nrappkit/src/registry/registry_local.c:177:31: error: argument 1 of type ‘char[128]’ with mismatched bound [-Werror=array-parameter=]
0:02.05 177 | nr_reg_local_iter(NR_registry prefix, int (*action)(void *ptr, r_assoc_iterator *iter, char *prefix, char *name, nr_registry_node *node), void *ptr)
0:02.05 | ^
0:02.05 In file included from Unified_c_nrappkit0.c:29:
0:02.05 /root/firefox-gcc-last/dom/media/webrtc/transport/third_party/nrappkit/src/registry/registry_local.c:168:36: note: previously declared as ‘char *’
0:02.05 168 | static int nr_reg_local_iter(char *prefix, int (*action)(void *ptr, r_assoc_iterator *iter, char *prefix, char *name, nr_registry_node *node), void *ptr);
0:02.05 | ^
Assignee | ||
Comment 1•3 years ago
|
||
I am aware they are third party code. pushing to keep a trace
Updated•3 years ago
|
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c852914af01f Fix some array-parameter errors found by gcc 11 r=necko-reviewers,dragana
Comment 3•3 years ago
|
||
bugherder |
Updated•2 years ago
|
Description
•