Actions
Bug #14347
closeded: mismatched bound
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
Build error with gcc 11:
ed.c:3078:28: error: argument 2 of type 'char[21]' with mismatched bound [-Werror=array-parameter=] 3078 | stdtab(char option[], char tabvect[NTABS]) | ~~~~~^~~~~~~~~~~~~~ ed.c:286:32: note: previously declared as 'char *' 286 | static int stdtab(char *, char *); | ^~~~~~ cc1: all warnings being treated as errors
This is new class of errors.
Testing done: wsdiff is only reporting differences in ed.c.
Updated by Electric Monk over 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit c7ebb3fa8bd1474c486063f5c422f61578a4a968
commit c7ebb3fa8bd1474c486063f5c422f61578a4a968 Author: Toomas Soome <tsoome@me.com> Date: 2022-01-06T20:28:50.000Z 14347 ed: mismatched bound Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
Actions