ed: mismatched bound
cmd - userland programs
Build error with gcc 11:
ed.c:3078:28: error: argument 2 of type 'char' 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 7 months ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit c7ebb3fa8bd1474c486063f5c422f61578a4a968 Author: Toomas Soome <firstname.lastname@example.org> Date: 2022-01-06T20:28:50.000Z 14347 ed: mismatched bound Reviewed by: C Fraire <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>