=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/inputmethod/kinput2", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for kinput2-3.1nb5 making all in ./lib... rm -f AdoptedShe.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" AdoptedShe.c AdoptedShe.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | Initialize(req, new, args, num_args) | ^ AdoptedShe.c:35:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | static void Initialize(); | ^ AdoptedShe.c:129:15: warning: passing arguments to 'GetParentInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | GetParentInfo(asw); | ^ AdoptedShe.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | Realize(w, maskp, attr) | ^ AdoptedShe.c:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | static void Realize(); | ^ AdoptedShe.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | SetValues(cur, req, new, args, num_args) | ^ AdoptedShe.c:37:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static Boolean SetValues(); | ^ AdoptedShe.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | GeometryManager(w, reqp, repp) | ^ AdoptedShe.c:38:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | static XtGeometryResult GeometryManager(); | ^ AdoptedShe.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | GetParentInfo(w) | ^ AdoptedShe.c:40:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | static void GetParentInfo(); | ^ AdoptedShe.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: AdoptedShe.c,v 1.6 1991/09/23 04:03:31 ishisone Rel $"; | ^~~~~ 12 warnings generated. rm -f AuxPanel.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" AuxPanel.c AuxPanel.c:168:13: warning: passing arguments to 'GetInvGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | GetInvGC(cpw); | ^ AuxPanel.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | Initialize(req, new, args, num_args) | ^ AuxPanel.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void Initialize(), Destroy(); | ^ AuxPanel.c:179:24: warning: passing arguments to 'freeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | freeDisplaySegments(cpw); | ^ AuxPanel.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | Destroy(w) | ^ AuxPanel.c:80:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void Initialize(), Destroy(); | ^ AuxPanel.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | Realize(w, mask, value) | ^ AuxPanel.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void Realize(); | ^ AuxPanel.c:247:21: warning: passing arguments to 'UpdateAuxDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | UpdateAuxDisplay(cpw); | ^ AuxPanel.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | Redisplay(w, ev, region) | ^ AuxPanel.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Redisplay(); | ^ AuxPanel.c:258:11: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | Layout(cpw, True, True); | ^ AuxPanel.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | Resize(w) | ^ AuxPanel.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void Resize(); | ^ AuxPanel.c:291:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | Layout(new, True, True); | ^ AuxPanel.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | SetValues(cur, req, wid, args, num_args) | ^ AuxPanel.c:84:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static Boolean SetValues(); | ^ AuxPanel.c:322:16: warning: passing arguments to 'ComputeSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | ComputeSize((AuxPanelWidget)w, | ^ AuxPanel.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | QueryGeometry(w, req, ret) | ^ AuxPanel.c:85:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static XtGeometryResult QueryGeometry(); | ^ AuxPanel.c:377:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | Layout(cpw, cpw->core.width == 0, cpw->core.height == 0); | ^ AuxPanel.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | InsertChild(w) | ^ AuxPanel.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void InsertChild(); | ^ AuxPanel.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | GetInvGC(cpw) | ^ AuxPanel.c:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static void GetInvGC(); | ^ AuxPanel.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | ComputeSize(cpw, resizex, resizey, width_inout, height_inout) | ^ AuxPanel.c:89:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | static void ComputeSize(); | ^ AuxPanel.c:451:10: warning: enumeration values 'XtGeometryNo', 'XtGeometryAlmost', and 'XtGeometryDone' not handled in switch [-Wswitch] 451 | switch (re) { | ^~ AuxPanel.c:451:10: note: add missing switch cases 451 | switch (re) { | ^ 452 | case XtGeometryYes: 453 | /* no problem */ 454 | break; 455 | } AuxPanel.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | Layout(cpw, resizex, resizey) | ^ AuxPanel.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static void Layout(); | ^ AuxPanel.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | allocDisplaySegments(cpw, n) | ^ AuxPanel.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | freeDisplaySegments(cpw) | ^ AuxPanel.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static void freeDisplaySegments(); | ^ AuxPanel.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | copyString(from, to) | ^ AuxPanel.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | UpdateAuxDisplay(cpw) | ^ AuxPanel.c:93:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | static void UpdateAuxDisplay(); | ^ AuxPanel.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | APanelStart(w, segments, nseg, curseg, cursorpos) | ^ AuxPanel.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | APanelEnd(w) | ^ AuxPanel.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | APanelChange(w, segments, nseg, curseg, cursorpos) | ^ AuxPanel.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: AuxPanel.c,v 1.23 1994/09/01 06:33:41 ishisone Exp $"; | ^~~~~ 40 warnings generated. rm -f CandPanel.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" CandPanel.c CandPanel.c:148:13: warning: passing arguments to 'GetInvGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | GetInvGC(cpw); | ^ CandPanel.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | Initialize(req, new, args, num_args) | ^ CandPanel.c:66:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static void Initialize(), Destroy(); | ^ CandPanel.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | Destroy(w) | ^ CandPanel.c:66:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static void Initialize(), Destroy(); | ^ CandPanel.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | Realize(w, mask, value) | ^ CandPanel.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void Realize(); | ^ CandPanel.c:233:18: warning: passing arguments to 'ToggleHighlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | ToggleHighlight(cpw, idx); | ^ CandPanel.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | Redisplay(w, ev, region) | ^ CandPanel.c:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | static void Redisplay(); | ^ CandPanel.c:245:11: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | Layout(cpw, False, False); | ^ CandPanel.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | Resize(w) | ^ CandPanel.c:69:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | static void Resize(); | ^ CandPanel.c:285:33: warning: passing arguments to 'MaxWidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | new->cpanel.maxwidth = MaxWidth(new); | ^ CandPanel.c:294:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | Layout(new, True, True); | ^ CandPanel.c:300:17: warning: passing arguments to 'ToggleHighlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | ToggleHighlight(new, old->cpanel.current); | ^ CandPanel.c:301:17: warning: passing arguments to 'ToggleHighlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | ToggleHighlight(new, new->cpanel.current); | ^ CandPanel.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | SetValues(cur, req, wid, args, num_args) | ^ CandPanel.c:70:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static Boolean SetValues(); | ^ CandPanel.c:329:16: warning: passing arguments to 'ComputeSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | ComputeSize((CandidatePanelWidget)w, | ^ CandPanel.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | QueryGeometry(w, req, ret) | ^ CandPanel.c:71:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static XtGeometryResult QueryGeometry(); | ^ CandPanel.c:382:33: warning: passing arguments to 'MaxWidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | cpw->cpanel.maxwidth = MaxWidth(cpw); | ^ CandPanel.c:383:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | Layout(cpw, cpw->core.width == 0, cpw->core.height == 0); | ^ CandPanel.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | InsertChild(w) | ^ CandPanel.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void InsertChild(); | ^ CandPanel.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | GetInvGC(cpw) | ^ CandPanel.c:74:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | static void GetInvGC(); | ^ CandPanel.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | Move(w, ev, args, num_args) | ^ CandPanel.c:49:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static void Move(/* Widget, XEvent*, String*, Cardinal* */); | ^ CandPanel.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | Set(w, ev, args, num_args) | ^ CandPanel.c:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static void Set(/* Widget, XEvent*, String*, Cardinal* */); | ^ CandPanel.c:472:10: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 472 | (XtPointer)cpw->cpanel.current); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CandPanel.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | Notify(w, ev, args, num_args) | ^ CandPanel.c:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static void Notify(/* Widget, XEvent*, String*, Cardinal* */); | ^ CandPanel.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | MaxWidth(cpw) | ^ CandPanel.c:75:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | static int MaxWidth(); | ^ CandPanel.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | ComputeSize(cpw, resizex, resizey, width_inout, height_inout) | ^ CandPanel.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static void ComputeSize(); | ^ CandPanel.c:595:14: warning: enumeration value 'XtGeometryDone' not handled in switch [-Wswitch] 595 | switch (re) { | ^~ CandPanel.c:595:14: note: add missing switch cases 595 | switch (re) { | ^ 596 | case XtGeometryYes: 597 | break; 598 | case XtGeometryNo: 599 | width = cpw->core.width; 600 | height = cpw->core.height; 601 | ComputeSize(cpw, False, False, &width, &height); 602 | break; 603 | case XtGeometryAlmost: 604 | ComputeSize(cpw, False, False, &width, &height); 605 | (void)XtMakeResizeRequest((Widget)cpw, width, height, &width, &height); 606 | } CandPanel.c:580:10: warning: enumeration value 'XtGeometryDone' not handled in switch [-Wswitch] 580 | switch (re) { | ^~ CandPanel.c:580:10: note: add missing switch cases 580 | switch (re) { | ^ CandPanel.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | Layout(cpw, resizex, resizey) | ^ CandPanel.c:77:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | static void Layout(); | ^ CandPanel.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | ToggleHighlight(cpw, idx) | ^ CandPanel.c:78:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static void ToggleHighlight(); | ^ CandPanel.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | CPanelSetList(w, list, nstrings, current, resize) | ^ CandPanel.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | CPanelSetCurrent(w, idx) | ^ CandPanel.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | CPanelMoveCurrent(w, dir) | ^ CandPanel.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: CandPanel.c,v 1.11 1994/04/22 04:26:22 ishisone Rel $"; | ^~~~~ 49 warnings generated. rm -f Canvas.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" Canvas.c Canvas.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | Redisplay(w, event, region) | ^ Canvas.c:34:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | static void Redisplay(); | ^ Canvas.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | Resize(w) | ^ Canvas.c:35:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | static void Resize(); | ^ Canvas.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: Canvas.c,v 1.3 1991/09/23 03:57:20 ishisone Rel $"; | ^~~~~ 5 warnings generated. rm -f CanvasShel.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" CanvasShel.c CanvasShel.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | Redisplay(w, event, region) | ^ CanvasShel.c:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | static void Redisplay(); | ^ CanvasShel.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | Resize(w) | ^ CanvasShel.c:38:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | static void Resize(); | ^ CanvasShel.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | Realize(w, maskp, attr) | ^ CanvasShel.c:37:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static void Realize(); | ^ CanvasShel.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | SetValues(cur, req, new, args, num_args) | ^ CanvasShel.c:39:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | static Boolean SetValues(); | ^ CanvasShel.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: CanvasShel.c,v 1.7 1991/09/23 04:03:55 ishisone Rel $"; | ^~~~~ 9 warnings generated. rm -f ConvCtrl.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" ConvCtrl.c ConvCtrl.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | StringToESM(args, num_args, from, to) | ^ ConvCtrl.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void StringToESM(); | ^ ConvCtrl.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | ClassPartInitialize(cl) | ^ ConvCtrl.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void ClassPartInitialize(); | ^ ConvCtrl.c:289:17: warning: passing arguments to 'WidgetError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | WidgetError(new, "noResourceError", "inputObjectClass", | ^ ConvCtrl.c:291:31: warning: passing arguments to 'ClassIsSubClassOf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | } else if (!ClassIsSubClassOf(ccw->ccontrol.inputobjclass, | ^ ConvCtrl.c:293:17: warning: passing arguments to 'WidgetError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | WidgetError(new, "classError", "inputObjectClass", | ^ ConvCtrl.c:296:25: warning: passing arguments to 'CreateInputObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | (void)CreateInputObject(ccw); | ^ ConvCtrl.c:300:13: warning: passing arguments to 'WidgetError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | WidgetError(new, "classError", "inputObject", | ^ ConvCtrl.c:305:13: warning: passing arguments to 'WidgetError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | WidgetError(new, "noResourceError", "displayObjectClass", | ^ ConvCtrl.c:307:34: warning: passing arguments to 'ClassIsSubClassOf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | } else if (!ClassIsSubClassOf(ccw->ccontrol.displayobjclass, | ^ ConvCtrl.c:309:13: warning: passing arguments to 'WidgetError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | WidgetError(new, "classError", "displayObjectClass", | ^ ConvCtrl.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | Initialize(req, new, args, num_args) | ^ ConvCtrl.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void Initialize(), Destroy(); | ^ ConvCtrl.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | Destroy(w) | ^ ConvCtrl.c:81:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void Initialize(), Destroy(); | ^ ConvCtrl.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | Realize(w, maskp, attr) | ^ ConvCtrl.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Realize(); | ^ ConvCtrl.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | Resize(w) | ^ ConvCtrl.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void Resize(); | ^ ConvCtrl.c:388:19: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | WidgetWarning(wid, "setValuesError", "inputObject", | ^ ConvCtrl.c:393:19: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | WidgetWarning(wid, "setValuesError", "eventSelectionMethod", | ^ ConvCtrl.c:401:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | WidgetWarning(wid, "setValuesError", "clientWindow", | ^ ConvCtrl.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | SetValues(cur, req, wid, args, num_args) | ^ ConvCtrl.c:84:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static Boolean SetValues(); | ^ ConvCtrl.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | ConversionStartup(w, mask, value) | ^ ConvCtrl.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void ConversionStartup(); | ^ ConvCtrl.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | ConversionFinish(w) | ^ ConvCtrl.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void ConversionFinish(); | ^ ConvCtrl.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | ChangeAttributes(w, mask, value) | ^ ConvCtrl.c:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static void ChangeAttributes(); | ^ ConvCtrl.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | ChangeFocus(w, set) | ^ ConvCtrl.c:89:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | static void ChangeFocus(); | ^ ConvCtrl.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | TextChange(w) | ^ ConvCtrl.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static void TextChange(); | ^ ConvCtrl.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | Fix(w, arg) | ^ ConvCtrl.c:91:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | static void Fix(); | ^ ConvCtrl.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | ModeChange(w) | ^ ConvCtrl.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static void ModeChange(); | ^ ConvCtrl.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | SelectionControl(w, controlarg) | ^ ConvCtrl.c:93:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | static void SelectionControl(); | ^ ConvCtrl.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | AuxControl(w, controlarg) | ^ ConvCtrl.c:94:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | static void AuxControl(); | ^ ConvCtrl.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | CControlStartConversion(w, clientwindow, valuemask, value) | ^ ConvCtrl.c:513:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | WidgetWarning(w, "busyError", "CControlStartConversion", | ^ ConvCtrl.c:519:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | WidgetWarning(w, "dataError", "cControlStartConversion", | ^ ConvCtrl.c:525:33: warning: passing arguments to 'SafeGetWindowAttributes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | if (!SafeGetWindowAttributes(XtDisplay(w), clientwindow, | ^ ConvCtrl.c:527:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | WidgetWarning(w, "badWindowError", "clientWindow", | ^ ConvCtrl.c:539:20: warning: passing arguments to 'CheckAttributes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | CheckAttributes(ccw, &valuemask, value); | ^ ConvCtrl.c:549:25: warning: passing arguments to 'InterceptClientKeyEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | InterceptClientKeyEvent(ccw); | ^ ConvCtrl.c:551:21: warning: passing arguments to 'SelectFocusKeyEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | SelectFocusKeyEvent(ccw); | ^ ConvCtrl.c:554:21: warning: passing arguments to 'CheckCoordinates' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | CheckCoordinates(ccw, &valuemask, value, 1); | ^ ConvCtrl.c:556:25: warning: passing arguments to 'GetClientCoordinates' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | GetClientCoordinates(ccw); | ^ ConvCtrl.c:558:22: warning: passing arguments to 'CaptureClientDead' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | CaptureClientDead(ccw); | ^ ConvCtrl.c:576:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | (*class->conversionControl_class.Startup)(w, valuemask, value); | ^ ConvCtrl.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | CControlEndConversion(w) | ^ ConvCtrl.c:588:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | WidgetWarning(w, "busyError", "cControlEndConversion", | ^ ConvCtrl.c:621:23: warning: passing arguments to 'UnselectFocusKeyEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | UnselectFocusKeyEvent(ccw); | ^ ConvCtrl.c:627:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | (*class->conversionControl_class.Finish)(w); | ^ ConvCtrl.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | CControlChangeAttributes(w, valuemask, value) | ^ ConvCtrl.c:643:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | WidgetWarning(w, "busyError", "cControlChangeAttributes", | ^ ConvCtrl.c:648:20: warning: passing arguments to 'CheckAttributes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | CheckAttributes(ccw, &valuemask, value); | ^ ConvCtrl.c:649:21: warning: passing arguments to 'CheckCoordinates' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | CheckCoordinates(ccw, &valuemask, value, 0); | ^ ConvCtrl.c:655:27: warning: passing arguments to 'UnselectFocusKeyEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | UnselectFocusKeyEvent(ccw); | ^ ConvCtrl.c:659:25: warning: passing arguments to 'SelectFocusKeyEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | SelectFocusKeyEvent(ccw); | ^ ConvCtrl.c:663:55: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | (*class->conversionControl_class.ChangeAttributes)(w, valuemask, value); | ^ ConvCtrl.c:667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | CControlChangeFocus(w, set) | ^ ConvCtrl.c:675:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | WidgetWarning(w, "busyError", "cControlChangeFocus", | ^ ConvCtrl.c:680:50: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | (*class->conversionControl_class.ChangeFocus)(w, set); | ^ ConvCtrl.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | SafeGetWindowAttributes(dpy, w, attr) | ^ ConvCtrl.c:109:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | static Boolean SafeGetWindowAttributes(); | ^ ConvCtrl.c:751:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | WidgetWarning((Widget)ccw, "badWindowError", "focusWindow", | ^ ConvCtrl.c:756:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | WidgetWarning((Widget)ccw, "badColorError", "colormap", | ^ ConvCtrl.c:761:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | WidgetWarning((Widget)ccw, "badMatchError", "colormap", | ^ ConvCtrl.c:766:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | WidgetWarning((Widget)ccw, "badPixmapError", "backgroundPixmap", | ^ ConvCtrl.c:771:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | WidgetWarning((Widget)ccw, "badMatchError", "backgroundPixmap", | ^ ConvCtrl.c:776:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | WidgetWarning((Widget)ccw, "badCursorError", "cursor", | ^ ConvCtrl.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | CheckAttributes(ccw, valuemaskp, value) | ^ ConvCtrl.c:110:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | static void CheckAttributes(); | ^ ConvCtrl.c:793:26: warning: passing arguments to 'clipRectangle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | (clip && !clipRectangle(&value->clientarea, &ccw->ccontrol.client_attr)))) { | ^ ConvCtrl.c:799:26: warning: passing arguments to 'clipRectangle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | (clip && !clipRectangle(&value->statusarea, &ccw->ccontrol.client_attr)))) { | ^ ConvCtrl.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | CheckCoordinates(ccw, valuemaskp, value, clip) | ^ ConvCtrl.c:111:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | static void CheckCoordinates(); | ^ ConvCtrl.c:807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | clipRectangle(rectp, attrp) | ^ ConvCtrl.c:112:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static Boolean clipRectangle(); | ^ ConvCtrl.c:841:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | WidgetWarning((Widget)ccw, "windowError", "differentRoot", | ^ ConvCtrl.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | GetClientCoordinates(ccw) | ^ ConvCtrl.c:96:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | static void GetClientCoordinates(); | ^ ConvCtrl.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | EventToInputObject(w, event, args, num_args) | ^ ConvCtrl.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static void EventToInputObject(); | ^ ConvCtrl.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | CreateInputObject(ccw) | ^ ConvCtrl.c:98:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static Widget CreateInputObject(); | ^ ConvCtrl.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | ClassIsSubClassOf(class, reference) | ^ ConvCtrl.c:100:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | static Boolean ClassIsSubClassOf(); | ^ ConvCtrl.c:985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | CaptureClientDead(ccw) | ^ ConvCtrl.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static void CaptureClientDead(); | ^ ConvCtrl.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | InterceptClientKeyEvent(ccw) | ^ ConvCtrl.c:103:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | static void InterceptClientKeyEvent(); | ^ ConvCtrl.c:1020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | SelectFocusKeyEvent(ccw) | ^ ConvCtrl.c:104:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | static void SelectFocusKeyEvent(); | ^ ConvCtrl.c:1033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | UnselectFocusKeyEvent(ccw) | ^ ConvCtrl.c:105:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static void UnselectFocusKeyEvent(); | ^ ConvCtrl.c:1044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1044 | ClientKey(ev, data) | ^ ConvCtrl.c:106:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | static void ClientKey(); | ^ ConvCtrl.c:1102:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | (*class->conversionControl_class.Finish)((Widget)ccw); | ^ ConvCtrl.c:1055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | ClientDead(ev, data) | ^ ConvCtrl.c:107:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | static void ClientDead(); | ^ ConvCtrl.c:1137:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | (*class->conversionControl_class.Fix)(widget, &arg); | ^ ConvCtrl.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | FixCallback(w, client_data, call_data) | ^ ConvCtrl.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void FixCallback(); | ^ ConvCtrl.c:1144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1144 | ConversionEndCallback(w, client_data, call_data) | ^ ConvCtrl.c:115:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void ConversionEndCallback(); | ^ ConvCtrl.c:1184:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | (*class->conversionControl_class.TextChange)(widget); | ^ ConvCtrl.c:1157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | TextChangeCallback(w, client_data, call_data) | ^ ConvCtrl.c:116:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | static void TextChangeCallback(); | ^ ConvCtrl.c:1200:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | (*class->conversionControl_class.ModeChange)(widget); | ^ ConvCtrl.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | ModeChangeCallback(w, client_data, call_data) | ^ ConvCtrl.c:117:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static void ModeChangeCallback(); | ^ ConvCtrl.c:1217:55: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | (*class->conversionControl_class.SelectionControl)(widget, arg); | ^ ConvCtrl.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | SelectionControlCallback(w, client_data, call_data) | ^ ConvCtrl.c:118:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | static void SelectionControlCallback(); | ^ ConvCtrl.c:1234:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | (*class->conversionControl_class.AuxControl)(widget, arg); | ^ ConvCtrl.c:1222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | AuxControlCallback(w, client_data, call_data) | ^ ConvCtrl.c:119:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static void AuxControlCallback(); | ^ ConvCtrl.c:1238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | WidgetError(w, name, type, msg) | ^ ConvCtrl.c:121:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | static void WidgetError(), WidgetWarning(); | ^ ConvCtrl.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | WidgetWarning(w, name, type, msg) | ^ ConvCtrl.c:121:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | static void WidgetError(), WidgetWarning(); | ^ ConvCtrl.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: ConvCtrl.c,v 1.54 2001/01/10 08:51:28 ishisone Exp $"; | ^~~~~ 129 warnings generated. rm -f ConvDisp.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" ConvDisp.c ConvDisp.c:117:25: warning: cast to 'caddr_t' (aka 'char *') from smaller integer type 'Cardinal' (aka 'unsigned int') [-Wint-to-pointer-cast] 117 | { XtBaseOffset, (caddr_t) XtOffset(Widget, core.screen), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ConvDisp.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | ClassPartInitialize(cl) | ^ ConvDisp.c:47:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static void ClassPartInitialize(); | ^ ConvDisp.c:162:41: warning: passing arguments to 'DefaultCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | obj->convDisplay.cursor = DefaultCursor(obj); | ^ ConvDisp.c:168:10: warning: passing arguments to 'GetGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | GetGC(obj); | ^ ConvDisp.c:169:18: warning: passing arguments to 'ComputeBounds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | ComputeBounds(obj); | ^ ConvDisp.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | Initialize(req, new, args, num_args) | ^ ConvDisp.c:49:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static void Initialize(); | ^ ConvDisp.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | Destroy(w) | ^ ConvDisp.c:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static void Destroy(); | ^ ConvDisp.c:199:7: warning: passing arguments to 'GetGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | GetGC(new); | ^ ConvDisp.c:210:15: warning: passing arguments to 'ComputeBounds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | ComputeBounds(new); | ^ ConvDisp.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | SetValues(cur, req, wid, args, num_args) | ^ ConvDisp.c:51:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static Boolean SetValues(); | ^ ConvDisp.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | DefaultCursor(obj) | ^ ConvDisp.c:53:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static Pixmap DefaultCursor(); | ^ ConvDisp.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | GetGC(obj) | ^ ConvDisp.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void GetGC(); | ^ ConvDisp.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | ComputeBounds(obj) | ^ ConvDisp.c:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static void ComputeBounds(); | ^ ConvDisp.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | StringWidth(w, str, start, end) | ^ ConvDisp.c:57:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | static int StringWidth(); | ^ ConvDisp.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | LineHeight(w, ascentp) | ^ ConvDisp.c:58:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static int LineHeight(); | ^ ConvDisp.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | DrawString(w, canvas, str, start, end, x, y) | ^ ConvDisp.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void DrawString(); | ^ ConvDisp.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | MaxChar(w, str, start, width) | ^ ConvDisp.c:60:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | static int MaxChar(); | ^ ConvDisp.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | DrawCursor(w, canvas, x, y, on) | ^ ConvDisp.c:61:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static void DrawCursor(); | ^ ConvDisp.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | GetCursorBounds(w, bounds) | ^ ConvDisp.c:62:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | static void GetCursorBounds(); | ^ ConvDisp.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | SetFonts(w, fonts, num_fonts) | ^ ConvDisp.c:63:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | static void SetFonts(); | ^ ConvDisp.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | CDStringWidth(w, str, start, end) | ^ ConvDisp.c:383:51: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | return (*class->convDisplay_class.StringWidth)(w, str, start, end); | ^ ConvDisp.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | CDLineHeight(w, ascent) | ^ ConvDisp.c:394:50: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | return (*class->convDisplay_class.LineHeight)(w, ascent); | ^ ConvDisp.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | CDDrawString(w, canvas, str, start, end, x, y) | ^ ConvDisp.c:410:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | (*class->convDisplay_class.DrawString)(w, canvas, str, start, end, x, y); | ^ ConvDisp.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | CDMaxChar(w, str, start, width) | ^ ConvDisp.c:423:47: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | return (*class->convDisplay_class.MaxChar)(w, str, start, width); | ^ ConvDisp.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | CDDrawCursor(w, canvas, x, y, on) | ^ ConvDisp.c:437:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | (*class->convDisplay_class.DrawCursor)(w, canvas, x, y, on); | ^ ConvDisp.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | CDGetCursorBounds(w, bounds) | ^ ConvDisp.c:448:48: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | (*class->convDisplay_class.GetCursorBounds)(w, bounds); | ^ ConvDisp.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | CDSetFonts(w, fonts, num_fonts) | ^ ConvDisp.c:460:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | (*class->convDisplay_class.SetFonts)(w, fonts, num_fonts); | ^ ConvDisp.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | CDSetBlockCursor(w, shape) | ^ ConvDisp.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | _CDPickupFonts(widget, fontspecs, num_specs, fonts, num_fonts) | ^ ConvDisp.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: ConvDisp.c,v 1.19 1992/08/05 01:51:35 ishisone Rel $"; | ^~~~~ 51 warnings generated. rm -f ConvMgr.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" ConvMgr.c ConvMgr.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | Initialize(req, new, args, num_args) | ^ ConvMgr.c:27:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static void Initialize(), Destroy(); | ^ ConvMgr.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | Destroy(w) | ^ ConvMgr.c:27:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static void Initialize(), Destroy(); | ^ ConvMgr.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | getScreen(dpy, win) | ^ ConvMgr.c:29:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | static Screen *getScreen(); | ^ ConvMgr.c:171:31: warning: passing arguments to 'getInputObjRec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | if ((iorp = getInputObjRec(cmw, inputobjclass)) == NULL) { | ^ ConvMgr.c:172:20: warning: passing arguments to 'newInputObj' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | iorp = newInputObj(cmw, inputobjclass, displayobjclass); | ^ ConvMgr.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | newConverter(cmw, screen, converterclass, inputobjclass, displayobjclass) | ^ ConvMgr.c:30:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static ConverterRec *newConverter(); | ^ ConvMgr.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | getInputObjRec(cmw, objclass) | ^ ConvMgr.c:31:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | static InputObjRec *getInputObjRec(); | ^ ConvMgr.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | newInputObj(cmw, objclass, dispobjclass) | ^ ConvMgr.c:32:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | static InputObjRec *newInputObj(); | ^ ConvMgr.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | isSomeoneBusy(clist, objclass) | ^ ConvMgr.c:33:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | static Boolean isSomeoneBusy(); | ^ ConvMgr.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | CMPrepareConverter(w, screen, converterclass, inputobjclass, displayobjclass) | ^ ConvMgr.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | CMGetConverter(w, client, converterclass, inputobjclass, displayobjclass) | ^ ConvMgr.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | CMReleaseConverter(w, converter) | ^ ConvMgr.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: ConvMgr.c,v 1.8 1991/10/14 06:40:01 ishisone Rel $"; | ^~~~~ 20 warnings generated. rm -f ICLabel.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" ICLabel.c ICLabel.c:131:34: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | iclw->iclabel.label = copyString(iclw->iclabel.label); | ^ ICLabel.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | Initialize(req, new, args, num_args) | ^ ICLabel.c:46:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static void Initialize(), Destroy(); | ^ ICLabel.c:142:48: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | if (iclw->iclabel.label != NULL) freeString(iclw->iclabel.label); | ^ ICLabel.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | Destroy(w) | ^ ICLabel.c:46:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static void Initialize(), Destroy(); | ^ ICLabel.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | Realize(w, maskp, attr) | ^ ICLabel.c:47:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static void Realize(); | ^ ICLabel.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | Redisplay(w, ev, region) | ^ ICLabel.c:48:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static void Redisplay(); | ^ ICLabel.c:214:44: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | if (old->iclabel.label != NULL) freeString(old->iclabel.label); | ^ ICLabel.c:216:37: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | new->iclabel.label = copyString(new->iclabel.label); | ^ ICLabel.c:231:13: warning: passing arguments to 'computeSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | computeSize(new, widthspecified, heightspecified); | ^ ICLabel.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | SetValues(cur, req, wid, args, num_args) | ^ ICLabel.c:49:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static Boolean SetValues(); | ^ ICLabel.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | QueryGeometry(w, req, ret) | ^ ICLabel.c:50:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static XtGeometryResult QueryGeometry(); | ^ ICLabel.c:302:16: warning: passing arguments to 'computeSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | computeSize(iclw, iclw->core.width != 0, iclw->core.height != 0); | ^ ICLabel.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | InsertChild(w) | ^ ICLabel.c:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static void InsertChild(); | ^ ICLabel.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | computeSize(iclw, fixwidth, fixheight) | ^ ICLabel.c:53:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static void computeSize(); | ^ ICLabel.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | copyString(from) | ^ ICLabel.c:54:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static ICString *copyString(); | ^ ICLabel.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | freeString(s) | ^ ICLabel.c:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static void freeString(); | ^ ICLabel.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | ICLRecomputeSize(w) | ^ ICLabel.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: ICLabel.c,v 1.11 1991/09/23 04:01:20 ishisone Rel $"; | ^~~~~ 28 warnings generated. rm -f InputConv.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" InputConv.c InputConv.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | ClassPartInitialize(cl) | ^ InputConv.c:44:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static void ClassPartInitialize(); | ^ InputConv.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | Initialize(req, new, args, num_args) | ^ InputConv.c:45:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static void Initialize(); | ^ InputConv.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | Destroy(w) | ^ InputConv.c:46:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static void Destroy(); | ^ InputConv.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | InputEvent(w, event) | ^ InputConv.c:48:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static int InputEvent(); | ^ InputConv.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | GetMode(w) | ^ InputConv.c:49:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static ICString *GetMode(); | ^ InputConv.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | CursorPos(w, segidx, offset) | ^ InputConv.c:50:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static int CursorPos(); | ^ InputConv.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | NumSegments(w) | ^ InputConv.c:51:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static int NumSegments(); | ^ InputConv.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | GetSegment(w, n) | ^ InputConv.c:52:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static ICString *GetSegment(); | ^ InputConv.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | CompareSegment(w, seg1, seg2, n) | ^ InputConv.c:53:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static int CompareSegment(); | ^ InputConv.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | GetItemList(w, n) | ^ InputConv.c:54:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static ICString *GetItemList(); | ^ InputConv.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | SelectItem(w, n) | ^ InputConv.c:55:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static int SelectItem(); | ^ InputConv.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | ConvertedString(w, encoding, format, length, string) | ^ InputConv.c:56:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | static int ConvertedString(); | ^ InputConv.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | Clear(w) | ^ InputConv.c:57:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | static int Clear(); | ^ InputConv.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | GetAuxSegments(w, n, ns, nc) | ^ InputConv.c:58:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static ICString *GetAuxSegments(); | ^ InputConv.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | GetTriggerKeys(w, keys_return) | ^ InputConv.c:59:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static int GetTriggerKeys(); | ^ InputConv.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | GetPreeditString(w, segn, offset, encoding, format, length, string) | ^ InputConv.c:60:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | static int GetPreeditString(); | ^ InputConv.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | GetStatusString(w, encoding, format, length, string, nchars) | ^ InputConv.c:61:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static int GetStatusString(); | ^ InputConv.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | ICSupportMultipleObjects(cl) | ^ InputConv.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | ICInputEvent(w, event) | ^ InputConv.c:390:48: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | return (*class->inputConv_class.InputEvent)(w, event); | ^ InputConv.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | ICGetMode(w) | ^ InputConv.c:400:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | return (*class->inputConv_class.GetMode)(w); | ^ InputConv.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | ICCursorPos(w, segidx, offset) | ^ InputConv.c:412:47: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | return (*class->inputConv_class.CursorPos)(w, segidx, offset); | ^ InputConv.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | ICNumSegments(w) | ^ InputConv.c:422:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | return (*class->inputConv_class.NumSegments)(w); | ^ InputConv.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | ICGetSegment(w, n) | ^ InputConv.c:433:48: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | return (*class->inputConv_class.GetSegment)(w, n); | ^ InputConv.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | ICCompareSegment(w, seg1, seg2, n) | ^ InputConv.c:446:52: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | return (*class->inputConv_class.CompareSegment)(w, seg1, seg2, n); | ^ InputConv.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | ICGetItemList(w, n) | ^ InputConv.c:457:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | return (*class->inputConv_class.GetItemList)(w, n); | ^ InputConv.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | ICSelectItem(w, n) | ^ InputConv.c:468:48: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | return (*class->inputConv_class.SelectItem)(w, n); | ^ InputConv.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | ICGetConvertedString(w, encoding, format, length, string) | ^ InputConv.c:482:56: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | return (*class->inputConv_class.GetConvertedString)(w, encoding, format, | ^ InputConv.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | ICClearConversion(w) | ^ InputConv.c:493:53: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | return (*class->inputConv_class.ClearConversion)(w); | ^ InputConv.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | ICGetAuxSegments(w, n, ns, nc) | ^ InputConv.c:504:52: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | return (*class->inputConv_class.GetAuxSegments)(w, n, ns, nc); | ^ InputConv.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | ICGetPreeditString(w, segn, offset, encoding, format, length, string) | ^ InputConv.c:520:54: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | return (*class->inputConv_class.GetPreeditString)(w, segn, offset, encoding, format, length, string); | ^ InputConv.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | ICGetStatusString(w, encoding, format, length, string, nchars) | ^ InputConv.c:535:53: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | return (*class->inputConv_class.GetStatusString)(w, encoding, format, length, string, nchars); | ^ InputConv.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | ICRegisterTriggerKeys(w) | ^ InputConv.c:557:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | (w, &class->inputConv_class.trigger_keys); | ^ InputConv.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | ICGetTriggerKeysOfInputObjectClass(cl, keys_return) | ^ InputConv.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: InputConv.c,v 1.17 1999/01/13 08:42:00 ishisone Exp $"; | ^~~~~ 65 warnings generated. rm -f KIProto.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" KIProto.c KIProto.c:230:17: warning: passing arguments to 'initializeError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | initializeError(new, XtNlanguage); | ^ KIProto.c:232:17: warning: passing arguments to 'initializeError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | initializeError(new, XtNinputObjectClass); | ^ KIProto.c:234:17: warning: passing arguments to 'initializeError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | initializeError(new, XtNdisplayObjectClass); | ^ KIProto.c:238:25: warning: passing arguments to 'getDefaultFontHeight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | getDefaultFontHeight(kpw); | ^ KIProto.c:239:13: warning: passing arguments to 'getAtoms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | getAtoms(kpw); | ^ KIProto.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | Initialize(req, new, args, num_args) | ^ KIProto.c:108:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | static void Initialize(), Destroy(); | ^ KIProto.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | Destroy(w) | ^ KIProto.c:108:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | static void Initialize(), Destroy(); | ^ KIProto.c:264:22: warning: passing arguments to 'setJinputProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | setJinputProperty(kpw); | ^ KIProto.c:265:23: warning: passing arguments to 'setKinput2Property' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | setKinput2Property(kpw); | ^ KIProto.c:266:19: warning: passing arguments to 'setXlcProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | setXlcProperty(kpw); | ^ KIProto.c:268:22: warning: passing arguments to 'ownSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | if (!ownSelection(kpw)) { | ^ KIProto.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | Realize(w, mask, value) | ^ KIProto.c:109:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | static void Realize(); | ^ KIProto.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | SetValues(cur, req, wid, args, num_args) | ^ KIProto.c:110:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | static Boolean SetValues(); | ^ KIProto.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | getAtoms(kpw) | ^ KIProto.c:112:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static void getAtoms(); | ^ KIProto.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | ownSelection(kpw) | ^ KIProto.c:113:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | static Boolean ownSelection(); | ^ KIProto.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | findClient(kpw, client) | ^ KIProto.c:115:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static ConvClient *findClient(); | ^ KIProto.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | newClient(kpw, client, selection) | ^ KIProto.c:116:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | static ConvClient *newClient(); | ^ KIProto.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | attachConverter(ccp) | ^ KIProto.c:117:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static Widget attachConverter(); | ^ KIProto.c:478:54: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | if (ccp->detach_proc != NULL) (*ccp->detach_proc)(ccp); | ^ KIProto.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | detachConverter(ccp) | ^ KIProto.c:118:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | static void detachConverter(); | ^ KIProto.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | jinputDetach(client) | ^ KIProto.c:119:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static void jinputDetach(); | ^ KIProto.c:503:66: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | if (client->free_resources != NULL) (*client->free_resources)(client); | ^ KIProto.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | deleteClient(client) | ^ KIProto.c:120:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | static void deleteClient(); | ^ KIProto.c:537:39: warning: '&&' within '||' [-Wlogical-op-parentheses] 536 | (atom == kpw->kinput.convAtom || | ~~ 537 | kpw->kinput.backward_compatible && atom == kpw->kinput.oldConvAtom)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ KIProto.c:537:39: note: place parentheses around the '&&' expression to silence this warning 537 | kpw->kinput.backward_compatible && atom == kpw->kinput.oldConvAtom)); | ^ | ( ) KIProto.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | isCorrectClientEvent(kpw, event) | ^ KIProto.c:122:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static Boolean isCorrectClientEvent(); | ^ KIProto.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | isCorrectWindowID(w, window) | ^ KIProto.c:123:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | static Boolean isCorrectWindowID(); | ^ KIProto.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | myStartConversion(w, clwin, mask, attrs) | ^ KIProto.c:125:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static void myStartConversion(); | ^ KIProto.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | myChangeAttributes(w, mask, attrs) | ^ KIProto.c:126:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | static void myChangeAttributes(); | ^ KIProto.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | getJinputInitialProperty(kpw, ccp, prop, reqtype) | ^ KIProto.c:128:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | static void getJinputInitialProperty(); | ^ KIProto.c:684:58: warning: passing arguments to 'sendColorRequest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | if (jdp->state & JINPUT_MULTI_COLOR) sendColorRequest(client); | ^ KIProto.c:685:56: warning: passing arguments to 'sendFontRequest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | if (jdp->state & JINPUT_MULTI_FONT) sendFontRequest(client); | ^ KIProto.c:686:55: warning: passing arguments to 'sendXYRequest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | if (client->style != separate_style) sendXYRequest(client); | ^ KIProto.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | jinputSendReq(client) | ^ KIProto.c:129:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | static void jinputSendReq(); | ^ KIProto.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | jinputFreeResources(client) | ^ KIProto.c:130:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | static void jinputFreeResources(); | ^ KIProto.c:705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | xlcFreeResources(client) | ^ KIProto.c:132:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | static void xlcFreeResources(); | ^ KIProto.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | kinput2FreeResources(client) | ^ KIProto.c:131:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 131 | static void kinput2FreeResources(); | ^ KIProto.c:759:27: warning: passing arguments to 'getAttributeFromProperty1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | getAttributeFromProperty1(client, data[0], precp, fromevent); | ^ KIProto.c:833:23: warning: passing arguments to 'getFontsByFontAtoms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | getFontsByFontAtoms(XtDisplay(client->protocolwidget), | ^ KIProto.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | setAttribute(client, data, precp, fromevent) | ^ KIProto.c:133:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | static void setAttribute(); | ^ KIProto.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | getFontsByFontAtoms(dpy, atoms, len, fontsp) | ^ KIProto.c:134:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 134 | static int getFontsByFontAtoms(); | ^ KIProto.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | safeGetAttributeProperty(client, prop, data) | ^ KIProto.c:135:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | static int safeGetAttributeProperty(); | ^ KIProto.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | getAttributeFromProperty1(client, prop, precp, fromevent) | ^ KIProto.c:136:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 136 | static void getAttributeFromProperty1(); | ^ KIProto.c:995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | getAttributeFromProperty(client, prop) | ^ KIProto.c:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | static void getAttributeFromProperty(); | ^ KIProto.c:1005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | getAttributeFromEvent(client, ev) | ^ KIProto.c:138:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | static void getAttributeFromEvent(); | ^ KIProto.c:1067:29: warning: incompatible pointer types passing 'KinputProtocolWidget' (aka 'struct _KinputProtocolRec *') to parameter of type 'Widget' (aka 'struct _WidgetRec *') [-Wincompatible-pointer-types] 1067 | if (!isCorrectWindowID(kpw, (Window)data[1])) { | ^~~ KIProto.c:1024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | getXlcDataFromProperty(kpw, client, initial) | ^ KIProto.c:139:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 139 | static ConvClient *getXlcDataFromProperty(); | ^ KIProto.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | initializeError(w, resname) | ^ KIProto.c:140:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 140 | static void initializeError(); | ^ KIProto.c:1246:22: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | if ((p = mystrstr(buf, "")) != NULL) { | ^ KIProto.c:1248:29: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1248 | } else if ((p = mystrstr(buf, "")) != NULL) { | ^ KIProto.c:1250:29: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | } else if ((p = mystrstr(buf, "")) != NULL) { | ^ KIProto.c:1260:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | if (mystrstr(mod, "Shift")) *modmaskp |= ShiftMask; | ^ KIProto.c:1261:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | if (mystrstr(mod, "Lock")) *modmaskp |= LockMask; | ^ KIProto.c:1262:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | if (mystrstr(mod, "Ctrl")) *modmaskp |= ControlMask; | ^ KIProto.c:1263:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | if (mystrstr(mod, "Mod1")) *modmaskp |= Mod1Mask; | ^ KIProto.c:1264:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | if (mystrstr(mod, "Mod2")) *modmaskp |= Mod2Mask; | ^ KIProto.c:1265:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | if (mystrstr(mod, "Mod3")) *modmaskp |= Mod3Mask; | ^ KIProto.c:1266:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | if (mystrstr(mod, "Mod4")) *modmaskp |= Mod4Mask; | ^ KIProto.c:1267:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | if (mystrstr(mod, "Mod5")) *modmaskp |= Mod5Mask; | ^ KIProto.c:1268:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1268 | if (mystrstr(mod, "Meta")) *modmaskp |= Mod1Mask; | ^ KIProto.c:1269:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | if (mystrstr(mod, "Alt")) *modmaskp |= Mod1Mask; | ^ KIProto.c:1224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1224 | parseKeyEvent(dpy, s, codep, modmaskp) | ^ KIProto.c:141:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | static int parseKeyEvent(); | ^ KIProto.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | mystrstr(s1, s2) | ^ KIProto.c:142:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | static char *mystrstr(); | ^ KIProto.c:1296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1296 | getDefaultFontHeight(kpw) | ^ KIProto.c:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 143 | static void getDefaultFontHeight(); | ^ KIProto.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | setJinputProperty(kpw) | ^ KIProto.c:145:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 145 | static void setJinputProperty(); | ^ KIProto.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | setKinput2Property(kpw) | ^ KIProto.c:146:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 146 | static void setKinput2Property(); | ^ KIProto.c:1352:25: warning: passing arguments to 'setXlcStatusProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | setXlcStatusProperty(kpw, 0); | ^ KIProto.c:1353:16: warning: passing arguments to 'setXlcBCKey' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1353 | setXlcBCKey(kpw); | ^ KIProto.c:1349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | setXlcProperty(kpw) | ^ KIProto.c:147:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | static void setXlcProperty(); | ^ KIProto.c:1358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1358 | setXlcStatusProperty(kpw, status) | ^ KIProto.c:148:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 148 | static void setXlcStatusProperty(); | ^ KIProto.c:1369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | setXlcBCKey(kpw) | ^ KIProto.c:149:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 149 | static void setXlcBCKey(); | ^ KIProto.c:1406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1406 | sendClientMessage(dpy, window, type, l0, l1, l2, l3, l4) | ^ KIProto.c:151:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | static void sendClientMessage(); | ^ KIProto.c:1429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | sendNegativeConversionNotify(kpw, window, selection) | ^ KIProto.c:152:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 152 | static void sendNegativeConversionNotify(); | ^ KIProto.c:1442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | sendConversionNotify(ccp) | ^ KIProto.c:153:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 153 | static void sendConversionNotify(); | ^ KIProto.c:1463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | sendNegativeConversionOpenNotify(kpw, window, selection) | ^ KIProto.c:154:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 154 | static void sendNegativeConversionOpenNotify(); | ^ KIProto.c:1476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1476 | sendConversionOpenNotify(ccp) | ^ KIProto.c:155:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | static void sendConversionOpenNotify(); | ^ KIProto.c:1490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1490 | sendColorRequest(ccp) | ^ KIProto.c:156:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 156 | static void sendColorRequest(); | ^ KIProto.c:1504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1504 | sendFontRequest(ccp) | ^ KIProto.c:157:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 157 | static void sendFontRequest(); | ^ KIProto.c:1518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1518 | sendXYRequest(ccp) | ^ KIProto.c:158:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 158 | static void sendXYRequest(); | ^ KIProto.c:1546:12: warning: passing arguments to 'fixProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | fixProc(ccp, arg); | ^ KIProto.c:1537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1537 | fixCallback(w, client_data, call_data) | ^ KIProto.c:160:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | static void fixCallback(); | ^ KIProto.c:1561:54: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1561 | if (client->fix_proc != NULL) (*client->fix_proc)(client, arg); | ^ KIProto.c:1551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1551 | fixProc(client, arg) | ^ KIProto.c:161:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | static void fixProc(); | ^ KIProto.c:1566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1566 | jinputFix(client) | ^ KIProto.c:162:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | static void jinputFix(); | ^ KIProto.c:1588:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1588 | int abort = (int)call_data; | ^~~~~~~~~~~~~~ KIProto.c:1591:12: warning: passing arguments to 'endProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1591 | endProc(ccp, abort); | ^ KIProto.c:1582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | endCallback(w, client_data, call_data) | ^ KIProto.c:163:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 163 | static void endCallback(); | ^ KIProto.c:1625:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1625 | (*client->end_proc)(client, abort); | ^ KIProto.c:1596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1596 | endProc(client, abort) | ^ KIProto.c:164:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 164 | static void endProc(); | ^ KIProto.c:1634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1634 | jinputEnd(client, abort) | ^ KIProto.c:165:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 165 | static void jinputEnd(); | ^ KIProto.c:1647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1647 | jinputNewTextCallback(w, client_data, call_data) | ^ KIProto.c:166:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 166 | static void jinputNewTextCallback(); | ^ KIProto.c:1661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1661 | xlcEnd(client, abort) | ^ KIProto.c:167:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 167 | static void xlcEnd(); | ^ KIProto.c:1678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1678 | ConversionOpenRequestProc(w, event, args, num_args) | ^ KIProto.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | static void ConversionOpenRequestProc(); | ^ KIProto.c:1862:52: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | if (ccp->start_proc != NULL) (*ccp->start_proc)(ccp); | ^ KIProto.c:1748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1748 | ConversionRequestProc(w, event, args, num_args) | ^ KIProto.c:63:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | static void ConversionRequestProc(); | ^ KIProto.c:1868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1868 | ConversionEndRequestProc(w, event, args, num_args) | ^ KIProto.c:64:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | static void ConversionEndRequestProc(); | ^ KIProto.c:1903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1903 | ConversionCloseRequestProc(w, event, args, num_args) | ^ KIProto.c:66:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static void ConversionCloseRequestProc(); | ^ KIProto.c:1946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1946 | ConversionXYNotifyProc(w, event, args, num_args) | ^ KIProto.c:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | static void ConversionXYNotifyProc(); | ^ KIProto.c:1997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1997 | ConversionColorNotifyProc(w, event, args, num_args) | ^ KIProto.c:69:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | static void ConversionColorNotifyProc(); | ^ KIProto.c:2042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2042 | ConversionFontsNotifyProc(w, event, args, num_args) | ^ KIProto.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static void ConversionFontsNotifyProc(); | ^ KIProto.c:2113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2113 | ConversionAttributeNotifyProc(w, event, args, num_args) | ^ KIProto.c:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static void ConversionAttributeNotifyProc(); | ^ KIProto.c:2188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2188 | ConversionCloseProc(w, event, args, num_args) | ^ KIProto.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void ConversionCloseProc(); | ^ KIProto.c:2241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2241 | XlcOnTheSpotChangedProc(w, event, args, num_args) | ^ KIProto.c:74:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | static void XlcOnTheSpotChangedProc(); | ^ KIProto.c:2272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2272 | SelectionRequestProc(w, event, args, num_args) | ^ KIProto.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void SelectionRequestProc(); | ^ KIProto.c:2303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2303 | SelectionClearProc(w, event, args, num_args) | ^ KIProto.c:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void SelectionClearProc(); | ^ KIProto.c:2340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2340 | ClientDead(ev, data) | ^ KIProto.c:169:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 169 | static void ClientDead(); | ^ KIProto.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: KIProto.c,v 1.49 1999/01/07 03:12:57 ishisone Exp $"; | ^~~~~ 172 warnings generated. rm -f OffConv.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" OffConv.c OffConv.c:314:30: warning: passing arguments to 'CreateDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | (void)CreateDisplayObject(ocw); | ^ OffConv.c:315:32: warning: passing arguments to 'CreateSelectionWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | (void)CreateSelectionWidget(ocw); | ^ OffConv.c:316:26: warning: passing arguments to 'CreateAuxWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | (void)CreateAuxWidget(ocw); | ^ OffConv.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | OffTheSpot_Initialize(req, new, args, num_args) | ^ OffConv.c:62:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | static void OffTheSpot_Initialize(); | ^ OffConv.c:344:16: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | freeString(&dsp[i].seg); | ^ OffConv.c:345:29: warning: passing arguments to 'destroyDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | destroyDisplayFragments(dsp->fragments); | ^ OffConv.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | OffTheSpot_Destroy(w) | ^ OffConv.c:63:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | static void OffTheSpot_Destroy(); | ^ OffConv.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | OffTheSpot_SetValues(cur, req, new, args, num_args) | ^ OffConv.c:64:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | static Boolean OffTheSpot_SetValues(); | ^ OffConv.c:390:23: warning: passing arguments to 'SetupDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | SetupDisplayObject(ocw, valuemask, value); | ^ OffConv.c:391:20: warning: passing arguments to 'SetupModeWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | SetupModeWidget(ocw, valuemask, value); | ^ OffConv.c:392:22: warning: passing arguments to 'SetupCanvasWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | SetupCanvasWidget(ocw, valuemask, value); | ^ OffConv.c:395:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | clearAllDisplaySegments(ocw); | ^ OffConv.c:399:16: warning: passing arguments to 'eraseCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | eraseCursor(ocw); | ^ OffConv.c:401:20: warning: passing arguments to 'initialLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | initialLocation(ocw, &(ocw->offthespot.cursorlocation)); | ^ OffConv.c:405:33: warning: passing arguments to 'getToplevelWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | toplevel = getToplevelWindow(XtDisplay(widget), | ^ OffConv.c:407:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | setTransientFor(ocw->offthespot.selectionshell, toplevel); | ^ OffConv.c:408:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | setTransientFor(ocw->offthespot.auxshell, toplevel); | ^ OffConv.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | OffTheSpot_Startup(widget, valuemask, value) | ^ OffConv.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | static void OffTheSpot_Startup(); | ^ OffConv.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | OffTheSpot_ConversionFinish(w) | ^ OffConv.c:66:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static void OffTheSpot_ConversionFinish(); | ^ OffConv.c:473:24: warning: passing arguments to 'ResetModeWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | if (ResetModeWidget(ocw, valuemask, value) && | ^ OffConv.c:479:32: warning: passing arguments to 'ResetDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | redraw = ResetDisplayObject(ocw, valuemask, value); | ^ OffConv.c:480:33: warning: passing arguments to 'ResetCanvasWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | reconfig = ResetCanvasWidget(ocw, valuemask, value); | ^ OffConv.c:483:12: warning: passing arguments to 'TextResize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | TextResize(ocw->offthespot.canvaswidget, (XtPointer)w, (XtPointer)NULL); | ^ OffConv.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | OffTheSpot_ChangeAttributes(w, valuemask, value) | ^ OffConv.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void OffTheSpot_ChangeAttributes(); | ^ OffConv.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | OffTheSpot_ChangeFocus(w, set) | ^ OffConv.c:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | static void OffTheSpot_ChangeFocus(); | ^ OffConv.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | Separate_Initialize(req, new, args, num_args) | ^ OffConv.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static void Separate_Initialize(); | ^ OffConv.c:569:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | clearAllDisplaySegments((OffTheSpotConversionWidget)scw); | ^ OffConv.c:573:16: warning: passing arguments to 'eraseCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | eraseCursor((OffTheSpotConversionWidget)scw); | ^ OffConv.c:575:20: warning: passing arguments to 'initialLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | initialLocation((OffTheSpotConversionWidget)scw, | ^ OffConv.c:606:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | MoveShell(widget, x, y); | ^ OffConv.c:609:33: warning: passing arguments to 'getToplevelWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | toplevel = getToplevelWindow(XtDisplay(widget), | ^ OffConv.c:611:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | setTransientFor((Widget)scw, toplevel); | ^ OffConv.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | Separate_Startup(widget, valuemask, value) | ^ OffConv.c:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static void Separate_Startup(); | ^ OffConv.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | Separate_ConversionFinish(w) | ^ OffConv.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void Separate_ConversionFinish(); | ^ OffConv.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | Separate_ChangeAttributes(w, mask, value) | ^ OffConv.c:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void Separate_ChangeAttributes(); | ^ OffConv.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | Separate_ChangeFocus(w, set) | ^ OffConv.c:74:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | static void Separate_ChangeFocus(); | ^ OffConv.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | CreateDisplayObject(ocw) | ^ OffConv.c:76:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static Widget CreateDisplayObject(); | ^ OffConv.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | CreateSelectionWidget(ocw) | ^ OffConv.c:77:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | static Widget CreateSelectionWidget(); | ^ OffConv.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | CreateAuxWidget(ocw) | ^ OffConv.c:97:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static Widget CreateAuxWidget(); | ^ OffConv.c:747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | SetupDisplayObject(ocw, mask, value) | ^ OffConv.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void SetupDisplayObject(); | ^ OffConv.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | ResetDisplayObject(ocw, mask, value) | ^ OffConv.c:80:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static Boolean ResetDisplayObject(); | ^ OffConv.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | SetupModeWidget(ocw, mask, value) | ^ OffConv.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void SetupModeWidget(); | ^ OffConv.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | ResetModeWidget(ocw, mask, value) | ^ OffConv.c:82:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static Boolean ResetModeWidget(); | ^ OffConv.c:912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | SetupCanvasWidget(ocw, mask, value) | ^ OffConv.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void SetupCanvasWidget(); | ^ OffConv.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | ResetCanvasWidget(ocw, mask, value) | ^ OffConv.c:84:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static Boolean ResetCanvasWidget(); | ^ OffConv.c:1009:16: warning: passing arguments to 'eraseCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | eraseCursor(ocw); | ^ OffConv.c:1010:27: warning: passing arguments to 'computeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | computeDisplaySegments(ocw); | ^ OffConv.c:1011:18: warning: passing arguments to 'computeCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | computeCursor(ocw); | ^ OffConv.c:1012:23: warning: passing arguments to 'reconfigureDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | reconfigureDisplay(ocw); | ^ OffConv.c:1013:18: warning: passing arguments to 'updateDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | updateDisplay(ocw); | ^ OffConv.c:1014:15: warning: passing arguments to 'showCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | showCursor(ocw); | ^ OffConv.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | UpdateText(w) | ^ OffConv.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void UpdateText(); | ^ OffConv.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | UpdateMode(w) | ^ OffConv.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void UpdateMode(); | ^ OffConv.c:1040:16: warning: passing arguments to 'SelectionStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | SelectionStart(ocw, arg->u.selection_kind); | ^ OffConv.c:1043:14: warning: passing arguments to 'SelectionEnd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | SelectionEnd(ocw, &arg->u.current_item); | ^ OffConv.c:1046:14: warning: passing arguments to 'SelectionSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | SelectionSet(ocw, arg->u.current_item); | ^ OffConv.c:1049:15: warning: passing arguments to 'SelectionMove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | SelectionMove(ocw, arg->u.dir); | ^ OffConv.c:1052:14: warning: passing arguments to 'SelectionGet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | SelectionGet(ocw, &arg->u.current_item); | ^ OffConv.c:1030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | SelectionControl(w, arg) | ^ OffConv.c:89:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | static void SelectionControl(); | ^ OffConv.c:1088:25: warning: passing arguments to 'LocateSelectionPopup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | LocateSelectionPopup(ocw); | ^ OffConv.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | SelectionStart(ocw, kind) | ^ OffConv.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static void SelectionStart(); | ^ OffConv.c:1109:21: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | computeLastPosition(ocw->offthespot.dispsegments[ocw->offthespot.numsegments - 1].fragments, &lastp); | ^ OffConv.c:1131:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | MoveShell(shell, x, y); | ^ OffConv.c:1095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | LocateSelectionPopup(ocw) | ^ OffConv.c:91:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | static void LocateSelectionPopup(); | ^ OffConv.c:1135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | SelectionEnd(ocw, current) | ^ OffConv.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static void SelectionEnd(); | ^ OffConv.c:1155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1155 | SelectionSet(ocw, current) | ^ OffConv.c:93:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | static void SelectionSet(); | ^ OffConv.c:1171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | SelectionGet(ocw, current) | ^ OffConv.c:94:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | static void SelectionGet(); | ^ OffConv.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | SelectionMove(ocw, dir) | ^ OffConv.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static void SelectionMove(); | ^ OffConv.c:1215:10: warning: passing arguments to 'AuxStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | AuxStart(ocw); | ^ OffConv.c:1218:8: warning: passing arguments to 'AuxEnd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | AuxEnd(ocw); | ^ OffConv.c:1221:11: warning: passing arguments to 'AuxChange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | AuxChange(ocw); | ^ OffConv.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | AuxControl(w, arg) | ^ OffConv.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void AuxControl(); | ^ OffConv.c:1253:17: warning: passing arguments to 'LocateAuxPopup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | LocateAuxPopup(ocw); | ^ OffConv.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | AuxStart(ocw) | ^ OffConv.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void AuxStart(); | ^ OffConv.c:1261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | AuxEnd(ocw) | ^ OffConv.c:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | static void AuxEnd(); | ^ OffConv.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | AuxChange(ocw) | ^ OffConv.c:101:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void AuxChange(); | ^ OffConv.c:1304:21: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | computeLastPosition(ocw->offthespot.dispsegments[ocw->offthespot.numsegments - 1].fragments, &lastp); | ^ OffConv.c:1326:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | MoveShell(shell, x, y); | ^ OffConv.c:1290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | LocateAuxPopup(ocw) | ^ OffConv.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static void LocateAuxPopup(); | ^ OffConv.c:1352:32: warning: passing arguments to 'exposeCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | cursorredraw = exposeCursor(ocw, w, ®ion); | ^ OffConv.c:1353:19: warning: passing arguments to 'redrawSegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1353 | redrawSegments(ocw, ®ion); | ^ OffConv.c:1354:33: warning: passing arguments to 'showCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1354 | if (cursorredraw) showCursor(ocw); | ^ OffConv.c:1336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | TextRedisplay(w, client_data, call_data) | ^ OffConv.c:104:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | static void TextRedisplay(); | ^ OffConv.c:1368:29: warning: passing arguments to 'recomputeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | recomputeDisplaySegments(ocw); | ^ OffConv.c:1369:18: warning: passing arguments to 'computeCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | computeCursor(ocw); | ^ OffConv.c:1360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | TextResize(w, client_data, call_data) | ^ OffConv.c:105:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static void TextResize(); | ^ OffConv.c:1390:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1390 | int current = (int)call_data; | ^~~~~~~~~~~~~~ OffConv.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | SelectionSelected(w, client_data, call_data) | ^ OffConv.c:107:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | static void SelectionSelected(); | ^ OffConv.c:1419:25: warning: passing arguments to 'allocDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1419 | allocDisplaySegments(ocw, nnew); | ^ OffConv.c:1421:20: warning: passing arguments to 'initialLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | initialLocation(ocw, &disploc); | ^ OffConv.c:1426:16: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1426 | copyString(newseg, &dseg->seg); | ^ OffConv.c:1428:47: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1428 | dseg->fragments = computeDisplayFragments(ocw, newseg, &disploc); | ^ OffConv.c:1438:41: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | newfragments = computeDisplayFragments(ocw, newseg, &disploc); | ^ OffConv.c:1443:22: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | computeLastPosition(newfragments, &disploc); | ^ OffConv.c:1449:56: warning: '&&' within '||' [-Wlogical-op-parentheses] 1448 | if (oldfragments == NULL || | ~~ 1449 | oldfragments->region.x == newfragments->region.x && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1450 | oldfragments->region.y == newfragments->region.y) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OffConv.c:1449:56: note: place parentheses around the '&&' expression to silence this warning 1449 | oldfragments->region.x == newfragments->region.x && | ^ | ( 1450 | oldfragments->region.y == newfragments->region.y) { | | ) OffConv.c:1462:56: warning: '&&' within '||' [-Wlogical-op-parentheses] 1461 | if (oldfragments == NULL || | ~~ 1462 | oldfragments->region.x == newfragments->region.x && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1463 | oldfragments->region.y == newfragments->region.y) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OffConv.c:1462:56: note: place parentheses around the '&&' expression to silence this warning 1462 | oldfragments->region.x == newfragments->region.x && | ^ | ( 1463 | oldfragments->region.y == newfragments->region.y) { | | ) OffConv.c:1468:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | freeString(&dseg->seg); | ^ OffConv.c:1469:13: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | copyString(newseg, &dseg->seg); | ^ OffConv.c:1473:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1473 | freeString(&dseg->seg); | ^ OffConv.c:1474:13: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | copyString(newseg, &dseg->seg); | ^ OffConv.c:1477:44: warning: passing arguments to 'freeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | if (oldfragments) freeDisplayFragments(oldfragments); | ^ OffConv.c:1481:53: warning: passing arguments to 'freeDisplaySegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | for (; i < nold; i++, dseg++) freeDisplaySegment(dseg); | ^ OffConv.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | computeDisplaySegments(ocw) | ^ OffConv.c:109:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | static void computeDisplaySegments(); | ^ OffConv.c:1496:20: warning: passing arguments to 'initialLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | initialLocation(ocw, &disploc); | ^ OffConv.c:1499:22: warning: passing arguments to 'freeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1499 | freeDisplayFragments(dseg->fragments); | ^ OffConv.c:1501:43: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1501 | dseg->fragments = computeDisplayFragments(ocw, &dseg->seg, &disploc); | ^ OffConv.c:1488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | recomputeDisplaySegments(ocw) | ^ OffConv.c:110:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | static void recomputeDisplaySegments(); | ^ OffConv.c:1507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1507 | computeLastPosition(fragments, disploc) | ^ OffConv.c:111:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | static void computeLastPosition(); | ^ OffConv.c:1533:33: warning: passing arguments to 'widthAvailable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | widthavailable = widthAvailable(ocw, disploc); | ^ OffConv.c:1563:42: warning: passing arguments to 'nextLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | if (start < newseg->nchars) nextLocation(ocw, disploc); | ^ OffConv.c:1518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1518 | computeDisplayFragments(ocw, newseg, disploc) | ^ OffConv.c:112:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static DisplayFragment * computeDisplayFragments(); | ^ OffConv.c:1571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | widthAvailable(ocw, disploc) | ^ OffConv.c:113:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | static int widthAvailable(); | ^ OffConv.c:1581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1581 | initialLocation(ocw, disploc) | ^ OffConv.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void initialLocation(); | ^ OffConv.c:1599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1599 | nextLocation(ocw, disploc) | ^ OffConv.c:115:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void nextLocation(); | ^ OffConv.c:1619:24: warning: '&&' within '||' [-Wlogical-op-parentheses] 1618 | if (dfp->nchars > offset || | ~~ 1619 | dfp->next == NULL && dfp->nchars == offset) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ OffConv.c:1619:24: note: place parentheses around the '&&' expression to silence this warning 1619 | dfp->next == NULL && dfp->nchars == offset) { | ^ | ( ) OffConv.c:1609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1609 | findLocation(ocw, dsp, offset, disploc) | ^ OffConv.c:116:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | static DisplayLocation * findLocation(); | ^ OffConv.c:1637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | reconfigureDisplay(ocw) | ^ OffConv.c:117:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static void reconfigureDisplay(); | ^ OffConv.c:1684:26: warning: passing arguments to 'updateDisplaySegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1684 | updateDisplaySegment(ocw, dsp); | ^ OffConv.c:1675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | updateDisplay(ocw) | ^ OffConv.c:118:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | static void updateDisplay(); | ^ OffConv.c:1691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | updateDisplaySegment(ocw, dsp) | ^ OffConv.c:119:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static void updateDisplaySegment(); | ^ OffConv.c:1730:23: warning: passing arguments to 'intersectRect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | if (intersectRect(&dfp->region, region)) { | ^ OffConv.c:1718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1718 | redrawSegments(ocw, region) | ^ OffConv.c:120:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | static void redrawSegments(); | ^ OffConv.c:1745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1745 | eraseCursor(ocw) | ^ OffConv.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static void eraseCursor(); | ^ OffConv.c:1763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1763 | showCursor(ocw) | ^ OffConv.c:123:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | static void showCursor(); | ^ OffConv.c:1794:22: warning: passing arguments to 'intersectRect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | if (intersectRect(region, &bounds)) { | ^ OffConv.c:1798:11: warning: passing arguments to 'unionRect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1798 | unionRect(region, &bounds, region); | ^ OffConv.c:1780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1780 | exposeCursor(ocw, w, region) | ^ OffConv.c:124:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | static Boolean exposeCursor(); | ^ OffConv.c:1806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1806 | computeCursor(ocw) | ^ OffConv.c:125:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static void computeCursor(); | ^ OffConv.c:1842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1842 | MoveShell(w, x, y) | ^ OffConv.c:127:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 127 | static void MoveShell(); | ^ OffConv.c:1863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1863 | getToplevelWindow(dpy, win) | ^ OffConv.c:128:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | static Window getToplevelWindow(); | ^ OffConv.c:1902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1902 | setTransientFor(w, win) | ^ OffConv.c:129:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | static void setTransientFor(); | ^ OffConv.c:1912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1912 | intersectRect(rect1, rect2) | ^ OffConv.c:130:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | static Boolean intersectRect(); | ^ OffConv.c:1924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1924 | unionRect(rect1, rect2, rect_ret) | ^ OffConv.c:131:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 131 | static void unionRect(); | ^ OffConv.c:1961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1961 | freeDisplayFragments(fragments) | ^ OffConv.c:133:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | static void freeDisplayFragments(); | ^ OffConv.c:1974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1974 | destroyDisplayFragments(fragments) | ^ OffConv.c:134:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 134 | static void destroyDisplayFragments(); | ^ OffConv.c:1988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | allocDisplaySegments(ocw, n) | ^ OffConv.c:135:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | static void allocDisplaySegments(); | ^ OffConv.c:2007:15: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2007 | freeString(&dsp->seg); | ^ OffConv.c:2004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2004 | freeDisplaySegment(dsp) | ^ OffConv.c:136:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 136 | static void freeDisplaySegment(); | ^ OffConv.c:2014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2014 | clearAllDisplaySegments(ocw) | ^ OffConv.c:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | static void clearAllDisplaySegments(); | ^ OffConv.c:2028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2028 | copyString(from, to) | ^ OffConv.c:138:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | static void copyString(); | ^ OffConv.c:2039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2039 | freeString(seg) | ^ OffConv.c:139:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 139 | static void freeString(); | ^ OffConv.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: OffConv.c,v 1.44 2001/07/01 13:47:00 ishisone Exp $"; | ^~~~~ 208 warnings generated. rm -f OverConv.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" OverConv.c OverConv.c:300:24: warning: passing arguments to 'CreateDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | CreateDisplayObject(ocw); | ^ OverConv.c:301:26: warning: passing arguments to 'CreateSelectionWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | CreateSelectionWidget(ocw); | ^ OverConv.c:302:20: warning: passing arguments to 'CreateAuxWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | CreateAuxWidget(ocw); | ^ OverConv.c:303:21: warning: passing arguments to 'CreateModeWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | CreateModeWidget(ocw); | ^ OverConv.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | Initialize(req, new, args, num_args) | ^ OverConv.c:78:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static void Initialize(); | ^ OverConv.c:319:16: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | freeString(&dsp[i].seg); | ^ OverConv.c:320:29: warning: passing arguments to 'destroyDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | destroyDisplayFragments(dsp->fragments); | ^ OverConv.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | Destroy(w) | ^ OverConv.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void Destroy(); | ^ OverConv.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | SetValues(cur, req, new, args, num_args) | ^ OverConv.c:80:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static Boolean SetValues(); | ^ OverConv.c:368:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | clearAllDisplaySegments(ocw); | ^ OverConv.c:375:23: warning: passing arguments to 'setupDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | setupDisplayObject(ocw, mask, value); | ^ OverConv.c:376:20: warning: passing arguments to 'setupTextCanvas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | setupTextCanvas(ocw, mask, value); | ^ OverConv.c:377:20: warning: passing arguments to 'setupModeWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | setupModeWidget(ocw, mask, value); | ^ OverConv.c:380:33: warning: passing arguments to 'getToplevelWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | toplevel = getToplevelWindow(XtDisplay(w), | ^ OverConv.c:383:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | setTransientFor(ocw->overthespot.modeshell, toplevel); | ^ OverConv.c:384:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | setTransientFor(ocw->overthespot.selectionshell, toplevel); | ^ OverConv.c:385:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | setTransientFor(ocw->overthespot.auxshell, toplevel); | ^ OverConv.c:388:28: warning: passing arguments to 'locateTextCanvasInitial' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | locateTextCanvasInitial(ocw); | ^ OverConv.c:391:66: warning: passing arguments to 'locateModeWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | if (!ocw->overthespot.modelocationspecified) locateModeWidget(ocw); | ^ OverConv.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | ConversionStartup(w, mask, value) | ^ OverConv.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void ConversionStartup(); | ^ OverConv.c:429:33: warning: passing arguments to 'resetDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | dispres = resetDisplayObject(ocw, mask, value); | ^ OverConv.c:430:28: warning: passing arguments to 'resetTextCanvas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | tcres = resetTextCanvas(ocw, mask, value); | ^ OverConv.c:432:32: warning: passing arguments to 'redrawAndReconfigureTextCanvas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | redrawAndReconfigureTextCanvas(ocw); | ^ OverConv.c:445:24: warning: passing arguments to 'resetModeWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | if (resetModeWidget(ocw, mask, value) != NeedNone && | ^ OverConv.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | ChangeAttributes(w, mask, value) | ^ OverConv.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void ChangeAttributes(); | ^ OverConv.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | ChangeFocus(w, set) | ^ OverConv.c:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static void ChangeFocus(); | ^ OverConv.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | ConversionFinish(w) | ^ OverConv.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void ConversionFinish(); | ^ OverConv.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | CreateDisplayObject(ocw) | ^ OverConv.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void CreateDisplayObject(); | ^ OverConv.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | CreateSelectionWidget(ocw) | ^ OverConv.c:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static void CreateSelectionWidget(); | ^ OverConv.c:566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | CreateAuxWidget(ocw) | ^ OverConv.c:115:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void CreateAuxWidget(); | ^ OverConv.c:630:16: warning: passing arguments to 'setMwmHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | setMwmHints(shell); | ^ OverConv.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | CreateModeWidget(ocw) | ^ OverConv.c:89:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | static void CreateModeWidget(); | ^ OverConv.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | CreateTextCanvas(ocw) | ^ OverConv.c:90:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static TextCanvas * CreateTextCanvas(); | ^ OverConv.c:676:19: warning: passing arguments to 'getFocusOffset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | getFocusOffset(ocw); | ^ OverConv.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | setupTextCanvas(ocw, mask, value) | ^ OverConv.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static void setupTextCanvas(); | ^ OverConv.c:781:16: warning: passing arguments to 'getFocusOffset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | getFocusOffset(ocw); | ^ OverConv.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | resetTextCanvas(ocw, mask, value) | ^ OverConv.c:93:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | static ResetStatus resetTextCanvas(); | ^ OverConv.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | setupDisplayObject(ocw, mask, value) | ^ OverConv.c:94:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | static void setupDisplayObject(); | ^ OverConv.c:863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | resetDisplayObject(ocw, mask, value) | ^ OverConv.c:95:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static ResetStatus resetDisplayObject(); | ^ OverConv.c:923:29: warning: passing arguments to 'enoughSpaceForStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | enoughSpaceForStatus(ocw)) { | ^ OverConv.c:894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | setupModeWidget(ocw, mask, value) | ^ OverConv.c:96:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | static void setupModeWidget(); | ^ OverConv.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | resetModeWidget(ocw, mask, value) | ^ OverConv.c:97:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static ResetStatus resetModeWidget(); | ^ OverConv.c:1051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | locateTextCanvasInitial(ocw) | ^ OverConv.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void locateTextCanvasInitial(); | ^ OverConv.c:1073:26: warning: passing arguments to 'locateTrackingModeWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | locateTrackingModeWidget(ocw, True, 0, 0); | ^ OverConv.c:1108:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | MoveShell(ocw->overthespot.modeshell, rootx, rooty); | ^ OverConv.c:1062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | locateModeWidget(ocw) | ^ OverConv.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void locateModeWidget(); | ^ OverConv.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | locateTrackingModeWidget(ocw, initial, x, y) | ^ OverConv.c:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | static void locateTrackingModeWidget(); | ^ OverConv.c:1195:29: warning: passing arguments to 'recomputeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | recomputeDisplaySegments(ocw); | ^ OverConv.c:1196:18: warning: passing arguments to 'computeCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | computeCursor(ocw); | ^ OverConv.c:1197:23: warning: passing arguments to 'reconfigureDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | reconfigureDisplay(ocw); | ^ OverConv.c:1177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | redrawAndReconfigureTextCanvas(ocw) | ^ OverConv.c:101:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void redrawAndReconfigureTextCanvas(); | ^ OverConv.c:1212:16: warning: passing arguments to 'eraseCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | eraseCursor(ocw); | ^ OverConv.c:1213:27: warning: passing arguments to 'computeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | computeDisplaySegments(ocw); | ^ OverConv.c:1214:18: warning: passing arguments to 'computeCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | computeCursor(ocw); | ^ OverConv.c:1215:23: warning: passing arguments to 'reconfigureDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | reconfigureDisplay(ocw); | ^ OverConv.c:1216:18: warning: passing arguments to 'updateDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | updateDisplay(ocw); | ^ OverConv.c:1217:15: warning: passing arguments to 'showCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | showCursor(ocw); | ^ OverConv.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | UpdateText(w) | ^ OverConv.c:103:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | static void UpdateText(); | ^ OverConv.c:1222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | UpdateMode(w) | ^ OverConv.c:104:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | static void UpdateMode(); | ^ OverConv.c:1252:16: warning: passing arguments to 'SelectionStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1252 | SelectionStart(ocw, arg->u.selection_kind); | ^ OverConv.c:1255:14: warning: passing arguments to 'SelectionEnd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1255 | SelectionEnd(ocw, &arg->u.current_item); | ^ OverConv.c:1258:14: warning: passing arguments to 'SelectionSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | SelectionSet(ocw, arg->u.current_item); | ^ OverConv.c:1261:15: warning: passing arguments to 'SelectionMove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | SelectionMove(ocw, arg->u.dir); | ^ OverConv.c:1264:14: warning: passing arguments to 'SelectionGet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | SelectionGet(ocw, &arg->u.current_item); | ^ OverConv.c:1244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1244 | SelectionControl(w, arg) | ^ OverConv.c:105:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static void SelectionControl(); | ^ OverConv.c:1296:25: warning: passing arguments to 'locateSelectionPopup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1296 | locateSelectionPopup(ocw); | ^ OverConv.c:1276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1276 | SelectionStart(ocw, kind) | ^ OverConv.c:107:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | static void SelectionStart(); | ^ OverConv.c:1330:21: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | computeLastPosition(dsp[i].fragments, &lastp); | ^ OverConv.c:1351:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | MoveShell(shell, x, y); | ^ OverConv.c:1303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1303 | locateSelectionPopup(ocw) | ^ OverConv.c:108:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | static void locateSelectionPopup(); | ^ OverConv.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | SelectionEnd(ocw, current) | ^ OverConv.c:109:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | static void SelectionEnd(); | ^ OverConv.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | SelectionSet(ocw, current) | ^ OverConv.c:110:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | static void SelectionSet(); | ^ OverConv.c:1396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1396 | SelectionGet(ocw, current) | ^ OverConv.c:111:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | static void SelectionGet(); | ^ OverConv.c:1414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1414 | SelectionMove(ocw, dir) | ^ OverConv.c:112:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static void SelectionMove(); | ^ OverConv.c:1444:24: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1444 | computeLastPosition(dsp[nsegs - 1].fragments, &disploc); | ^ OverConv.c:1431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | ForwardSpot(w, client_data, call_data) | ^ OverConv.c:113:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | static void ForwardSpot(); | ^ OverConv.c:1466:10: warning: passing arguments to 'AuxStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1466 | AuxStart(ocw); | ^ OverConv.c:1469:8: warning: passing arguments to 'AuxEnd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | AuxEnd(ocw); | ^ OverConv.c:1472:11: warning: passing arguments to 'AuxChange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1472 | AuxChange(ocw); | ^ OverConv.c:1456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1456 | AuxControl(w, arg) | ^ OverConv.c:116:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | static void AuxControl(); | ^ OverConv.c:1504:17: warning: passing arguments to 'locateAuxPopup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1504 | locateAuxPopup(ocw, False); | ^ OverConv.c:1487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | AuxStart(ocw) | ^ OverConv.c:117:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static void AuxStart(); | ^ OverConv.c:1512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | AuxEnd(ocw) | ^ OverConv.c:119:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static void AuxEnd(); | ^ OverConv.c:1540:17: warning: passing arguments to 'locateAuxPopup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1540 | locateAuxPopup(ocw, True); | ^ OverConv.c:1526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | AuxChange(ocw) | ^ OverConv.c:120:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | static void AuxChange(); | ^ OverConv.c:1577:25: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | computeLastPosition(dsp[i].fragments, &lastp); | ^ OverConv.c:1600:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1600 | MoveShell(shell, x, y); | ^ OverConv.c:1545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | locateAuxPopup(ocw, usecurloc) | ^ OverConv.c:118:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | static void locateAuxPopup(); | ^ OverConv.c:1626:32: warning: passing arguments to 'exposeCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1626 | cursorredraw = exposeCursor(ocw, w, ®ion); | ^ OverConv.c:1627:19: warning: passing arguments to 'redrawSegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | redrawSegments(ocw, w, ®ion); | ^ OverConv.c:1628:33: warning: passing arguments to 'showCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | if (cursorredraw) showCursor(ocw); | ^ OverConv.c:1610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1610 | TextRedisplay(w, client_data, call_data) | ^ OverConv.c:123:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | static void TextRedisplay(); | ^ OverConv.c:1645:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1645 | int current = (int)call_data; | ^~~~~~~~~~~~~~ OverConv.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | SelectionSelected(w, client_data, call_data) | ^ OverConv.c:125:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static void SelectionSelected(); | ^ OverConv.c:1674:25: warning: passing arguments to 'allocDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1674 | allocDisplaySegments(ocw, nnew); | ^ OverConv.c:1687:16: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | copyString(newseg, &dseg->seg); | ^ OverConv.c:1689:47: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1689 | dseg->fragments = computeDisplayFragments(ocw, newseg, &disploc); | ^ OverConv.c:1700:41: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | newfragments = computeDisplayFragments(ocw, newseg, &disploc); | ^ OverConv.c:1705:22: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | computeLastPosition(newfragments, &disploc); | ^ OverConv.c:1712:56: warning: '&&' within '||' [-Wlogical-op-parentheses] 1710 | if (oldfragments == NULL || | ~~ 1711 | oldfragments->canvas == newfragments->canvas && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1712 | oldfragments->region.x == newfragments->region.x && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1713 | oldfragments->region.y == newfragments->region.y) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OverConv.c:1712:56: note: place parentheses around the '&&' expression to silence this warning 1711 | oldfragments->canvas == newfragments->canvas && | ( 1712 | oldfragments->region.x == newfragments->region.x && | ^ 1713 | oldfragments->region.y == newfragments->region.y) { | | ) OverConv.c:1726:56: warning: '&&' within '||' [-Wlogical-op-parentheses] 1724 | if (oldfragments == NULL || | ~~ 1725 | oldfragments->canvas == newfragments->canvas && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1726 | oldfragments->region.x == newfragments->region.x && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1727 | oldfragments->region.y == newfragments->region.y) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OverConv.c:1726:56: note: place parentheses around the '&&' expression to silence this warning 1725 | oldfragments->canvas == newfragments->canvas && | ( 1726 | oldfragments->region.x == newfragments->region.x && | ^ 1727 | oldfragments->region.y == newfragments->region.y) { | | ) OverConv.c:1732:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | freeString(&dseg->seg); | ^ OverConv.c:1733:13: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | copyString(newseg, &dseg->seg); | ^ OverConv.c:1737:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1737 | freeString(&dseg->seg); | ^ OverConv.c:1738:13: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1738 | copyString(newseg, &dseg->seg); | ^ OverConv.c:1741:44: warning: passing arguments to 'freeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1741 | if (oldfragments) freeDisplayFragments(oldfragments); | ^ OverConv.c:1745:53: warning: passing arguments to 'freeDisplaySegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1745 | for (; i < nold; i++, dseg++) freeDisplaySegment(dseg); | ^ OverConv.c:1660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | computeDisplaySegments(ocw) | ^ OverConv.c:127:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 127 | static void computeDisplaySegments(); | ^ OverConv.c:1769:22: warning: passing arguments to 'freeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1769 | freeDisplayFragments(dseg->fragments); | ^ OverConv.c:1771:43: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1771 | dseg->fragments = computeDisplayFragments(ocw, &dseg->seg, &disploc); | ^ OverConv.c:1752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1752 | recomputeDisplaySegments(ocw) | ^ OverConv.c:128:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | static void recomputeDisplaySegments(); | ^ OverConv.c:1777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1777 | computeLastPosition(fragments, disploc) | ^ OverConv.c:129:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | static void computeLastPosition(); | ^ OverConv.c:1804:40: warning: passing arguments to 'computeWidthAvailable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1804 | widthavailable = computeWidthAvailable(ocw, disploc); | ^ OverConv.c:1837:42: warning: passing arguments to 'nextLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | if (start < newseg->nchars) nextLocation(ocw, disploc); | ^ OverConv.c:1789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1789 | computeDisplayFragments(ocw, newseg, disploc) | ^ OverConv.c:130:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | static DisplayFragment *computeDisplayFragments(); | ^ OverConv.c:1846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1846 | computeWidthAvailable(ocw, disploc) | ^ OverConv.c:131:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 131 | static int computeWidthAvailable(); | ^ OverConv.c:1862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | nextLocation(ocw, disploc) | ^ OverConv.c:132:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | static void nextLocation(); | ^ OverConv.c:1900:24: warning: '&&' within '||' [-Wlogical-op-parentheses] 1899 | if (dfp->nchars > offset || | ~~ 1900 | dfp->next == NULL && dfp->nchars == offset) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ OverConv.c:1900:24: note: place parentheses around the '&&' expression to silence this warning 1900 | dfp->next == NULL && dfp->nchars == offset) { | ^ | ( ) OverConv.c:1890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1890 | findLocation(ocw, dsp, offset, disploc) | ^ OverConv.c:133:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | static DisplayLocation *findLocation(); | ^ OverConv.c:1977:15: warning: passing arguments to 'adjustDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1977 | adjustDisplay(ocw); | ^ OverConv.c:1919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1919 | reconfigureDisplay(ocw) | ^ OverConv.c:134:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 134 | static void reconfigureDisplay(); | ^ OverConv.c:2027:26: warning: passing arguments to 'updateDisplaySegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2027 | updateDisplaySegment(dispobj, dsp); | ^ OverConv.c:2017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2017 | updateDisplay(ocw) | ^ OverConv.c:135:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | static void updateDisplay(); | ^ OverConv.c:2034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2034 | updateDisplaySegment(dispobj, dsp) | ^ OverConv.c:136:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 136 | static void updateDisplaySegment(); | ^ OverConv.c:2072:16: warning: passing arguments to 'intersectRect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2072 | intersectRect(&dfp->region, region)) { | ^ OverConv.c:2059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2059 | redrawSegments(ocw, canvas, region) | ^ OverConv.c:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | static void redrawSegments(); | ^ OverConv.c:2113:32: warning: passing arguments to 'getInsertingSegmentRange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2113 | (void)getInsertingSegmentRange(ocw, overflowcanvas, | ^ OverConv.c:2118:32: warning: passing arguments to 'getAttributeSegmentRange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2118 | (void)getAttributeSegmentRange(ocw, overflowcanvas, | ^ OverConv.c:2121:32: warning: passing arguments to 'getAttributeSegmentRange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2121 | (void)getAttributeSegmentRange(ocw, overflowcanvas, | ^ OverConv.c:2144:17: warning: passing arguments to 'adjustOffset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2144 | adjustOffset(areap, outerleft, outerright, &offset, False); | ^ OverConv.c:2145:17: warning: passing arguments to 'adjustOffset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2145 | adjustOffset(areap, innerleft, innerright, &offset, True); | ^ OverConv.c:2087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2087 | adjustDisplay(ocw) | ^ OverConv.c:139:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 139 | static void adjustDisplay(); | ^ OverConv.c:2152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2152 | getAttributeSegmentRange(ocw, canvas, attr, leftp, rightp) | ^ OverConv.c:140:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 140 | static Boolean getAttributeSegmentRange(); | ^ OverConv.c:2193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2193 | getInsertingSegmentRange(ocw, canvas, curseg, offset, leftp, rightp, posp) | ^ OverConv.c:141:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | static Boolean getInsertingSegmentRange(); | ^ OverConv.c:2244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2244 | adjustOffset(rectp, left, right, offsetp, force) | ^ OverConv.c:142:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | static void adjustOffset(); | ^ OverConv.c:2278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2278 | eraseCursor(ocw) | ^ OverConv.c:144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 144 | static void eraseCursor(); | ^ OverConv.c:2296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2296 | showCursor(ocw) | ^ OverConv.c:145:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 145 | static void showCursor(); | ^ OverConv.c:2333:22: warning: passing arguments to 'intersectRect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2333 | if (intersectRect(region, &bounds)) { | ^ OverConv.c:2337:11: warning: passing arguments to 'unionRect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2337 | unionRect(region, &bounds, region); | ^ OverConv.c:2313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2313 | exposeCursor(ocw, w, region) | ^ OverConv.c:146:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 146 | static Boolean exposeCursor(); | ^ OverConv.c:2345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2345 | computeCursor(ocw) | ^ OverConv.c:147:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | static void computeCursor(); | ^ OverConv.c:2377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2377 | StringToModeLocation(args, num_args, from, to) | ^ OverConv.c:149:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 149 | static void StringToModeLocation(); | ^ OverConv.c:2406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2406 | MoveShell(w, x, y) | ^ OverConv.c:151:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | static void MoveShell(); | ^ OverConv.c:2436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2436 | getToplevelWindow(dpy, win, wm_state) | ^ OverConv.c:152:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 152 | static Window getToplevelWindow(); | ^ OverConv.c:2474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2474 | setTransientFor(w, win) | ^ OverConv.c:153:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 153 | static void setTransientFor(); | ^ OverConv.c:2485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2485 | setMwmHints(w) | ^ OverConv.c:154:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 154 | static void setMwmHints(); | ^ OverConv.c:2511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2511 | getFocusOffset(ocw) | ^ OverConv.c:155:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | static void getFocusOffset(); | ^ OverConv.c:2532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2532 | intersectRect(rect1, rect2) | ^ OverConv.c:156:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 156 | static Boolean intersectRect(); | ^ OverConv.c:2544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2544 | unionRect(rect1, rect2, rect_ret) | ^ OverConv.c:157:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 157 | static void unionRect(); | ^ OverConv.c:2566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2566 | enoughSpaceForStatus(ocw) | ^ OverConv.c:158:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 158 | static int enoughSpaceForStatus(); | ^ OverConv.c:2624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2624 | freeDisplayFragments(fragments) | ^ OverConv.c:160:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | static void freeDisplayFragments(); | ^ OverConv.c:2637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2637 | destroyDisplayFragments(fragments) | ^ OverConv.c:161:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | static void destroyDisplayFragments(); | ^ OverConv.c:2651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2651 | allocDisplaySegments(ocw, n) | ^ OverConv.c:162:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | static void allocDisplaySegments(); | ^ OverConv.c:2670:15: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2670 | freeString(&dsp->seg); | ^ OverConv.c:2667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2667 | freeDisplaySegment(dsp) | ^ OverConv.c:163:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 163 | static void freeDisplaySegment(); | ^ OverConv.c:2677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2677 | clearAllDisplaySegments(ocw) | ^ OverConv.c:164:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 164 | static void clearAllDisplaySegments(); | ^ OverConv.c:2691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2691 | copyString(from, to) | ^ OverConv.c:165:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 165 | static void copyString(); | ^ OverConv.c:2702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2702 | freeString(seg) | ^ OverConv.c:166:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 166 | static void freeString(); | ^ OverConv.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: OverConv.c,v 1.71 1999/05/06 09:07:58 ishisone Exp $"; | ^~~~~ 233 warnings generated. rm -f OnConv.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" OnConv.c OnConv.c:239:32: warning: passing arguments to 'CreateSelectionWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | (void)CreateSelectionWidget(ocw); | ^ OnConv.c:240:26: warning: passing arguments to 'CreateAuxWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | (void)CreateAuxWidget(ocw); | ^ OnConv.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | Initialize(req, new, args, num_args) | ^ OnConv.c:77:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | static void Initialize(); | ^ OnConv.c:266:16: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | freeString(&dsp[i].seg); | ^ OnConv.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | Destroy(w) | ^ OnConv.c:78:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static void Destroy(); | ^ OnConv.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | SetValues(cur, req, new, args, num_args) | ^ OnConv.c:79:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static Boolean SetValues(); | ^ OnConv.c:304:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | clearAllDisplaySegments(ocw); | ^ OnConv.c:307:33: warning: passing arguments to 'getToplevelWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | toplevel = getToplevelWindow(XtDisplay(widget), | ^ OnConv.c:309:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | setTransientFor(ocw->onthespot.selectionshell, toplevel); | ^ OnConv.c:310:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | setTransientFor(ocw->onthespot.auxshell, toplevel); | ^ OnConv.c:330:15: warning: passing arguments to 'UpdateMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | UpdateMode(widget); | ^ OnConv.c:333:19: warning: passing arguments to 'CBPreeditStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | CBPreeditStart(widget); | ^ OnConv.c:298:12: warning: unused variable 'inputobj' [-Wunused-variable] 298 | Widget inputobj = ocw->ccontrol.inputobj; | ^~~~~~~~ OnConv.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | ConversionStartup(widget, valuemask, value) | ^ OnConv.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void ConversionStartup(); | ^ OnConv.c:356:19: warning: passing arguments to 'CBPreeditDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | CBPreeditDraw(ocw, 0, 0, len, encoding, format, 0, (XPointer)"", | ^ OnConv.c:362:18: warning: passing arguments to 'CBPreeditDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | CBPreeditDone(w); | ^ OnConv.c:365:17: warning: passing arguments to 'CBStatusDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | CBStatusDraw(ocw, encoding, format, 0, (XPointer)"", 0); | ^ OnConv.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | ConversionFinish(w) | ^ OnConv.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void ConversionFinish(); | ^ OnConv.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | ChangeAttributes(w, valuemask, value) | ^ OnConv.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void ChangeAttributes(); | ^ OnConv.c:395:12: warning: passing arguments to 'UpdateMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | UpdateMode(w); | ^ OnConv.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | ChangeFocus(w, set) | ^ OnConv.c:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static void ChangeFocus(); | ^ OnConv.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | StringToFeedbackAttrs(args, num_args, from, to) | ^ OnConv.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void StringToFeedbackAttrs(); | ^ OnConv.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | CreateSelectionWidget(ocw) | ^ OnConv.c:88:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static Widget CreateSelectionWidget(); | ^ OnConv.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | CreateAuxWidget(ocw) | ^ OnConv.c:102:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static Widget CreateAuxWidget(); | ^ OnConv.c:552:25: warning: passing arguments to 'allocDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | allocDisplaySegments(ocw, nnew); | ^ OnConv.c:564:16: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | copyString(newseg, &dseg->seg); | ^ OnConv.c:565:24: warning: passing arguments to 'addAttributeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | addAttributeBuffer(buffer, inputobj, newseg, 0, fba); | ^ OnConv.c:577:25: warning: passing arguments to 'addAttributeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | addAttributeBuffer(buffer, inputobj, newseg, 0, fba); | ^ OnConv.c:582:21: warning: passing arguments to 'addAttributeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | addAttributeBuffer(buffer, inputobj, newseg, 0, fba); | ^ OnConv.c:590:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | freeString(&dseg->seg); | ^ OnConv.c:591:13: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | copyString(newseg, &dseg->seg); | ^ OnConv.c:593:25: warning: passing arguments to 'addAttributeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | addAttributeBuffer(buffer, inputobj, newseg, nsame, fba); | ^ OnConv.c:599:25: warning: passing arguments to 'addAttributeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | addAttributeBuffer(buffer, inputobj, newseg, 0, fba); | ^ OnConv.c:603:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | freeString(&dseg->seg); | ^ OnConv.c:604:13: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | copyString(newseg, &dseg->seg); | ^ OnConv.c:605:21: warning: passing arguments to 'addAttributeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | addAttributeBuffer(buffer, inputobj, newseg, 0, fba); | ^ OnConv.c:623:20: warning: passing arguments to 'freeDisplaySegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | freeDisplaySegment(dseg); | ^ OnConv.c:630:20: warning: passing arguments to 'CBPreeditCaret' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | CBPreeditCaret(ocw, caret); | ^ OnConv.c:646:19: warning: passing arguments to 'CBPreeditDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | CBPreeditDraw(ocw, caret, chgoffset, oldlen - chgoffset, | ^ OnConv.c:658:27: warning: passing arguments to 'destroyAttributeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | destroyAttributeBuffer(buffer); | ^ OnConv.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | UpdateText(w) | ^ OnConv.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static void UpdateText(); | ^ OnConv.c:681:15: warning: passing arguments to 'CBPreeditDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | CBPreeditDraw(ocw, 0, 0, len, encoding, format, 0, (XPointer)"", | ^ OnConv.c:685:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | clearAllDisplaySegments(ocw); | ^ OnConv.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | CommitText(w, arg) | ^ OnConv.c:91:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | static void CommitText(); | ^ OnConv.c:713:17: warning: passing arguments to 'CBStatusDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | CBStatusDraw(ocw, encoding, format, length, string, nchars); | ^ OnConv.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | UpdateMode(w) | ^ OnConv.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static void UpdateMode(); | ^ OnConv.c:731:16: warning: passing arguments to 'SelectionStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | SelectionStart(ocw, arg->u.selection_kind); | ^ OnConv.c:734:14: warning: passing arguments to 'SelectionEnd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | SelectionEnd(ocw, &arg->u.current_item); | ^ OnConv.c:737:14: warning: passing arguments to 'SelectionSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | SelectionSet(ocw, arg->u.current_item); | ^ OnConv.c:740:15: warning: passing arguments to 'SelectionMove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | SelectionMove(ocw, arg->u.dir); | ^ OnConv.c:743:14: warning: passing arguments to 'SelectionGet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | SelectionGet(ocw, &arg->u.current_item); | ^ OnConv.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | SelectionControl(w, arg) | ^ OnConv.c:93:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | static void SelectionControl(); | ^ OnConv.c:779:25: warning: passing arguments to 'LocateSelectionPopup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | LocateSelectionPopup(ocw); | ^ OnConv.c:759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | SelectionStart(ocw, kind) | ^ OnConv.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static void SelectionStart(); | ^ OnConv.c:802:34: warning: passing arguments to 'SafeGetWindowAttributes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | (void)SafeGetWindowAttributes(XtDisplay(ocw), ocw->ccontrol.clientwindow, | ^ OnConv.c:822:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | MoveShell(shell, x, y); | ^ OnConv.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | LocateSelectionPopup(ocw) | ^ OnConv.c:96:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | static void LocateSelectionPopup(); | ^ OnConv.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | SelectionEnd(ocw, current) | ^ OnConv.c:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static void SelectionEnd(); | ^ OnConv.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | SelectionSet(ocw, current) | ^ OnConv.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void SelectionSet(); | ^ OnConv.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | SelectionGet(ocw, current) | ^ OnConv.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void SelectionGet(); | ^ OnConv.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | SelectionMove(ocw, dir) | ^ OnConv.c:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | static void SelectionMove(); | ^ OnConv.c:914:10: warning: passing arguments to 'AuxStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | AuxStart(ocw); | ^ OnConv.c:917:8: warning: passing arguments to 'AuxEnd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | AuxEnd(ocw); | ^ OnConv.c:920:11: warning: passing arguments to 'AuxChange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | AuxChange(ocw); | ^ OnConv.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | AuxControl(w, arg) | ^ OnConv.c:103:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | static void AuxControl(); | ^ OnConv.c:952:17: warning: passing arguments to 'LocateAuxPopup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | LocateAuxPopup(ocw); | ^ OnConv.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | AuxStart(ocw) | ^ OnConv.c:104:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | static void AuxStart(); | ^ OnConv.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | AuxEnd(ocw) | ^ OnConv.c:105:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static void AuxEnd(); | ^ OnConv.c:974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | AuxChange(ocw) | ^ OnConv.c:106:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | static void AuxChange(); | ^ OnConv.c:1006:34: warning: passing arguments to 'SafeGetWindowAttributes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | (void)SafeGetWindowAttributes(XtDisplay(ocw), ocw->ccontrol.clientwindow, | ^ OnConv.c:1026:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | MoveShell(shell, x, y); | ^ OnConv.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | LocateAuxPopup(ocw) | ^ OnConv.c:107:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | static void LocateAuxPopup(); | ^ OnConv.c:1042:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1042 | int current = (int)call_data; | ^~~~~~~~~~~~~~ OnConv.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | SelectionSelected(w, client_data, call_data) | ^ OnConv.c:109:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | static void SelectionSelected(); | ^ OnConv.c:1056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | SafeGetWindowAttributes(dpy, w, attr) | ^ OnConv.c:111:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | static Boolean SafeGetWindowAttributes(); | ^ OnConv.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | MoveShell(w, x, y) | ^ OnConv.c:112:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static void MoveShell(); | ^ OnConv.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | getToplevelWindow(dpy, win) | ^ OnConv.c:113:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | static Window getToplevelWindow(); | ^ OnConv.c:1133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | setTransientFor(w, win) | ^ OnConv.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void setTransientFor(); | ^ OnConv.c:1143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | allocDisplaySegments(ocw, n) | ^ OnConv.c:115:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void allocDisplaySegments(); | ^ OnConv.c:1162:15: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | freeString(&dsp->seg); | ^ OnConv.c:1159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | freeDisplaySegment(dsp) | ^ OnConv.c:116:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | static void freeDisplaySegment(); | ^ OnConv.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | clearAllDisplaySegments(ocw) | ^ OnConv.c:117:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static void clearAllDisplaySegments(); | ^ OnConv.c:1181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1181 | copyString(from, to) | ^ OnConv.c:118:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | static void copyString(); | ^ OnConv.c:1192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1192 | freeString(seg) | ^ OnConv.c:119:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static void freeString(); | ^ OnConv.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | destroyAttributeBuffer(buffer) | ^ OnConv.c:121:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | static void destroyAttributeBuffer(); | ^ OnConv.c:1247:24: warning: passing arguments to 'attrToFeedback' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | fb = attrToFeedback(fba, seg->attr); | ^ OnConv.c:1224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1224 | addAttributeBuffer(buffer, inputobj, seg, offset, fba) | ^ OnConv.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static void addAttributeBuffer(); | ^ OnConv.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | attrToFeedback(fba, attr) | ^ OnConv.c:123:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | static unsigned long attrToFeedback(); | ^ OnConv.c:1282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | CBPreeditStart(ocw) | ^ OnConv.c:124:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | static void CBPreeditStart(); | ^ OnConv.c:1300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | CBPreeditDone(ocw) | ^ OnConv.c:125:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static void CBPreeditDone(); | ^ OnConv.c:1318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1318 | CBPreeditDraw(ocw, caret, chg_first, chg_length, encoding, format, text_length, text, attrs_length, attrs) | ^ OnConv.c:126:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | static void CBPreeditDraw(); | ^ OnConv.c:1370:10: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1370 | (XtPointer)caret); | ^~~~~~~~~~~~~~~~ OnConv.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | CBPreeditCaret(ocw, caret) | ^ OnConv.c:127:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 127 | static void CBPreeditCaret(); | ^ OnConv.c:1375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | CBStatusStart(ocw) | ^ OnConv.c:128:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | static void CBStatusStart(); | ^ OnConv.c:1393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | CBStatusDone(ocw) | ^ OnConv.c:129:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | static void CBStatusDone(); | ^ OnConv.c:1411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | CBStatusDraw(ocw, encoding, format, length, text, nchars) | ^ OnConv.c:130:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | static void CBStatusDraw(); | ^ OnConv.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: OnConv.c,v 10.9 1999/05/19 08:52:42 ishisone Exp $"; | ^~~~~ OnConv.c:1375:1: warning: unused function 'CBStatusStart' [-Wunused-function] 1375 | CBStatusStart(ocw) | ^~~~~~~~~~~~~ OnConv.c:1393:1: warning: unused function 'CBStatusDone' [-Wunused-function] 1393 | CBStatusDone(ocw) | ^~~~~~~~~~~~ 144 warnings generated. rm -f WcharDisp.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" WcharDisp.c WcharDisp.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | StringToFontMapping(args, num_args, from, to) | ^ WcharDisp.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void StringToFontMapping(); | ^ WcharDisp.c:228:13: warning: passing arguments to 'GetAtoms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | GetAtoms(obj); | ^ WcharDisp.c:229:10: warning: passing arguments to 'GetGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | GetGC(obj); | ^ WcharDisp.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | Initialize(req, new, args, num_args) | ^ WcharDisp.c:74:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | static void Initialize(); | ^ WcharDisp.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | Destroy(w) | ^ WcharDisp.c:75:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | static void Destroy(); | ^ WcharDisp.c:261:43: warning: self-comparison always evaluates to false [-Wtautological-compare] 261 | new->wd.defaultmapping.grmapping[i] != | ^ WcharDisp.c:273:7: warning: passing arguments to 'GetGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | GetGC(new); | ^ WcharDisp.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | SetValues(cur, req, wid, args, num_args) | ^ WcharDisp.c:76:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static Boolean SetValues(); | ^ WcharDisp.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | GetAtoms(obj) | ^ WcharDisp.c:78:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static void GetAtoms(); | ^ WcharDisp.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | GetGC(obj) | ^ WcharDisp.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void GetGC(); | ^ WcharDisp.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | ChangeFont(obj, fonts, mapping) | ^ WcharDisp.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void ChangeFont(); | ^ WcharDisp.c:422:34: warning: passing arguments to 'countControlChars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | if ((nctl = countControlChars(wstr, len)) == 0) { | ^ WcharDisp.c:428:20: warning: passing arguments to 'expandControlChars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | expandControlChars(wstr, len, s); | ^ WcharDisp.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | StringWidth(w, seg, start, end) | ^ WcharDisp.c:82:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static int StringWidth(); | ^ WcharDisp.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | LineHeight(w, ascentp) | ^ WcharDisp.c:83:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static int LineHeight(); | ^ WcharDisp.c:495:34: warning: passing arguments to 'countControlChars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | if ((nctl = countControlChars(wstr, len)) == 0) { | ^ WcharDisp.c:501:20: warning: passing arguments to 'expandControlChars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | expandControlChars(wstr, len, s); | ^ WcharDisp.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | DrawString(w, canvas, seg, start, end, x, y) | ^ WcharDisp.c:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static void DrawString(); | ^ WcharDisp.c:542:20: warning: passing arguments to 'charWidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | cwidth = charWidth(*sp++, gcset); | ^ WcharDisp.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | MaxChar(w, seg, start, width) | ^ WcharDisp.c:85:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static int MaxChar(); | ^ WcharDisp.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | SetFonts(w, fonts, num_fonts) | ^ WcharDisp.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void SetFonts(); | ^ WcharDisp.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | countControlChars(wstr, len) | ^ WcharDisp.c:88:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static int countControlChars(); | ^ WcharDisp.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | expandControlChars(org, orglen, res) | ^ WcharDisp.c:89:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | static void expandControlChars(); | ^ WcharDisp.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | defaultCharWidth(font) | ^ WcharDisp.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | charWidth(c, gcset) | ^ WcharDisp.c:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static int charWidth(); | ^ WcharDisp.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: WcharDisp.c,v 1.23 1994/10/27 08:29:05 ishisone Exp $"; | ^~~~~ 41 warnings generated. rm -f XimpProto.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" XimpProto.c XimpProto.c:269:17: warning: passing arguments to 'initializeError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | initializeError(new, XtNlocaleName); | ^ XimpProto.c:271:17: warning: passing arguments to 'initializeError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | initializeError(new, XtNinputObjectClass); | ^ XimpProto.c:273:17: warning: passing arguments to 'initializeError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | initializeError(new, XtNdisplayObjectClass); | ^ XimpProto.c:276:16: warning: passing arguments to 'checkLocale' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | checkLocale(xpw, xpw->ximp.localename); | ^ XimpProto.c:299:13: warning: passing arguments to 'getAtoms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | getAtoms(xpw); | ^ XimpProto.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | Initialize(req, new, args, num_args) | ^ XimpProto.c:112:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static void Initialize(); | ^ XimpProto.c:315:12: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | statusDone(xpw->ximp.clients); | ^ XimpProto.c:316:9: warning: passing arguments to 'endProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | endProc(xpw->ximp.clients, False); | ^ XimpProto.c:317:14: warning: passing arguments to 'deleteClient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | deleteClient(xpw->ximp.clients); | ^ XimpProto.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | Destroy(w) | ^ XimpProto.c:113:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | static void Destroy(); | ^ XimpProto.c:360:16: warning: passing arguments to 'setProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | setProperty(xpw); | ^ XimpProto.c:362:22: warning: passing arguments to 'ownSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | if (!ownSelection(xpw)) { | ^ XimpProto.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | Realize(w, mask, value) | ^ XimpProto.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void Realize(); | ^ XimpProto.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | getAtoms(xpw) | ^ XimpProto.c:116:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | static void getAtoms(); | ^ XimpProto.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | ownSelection(xpw) | ^ XimpProto.c:117:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static int ownSelection(); | ^ XimpProto.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | findClient(xpw, id) | ^ XimpProto.c:119:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static ConvClient *findClient(); | ^ XimpProto.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | newClient(xpw, client) | ^ XimpProto.c:120:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | static ConvClient *newClient(); | ^ XimpProto.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | attachConverter(ccp) | ^ XimpProto.c:121:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | static Widget attachConverter(); | ^ XimpProto.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | detachConverter(ccp) | ^ XimpProto.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static void detachConverter(); | ^ XimpProto.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | deleteClient(client) | ^ XimpProto.c:123:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | static void deleteClient(); | ^ XimpProto.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | isCorrectClientEvent(xpw, event) | ^ XimpProto.c:125:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static Boolean isCorrectClientEvent(); | ^ XimpProto.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | isCorrectWindowID(w, window, widthp, heightp) | ^ XimpProto.c:126:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | static Boolean isCorrectWindowID(); | ^ XimpProto.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | initializeError(w, resname) | ^ XimpProto.c:127:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 127 | static void initializeError(); | ^ XimpProto.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | checkLocale(xpw, name) | ^ XimpProto.c:128:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | static void checkLocale(); | ^ XimpProto.c:742:10: warning: passing arguments to 'getFonts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | getFonts(client, xpattr->fontlist, 1); | ^ XimpProto.c:748:10: warning: passing arguments to 'getFonts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | getFonts(client, xsattr->fontlist, 0); | ^ XimpProto.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | fillInDefaultAttributes(client) | ^ XimpProto.c:129:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | static void fillInDefaultAttributes(); | ^ XimpProto.c:834:24: warning: passing arguments to 'computeAreaForQuery' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | computeAreaForQuery(client); | ^ XimpProto.c:809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | computeAreaForStartup(client) | ^ XimpProto.c:130:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | static void computeAreaForStartup(); | ^ XimpProto.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | computeAreaForQuery(client) | ^ XimpProto.c:131:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 131 | static void computeAreaForQuery(); | ^ XimpProto.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | makeConvAttributes(client, attr) | ^ XimpProto.c:132:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | static unsigned long makeConvAttributes(); | ^ XimpProto.c:1069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | getFonts(client, fontnamelist, preedit) | ^ XimpProto.c:133:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | static void getFonts(); | ^ XimpProto.c:1135:19: warning: passing arguments to 'setKeyProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | setKeyProperty(xpw); | ^ XimpProto.c:1098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | setProperty(xpw) | ^ XimpProto.c:135:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | static void setProperty(); | ^ XimpProto.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | setKeyProperty(xpw) | ^ XimpProto.c:136:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 136 | static void setKeyProperty(); | ^ XimpProto.c:1197:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | if (!readProperty(client, xpw->ximp.ximpVersionAtom, XA_STRING, 8, | ^ XimpProto.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | getVersionProperty(client) | ^ XimpProto.c:1217:18: warning: passing arguments to 'getFocusProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | getFocusProperty(client); | ^ XimpProto.c:1220:24: warning: passing arguments to 'getPreeditFontProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | getPreeditFontProperty(client); | ^ XimpProto.c:1223:23: warning: passing arguments to 'getStatusFontProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | getStatusFontProperty(client); | ^ XimpProto.c:1226:20: warning: passing arguments to 'getPreeditProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | getPreeditProperty(client, mask & PREEDIT_MASK); | ^ XimpProto.c:1229:19: warning: passing arguments to 'getStatusProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | getStatusProperty(client, mask & STATUS_MASK); | ^ XimpProto.c:1212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | getAttributes(client, mask) | ^ XimpProto.c:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | static void getAttributes(); | ^ XimpProto.c:1245:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | if (!readProperty(client, xpw->ximp.ximpFocusAtom, XA_WINDOW, 32, | ^ XimpProto.c:1261:16: warning: passing arguments to 'sendErrorEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | sendErrorEvent(client, XIMP_BadFocusWindow); | ^ XimpProto.c:1235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1235 | getFocusProperty(client) | ^ XimpProto.c:138:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | static void getFocusProperty(); | ^ XimpProto.c:1281:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | if (!readProperty(client, xpw->ximp.ximpPreeditFontAtom, XA_STRING, 8, | ^ XimpProto.c:1273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | getPreeditFontProperty(client) | ^ XimpProto.c:139:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 139 | static void getPreeditFontProperty(); | ^ XimpProto.c:1313:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | if (!readProperty(client, xpw->ximp.ximpStatusFontAtom, XA_STRING, 8, | ^ XimpProto.c:1320:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1320 | if (!strcmp(data, client->xsattrs.fontlist)) { | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ XimpProto.c:1321:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1321 | XtFree(data); | ^~~~ /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/X11/Intrinsic.h:1870:1: note: passing argument to parameter here 1870 | ); | ^ XimpProto.c:1332:22: warning: passing 'unsigned char *' to parameter of type 'String' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1332 | getFonts(client, data, 0); | ^~~~ XimpProto.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | getStatusFontProperty(client) | ^ XimpProto.c:140:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 140 | static void getStatusFontProperty(); | ^ XimpProto.c:1347:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1347 | if (!readProperty(client, xpw->ximp.ximpPreeditAtom, | ^ XimpProto.c:1337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | getPreeditProperty(client, mask) | ^ XimpProto.c:141:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | static void getPreeditProperty(); | ^ XimpProto.c:1435:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1435 | if (!readProperty(client, xpw->ximp.ximpStatusAtom, | ^ XimpProto.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | getStatusProperty(client, mask) | ^ XimpProto.c:142:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | static void getStatusProperty(); | ^ XimpProto.c:1542:16: warning: passing arguments to 'sendErrorEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1542 | sendErrorEvent(client, XIMP_BadProperty); | ^ XimpProto.c:1546:16: warning: passing arguments to 'sendErrorEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | sendErrorEvent(client, XIMP_BadPropertyType); | ^ XimpProto.c:1553:16: warning: passing arguments to 'sendErrorEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1553 | sendErrorEvent(client, XIMP_BadPropertyType); | ^ XimpProto.c:1513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1513 | readProperty(client, prop, type, format, datapp, lenp) | ^ XimpProto.c:143:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 143 | static Boolean readProperty(); | ^ XimpProto.c:1566:18: warning: passing arguments to 'setFocusProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1566 | setFocusProperty(client); | ^ XimpProto.c:1569:24: warning: passing arguments to 'setPreeditFontProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | setPreeditFontProperty(client); | ^ XimpProto.c:1572:23: warning: passing arguments to 'setStatusFontProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1572 | setStatusFontProperty(client); | ^ XimpProto.c:1575:20: warning: passing arguments to 'setPreeditProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1575 | setPreeditProperty(client, mask); | ^ XimpProto.c:1578:19: warning: passing arguments to 'setStatusProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1578 | setStatusProperty(client, mask); | ^ XimpProto.c:1561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1561 | setAttributes(client, mask) | ^ XimpProto.c:144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 144 | static void setAttributes(); | ^ XimpProto.c:1590:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | writeProperty(client, xpw->ximp.ximpFocusAtom, XA_WINDOW, 32, | ^ XimpProto.c:1584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | setFocusProperty(client) | ^ XimpProto.c:145:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 145 | static void setFocusProperty(); | ^ XimpProto.c:1602:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1602 | writeProperty(client, xpw->ximp.ximpPreeditFontAtom, XA_STRING, 8, | ^ XimpProto.c:1596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1596 | setPreeditFontProperty(client) | ^ XimpProto.c:146:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 146 | static void setPreeditFontProperty(); | ^ XimpProto.c:1615:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1615 | writeProperty(client, xpw->ximp.ximpStatusFontAtom, XA_STRING, 8, | ^ XimpProto.c:1609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1609 | setStatusFontProperty(client) | ^ XimpProto.c:147:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | static void setStatusFontProperty(); | ^ XimpProto.c:1674:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1674 | writeProperty(client, xpw->ximp.ximpPreeditAtom, | ^ XimpProto.c:1622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1622 | setPreeditProperty(client, mask) | ^ XimpProto.c:148:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 148 | static void setPreeditProperty(); | ^ XimpProto.c:1732:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | writeProperty(client, xpw->ximp.ximpStatusAtom, | ^ XimpProto.c:1681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1681 | setStatusProperty(client, mask) | ^ XimpProto.c:149:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 149 | static void setStatusProperty(); | ^ XimpProto.c:1739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1739 | writeProperty(client, prop, type, format, datap, len) | ^ XimpProto.c:150:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 150 | static void writeProperty(); | ^ XimpProto.c:1767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1767 | sendClientMessage8(client, str, len) | ^ XimpProto.c:152:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 152 | static void sendClientMessage8(); | ^ XimpProto.c:1796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1796 | sendClientMessage32(client, type, l1, l2, l3, l4) | ^ XimpProto.c:153:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 153 | static void sendClientMessage32(); | ^ XimpProto.c:1820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1820 | sendKeyEvent(client, keyevent) | ^ XimpProto.c:154:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 154 | static void sendKeyEvent(); | ^ XimpProto.c:1832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1832 | sendErrorEvent(client, error) | ^ XimpProto.c:155:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | static void sendErrorEvent(); | ^ XimpProto.c:1842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1842 | sendCreateRefusal(xpw, window) | ^ XimpProto.c:156:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 156 | static void sendCreateRefusal(); | ^ XimpProto.c:1877:12: warning: passing arguments to 'fixProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | fixProc(ccp, arg); | ^ XimpProto.c:1868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1868 | fixCallback(w, client_data, call_data) | ^ XimpProto.c:158:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 158 | static void fixCallback(); | ^ XimpProto.c:1882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1882 | fixProc(client, arg) | ^ XimpProto.c:159:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 159 | static void fixProc(); | ^ XimpProto.c:1944:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1944 | int abort = (int)call_data; | ^~~~~~~~~~~~~~ XimpProto.c:1947:12: warning: passing arguments to 'endProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1947 | endProc(ccp, abort); | ^ XimpProto.c:1938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1938 | endCallback(w, client_data, call_data) | ^ XimpProto.c:160:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | static void endCallback(); | ^ XimpProto.c:1958:16: warning: passing arguments to 'preeditDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1958 | preeditDone(client); | ^ XimpProto.c:1952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1952 | endProc(client, abort) | ^ XimpProto.c:161:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | static void endProc(); | ^ XimpProto.c:1971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1971 | unusedEventCallback(w, client_data, call_data) | ^ XimpProto.c:162:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | static void unusedEventCallback(); | ^ XimpProto.c:2064:16: warning: passing arguments to 'statusStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2064 | statusStart(client); | ^ XimpProto.c:1989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1989 | ximpCreateMessageProc(xpw, ev) | ^ XimpProto.c:164:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 164 | static void ximpCreateMessageProc(); | ^ XimpProto.c:2088:15: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | statusDone(client); | ^ XimpProto.c:2069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2069 | ximpDestroyMessageProc(xpw, ev) | ^ XimpProto.c:165:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 165 | static void ximpDestroyMessageProc(); | ^ XimpProto.c:2172:17: warning: passing arguments to 'preeditStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2172 | preeditStart(client); | ^ XimpProto.c:2098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2098 | ximpBeginMessageProc(xpw, ev) | ^ XimpProto.c:166:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 166 | static void ximpBeginMessageProc(); | ^ XimpProto.c:2177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2177 | ximpEndMessageProc(xpw, ev) | ^ XimpProto.c:167:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 167 | static void ximpEndMessageProc(); | ^ XimpProto.c:2222:16: warning: passing arguments to 'statusStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2222 | statusStart(client); | ^ XimpProto.c:2205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2205 | ximpSetFocusMessageProc(xpw, ev) | ^ XimpProto.c:168:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 168 | static void ximpSetFocusMessageProc(); | ^ XimpProto.c:2250:15: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2250 | statusDone(client); | ^ XimpProto.c:2230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2230 | ximpUnsetFocusMessageProc(xpw, ev) | ^ XimpProto.c:169:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 169 | static void ximpUnsetFocusMessageProc(); | ^ XimpProto.c:2255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2255 | ximpMoveMessageProc(xpw, ev) | ^ XimpProto.c:170:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 170 | static void ximpMoveMessageProc(); | ^ XimpProto.c:2283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2283 | ximpResetMessageProc(xpw, ev) | ^ XimpProto.c:171:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 171 | static void ximpResetMessageProc(); | ^ XimpProto.c:2335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2335 | ximpSetValueMessageProc(xpw, ev) | ^ XimpProto.c:172:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 172 | static void ximpSetValueMessageProc(); | ^ XimpProto.c:2363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2363 | ximpChangeMessageProc(xpw, ev) | ^ XimpProto.c:2409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2409 | ximpGetValueMessageProc(xpw, ev) | ^ XimpProto.c:173:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 173 | static void ximpGetValueMessageProc(); | ^ XimpProto.c:2437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2437 | ximpKeyPressMessageProc(xpw, ev) | ^ XimpProto.c:174:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 174 | static void ximpKeyPressMessageProc(); | ^ XimpProto.c:2482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2482 | ximpExtensionMessageProc(xpw, ev) | ^ XimpProto.c:175:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 175 | static void ximpExtensionMessageProc(); | ^ XimpProto.c:2524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2524 | XimpMessageProc(w, event, args, num_args) | ^ XimpProto.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static void XimpMessageProc(); | ^ XimpProto.c:2575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2575 | SelectionRequestProc(w, event, args, num_args) | ^ XimpProto.c:93:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | static void SelectionRequestProc(); | ^ XimpProto.c:2634:16: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2634 | statusDone(ccp); | ^ XimpProto.c:2606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2606 | SelectionClearProc(w, event, args, num_args) | ^ XimpProto.c:94:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | static void SelectionClearProc(); | ^ XimpProto.c:2651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2651 | ClientDead(ev, data) | ^ XimpProto.c:177:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 177 | static void ClientDead(); | ^ XimpProto.c:2679:17: warning: passing arguments to 'preeditStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2679 | preeditStart(ccp); | ^ XimpProto.c:2672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2672 | preeditStartCallback(w, client_data, call_data) | ^ XimpProto.c:179:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 179 | static void preeditStartCallback(); | ^ XimpProto.c:2692:16: warning: passing arguments to 'preeditDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2692 | preeditDone(ccp); | ^ XimpProto.c:2685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2685 | preeditDoneCallback(w, client_data, call_data) | ^ XimpProto.c:180:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 180 | static void preeditDoneCallback(); | ^ XimpProto.c:2706:16: warning: passing arguments to 'preeditDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2706 | preeditDraw(ccp, arg); | ^ XimpProto.c:2698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2698 | preeditDrawCallback(w, client_data, call_data) | ^ XimpProto.c:181:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 181 | static void preeditDrawCallback(); | ^ XimpProto.c:2718:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2718 | int caret = (int)call_data; | ^~~~~~~~~~~~~~ XimpProto.c:2720:17: warning: passing arguments to 'preeditCaret' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2720 | preeditCaret(ccp, caret); | ^ XimpProto.c:2712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | preeditCaretCallback(w, client_data, call_data) | ^ XimpProto.c:182:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | static void preeditCaretCallback(); | ^ XimpProto.c:2733:16: warning: passing arguments to 'statusStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2733 | statusStart(ccp); | ^ XimpProto.c:2726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2726 | statusStartCallback(w, client_data, call_data) | ^ XimpProto.c:183:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 183 | static void statusStartCallback(); | ^ XimpProto.c:2746:15: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2746 | statusDone(ccp); | ^ XimpProto.c:2739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2739 | statusDoneCallback(w, client_data, call_data) | ^ XimpProto.c:184:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | static void statusDoneCallback(); | ^ XimpProto.c:2760:15: warning: passing arguments to 'statusDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2760 | statusDraw(ccp, arg); | ^ XimpProto.c:2752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2752 | statusDrawCallback(w, client_data, call_data) | ^ XimpProto.c:185:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 185 | static void statusDrawCallback(); | ^ XimpProto.c:2765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2765 | preeditStart(client) | ^ XimpProto.c:186:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | static void preeditStart(); | ^ XimpProto.c:2780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2780 | preeditDone(client) | ^ XimpProto.c:187:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | static void preeditDone(); | ^ XimpProto.c:2795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2795 | preeditDraw(client, data) | ^ XimpProto.c:188:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | static void preeditDraw(); | ^ XimpProto.c:2904:24: warning: unused variable 'xpw' [-Wunused-variable] 2904 | XimpProtocolWidget xpw = (XimpProtocolWidget)client->protocolwidget; | ^~~ XimpProto.c:2900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2900 | preeditCaret(client, caret) | ^ XimpProto.c:189:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 189 | static void preeditCaret(); | ^ XimpProto.c:2915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2915 | statusStart(client) | ^ XimpProto.c:190:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 190 | static void statusStart(); | ^ XimpProto.c:2930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2930 | statusDone(client) | ^ XimpProto.c:191:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 191 | static void statusDone(); | ^ XimpProto.c:2945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2945 | statusDraw(client, data) | ^ XimpProto.c:192:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 192 | static void statusDraw(); | ^ XimpProto.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: XimpProto.c,v 1.49 1999/05/18 08:53:21 ishisone Exp $"; | ^~~~~ 214 warnings generated. rm -f IMProto.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" IMProto.c IMProto.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | Initialize(req, new, args, num_args) | ^ IMProto.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | Destroy(w) | ^ IMProto.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | Realize(w, mask, value) | ^ IMProto.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | getAtoms(ipw) | ^ IMProto.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | setProperty(ipw) | ^ IMProto.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | ownSelection(ipw) | ^ IMProto.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | convertSelection(w, selectionp, targetp, typep, valuep, lengthp, formatp) | ^ IMProto.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | loseSelection(w, selectionp) | ^ IMProto.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | acceptTCPService(client_data, sourcep, idp) | ^ IMProto.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | acceptUnixService(client_data, sourcep, idp) | ^ IMProto.c:780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | acceptXService(w, client_data, event, continuep) | ^ IMProto.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | initializeError(w, resname) | ^ IMProto.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | compactList(s) | ^ IMProto.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | setTransport(w) | ^ IMProto.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | makeConverter(w) | ^ IMProto.c:949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | getTriggerKeys(w) | ^ IMProto.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | ioeCallback(cldata) | ^ IMProto.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: IMProto.c,v 1.20 1999/04/12 08:52:23 ishisone Exp $"; | ^~~~~ 18 warnings generated. rm -f cachedatom.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" cachedatom.c cachedatom.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | nameHashFunc(s) | ^ cachedatom.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | newAtomRec(dpy, atom, arp, nrp) | ^ cachedatom.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | newNameRec(name, hashvalue) | ^ cachedatom.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | CachedInternAtom(dpy, name, exists) | ^ cachedatom.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | CachedGetAtomName(dpy, atom) | ^ cachedatom.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: cachedatom.c,v 1.9 1994/05/17 04:48:01 ishisone Rel $"; | ^~~~~ 6 warnings generated. rm -f cachedfont.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" cachedfont.c cachedfont.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | LookupByAtom(dpy, atom) | ^ cachedfont.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | LookupByName(dpy, name) | ^ cachedfont.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | AddName(frp, name) | ^ cachedfont.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | LoadFont(frp) | ^ cachedfont.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | AddFont(dpy, name) | ^ cachedfont.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | CachedLoadQueryFontByName(dpy, name) | ^ cachedfont.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | CachedLoadQueryFontByProp(dpy, atom) | ^ cachedfont.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | CachedLoadFontByFontStruct(dpy, font) | ^ cachedfont.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | CachedFreeFont(dpy, font) | ^ cachedfont.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: cachedfont.c,v 1.13 1994/05/17 10:51:54 ishisone Rel $"; | ^~~~~ 10 warnings generated. rm -f ctext.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" ctext.c ctext.c:78:9: warning: 'NULL' macro redefined [-Wmacro-redefined] 78 | #define NULL 0 | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_types/_null.h:49:9: note: previous definition is here 49 | #define NULL __DARWIN_NULL | ^ ctext.c:112:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 112 | while (c = *wstr++) { | ~~^~~~~~~~~ ctext.c:112:11: note: place parentheses around the assignment to silence this warning 112 | while (c = *wstr++) { | ^ | ( ) ctext.c:112:11: note: use '==' to turn this assignment into an equality comparison 112 | while (c = *wstr++) { | ^ | == ctext.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | convJWStoCT(wstr, xstr, jisroman) | ^ ctext.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | getesc(str, len) | ^ ctext.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | getcsi(str, len) | ^ ctext.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | convCTtoJWS(xstr, len, wstr) | ^ ctext.c:71:14: warning: unused variable 'rcsid' [-Wunused-variable] 71 | static char *rcsid = "$Id: ctext.c,v 2.6 1999/03/10 08:55:15 ishisone Exp $"; | ^~~~~ 7 warnings generated. rm -f dispatch.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" dispatch.c dispatch.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | resetEventMask(dpy, window, wp) | ^ dispatch.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | removeAll(dpy, window, wp) | ^ dispatch.c:128:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | (*handler)(event, data); | ^ dispatch.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | doDispatch(event, list) | ^ dispatch.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | MyDispatchEvent(event) | ^ dispatch.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | MyAddEventHandler(dpy, window, type, mask, func, data) | ^ dispatch.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | MyRemoveEventHandler(dpy, window, type, func, data) | ^ dispatch.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | MyRemoveAllEventHandler(dpy, window) | ^ dispatch.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: dispatch.c,v 1.14 1994/05/31 07:48:42 ishisone Rel $"; | ^~~~~ 9 warnings generated. rm -f fontset.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" fontset.c fontset.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | match(s, p) | ^ fontset.c:40:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | static int match(); | ^ fontset.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | countCommas(s) | ^ fontset.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | parseFontSet(spec, basenames) | ^ fontset.c:41:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static Cardinal parseFontSet(); | ^ fontset.c:149:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | font = (*func)(dpy, specs->pattern, namelist, numlist); | ^ fontset.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | tryCharSet(dpy, cset, extfont, namelist, numlist, func) | ^ fontset.c:42:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static Boolean tryCharSet(); | ^ fontset.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | exactMatchFont(dpy, csetstr, namelist, numlist) | ^ fontset.c:44:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static XFontStruct *exactMatchFont(); | ^ fontset.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | csSuppliedMatchFont(dpy, csetstr, namelist, numlist) | ^ fontset.c:43:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static XFontStruct *csSuppliedMatchFont(); | ^ fontset.c:243:36: warning: passing arguments to 'getXLFDName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | (namelist->xlfdname = getXLFDName(dpy, name)) == NULL)) { | ^ fontset.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | csReplacedMatchFont(dpy, csetstr, namelist, numlist) | ^ fontset.c:45:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static XFontStruct *csReplacedMatchFont(); | ^ fontset.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | getXLFDName(dpy, nonxlfdname) | ^ fontset.c:46:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static String getXLFDName(); | ^ fontset.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | ExtractFontsFromFontSet(dpy, fontset, charsets, exfonts, numcsets) | ^ fontset.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: fontset.c,v 1.9 1994/06/02 04:59:23 ishisone Rel $"; | ^~~~~ 19 warnings generated. rm -f wstring.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" wstring.c wstring.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | wstrcat(s1, s2) | ^ wstring.c:37:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 37 | while (*s1++ = *s2++) | ~~~~~~^~~~~~~ wstring.c:37:15: note: place parentheses around the assignment to silence this warning 37 | while (*s1++ = *s2++) | ^ | ( ) wstring.c:37:15: note: use '==' to turn this assignment into an equality comparison 37 | while (*s1++ = *s2++) | ^ | == wstring.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | wstrncat(s1, s2, n) | ^ wstring.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | wstrcmp(s1, s2) | ^ wstring.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | wstrncmp(s1, s2, n) | ^ wstring.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | wstrcpy(s1, s2) | ^ wstring.c:89:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 89 | while (*s1++ = *s2++) | ~~~~~~^~~~~~~ wstring.c:89:15: note: place parentheses around the assignment to silence this warning 89 | while (*s1++ = *s2++) | ^ | ( ) wstring.c:89:15: note: use '==' to turn this assignment into an equality comparison 89 | while (*s1++ = *s2++) | ^ | == wstring.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | wstrncpy(s1, s2, n) | ^ wstring.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | wstrlen(s) | ^ wstring.c:131:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 131 | while (x = *s++) { | ~~^~~~~~ wstring.c:131:11: note: place parentheses around the assignment to silence this warning 131 | while (x = *s++) { | ^ | ( ) wstring.c:131:11: note: use '==' to turn this assignment into an equality comparison 131 | while (x = *s++) { | ^ | == wstring.c:150:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 150 | while (x = *s++) { | ~~^~~~~~ wstring.c:150:11: note: place parentheses around the assignment to silence this warning 150 | while (x = *s++) { | ^ | ( ) wstring.c:150:11: note: use '==' to turn this assignment into an equality comparison 150 | while (x = *s++) { | ^ | == 11 warnings generated. rm -f xtwstr.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" xtwstr.c xtwstr.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | XtWSGetGCSet(w, mask, values, fontG0, fontG1, fontG2, fontG3) | ^ xtwstr.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | XtWSDestroyGCSet(gcset) | ^ xtwstr.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | XtWSReleaseGCSet(w, gcset) | ^ xtwstr.c:24:14: warning: unused variable 'rcsid' [-Wunused-variable] 24 | static char *rcsid = "$Id: xtwstr.c,v 2.3 1991/10/02 04:27:04 ishisone Rel $"; | ^~~~~ 4 warnings generated. rm -f xwstr.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" xwstr.c xwstr.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | XWSSetGCSet(dpy, gc0, gc1, gc2, gc3) | ^ xwstr.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | XWSSetMapping(gcset, g0map, g1map, g2map, g3map) | ^ xwstr.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | XWSDrawString(d, w, gcset, x, y, wstr, len) | ^ xwstr.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | XWSDrawImageString(d, w, gcset, x, y, wstr, len) | ^ xwstr.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | XWSFontHeight(gcset, wstr, len, ascent, descent) | ^ xwstr.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | XWSTextWidth(gcset, wstr, len) | ^ xwstr.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | XWSTextExtents(gcset, wstr, len, ascent, descent, overall) | ^ xwstr.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | wsdrawstring(d, w, gcset, x, y, wstr, len, image) | ^ xwstr.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | flushstr(d, w, fe, x, y, cp0, cp1, image) | ^ xwstr.c:76:14: warning: unused variable 'rcsid' [-Wunused-variable] 76 | static char *rcsid = "$Id: xwstr.c,v 2.9 1999/01/07 03:13:03 ishisone Exp $"; | ^~~~~ 10 warnings generated. rm -f asyncerr.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" asyncerr.c asyncerr.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | ignoreErrors(dpy, eev, cldata) | ^ asyncerr.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | recordErrors(dpy, eev, cldata) | ^ asyncerr.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | eremove(edp) | ^ asyncerr.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | eappend(edp) | ^ asyncerr.c:135:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | if (edp->destroy != NULL) (*edp->destroy)(edp->dpy, edp->client_data); | ^ asyncerr.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | removeHandler(edp) | ^ asyncerr.c:153:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | if ((*edp->handler)(dpy, eev, edp->client_data)) call_original = 1; | ^ asyncerr.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | callHandlers(dpy, eev) | ^ asyncerr.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | removeHandlers(dpy) | ^ asyncerr.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | XAEHandler(dpy, eev) | ^ asyncerr.c:190:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | (void)original_handler(dpy, eev); | ^ asyncerr.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | XAESetErrorHandler(handler) | ^ asyncerr.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | XAESet(dpy, handler, destroy, client_data) | ^ asyncerr.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | XAEUnset(handle) | ^ asyncerr.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | XAESetIgnoreErrors(dpy) | ^ asyncerr.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | XAESetRecordErrors(dpy, errorbitsp) | ^ asyncerr.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: asyncerr.c,v 1.6 1994/08/08 01:20:52 ishisone Exp $"; | ^~~~~ 17 warnings generated. rm -f fontbank.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" fontbank.c fontbank.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | getsum(s) | ^ fontbank.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | getInfo(lang) | ^ fontbank.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | lookupCacheFonts(bank, fontset, num_fontsp) | ^ fontbank.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | cacheFonts(bank, fontset, fonts, num_fonts) | ^ fontbank.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | extractFonts(dpy, fontset, charsets, ncharsets, nfontsp) | ^ fontbank.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | freeCache(bank) | ^ fontbank.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | FontBankCreate(dpy, language) | ^ fontbank.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | FontBankDestroy(bank) | ^ fontbank.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | FontBankGet(bank, fontset, num_fontsp) | ^ fontbank.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | FontBankFreeFonts(bank, fonts, num_fonts) | ^ fontbank.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: fontbank.c,v 1.4 1994/05/17 10:52:15 ishisone Rel $"; | ^~~~~ 11 warnings generated. rm -f parsekey.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" parsekey.c parsekey.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | parseModifiers(s, modp, chkmodp) | ^ parsekey.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | mystrstr(s1, s2) | ^ parsekey.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | ParseKeyEvent(s, keysymp, modp, chkmodp) | ^ parsekey.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: parsekey.c,v 1.1 1994/05/16 05:42:30 ishisone Rel $"; | ^~~~~ 4 warnings generated. rm -f ioecall.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" ioecall.c ioecall.c:52:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | (*cb->callback)(cb->client_data); | ^ ioecall.c:55:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | return (*original_handler)(dpy); | ^ ioecall.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | XIOEHandler(dpy) | ^ ioecall.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | XIOESet(handler, client_data) | ^ ioecall.c:73:20: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | cb = (CBDesc *)malloc(sizeof(CBDesc)); | ^ ioecall.c:73:20: note: include the header or explicitly provide a declaration for 'malloc' ioecall.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | XIOEUnset(handle) | ^ ioecall.c:108:12: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | (void)free((char *)cb); | ^ ioecall.c:108:12: note: include the header or explicitly provide a declaration for 'free' ioecall.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: ioecall.c,v 1.2 1996/09/30 09:19:52 ishisone Exp $"; | ^~~~~ 8 warnings generated. rm -f CcWnn.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" CcWnn.c CcWnn.c:281:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 281 | /* convert */ convert, sel_forward, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:282:23: warning: suggest braces around initialization of subobject [-Wmissing-braces] 282 | /* convert-or-fix1 */ convert_f1, sel_forward, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:283:25: warning: suggest braces around initialization of subobject [-Wmissing-braces] 283 | /* convert-or-sendback*/convert_sb, sel_forward, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:284:24: warning: suggest braces around initialization of subobject [-Wmissing-braces] 284 | /* convert-or-space */ convert_sp, sel_forward, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:285:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 285 | /* convert-s */ convert_s, sel_forward, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:286:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 286 | /* unconvert */ unconvert, beep, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:287:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 287 | /* next */ cand_next, sel_next, sel_next, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:288:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 288 | /* next-s */ cand_next_s, sel_next, sel_next, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:289:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] 289 | /* previous */ cand_prev, sel_prev, sel_prev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:290:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 290 | /* previous-s */ cand_prev_s, sel_prev, sel_prev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:291:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 291 | /* forward */ move_forward, sel_forward, sel_forward, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:292:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] 292 | /* backward */ move_backward, sel_backward, sel_backward, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:293:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] 293 | /* move-top */ move_top, sel_top, sel_top, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:294:19: warning: suggest braces around initialization of subobject [-Wmissing-braces] 294 | /* move-bottom */ move_bottom, sel_bottom, sel_bottom, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:295:14: warning: suggest braces around initialization of subobject [-Wmissing-braces] 295 | /* clear */ clear_buffer, clear_buffer, clear_buffer, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:296:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 296 | /* expand */ expand_cl, expand_cl, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:297:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] 297 | /* expand-s */ expand_cl_s, expand_cl_s, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:298:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 298 | /* shrink */ shrink_cl, shrink_cl, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:299:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] 299 | /* shrink-s */ shrink_cl_s, shrink_cl_s, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:300:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] 300 | /* expand-noconv */ expand_cl2, expand_cl2, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:301:23: warning: suggest braces around initialization of subobject [-Wmissing-braces] 301 | /* expand-noconv-s */ expand_cl2_s, expand_cl2_s, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:302:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] 302 | /* shrink-noconv */ shrink_cl2, shrink_cl2, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:303:23: warning: suggest braces around initialization of subobject [-Wmissing-braces] 303 | /* shrink-noconv-s */ shrink_cl2_s, shrink_cl2_s, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:304:12: warning: suggest braces around initialization of subobject [-Wmissing-braces] 304 | /* fix */ fix, fix, fix, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:305:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 305 | /* fix2 */ fix, fix, fix, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:306:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 306 | /* fix-or-cr */ fix_cr, sel_select, sel_select, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:307:23: warning: suggest braces around initialization of subobject [-Wmissing-braces] 307 | /* fix-or-sendback */ fix_sb, sel_select, sel_select, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:308:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 308 | /* to-hankaku */ hankaku, hankaku, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:309:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 309 | /* to-zenkaku */ zenkaku, zenkaku, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:310:19: warning: suggest braces around initialization of subobject [-Wmissing-braces] 310 | /* to-hiragana */ hiragana, hiragana, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:311:19: warning: suggest braces around initialization of subobject [-Wmissing-braces] 311 | /* to-katakana */ katakana, katakana, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:312:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 312 | /* backspace */ backspace, backspace, backspace, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:313:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 313 | /* delete */ delete, delete, delete, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:314:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 314 | /* kill-line */ kill_line, kill_line, kill_line, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:315:23: warning: suggest braces around initialization of subobject [-Wmissing-braces] 315 | /* carriage-return */ carriageret, sel_select, sel_select, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:316:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] 316 | /* fix-and-write */ fix, beep, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:317:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 317 | /* beep */ bell, bell, bell, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:318:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] 318 | /* jiscode-begin */ jiscode_begin, beep, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:319:19: warning: suggest braces around initialization of subobject [-Wmissing-braces] 319 | /* jiscode-end */ jiscode_end, beep, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:320:23: warning: suggest braces around initialization of subobject [-Wmissing-braces] 320 | /* kutencode-begin */ kuten_begin, beep, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:321:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] 321 | /* kutencode-end */ kuten_end, beep, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:322:20: warning: suggest braces around initialization of subobject [-Wmissing-braces] 322 | /* symbol-input */ sym_input, beep, sel_abort, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:323:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 323 | /* end-conversion */ convend, convend, convend, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:324:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 324 | /* send-back */ send_back, send_back, send_back, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:325:24: warning: suggest braces around initialization of subobject [-Wmissing-braces] 325 | /* convert-move-..sb*/ convert_mt_sb, sel_forward, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:326:24: warning: suggest braces around initialization of subobject [-Wmissing-braces] 326 | /* convert-move-..sp*/ convert_mt_sp, sel_forward, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:327:23: warning: suggest braces around initialization of subobject [-Wmissing-braces] 327 | /* clear-or-cancel */ clear_c, clear_c, clear_c, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:328:27: warning: suggest braces around initialization of subobject [-Wmissing-braces] 328 | /* backspace-or-cancel */ backspace_c, backspace_c, backspace_c, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:329:24: warning: suggest braces around initialization of subobject [-Wmissing-braces] 329 | /* delete-or-cancel */ delete_c, delete_c, delete_c, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:330:25: warning: suggest braces around initialization of subobject [-Wmissing-braces] 330 | /* convert-next-..sb */ cand_next_mt_sb, sel_forward, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:331:25: warning: suggest braces around initialization of subobject [-Wmissing-braces] 331 | /* convert-next-..sp */ cand_next_mt_sp, sel_forward, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:332:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 332 | /* select */ egg_select, beep, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:333:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] 333 | /* select-s */ egg_select_s, beep, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:334:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] 334 | /* register */ register_word, beep, beep, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } CcWnn.c:382:33: warning: passing arguments to 'buildSymbolList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | NumSymbols = buildSymbolList(&SymbolList); | ^ CcWnn.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | buildSymbolList(listp) | ^ CcWnn.c:66:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static int buildSymbolList(); | ^ CcWnn.c:458:28: warning: passing arguments to 'NumSegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | sendback = (NumSegments(w) == 0 && obj->ccWnn.state == normal_state); | ^ CcWnn.c:470:14: warning: passing arguments to 'jcInitialize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | jcInitialize(obj); | ^ CcWnn.c:473:10: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | bell(obj); | ^ CcWnn.c:491:10: warning: passing arguments to 'saveData' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | saveData(obj); | ^ CcWnn.c:494:51: warning: passing arguments to 'jcInitialize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | if (obj->ccWnn.jservername2 != NULL) jcInitialize(obj); | ^ CcWnn.c:496:10: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | bell(obj); | ^ CcWnn.c:514:20: warning: passing arguments to 'NumSegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | if (NumSegments(w) != 0 || | ^ CcWnn.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | InputEvent(w, event) | ^ CcWnn.c:69:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | static int InputEvent(); | ^ CcWnn.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | GetMode(w) | ^ CcWnn.c:70:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static ICString *GetMode(); | ^ CcWnn.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | CursorPos(w, nsegp, ncharp) | ^ CcWnn.c:71:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static int CursorPos(); | ^ CcWnn.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | NumSegments(w) | ^ CcWnn.c:72:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static int NumSegments(); | ^ CcWnn.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | GetSegment(w, n) | ^ CcWnn.c:73:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static ICString *GetSegment(); | ^ CcWnn.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | CompareSegment(w, seg1, seg2, n) | ^ CcWnn.c:74:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | static int CompareSegment(); | ^ CcWnn.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | GetItemList(w, n) | ^ CcWnn.c:75:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | static ICString *GetItemList(); | ^ CcWnn.c:667:23: warning: passing arguments to 'insertSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | ret = insertSelection(obj, n); | ^ CcWnn.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | SelectItem(w, n) | ^ CcWnn.c:76:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static int SelectItem(); | ^ CcWnn.c:720:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ CcWnn.c:722:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ CcWnn.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | ConvertedString(w, encoding, format, length, string) | ^ CcWnn.c:77:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | static int ConvertedString(); | ^ CcWnn.c:739:17: warning: passing arguments to 'clear_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | clear_buffer(obj); | ^ CcWnn.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | ClearConversion(w) | ^ CcWnn.c:78:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static int ClearConversion(); | ^ CcWnn.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | GetAuxSegments(w, n, ns, nc) | ^ CcWnn.c:79:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static ICString *GetAuxSegments(); | ^ CcWnn.c:788:17: warning: passing arguments to 'ccInitialize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | ccInitialize(obj); | ^ CcWnn.c:789:17: warning: passing arguments to 'jcInitialize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | jcInitialize(obj); | ^ CcWnn.c:791:14: warning: passing arguments to 'addObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | addObject(obj); | ^ CcWnn.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | Initialize(req, new, args, num_args) | ^ CcWnn.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void Initialize(), Destroy(); | ^ CcWnn.c:806:35: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | obj->ccWnn.ccdeffile = getenv("CC_DEF"); | ^ CcWnn.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | ccInitialize(obj) | ^ CcWnn.c:340:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 340 | static void ccInitialize(); | ^ CcWnn.c:862:9: warning: incompatible function pointer types passing 'void ()' to parameter of type 'int (*)(const char *)' [-Wincompatible-function-pointer-types] 862 | createEnvError, | ^~~~~~~~~~~~~~ ../include/wnnlib.h:114:11: note: passing argument to parameter 'error' here 114 | int (*error)(const char *), int (*confirm)(const char *), | ^ CcWnn.c:882:6: warning: incompatible function pointer types passing 'void ()' to parameter of type 'int (*)(const char *)' [-Wincompatible-function-pointer-types] 882 | createEnvError, | ^~~~~~~~~~~~~~ ../include/wnnlib.h:114:11: note: passing argument to parameter 'error' here 114 | int (*error)(const char *), int (*confirm)(const char *), | ^ CcWnn.c:899:44: warning: passing arguments to 'restoreData' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | if (obj->ccWnn.pendingdata) restoreData(obj); | ^ CcWnn.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | jcInitialize(obj) | ^ CcWnn.c:341:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 341 | static void jcInitialize(); | ^ CcWnn.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | createEnvError(s) | ^ CcWnn.c:342:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 342 | static void createEnvError(); | ^ CcWnn.c:915:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | return (*current_obj->ccWnn.confirmfunc)((Widget)current_obj, s); | ^ CcWnn.c:911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | createConfirm(s) | ^ CcWnn.c:343:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 343 | static int createConfirm(); | ^ CcWnn.c:942:17: warning: passing arguments to 'deleteObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | deleteObject(obj); | ^ CcWnn.c:920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | Destroy(w) | ^ CcWnn.c:67:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void Initialize(), Destroy(); | ^ CcWnn.c:947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | SetValues(cur, req, wid, args, num_args) | ^ CcWnn.c:68:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | static Boolean SetValues(); | ^ CcWnn.c:989:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | (*functable[func][1])(obj); | ^ CcWnn.c:992:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | (*functable[func][2])(obj); | ^ CcWnn.c:995:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | (*functable[func][0])(obj); | ^ CcWnn.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | funcDispatch(func, str, nbytes, w) | ^ CcWnn.c:345:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 345 | static int funcDispatch(); | ^ CcWnn.c:1009:25: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | if (nbytes > 0) beep((CcWnnObject)w); | ^ CcWnn.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | defAction(str, nbytes, w) | ^ CcWnn.c:346:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 346 | static void defAction(); | ^ CcWnn.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | toHex(c) | ^ CcWnn.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | toHex4(s) | ^ CcWnn.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | toKuten(s) | ^ CcWnn.c:1083:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | normalState(obj); | ^ CcWnn.c:1094:11: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | beep(obj); | ^ CcWnn.c:1104:12: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1104 | beep(obj); | ^ CcWnn.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | insChar(c, cldata) | ^ CcWnn.c:347:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 347 | static void insChar(); | ^ CcWnn.c:1132:6: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1132 | beep(obj); | ^ CcWnn.c:1126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1126 | delChar(cldata) | ^ CcWnn.c:348:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 348 | static void delChar(); | ^ CcWnn.c:1151:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | fix(obj); | ^ CcWnn.c:1156:9: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | fix(obj); | ^ CcWnn.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | autoFix(cldata) | ^ CcWnn.c:349:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 349 | static void autoFix(); | ^ CcWnn.c:1190:16: warning: passing arguments to 'startSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | startSelection(obj, small); | ^ CcWnn.c:1194:48: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | if (jcConvert(jcbuf, small, 0, 1) < 0) beep(obj); | ^ CcWnn.c:1178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | convert_general(obj, small) | ^ CcWnn.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | convert(obj) | ^ CcWnn.c:204:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 204 | static void convert(); | ^ CcWnn.c:1211:11: warning: passing arguments to 'send_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | send_back(obj); | ^ CcWnn.c:1212:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | fix(obj); | ^ CcWnn.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | convert_sb(obj) | ^ CcWnn.c:206:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 206 | static void convert_sb(); | ^ CcWnn.c:1224:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1224 | fix(obj); | ^ CcWnn.c:1219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | convert_sp(obj) | ^ CcWnn.c:207:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 207 | static void convert_sp(); | ^ CcWnn.c:1236:11: warning: passing arguments to 'send_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | send_back(obj); | ^ CcWnn.c:1237:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | fix(obj); | ^ CcWnn.c:1243:14: warning: passing arguments to 'move_top' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | move_top(obj); | ^ CcWnn.c:1246:19: warning: passing arguments to 'move_forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | move_forward(obj); | ^ CcWnn.c:1231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | convert_mt(obj) | ^ CcWnn.c:1258:6: warning: passing arguments to 'fix1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | fix1(obj); | ^ CcWnn.c:1252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1252 | convert_f1(obj) | ^ CcWnn.c:205:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 205 | static void convert_f1(); | ^ CcWnn.c:1270:11: warning: passing arguments to 'send_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | send_back(obj); | ^ CcWnn.c:1271:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | fix(obj); | ^ CcWnn.c:1277:14: warning: passing arguments to 'move_top' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1277 | move_top(obj); | ^ CcWnn.c:1280:19: warning: passing arguments to 'move_forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1280 | move_forward(obj); | ^ CcWnn.c:1265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | convert_mt_sb(obj) | ^ CcWnn.c:209:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 209 | static void convert_mt_sb(); | ^ CcWnn.c:1292:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1292 | fix(obj); | ^ CcWnn.c:1298:14: warning: passing arguments to 'move_top' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | move_top(obj); | ^ CcWnn.c:1301:19: warning: passing arguments to 'move_forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | move_forward(obj); | ^ CcWnn.c:1286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | convert_mt_sp(obj) | ^ CcWnn.c:210:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 210 | static void convert_mt_sp(); | ^ CcWnn.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | convert_s(obj) | ^ CcWnn.c:208:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 208 | static void convert_s(); | ^ CcWnn.c:1317:42: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1317 | if (jcUnconvert(JCBUF(obj)) < 0) beep(obj); | ^ CcWnn.c:1314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | unconvert(obj) | ^ CcWnn.c:211:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 211 | static void unconvert(); | ^ CcWnn.c:1335:16: warning: passing arguments to 'startSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1335 | startSelection(obj, small); | ^ CcWnn.c:1323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | select_general(obj, small) | ^ CcWnn.c:1342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | egg_select(obj) | ^ CcWnn.c:212:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 212 | static void egg_select(); | ^ CcWnn.c:1350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1350 | egg_select_s(obj) | ^ CcWnn.c:213:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 213 | static void egg_select_s(); | ^ CcWnn.c:1385:25: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | if (status < 0) beep(obj); | ^ CcWnn.c:1364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1364 | move_general(obj, direction) | ^ CcWnn.c:1393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | move_forward(obj) | ^ CcWnn.c:215:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | static void move_forward(); | ^ CcWnn.c:1400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | move_backward(obj) | ^ CcWnn.c:216:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 216 | static void move_backward(); | ^ CcWnn.c:1407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1407 | move_top(obj) | ^ CcWnn.c:217:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 217 | static void move_top(); | ^ CcWnn.c:1414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1414 | move_bottom(obj) | ^ CcWnn.c:218:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 218 | static void move_bottom(); | ^ CcWnn.c:1434:50: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1434 | if (jcNext(JCBUF(obj), small, type) < 0) beep(obj); | ^ CcWnn.c:1429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | cand_general(obj, small, type) | ^ CcWnn.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | cand_next(obj) | ^ CcWnn.c:220:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 220 | static void cand_next(); | ^ CcWnn.c:1447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | cand_next_mt(obj) | ^ CcWnn.c:1458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1458 | cand_next_mt_sb(obj) | ^ CcWnn.c:222:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 222 | static void cand_next_mt_sb(); | ^ CcWnn.c:1469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | cand_next_mt_sp(obj) | ^ CcWnn.c:223:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 223 | static void cand_next_mt_sp(); | ^ CcWnn.c:1480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1480 | cand_next_s(obj) | ^ CcWnn.c:221:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 221 | static void cand_next_s(); | ^ CcWnn.c:1487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | cand_prev(obj) | ^ CcWnn.c:224:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 224 | static void cand_prev(); | ^ CcWnn.c:1494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1494 | cand_prev_s(obj) | ^ CcWnn.c:225:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 225 | static void cand_prev_s(); | ^ CcWnn.c:1521:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1521 | normalState(obj); | ^ CcWnn.c:1528:25: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | if (status < 0) beep(obj); | ^ CcWnn.c:1513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1513 | expand_shrink_general(obj, shrink, small, conv) | ^ CcWnn.c:1535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1535 | expand_cl(obj) | ^ CcWnn.c:227:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 227 | static void expand_cl(); | ^ CcWnn.c:1542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1542 | expand_cl_s(obj) | ^ CcWnn.c:228:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 228 | static void expand_cl_s(); | ^ CcWnn.c:1549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | shrink_cl(obj) | ^ CcWnn.c:229:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 229 | static void shrink_cl(); | ^ CcWnn.c:1556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1556 | shrink_cl_s(obj) | ^ CcWnn.c:230:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 230 | static void shrink_cl_s(); | ^ CcWnn.c:1563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | expand_cl2(obj) | ^ CcWnn.c:231:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 231 | static void expand_cl2(); | ^ CcWnn.c:1570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1570 | expand_cl2_s(obj) | ^ CcWnn.c:232:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 232 | static void expand_cl2_s(); | ^ CcWnn.c:1577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | shrink_cl2(obj) | ^ CcWnn.c:233:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 233 | static void shrink_cl2(); | ^ CcWnn.c:1584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | shrink_cl2_s(obj) | ^ CcWnn.c:234:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 234 | static void shrink_cl2_s(); | ^ CcWnn.c:1599:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1599 | normalState(obj); | ^ CcWnn.c:1600:38: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1600 | if (jcClear(JCBUF(obj)) < 0) beep(obj); | ^ CcWnn.c:1596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1596 | clear_buffer(obj) | ^ CcWnn.c:236:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 236 | static void clear_buffer(); | ^ CcWnn.c:1609:39: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1609 | if (jcCancel(JCBUF(obj)) < 0) beep(obj); | ^ CcWnn.c:1606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | cancel(obj) | ^ CcWnn.c:1624:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1624 | endSelection(obj, False); | ^ CcWnn.c:1617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | clear_c(obj) | ^ CcWnn.c:237:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 237 | static void clear_c(); | ^ CcWnn.c:1652:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1652 | moveSelection(obj, ICMoveLeftMost); | ^ CcWnn.c:1649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1649 | sel_top(obj) | ^ CcWnn.c:239:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 239 | static void sel_top(); | ^ CcWnn.c:1659:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1659 | moveSelection(obj, ICMoveRightMost); | ^ CcWnn.c:1656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1656 | sel_bottom(obj) | ^ CcWnn.c:240:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 240 | static void sel_bottom(); | ^ CcWnn.c:1666:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1666 | moveSelection(obj, ICMoveRight); | ^ CcWnn.c:1663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1663 | sel_forward(obj) | ^ CcWnn.c:241:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 241 | static void sel_forward(); | ^ CcWnn.c:1673:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1673 | moveSelection(obj, ICMoveLeft); | ^ CcWnn.c:1670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1670 | sel_backward(obj) | ^ CcWnn.c:242:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 242 | static void sel_backward(); | ^ CcWnn.c:1680:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1680 | moveSelection(obj, ICMoveDown); | ^ CcWnn.c:1677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1677 | sel_next(obj) | ^ CcWnn.c:243:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 243 | static void sel_next(); | ^ CcWnn.c:1687:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | moveSelection(obj, ICMoveUp); | ^ CcWnn.c:1684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1684 | sel_prev(obj) | ^ CcWnn.c:244:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 244 | static void sel_prev(); | ^ CcWnn.c:1694:17: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1694 | endSelection(obj, False); | ^ CcWnn.c:1691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | sel_select(obj) | ^ CcWnn.c:245:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 245 | static void sel_select(); | ^ CcWnn.c:1701:17: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | endSelection(obj, True); | ^ CcWnn.c:1698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1698 | sel_abort(obj) | ^ CcWnn.c:246:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 246 | static void sel_abort(); | ^ CcWnn.c:1710:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1710 | normalState(obj); | ^ CcWnn.c:1717:10: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1717 | beep(obj); | ^ CcWnn.c:1705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | fix(obj) | ^ CcWnn.c:248:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 248 | static void fix(); | ^ CcWnn.c:1746:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1746 | normalState(obj); | ^ CcWnn.c:1753:10: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1753 | beep(obj); | ^ CcWnn.c:1741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1741 | fix1(obj) | ^ CcWnn.c:249:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 249 | static void fix1(); | ^ CcWnn.c:1781:13: warning: passing arguments to 'carriageret' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1781 | carriageret(obj); | ^ CcWnn.c:1777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1777 | fix_cr(obj) | ^ CcWnn.c:250:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 250 | static void fix_cr(); | ^ CcWnn.c:1793:11: warning: passing arguments to 'send_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1793 | send_back(obj); | ^ CcWnn.c:1789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1789 | fix_sb(obj) | ^ CcWnn.c:251:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 251 | static void fix_sb(); | ^ CcWnn.c:1831:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1831 | 0xa1a1, 0x20, 0xa1a2, 0xa4, 0xa1a3, 0xa1, 0xa1a4, 0x2c, | ^~~~~~~~~~~~ | { } CcWnn.c:1831:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1831 | 0xa1a1, 0x20, 0xa1a2, 0xa4, 0xa1a3, 0xa1, 0xa1a4, 0x2c, | ^~~~~~~~~~~~ | { } CcWnn.c:1831:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1831 | 0xa1a1, 0x20, 0xa1a2, 0xa4, 0xa1a3, 0xa1, 0xa1a4, 0x2c, | ^~~~~~~~~~~~ | { } CcWnn.c:1831:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1831 | 0xa1a1, 0x20, 0xa1a2, 0xa4, 0xa1a3, 0xa1, 0xa1a4, 0x2c, | ^~~~~~~~~~~~ | { } CcWnn.c:1832:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1832 | 0xa1a5, 0x2e, 0xa1a6, 0xa5, 0xa1a7, 0x3a, 0xa1a8, 0x3b, | ^~~~~~~~~~~~ | { } CcWnn.c:1832:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1832 | 0xa1a5, 0x2e, 0xa1a6, 0xa5, 0xa1a7, 0x3a, 0xa1a8, 0x3b, | ^~~~~~~~~~~~ | { } CcWnn.c:1832:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1832 | 0xa1a5, 0x2e, 0xa1a6, 0xa5, 0xa1a7, 0x3a, 0xa1a8, 0x3b, | ^~~~~~~~~~~~ | { } CcWnn.c:1832:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1832 | 0xa1a5, 0x2e, 0xa1a6, 0xa5, 0xa1a7, 0x3a, 0xa1a8, 0x3b, | ^~~~~~~~~~~~ | { } CcWnn.c:1833:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1833 | 0xa1a9, 0x3f, 0xa1aa, 0x21, 0xa1ab, 0xde, 0xa1ac, 0xdf, | ^~~~~~~~~~~~ | { } CcWnn.c:1833:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1833 | 0xa1a9, 0x3f, 0xa1aa, 0x21, 0xa1ab, 0xde, 0xa1ac, 0xdf, | ^~~~~~~~~~~~ | { } CcWnn.c:1833:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1833 | 0xa1a9, 0x3f, 0xa1aa, 0x21, 0xa1ab, 0xde, 0xa1ac, 0xdf, | ^~~~~~~~~~~~ | { } CcWnn.c:1833:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1833 | 0xa1a9, 0x3f, 0xa1aa, 0x21, 0xa1ab, 0xde, 0xa1ac, 0xdf, | ^~~~~~~~~~~~ | { } CcWnn.c:1834:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1834 | 0xa1b0, 0x5e, 0xa1b2, 0x5f, 0xa1bc, 0xb0, 0xa1bf, 0x2f, | ^~~~~~~~~~~~ | { } CcWnn.c:1834:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1834 | 0xa1b0, 0x5e, 0xa1b2, 0x5f, 0xa1bc, 0xb0, 0xa1bf, 0x2f, | ^~~~~~~~~~~~ | { } CcWnn.c:1834:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1834 | 0xa1b0, 0x5e, 0xa1b2, 0x5f, 0xa1bc, 0xb0, 0xa1bf, 0x2f, | ^~~~~~~~~~~~ | { } CcWnn.c:1834:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1834 | 0xa1b0, 0x5e, 0xa1b2, 0x5f, 0xa1bc, 0xb0, 0xa1bf, 0x2f, | ^~~~~~~~~~~~ | { } CcWnn.c:1835:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1835 | 0xa1c1, 0x7e, 0xa1c3, 0x7c, 0xa1c6, 0x60, 0xa1c7, 0x27, | ^~~~~~~~~~~~ | { } CcWnn.c:1835:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1835 | 0xa1c1, 0x7e, 0xa1c3, 0x7c, 0xa1c6, 0x60, 0xa1c7, 0x27, | ^~~~~~~~~~~~ | { } CcWnn.c:1835:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1835 | 0xa1c1, 0x7e, 0xa1c3, 0x7c, 0xa1c6, 0x60, 0xa1c7, 0x27, | ^~~~~~~~~~~~ | { } CcWnn.c:1835:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1835 | 0xa1c1, 0x7e, 0xa1c3, 0x7c, 0xa1c6, 0x60, 0xa1c7, 0x27, | ^~~~~~~~~~~~ | { } CcWnn.c:1836:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1836 | 0xa1c8, 0x22, 0xa1c9, 0x22, 0xa1ca, 0x28, 0xa1cb, 0x29, | ^~~~~~~~~~~~ | { } CcWnn.c:1836:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1836 | 0xa1c8, 0x22, 0xa1c9, 0x22, 0xa1ca, 0x28, 0xa1cb, 0x29, | ^~~~~~~~~~~~ | { } CcWnn.c:1836:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1836 | 0xa1c8, 0x22, 0xa1c9, 0x22, 0xa1ca, 0x28, 0xa1cb, 0x29, | ^~~~~~~~~~~~ | { } CcWnn.c:1836:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1836 | 0xa1c8, 0x22, 0xa1c9, 0x22, 0xa1ca, 0x28, 0xa1cb, 0x29, | ^~~~~~~~~~~~ | { } CcWnn.c:1837:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1837 | 0xa1cc, 0x5b, 0xa1cd, 0x5d, 0xa1ce, 0x5b, 0xa1cf, 0x5d, | ^~~~~~~~~~~~ | { } CcWnn.c:1837:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1837 | 0xa1cc, 0x5b, 0xa1cd, 0x5d, 0xa1ce, 0x5b, 0xa1cf, 0x5d, | ^~~~~~~~~~~~ | { } CcWnn.c:1837:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1837 | 0xa1cc, 0x5b, 0xa1cd, 0x5d, 0xa1ce, 0x5b, 0xa1cf, 0x5d, | ^~~~~~~~~~~~ | { } CcWnn.c:1837:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1837 | 0xa1cc, 0x5b, 0xa1cd, 0x5d, 0xa1ce, 0x5b, 0xa1cf, 0x5d, | ^~~~~~~~~~~~ | { } CcWnn.c:1838:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1838 | 0xa1d0, 0x7b, 0xa1d1, 0x7d, 0xa1d6, 0xa2, 0xa1d7, 0xa3, | ^~~~~~~~~~~~ | { } CcWnn.c:1838:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1838 | 0xa1d0, 0x7b, 0xa1d1, 0x7d, 0xa1d6, 0xa2, 0xa1d7, 0xa3, | ^~~~~~~~~~~~ | { } CcWnn.c:1838:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1838 | 0xa1d0, 0x7b, 0xa1d1, 0x7d, 0xa1d6, 0xa2, 0xa1d7, 0xa3, | ^~~~~~~~~~~~ | { } CcWnn.c:1838:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1838 | 0xa1d0, 0x7b, 0xa1d1, 0x7d, 0xa1d6, 0xa2, 0xa1d7, 0xa3, | ^~~~~~~~~~~~ | { } CcWnn.c:1839:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1839 | 0xa1dc, 0x2b, 0xa1dd, 0x2d, 0xa1e1, 0x3d, 0xa1e3, 0x3c, | ^~~~~~~~~~~~ | { } CcWnn.c:1839:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1839 | 0xa1dc, 0x2b, 0xa1dd, 0x2d, 0xa1e1, 0x3d, 0xa1e3, 0x3c, | ^~~~~~~~~~~~ | { } CcWnn.c:1839:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1839 | 0xa1dc, 0x2b, 0xa1dd, 0x2d, 0xa1e1, 0x3d, 0xa1e3, 0x3c, | ^~~~~~~~~~~~ | { } CcWnn.c:1839:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1839 | 0xa1dc, 0x2b, 0xa1dd, 0x2d, 0xa1e1, 0x3d, 0xa1e3, 0x3c, | ^~~~~~~~~~~~ | { } CcWnn.c:1840:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1840 | 0xa1e4, 0x3e, 0xa1ef, 0x5c, 0xa1f0, 0x24, 0xa1f3, 0x25, | ^~~~~~~~~~~~ | { } CcWnn.c:1840:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1840 | 0xa1e4, 0x3e, 0xa1ef, 0x5c, 0xa1f0, 0x24, 0xa1f3, 0x25, | ^~~~~~~~~~~~ | { } CcWnn.c:1840:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1840 | 0xa1e4, 0x3e, 0xa1ef, 0x5c, 0xa1f0, 0x24, 0xa1f3, 0x25, | ^~~~~~~~~~~~ | { } CcWnn.c:1840:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1840 | 0xa1e4, 0x3e, 0xa1ef, 0x5c, 0xa1f0, 0x24, 0xa1f3, 0x25, | ^~~~~~~~~~~~ | { } CcWnn.c:1841:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1841 | 0xa1f4, 0x23, 0xa1f5, 0x26, 0xa1f6, 0x2a, 0xa1f7, 0x40, | ^~~~~~~~~~~~ | { } CcWnn.c:1841:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1841 | 0xa1f4, 0x23, 0xa1f5, 0x26, 0xa1f6, 0x2a, 0xa1f7, 0x40, | ^~~~~~~~~~~~ | { } CcWnn.c:1841:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1841 | 0xa1f4, 0x23, 0xa1f5, 0x26, 0xa1f6, 0x2a, 0xa1f7, 0x40, | ^~~~~~~~~~~~ | { } CcWnn.c:1841:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1841 | 0xa1f4, 0x23, 0xa1f5, 0x26, 0xa1f6, 0x2a, 0xa1f7, 0x40, | ^~~~~~~~~~~~ | { } CcWnn.c:1801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1801 | to_hankaku(start, end, res) | ^ CcWnn.c:1886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1886 | to_zenkaku(start, end, res) | ^ CcWnn.c:1950:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1950 | normalState(obj); | ^ CcWnn.c:1963:42: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1963 | if (jcChangeClause(jcbuf, buf) < 0) beep(obj); | ^ CcWnn.c:1944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1944 | zenkaku_hankaku(obj, hankaku) | ^ CcWnn.c:1970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1970 | zenkaku(obj) | ^ CcWnn.c:254:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 254 | static void zenkaku(); | ^ CcWnn.c:1977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1977 | hankaku(obj) | ^ CcWnn.c:253:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 253 | static void hankaku(); | ^ CcWnn.c:1988:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | normalState(obj); | ^ CcWnn.c:1990:46: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1990 | if (jcKana(JCBUF(obj), 0, type) < 0) beep(obj); | ^ CcWnn.c:1984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1984 | hiragana_katakana(obj, type) | ^ CcWnn.c:1996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | hiragana(obj) | ^ CcWnn.c:256:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 256 | static void hiragana(); | ^ CcWnn.c:2003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2003 | katakana(obj) | ^ CcWnn.c:257:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 257 | static void katakana(); | ^ CcWnn.c:2016:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2016 | endSelection(obj, False); | ^ CcWnn.c:2020:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2020 | endSelection(obj, False); | ^ CcWnn.c:2024:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2024 | endSelection(obj, False); | ^ CcWnn.c:2014:13: warning: enumeration value 'normal_state' not handled in switch [-Wswitch] 2014 | switch (obj->ccWnn.state) { | ^~~~~~~~~~~~~~~~ CcWnn.c:2014:13: note: add missing switch cases 2014 | switch (obj->ccWnn.state) { | ^ 2015 | case selection_l_state: 2016 | endSelection(obj, False); 2017 | (void)jcMove(JCBUF(obj), 0, JC_FORWARD); 2018 | break; 2019 | case selection_s_state: 2020 | endSelection(obj, False); 2021 | (void)jcMove(JCBUF(obj), 1, JC_FORWARD); 2022 | break; 2023 | case symbol_state: 2024 | endSelection(obj, False); 2025 | break; 2026 | } CcWnn.c:2028:46: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2028 | if (jcDeleteChar(JCBUF(obj), 1) < 0) beep(obj); | ^ CcWnn.c:2011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2011 | backspace(obj) | ^ CcWnn.c:259:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 259 | static void backspace(); | ^ CcWnn.c:2039:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2039 | endSelection(obj, False); | ^ CcWnn.c:2033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2033 | backspace_c(obj) | ^ CcWnn.c:260:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 260 | static void backspace_c(); | ^ CcWnn.c:2058:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2058 | normalState(obj); | ^ CcWnn.c:2059:46: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2059 | if (jcDeleteChar(JCBUF(obj), 0) < 0) beep(obj); | ^ CcWnn.c:2055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2055 | delete(obj) | ^ CcWnn.c:261:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 261 | static void delete(); | ^ CcWnn.c:2071:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2071 | endSelection(obj, False); | ^ CcWnn.c:2065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2065 | delete_c(obj) | ^ CcWnn.c:262:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 262 | static void delete_c(); | ^ CcWnn.c:2090:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2090 | normalState(obj); | ^ CcWnn.c:2091:41: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2091 | if (jcKillLine(JCBUF(obj)) < 0) beep(obj); | ^ CcWnn.c:2087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2087 | kill_line(obj) | ^ CcWnn.c:263:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 263 | static void kill_line(); | ^ CcWnn.c:2097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2097 | bell(obj) | ^ CcWnn.c:265:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 265 | static void bell(); | ^ CcWnn.c:2104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2104 | beep(obj) | ^ CcWnn.c:266:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 266 | static void beep(); | ^ CcWnn.c:2112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2112 | jiscode_begin(obj) | ^ CcWnn.c:268:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 268 | static void jiscode_begin(); | ^ CcWnn.c:2119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2119 | jiscode_end(obj) | ^ CcWnn.c:269:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 269 | static void jiscode_end(); | ^ CcWnn.c:2126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2126 | kuten_begin(obj) | ^ CcWnn.c:270:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 270 | static void kuten_begin(); | ^ CcWnn.c:2133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2133 | kuten_end(obj) | ^ CcWnn.c:271:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 271 | static void kuten_end(); | ^ CcWnn.c:2140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2140 | carriageret(obj) | ^ CcWnn.c:267:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 267 | static void carriageret(); | ^ CcWnn.c:2149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2149 | convend(obj) | ^ CcWnn.c:274:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 274 | static void convend(); | ^ CcWnn.c:2161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2161 | send_back(obj) | ^ CcWnn.c:275:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 275 | static void send_back(); | ^ CcWnn.c:2200:21: warning: passing arguments to 'saveYomiAndKanji' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2200 | saveYomiAndKanji(obj); | ^ CcWnn.c:2169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2169 | register_word(obj) | ^ CcWnn.c:276:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 276 | static void register_word(); | ^ CcWnn.c:2210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2210 | sym_input(obj) | ^ CcWnn.c:273:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 273 | static void sym_input(); | ^ CcWnn.c:2233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2233 | getSymbol(obj, n) | ^ CcWnn.c:356:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 356 | static int getSymbol(); | ^ CcWnn.c:2264:21: warning: passing arguments to 'getAllCandidates' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2264 | getAllCandidates(obj, ncand); | ^ CcWnn.c:2247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2247 | startSelection(obj, small) | ^ CcWnn.c:351:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 351 | static void startSelection(); | ^ CcWnn.c:2283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2283 | moveSelection(obj, dir) | ^ CcWnn.c:352:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 352 | static void moveSelection(); | ^ CcWnn.c:2315:23: warning: passing arguments to 'insertSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2315 | ret = insertSelection(obj, selected); | ^ CcWnn.c:2297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2297 | endSelection(obj, abort) | ^ CcWnn.c:353:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 353 | static int endSelection(); | ^ CcWnn.c:2323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2323 | insertSelection(obj, selected) | ^ CcWnn.c:354:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 354 | static int insertSelection(); | ^ CcWnn.c:2352:13: warning: enumeration value 'normal_state' not handled in switch [-Wswitch] 2352 | switch (obj->ccWnn.state) { | ^~~~~~~~~~~~~~~~ CcWnn.c:2352:13: note: add missing switch cases 2352 | switch (obj->ccWnn.state) { | ^ 2353 | case selection_l_state: 2354 | case selection_s_state: 2355 | /* $B8uJdA*BrCf$G$"$l$P%+%l%s%H$N8uJd$rA*Br$7$FA*Br%b!<%I$+$iH4$1$k(B */ 2356 | case symbol_state: 2357 | /* $B5-9fF~NOCf$G$"$l$P%+%l%s%H$N5-9f$rA*Br$7$F5-9f%b!<%I$+$iH4$1$k(B */ 2358 | endSelection(obj, False); 2359 | break; 2360 | } CcWnn.c:2349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2349 | normalState(obj) | ^ CcWnn.c:358:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 358 | static void normalState(); | ^ CcWnn.c:2364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2364 | allocCandlist(obj, n) | ^ CcWnn.c:360:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 360 | static void allocCandlist(); | ^ CcWnn.c:2384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2384 | allocStrdata(obj, nchars) | ^ CcWnn.c:361:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 361 | static void allocStrdata(); | ^ CcWnn.c:2407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2407 | getAllCandidates(obj, ncand) | ^ CcWnn.c:362:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 362 | static void getAllCandidates(); | ^ CcWnn.c:2449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2449 | addObject(obj) | ^ CcWnn.c:364:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 364 | static void addObject(); | ^ CcWnn.c:2460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2460 | deleteObject(obj) | ^ CcWnn.c:365:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 365 | static void deleteObject(); | ^ CcWnn.c:2504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2504 | saveData(obj) | ^ CcWnn.c:368:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 368 | static void saveData(); | ^ CcWnn.c:2522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2522 | restoreData(obj) | ^ CcWnn.c:369:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 369 | static void restoreData(); | ^ CcWnn.c:2540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2540 | ioeCallback(dummy) | ^ CcWnn.c:371:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 371 | static void ioeCallback(); | ^ CcWnn.c:2558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2558 | findSelectionObj(w) | ^ CcWnn.c:373:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 373 | static CcWnnObject findSelectionObj(); | ^ CcWnn.c:2627:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2627 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ CcWnn.c:2629:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2629 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ CcWnn.c:2572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2572 | PreeditString(w, segn, offset, encoding, format, length, string) | ^ CcWnn.c:80:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static int PreeditString(); | ^ CcWnn.c:2684:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2684 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ CcWnn.c:2686:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2686 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ CcWnn.c:2639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2639 | StatusString(w, encoding, format, length, string, nchars) | ^ CcWnn.c:81:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static int StatusString(); | ^ CcWnn.c:2696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2696 | convertSelection(w, selp, targetp, typep, valp, lenp, formatp) | ^ CcWnn.c:375:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 375 | static Boolean convertSelection(); | ^ CcWnn.c:2777:11: warning: call to undeclared function 'convJWStoCT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2777 | len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ CcWnn.c:2777:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2777 | len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ CcWnn.c:2779:16: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2779 | convJWStoCT(wbuf, obj->ccWnn.selyomi, 0); | ^ CcWnn.c:2785:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2785 | len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ CcWnn.c:2787:16: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2787 | convJWStoCT(wbuf, obj->ccWnn.selkanji, 0); | ^ CcWnn.c:2748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2748 | saveYomiAndKanji(obj) | ^ CcWnn.c:376:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 376 | static void saveYomiAndKanji(); | ^ CcWnn.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: CcWnn.c,v 1.59 2002/01/10 15:51:47 ishisone Exp $"; | ^~~~~ CcWnn.c:1447:1: warning: unused function 'cand_next_mt' [-Wunused-function] 1447 | cand_next_mt(obj) | ^~~~~~~~~~~~ 425 warnings generated. rm -f cconv.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" cconv.c cconv.c:862:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | static int wstrlen(str) | ^ cconv.c:872:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | static wchar *wrev(s) | ^ cconv.c:890:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | static void eproc(efunc, msg) | ^ cconv.c:899:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | (*efunc)(msg); | ^ cconv.c:903:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | static wchar *promptsave(str) | ^ cconv.c:911:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 911 | while (*q++ = *str++) | ~~~~~^~~~~~~~ cconv.c:911:15: note: place parentheses around the assignment to silence this warning 911 | while (*q++ = *str++) | ^ | ( ) cconv.c:911:15: note: use '==' to turn this assignment into an equality comparison 911 | while (*q++ = *str++) | ^ | == cconv.c:917:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | static int parseLine(line, argv, argvsize) | ^ cconv.c:931:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 931 | while (c = *line) { | ~~^~~~~~~ cconv.c:931:11: note: place parentheses around the assignment to silence this warning 931 | while (c = *line) { | ^ | ( ) cconv.c:931:11: note: use '==' to turn this assignment into an equality comparison 931 | while (c = *line) { | ^ | == cconv.c:970:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | static FILE *openfile(file) | ^ cconv.c:975:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 975 | FILE *fopen(); | ^ cconv.c:976:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 976 | char *getenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ cconv.c:1008:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | static int doinclude(line, files, efunc) | ^ cconv.c:1040:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | static uchar *get_line(line, linesize, files, efunc) | ^ cconv.c:1071:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | static int readRuleFile(rule, file) | ^ cconv.c:1189:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | static int registMode(rule, ac, av) | ^ cconv.c:1226:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | static int newMode(rule, files, srec, frec, fnrec, ac, av) | ^ cconv.c:1286:13: warning: incompatible pointer to integer conversion assigning to 'unsigned long' from 'unsigned long *'; dereference with * [-Wint-conversion] 1286 | cdp->key = (ulong *) inkey; | ^ ~~~~~~~~~~~~~~~ | * cconv.c:1309:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1309 | static int getDesc(rule, line, frec, fnrec, keyp, maskp, context, result, funcp) | ^ cconv.c:1361:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1361 | static int getMode(rule, str) | ^ cconv.c:1377:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | static uchar *getQuote(line, str, metaf) | ^ cconv.c:1399:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1399 | if (c = *line++) | ~~^~~~~~~~~ cconv.c:1399:10: note: place parentheses around the assignment to silence this warning 1399 | if (c = *line++) | ^ | ( ) cconv.c:1399:10: note: use '==' to turn this assignment into an equality comparison 1399 | if (c = *line++) | ^ | == cconv.c:1424:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | static int getKey(line, keyp, maskp) | ^ cconv.c:1535:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1535 | static int getmask(s) | ^ cconv.c:1566:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1566 | static char *strinc(s, k) | ^ cconv.c:1572:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1572 | while (s = index(s, *k)) | ~~^~~~~~~~~~~~~~ cconv.c:1572:11: note: place parentheses around the assignment to silence this warning 1572 | while (s = index(s, *k)) | ^ | ( ) cconv.c:1572:11: note: use '==' to turn this assignment into an equality comparison 1572 | while (s = index(s, *k)) | ^ | == cconv.c:1582:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | static ulong getcode(s) | ^ cconv.c:1587:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 1587 | KeySym XStringToKeysym(); | ^ /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/X11/Xlib.h:1706:15: note: conflicting prototype is here 1706 | extern KeySym XStringToKeysym( | ^ cconv.c:1600:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1600 | static int getFunc(rule, frec, fnrec, n, args) | ^ cconv.c:1641:10: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1641 | char *mod = func + sizeof("add-modifier-") - 1; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cconv.c:1668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1668 | findRule(rulefile) | ^ cconv.c:1683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1683 | addRule(rule) | ^ cconv.c:1692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | deleteRule(rule) | ^ cconv.c:1712:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1712 | static int wstrsave(srec, str) | ^ cconv.c:1733:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | static int wstralloc(srec, len) | ^ cconv.c:1771:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1771 | static void wstradjust(srec) | ^ cconv.c:1785:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1785 | static ConvDesc *cdalloc(crec) | ^ cconv.c:1815:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1815 | static void cdadjust(crec) | ^ cconv.c:1829:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1829 | static int funcalloc(frec, n) | ^ cconv.c:1867:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1867 | static void funcadjust(frec) | ^ cconv.c:1881:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1881 | static int funcsearch(fnrec, funcname) | ^ cconv.c:1932:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1932 | static void funcnameadjust(fnrec) | ^ cconv.c:1939:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1939 | if (cp = Realloc(fnrec->funcnamebuf, size)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cconv.c:1939:9: note: place parentheses around the assignment to silence this warning 1939 | if (cp = Realloc(fnrec->funcnamebuf, size)) { | ^ | ( ) cconv.c:1939:9: note: use '==' to turn this assignment into an equality comparison 1939 | if (cp = Realloc(fnrec->funcnamebuf, size)) { | ^ | == cconv.c:1945:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1945 | static int convchar(buf, key, mask, str, len) | ^ cconv.c:2009:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2009 | (*buf->modenotify)(buf->currentmode, | ^ cconv.c:2031:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2031 | if (!(*buf->executefunction)(truefunc, str, len, | ^ cconv.c:2040:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2040 | static int cconvert(buf, mode, inkey, mask, func, str, len) | ^ cconv.c:2087:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2087 | static int metamatch(rkey, inkey, nonascii) | ^ cconv.c:2121:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2121 | static int contextMatch(buf, context) | ^ cconv.c:2144:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2144 | static void substStr(buf, context, result, str, len) | ^ cconv.c:2158:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2158 | (*buf->deletechar)(buf->client_data); | ^ cconv.c:2161:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2161 | while (c = *result++) { | ~~^~~~~~~~~~~ cconv.c:2161:11: note: place parentheses around the assignment to silence this warning 2161 | while (c = *result++) { | ^ | ( ) cconv.c:2161:11: note: use '==' to turn this assignment into an equality comparison 2161 | while (c = *result++) { | ^ | == cconv.c:2172:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2172 | (*buf->insertchar)(c, buf->client_data); | ^ cconv.c:2181:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2181 | (*buf->insertchar)(c, buf->client_data); | ^ cconv.c:2186:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2186 | int getModeSwitchMask(dpy) | ^ cconv.c:2233:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2233 | ccRule ccParseRule(deffile, errprint) | ^ cconv.c:2238:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 2238 | extern char *getenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ cconv.c:2248:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2248 | if (rule = findRule(deffile)) { | ~~~~~^~~~~~~~~~~~~~~~~~~ cconv.c:2248:11: note: place parentheses around the assignment to silence this warning 2248 | if (rule = findRule(deffile)) { | ^ | ( ) cconv.c:2248:11: note: use '==' to turn this assignment into an equality comparison 2248 | if (rule = findRule(deffile)) { | ^ | == cconv.c:2278:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2278 | ccBuf ccCreateBuf(rule, csize, functable, nfunc, | ^ cconv.c:2358:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2358 | void ccFreeRule(rule) | ^ cconv.c:2383:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2383 | void ccDestroyBuf(buf) | ^ cconv.c:2393:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2393 | int ccConvchar(buf, event) | ^ cconv.c:2460:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2460 | (void)(*buf->defaultaction)(str, nbytes, buf->client_data); | ^ cconv.c:2469:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2469 | int ccGetMode(buf) | ^ cconv.c:2476:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2476 | wchar *ccGetModePrompt(buf) | ^ cconv.c:2483:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2483 | ccRule ccGetRule(buf) | ^ cconv.c:2490:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2490 | void ccContextAppend(buf, c) | ^ cconv.c:2499:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2499 | buf->autofix(buf->client_data); | ^ cconv.c:2520:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2520 | void ccContextDelete(buf) | ^ cconv.c:2528:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2528 | void ccContextClear(buf) | ^ cconv.c:2538:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2538 | void ccContextSet(buf, cstr) | ^ cconv.c:2555:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2555 | void ccContextGet(buf, cstr) | ^ cconv.c:2572:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2572 | ccBuf ccInit(deffile, contextsize, defactfunc, insertfunc, deletefunc, dofunc, | ^ cconv.c:2596:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2596 | void ccTerminate(buf) | ^ cconv.c:603:14: warning: unused variable 'rcsid' [-Wunused-variable] 603 | static char *rcsid = "$Id: cconv.c,v 10.10 1999/08/09 03:17:57 ishisone Exp $"; | ^~~~~ 74 warnings generated. rm -f wnnlib.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" wnnlib.c wnnlib.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | moveKBuf(buf, cl, move) | ^ wnnlib.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | moveDBuf(buf, cl, move) | ^ wnnlib.c:811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | moveCInfo(buf, cl, move) | ^ wnnlib.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | resizeBuffer(buf, len) | ^ wnnlib.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | resizeCInfo(buf, size) | ^ wnnlib.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | setCurClause(buf, cl) | ^ wnnlib.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | getHint(buf, start, end) | ^ wnnlib.c:978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | renConvert(buf, small) | ^ wnnlib.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | tanConvert(buf, small) | ^ wnnlib.c:1082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | doKanrenConvert(buf, cl) | ^ wnnlib.c:1195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | doKantanDConvert(buf, cls, cle) | ^ wnnlib.c:1321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1321 | doKantanSConvert(buf, cl) | ^ wnnlib.c:1408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1408 | makeConverted(buf, cl) | ^ wnnlib.c:1468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | unconvert(buf, start, end) | ^ wnnlib.c:1576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1576 | expandOrShrink(buf, small, expand, convf) | ^ wnnlib.c:1840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1840 | getCandidates(buf, small) | ^ wnnlib.c:1920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1920 | setCandidate(buf, n) | ^ wnnlib.c:2089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2089 | checkCandidates(buf, cls, cle) | ^ wnnlib.c:2115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2115 | forceStudy(buf, n) | ^ wnnlib.c:2286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2286 | jcCreateBuffer(wnn, nclause, buffersize) | ^ wnnlib.c:2342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2342 | jcDestroyBuffer(buf, savedic) | ^ wnnlib.c:2371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2371 | jcClear(buf) | ^ wnnlib.c:2398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2398 | jcConvert(buf, small, tan, jump) | ^ wnnlib.c:2441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2441 | jcUnconvert(buf) | ^ wnnlib.c:2492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | jcCancel(buf) | ^ wnnlib.c:2536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2536 | jcExpand(buf, small, convf) | ^ wnnlib.c:2550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2550 | jcShrink(buf, small, convf) | ^ wnnlib.c:2564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2564 | jcKana(buf, small, kind) | ^ wnnlib.c:2672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2672 | jcFix(buf) | ^ wnnlib.c:2696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2696 | jcFix1(buf) | ^ wnnlib.c:2738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2738 | jcNext(buf, small, prev) | ^ wnnlib.c:2787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2787 | jcCandidateInfo(buf, small, ncandp, curcandp) | ^ wnnlib.c:2832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2832 | jcGetCandidate(buf, n, candstr) | ^ wnnlib.c:2865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2865 | jcSelect(buf, n) | ^ wnnlib.c:2903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2903 | jcDotOffset(buf) | ^ wnnlib.c:2913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2913 | jcIsConverted(buf, cl) | ^ wnnlib.c:2931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2931 | jcMove(buf, small, dir) | ^ wnnlib.c:3033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3033 | jcTop(buf) | ^ wnnlib.c:3047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3047 | jcBottom(buf) | ^ wnnlib.c:3074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3074 | jcInsertChar(buf, c) | ^ wnnlib.c:3160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3160 | jcDeleteChar(buf, prev) | ^ wnnlib.c:3286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3286 | jcKillLine(buf) | ^ wnnlib.c:3351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3351 | jcChangeClause(buf, str) | ^ wnnlib.c:3437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3437 | jcSaveDic(buf) | ^ wnnlib.c:3448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3448 | jcOpen(server, envname, override, rcfile, errmsg, confirm, timeout) | ^ wnnlib.c:3461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3461 | jcOpen2(server, envname, override, rcfile4, rcfile6, errmsg, confirm, timeout) | ^ wnnlib.c:3476:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3476 | extern char *getenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ wnnlib.c:3594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3594 | jcClose(wnnbuf) | ^ wnnlib.c:3605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3605 | jcIsConnect(wnnbuf) | ^ wnnlib.c:575:14: warning: unused variable 'rcsid' [-Wunused-variable] 575 | static char *rcsid = "$Id: wnnlib.c,v 10.18 2002/01/10 15:51:47 ishisone Exp $"; | ^~~~~ 50 warnings generated. rm -f Canna.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" Canna.c Canna.c:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | static initializeCannaConnection(); | ~~~~~~ ^ | int Canna.c:105:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | static toJapaneseMode(); | ~~~~~~ ^ | int Canna.c:107:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 107 | static changeTextForCanna(); | ~~~~~~ ^ | int Canna.c:108:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 108 | static copyInWchar(); | ~~~~~~ ^ | int Canna.c:109:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | static fixProcForCanna(); | ~~~~~~ ^ | int Canna.c:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | static shiftRight(), shiftLeft(), shiftLeftAll(); | ~~~~~~ ^ | int Canna.c:110:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | static shiftRight(), shiftLeft(), shiftLeftAll(); | ~~~~~~ ^ | int Canna.c:110:35: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | static shiftRight(), shiftLeft(), shiftLeftAll(); | ~~~~~~ ^ | int Canna.c:111:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 111 | static ibufInitialize(), freeIBuf(); | ~~~~~~ ^ | int Canna.c:111:26: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 111 | static ibufInitialize(), freeIBuf(); | ~~~~~~ ^ | int Canna.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | XKanaLookup(event_struct, buffer_return, bytes_buffer, | ^ Canna.c:252:26: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XKeyEvent *' [-Wincompatible-pointer-types] 252 | nbytes = XKanaLookup(event, kanabuf, 20, &ks, &compose_status); | ^~~~~ Canna.c:259:14: warning: passing arguments to 'convend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | convend(obj); | ^ Canna.c:264:43: warning: passing arguments to 'checkIfFunctionalChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | functionalChar = checkIfFunctionalChar(event, ks, buf, 1024); | ^ Canna.c:278:25: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 278 | len = wcKanjiString((int)obj, (int)buf[0], | ^~~~~~~~ Canna.c:281:19: warning: passing arguments to 'displayPreEdit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | displayPreEdit(obj, len, buf, &kanji_status); | ^ Canna.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | InputEvent(w, event) | ^ Canna.c:89:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | static int InputEvent(); | ^ Canna.c:304:17: warning: passing arguments to 'fixProcForCanna' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | fixProcForCanna(obj, buf, len); | ^ Canna.c:305:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | fix(obj); | ^ Canna.c:309:23: warning: passing arguments to 'changeTextForCanna' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | changeTextForCanna(obj, ks); | ^ Canna.c:350:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 350 | wcKanjiControl((int)obj, KC_SETMODEINFOSTYLE, (char *)1); | ^~~~~~~~ Canna.c:351:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 351 | wcKanjiControl((int)obj, KC_QUERYMODE, (char *)modeinfo); | ^~~~~~~~ Canna.c:352:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 352 | wcKanjiControl((int)obj, KC_SETMODEINFOSTYLE, (char *)0); | ^~~~~~~~ Canna.c:354:16: warning: passing arguments to 'toJapaneseMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | toJapaneseMode(obj); | ^ Canna.c:355:9: warning: passing arguments to 'convend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | convend(obj); | ^ Canna.c:358:18: warning: passing arguments to 'openSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | openSelection(obj, SELECTION_DO, 0/* dummy */); | ^ Canna.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | displayPreEdit(obj, len, buf, ks) | ^ Canna.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void displayPreEdit(); | ^ Canna.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | GetMode(w) | ^ Canna.c:90:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static ICString *GetMode(); | ^ Canna.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | CursorPos(w, nsegp, ncharp) | ^ Canna.c:91:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | static int CursorPos(); | ^ Canna.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | NumSegments(w) | ^ Canna.c:92:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static int NumSegments(); | ^ Canna.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | GetSegment(w, n) | ^ Canna.c:93:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | static ICString *GetSegment(); | ^ Canna.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | CompareSegment(w, seg1, seg2, n) | ^ Canna.c:94:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | static int CompareSegment(); | ^ Canna.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | GetItemList(w, n) | ^ Canna.c:95:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static ICString *GetItemList(); | ^ Canna.c:505:20: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 505 | wcKanjiControl((int)obj, KC_DO, (char *)&ksv); | ^~~~~~~~ Canna.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | SelectItem(w, n) | ^ Canna.c:96:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | static int SelectItem(); | ^ Canna.c:548:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ Canna.c:550:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ Canna.c:552:17: warning: passing arguments to 'shiftLeftAll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | shiftLeftAll(ib); | ^ Canna.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | ConvertedString(w, encoding, format, length, string) | ^ Canna.c:97:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static int ConvertedString(); | ^ Canna.c:570:18: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 570 | wcKanjiControl((int)obj, KC_KILL, (char *)&ksv); | ^~~~~~~~ Canna.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | ClearConversion(w) | ^ Canna.c:98:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static int ClearConversion(); | ^ Canna.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | GetAuxSegments(w, n, ns, nc) | ^ Canna.c:128:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | static ICString *GetAuxSegments(); | ^ Canna.c:626:19: warning: passing arguments to 'ibufInitialize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | ibufInitialize(obj); | ^ Canna.c:629:30: warning: passing arguments to 'initializeCannaConnection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | initializeCannaConnection(obj); | ^ Canna.c:631:14: warning: passing arguments to 'addObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | addObject(obj); | ^ Canna.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | Initialize(req, new, args, num_args) | ^ Canna.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void Initialize(), Destroy(); | ^ Canna.c:646:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 645 | static | ~~~~~~ | int 646 | initializeCannaConnection(obj) | ^ Canna.c:657:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 657 | wcKanjiControl((int)obj, KC_SETSERVERNAME, obj->canna.cannahost); | ^~~~~~~~ Canna.c:662:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 662 | wcKanjiControl((int)obj, KC_SETINITFILENAME, obj->canna.cannafile); | ^~~~~~~~ Canna.c:666:20: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 666 | wcKanjiControl((int)obj, KC_INITIALIZE, (char *)&warn); | ^~~~~~~~ Canna.c:680:18: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 680 | wcKanjiControl((int)obj, KC_SETAPPNAME, "kinput2"); | ^~~~~~~~ Canna.c:689:18: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 689 | wcKanjiControl((int)obj, KC_SETWIDTH, (char *)78); | ^~~~~~~~ Canna.c:699:20: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 699 | wcKanjiControl((int)obj, KC_SETLISTCALLBACK, (char *)&lcs); | ^~~~~~~~ Canna.c:706:17: warning: passing arguments to 'toJapaneseMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | toJapaneseMode(obj); | ^ Canna.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | initializeCannaConnection(obj) | ^ Canna.c:104:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | static initializeCannaConnection(); | ^ Canna.c:707:1: warning: non-void function does not return a value [-Wreturn-type] 707 | } | ^ Canna.c:722:13: warning: passing arguments to 'freeIBuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | freeIBuf(obj->canna.ibuf); | ^ Canna.c:739:20: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 739 | wcKanjiControl((int)obj, KC_CLOSEUICONTEXT, (char *)&ksv); | ^~~~~~~~ Canna.c:754:17: warning: passing arguments to 'deleteObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | deleteObject(obj); | ^ Canna.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | Destroy(w) | ^ Canna.c:87:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void Initialize(), Destroy(); | ^ Canna.c:766:17: warning: unused variable 'old' [-Wunused-variable] 766 | CannaObject old = (CannaObject)cur; | ^~~ Canna.c:767:17: warning: unused variable 'new' [-Wunused-variable] 767 | CannaObject new = (CannaObject)wid; | ^~~ Canna.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | SetValues(cur, req, wid, args, num_args) | ^ Canna.c:88:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static Boolean SetValues(); | ^ Canna.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | fix(obj) | ^ Canna.c:192:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 192 | static void fix(); | ^ Canna.c:782:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | convend(obj) | ^ Canna.c:106:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | static void convend(); | ^ Canna.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | addObject(obj) | ^ Canna.c:197:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 197 | static void addObject(); | ^ Canna.c:811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | deleteObject(obj) | ^ Canna.c:198:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 198 | static void deleteObject(); | ^ Canna.c:854:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 853 | static | ~~~~~~ | int 854 | changeTextForCanna(cldata, ksp) | ^ Canna.c:879:15: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | copyInWchar(ksp->echoStr, ksp->revLen, | ^ Canna.c:885:17: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | copyInWchar(ksp->echoStr + ksp->revLen, remain, | ^ Canna.c:894:15: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | copyInWchar(ksp->echoStr, ksp->revPos, | ^ Canna.c:897:15: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | copyInWchar(ksp->echoStr + ksp->revPos, ksp->revLen, | ^ Canna.c:903:17: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | copyInWchar(ksp->echoStr + ksp->revPos + ksp->revLen, | ^ Canna.c:912:13: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | copyInWchar(ksp->echoStr, ksp->length, | ^ Canna.c:926:18: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | copyInWchar(ksp->mode, modelen, | ^ Canna.c:962:17: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | copyInWchar(ksp->gline.line, ksp->gline.revLen, | ^ Canna.c:968:19: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | copyInWchar(ksp->gline.line + ksp->gline.revLen, remain, | ^ Canna.c:978:17: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | copyInWchar(ksp->gline.line, ksp->gline.revPos, | ^ Canna.c:981:17: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | copyInWchar(ksp->gline.line + ksp->gline.revPos, ksp->gline.revLen, | ^ Canna.c:987:19: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | copyInWchar(ksp->gline.line | ^ Canna.c:997:15: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | copyInWchar(ksp->gline.line, ksp->gline.length, | ^ Canna.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | changeTextForCanna(cldata, ksp) | ^ Canna.c:107:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | static changeTextForCanna(); | ^ Canna.c:1015:1: warning: non-void function does not return a value [-Wreturn-type] 1015 | } | ^ Canna.c:1031:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1030 | static | ~~~~~~ | int 1031 | copyInWchar(ws, wlen, wsbuf, wssize, wslen) | ^ Canna.c:1037:7: warning: unused variable 'i' [-Wunused-variable] 1037 | int i; | ^ Canna.c:1031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | copyInWchar(ws, wlen, wsbuf, wssize, wslen) | ^ Canna.c:108:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | static copyInWchar(); | ^ Canna.c:1072:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1071 | static | ~~~~~~ | int 1072 | fixProcForCanna(cldata, fixedstr, fixedlen) | ^ Canna.c:1082:15: warning: passing arguments to 'shiftRight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | shiftRight(ib); | ^ Canna.c:1086:14: warning: passing arguments to 'shiftLeft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | shiftLeft(ib); | ^ Canna.c:1072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | fixProcForCanna(cldata, fixedstr, fixedlen) | ^ Canna.c:109:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | static fixProcForCanna(); | ^ Canna.c:1091:1: warning: non-void function does not return a value [-Wreturn-type] 1091 | } | ^ Canna.c:1100:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1099 | static | ~~~~~~ | int 1100 | shiftRight(ib) | ^ Canna.c:1105:16: warning: unused variable 'tmplen' [-Wunused-variable] 1105 | int tmpsize, tmplen; | ^~~~~~ Canna.c:1100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | shiftRight(ib) | ^ Canna.c:110:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | static shiftRight(), shiftLeft(), shiftLeftAll(); | ^ Canna.c:1120:1: warning: non-void function does not return a value [-Wreturn-type] 1120 | } | ^ Canna.c:1129:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1128 | static | ~~~~~~ | int 1129 | shiftLeft(ib) | ^ Canna.c:1134:16: warning: unused variable 'tmplen' [-Wunused-variable] 1134 | int tmpsize, tmplen; | ^~~~~~ Canna.c:1129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | shiftLeft(ib) | ^ Canna.c:110:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | static shiftRight(), shiftLeft(), shiftLeftAll(); | ^ Canna.c:1146:1: warning: non-void function does not return a value [-Wreturn-type] 1146 | } | ^ Canna.c:1155:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1154 | static | ~~~~~~ | int 1155 | shiftLeftAll(ib) | ^ Canna.c:1160:16: warning: unused variable 'tmplen' [-Wunused-variable] 1160 | int tmpsize, tmplen; | ^~~~~~ Canna.c:1155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1155 | shiftLeftAll(ib) | ^ Canna.c:110:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | static shiftRight(), shiftLeft(), shiftLeftAll(); | ^ Canna.c:1175:1: warning: non-void function does not return a value [-Wreturn-type] 1175 | } | ^ Canna.c:1183:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1182 | static | ~~~~~~ | int 1183 | ibufInitialize(obj) | ^ Canna.c:1183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Canna.c:111:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | static ibufInitialize(), freeIBuf(); | ^ Canna.c:1205:1: warning: non-void function does not return a value [-Wreturn-type] 1205 | } | ^ Canna.c:1214:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1213 | static | ~~~~~~ | int 1214 | freeIBuf(ib) | ^ Canna.c:1214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Canna.c:111:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | static ibufInitialize(), freeIBuf(); | ^ Canna.c:1240:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1239 | static | ~~~~~~ | int 1240 | toJapaneseMode(obj) | ^ Canna.c:1256:18: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 1256 | wcKanjiControl((int)obj, KC_DO, (char *)&ksv); | ^~~~~~~~ Canna.c:1258:22: warning: incompatible pointer types passing 'CannaObject' (aka 'struct _CannaRec *') to parameter of type 'caddr_t' (aka 'char *') [-Wincompatible-pointer-types] 1258 | changeTextForCanna(obj, &ks); | ^~~ Canna.c:1240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1240 | toJapaneseMode(obj) | ^ Canna.c:105:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static toJapaneseMode(); | ^ Canna.c:1259:1: warning: non-void function does not return a value [-Wreturn-type] 1259 | } | ^ Canna.c:1268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1268 | checkIfFunctionalChar(event_struct, keysym, buffer_return, n_buffer) | ^ Canna.c:200:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 200 | static int checkIfFunctionalChar(); | ^ Canna.c:1385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | moveSelection(obj, dir) | ^ Canna.c:1398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | insertSelection(obj, selected) | ^ Canna.c:1409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1409 | endSelection(obj, abort) | ^ Canna.c:1429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | querySelection(obj) | ^ Canna.c:1448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1448 | openSelection(obj, func, curitem) | ^ Canna.c:121:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | static void openSelection(); | ^ Canna.c:1500:21: warning: passing arguments to 'getAllCandidates' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | getAllCandidates(obj, nitems, items); | ^ Canna.c:1494:25: warning: unused variable 'arg' [-Wunused-variable] 1494 | ICSelectionControlArg arg; | ^~~ Canna.c:1495:7: warning: unused variable 'i' [-Wunused-variable] 1495 | int i; | ^ Canna.c:1496:11: warning: unused variable 'p' [-Wunused-variable] 1496 | wchar **p; | ^ Canna.c:1488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | listfunc(obj, func, items, nitems, cur_item) | ^ Canna.c:119:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static CANNA_LISTFUNCTYPE listfunc(); | ^ Canna.c:1549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | allocCandlist(obj, n) | ^ Canna.c:1575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1575 | getAllCandidates(obj, ncand, items) | ^ Canna.c:1476:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1476 | static void getAllCandidates(); | ^ Canna.c:1674:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 1674 | n = wcKanjiControl((int)obj, KC_MODEKEYS, (char *)mkeys); | ^~~~~~~~ Canna.c:1664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1664 | GetTriggerKeys(w, keys_return) | ^ Canna.c:100:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | static int GetTriggerKeys(); | ^ Canna.c:1795:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1795 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ Canna.c:1797:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1797 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ Canna.c:1735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1735 | PreeditString(w, segn, offset, encoding, format, length, string) | ^ Canna.c:101:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static int PreeditString(); | ^ Canna.c:1852:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1852 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ Canna.c:1854:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1854 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ Canna.c:1807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1807 | StatusString(w, encoding, format, length, string, nchars) | ^ Canna.c:102:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static int StatusString(); | ^ Canna.c:50:14: warning: unused variable 'rcsid' [-Wunused-variable] 50 | static char *rcsid = "$Id: Canna.c,v 1.55 1999/05/25 08:13:03 ishisone Exp $"; | ^~~~~ 171 warnings generated. rm -f Sj3.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -Iimlib -I/opt/pkg/include/wnn -I/opt/pkg/include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCCDEFPATH=\"/opt/pkg/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" Sj3.c Sj3.c:154:37: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 154 | /* foo */ (int)NULL, | ^~~~~~~~~ Sj3.c:200:19: warning: passing arguments to 'Xsj3cSetInLang' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | Xsj3cSetInLang(usr_code); | ^ Sj3.c:201:20: warning: passing arguments to 'Xsj3cSetOutLang' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | Xsj3cSetOutLang(JP_EUC); | ^ Sj3.c:216:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 216 | if (loc = setlocale (LC_CTYPE, "")) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ Sj3.c:216:13: note: place parentheses around the assignment to silence this warning 216 | if (loc = setlocale (LC_CTYPE, "")) { | ^ | ( ) Sj3.c:216:13: note: use '==' to turn this assignment into an equality comparison 216 | if (loc = setlocale (LC_CTYPE, "")) { | ^ | == Sj3.c:248:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 248 | struct passwd *pwd, *getpwnam(), *getpwuid(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/pwd.h:101:16: note: conflicting prototype is here 101 | struct passwd *getpwnam(const char *); | ^ Sj3.c:248:54: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 248 | struct passwd *pwd, *getpwnam(), *getpwuid(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/pwd.h:100:16: note: conflicting prototype is here 100 | struct passwd *getpwuid(uid_t); | ^ Sj3.c:251:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 251 | if (login = getlogin()) | ~~~~~~^~~~~~~~~~~~ Sj3.c:251:15: note: place parentheses around the assignment to silence this warning 251 | if (login = getlogin()) | ^ | ( ) Sj3.c:251:15: note: use '==' to turn this assignment into an equality comparison 251 | if (login = getlogin()) | ^ | == Sj3.c:254:10: warning: address of array 'uname' will always evaluate to 'true' [-Wpointer-bool-conversion] 254 | if (!uname || *uname == '\0') { | ~^~~~~ Sj3.c:255:28: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | if (pwd = getpwuid(getuid())) { | ^ Sj3.c:255:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 255 | if (pwd = getpwuid(getuid())) { | ~~~~^~~~~~~~~~~~~~~~~~~~ Sj3.c:255:17: note: place parentheses around the assignment to silence this warning 255 | if (pwd = getpwuid(getuid())) { | ^ | ( ) Sj3.c:255:17: note: use '==' to turn this assignment into an equality comparison 255 | if (pwd = getpwuid(getuid())) { | ^ | == Sj3.c:264:28: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | strcpy(home, getenv("HOME")); | ^ Sj3.c:289:30: warning: passing arguments to 'Xsj3cGetPreeditArea' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | pre = Xsj3cGetPreeditArea(buf, &len); | ^ Sj3.c:292:14: warning: call to undeclared function 'XmuLookupKana'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | nbytes = XmuLookupKana((XKeyPressedEvent *)ev, (char *)pre, len, &ks, NULL); | ^ Sj3.c:295:25: warning: passing arguments to 'Xsj3cKeyConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | value = Xsj3cKeyConv(buf, nbytes, modmask, ks); | ^ Sj3.c:297:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 297 | if (select = (value & KEY_SELECT)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ Sj3.c:297:16: note: place parentheses around the assignment to silence this warning 297 | if (select = (value & KEY_SELECT)) { | ^ | ( ) Sj3.c:297:16: note: use '==' to turn this assignment into an equality comparison 297 | if (select = (value & KEY_SELECT)) { | ^ | == Sj3.c:300:27: warning: passing arguments to 'startCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | startCandidate(obj); | ^ Sj3.c:303:24: warning: passing arguments to 'startSymbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | startSymbol(obj); | ^ Sj3.c:306:23: warning: passing arguments to 'startHinsi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | startHinsi(obj); | ^ Sj3.c:309:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | moveSelection(obj, ICMoveRight); | ^ Sj3.c:312:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | moveSelection(obj, ICMoveLeft); | ^ Sj3.c:315:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | moveSelection(obj, ICMoveUp); | ^ Sj3.c:318:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | moveSelection(obj, ICMoveDown); | ^ Sj3.c:321:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | moveSelection(obj, ICMoveFirst); | ^ Sj3.c:324:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | moveSelection(obj, ICMoveLast); | ^ Sj3.c:327:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | moveSelection(obj, ICMoveNextPage); | ^ Sj3.c:330:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | moveSelection(obj, ICMovePrevPage); | ^ Sj3.c:333:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | moveSelection(obj, ICMoveRightMost); | ^ Sj3.c:336:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | moveSelection(obj, ICMoveLeftMost); | ^ Sj3.c:339:25: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | endSelection(obj, False); | ^ Sj3.c:342:25: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | endSelection(obj, True); | ^ Sj3.c:348:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 348 | if (dict = (value & KEY_DICT)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~ Sj3.c:348:14: note: place parentheses around the assignment to silence this warning 348 | if (dict = (value & KEY_DICT)) { | ^ | ( ) Sj3.c:348:14: note: use '==' to turn this assignment into an equality comparison 348 | if (dict = (value & KEY_DICT)) { | ^ | == Sj3.c:351:30: warning: passing arguments to 'startRegistration' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | startRegistration(obj); | ^ Sj3.c:354:31: warning: passing arguments to 'changeRegistration' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | changeRegistration(obj); | ^ Sj3.c:357:30: warning: passing arguments to 'Xsj3cDictRegister' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | Xsj3cDictRegister(buf); | ^ Sj3.c:358:31: warning: passing arguments to 'changeRegistration' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | changeRegistration(obj); | ^ Sj3.c:361:27: warning: passing arguments to 'Xsj3cDictClear' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | Xsj3cDictClear(buf); | ^ Sj3.c:362:31: warning: passing arguments to 'changeRegistration' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | changeRegistration(obj); | ^ Sj3.c:365:28: warning: passing arguments to 'endRegistration' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | endRegistration(obj); | ^ Sj3.c:383:27: warning: passing arguments to 'Xsj3cFixBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | Xsj3cFixBuffer(buf); | ^ Sj3.c:388:29: warning: passing arguments to 'Xsj3cFlushBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | Xsj3cFlushBuffer(buf); | ^ Sj3.c:399:29: warning: passing arguments to 'Xsj3cClearBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | Xsj3cClearBuffer(buf); | ^ Sj3.c:403:13: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | bell(obj); | ^ Sj3.c:406:21: warning: passing arguments to 'Xsj3cConnect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | Xsj3cConnect(buf, obj->sj3.sj3serv, | ^ Sj3.c:408:25: warning: passing arguments to 'Xsj3cClearBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | Xsj3cClearBuffer(buf); | ^ Sj3.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | InputEvent(w, ev) | ^ Sj3.c:84:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static int InputEvent(); | ^ Sj3.c:423:41: warning: passing arguments to 'Xsj3cGetModeStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | icstr.data = (char *)Xsj3cGetModeStr(buf, &len); | ^ Sj3.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | GetMode(w) | ^ Sj3.c:85:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static ICString *GetMode(); | ^ Sj3.c:439:28: warning: passing arguments to 'Xsj3cGetPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | return(Xsj3cGetPosition(buf, nsegp, ncharp)); | ^ Sj3.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | CursorPos(w, nsegp, ncharp) | ^ Sj3.c:86:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static int CursorPos(); | ^ Sj3.c:449:27: warning: passing arguments to 'Xsj3cGetSegNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | return (Xsj3cGetSegNum(buf)); | ^ Sj3.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | NumSegments(w) | ^ Sj3.c:87:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static int NumSegments(); | ^ Sj3.c:462:35: warning: passing arguments to 'Xsj3cGetSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | seg.data = (char *)Xsj3cGetSeg(buf, n, &len, &attr); | ^ Sj3.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | GetSegment(w, n) | ^ Sj3.c:88:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static ICString *GetSegment(); | ^ Sj3.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | CompareSegment(w, seg1, seg2, n) | ^ Sj3.c:89:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | static int CompareSegment(); | ^ Sj3.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | GetItemList(w, n) | ^ Sj3.c:90:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static ICString *GetItemList(); | ^ Sj3.c:551:30: warning: passing arguments to 'insertSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | ret = insertSelection(obj, n, &changed, &flush); | ^ Sj3.c:555:26: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | Xsj3cEndCandidate(buf, changed); | ^ Sj3.c:558:23: warning: passing arguments to 'Xsj3cEndSymbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | Xsj3cEndSymbol(buf); | ^ Sj3.c:561:22: warning: passing arguments to 'Xsj3cEndHinsi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | Xsj3cEndHinsi(buf); | ^ Sj3.c:574:29: warning: passing arguments to 'Xsj3cFlushBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | Xsj3cFlushBuffer(buf); | ^ Sj3.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | SelectItem(w, n) | ^ Sj3.c:91:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | static int SelectItem(); | ^ Sj3.c:600:35: warning: passing arguments to 'Xsj3cGetConvertedLength' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | wlen = Xsj3cGetConvertedLength(buf); | ^ Sj3.c:603:30: warning: passing arguments to 'Xsj3cGetConvertedStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | if ((Xsj3cGetConvertedStr(buf, wbuf)) == NULL) { | ^ Sj3.c:615:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ Sj3.c:617:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ Sj3.c:596:17: warning: unused variable 'data' [-Wunused-variable] 596 | wchar *data; | ^~~~ Sj3.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | ConvertedString(w, encoding, format, length, string) | ^ Sj3.c:92:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static int ConvertedString(); | ^ Sj3.c:631:21: warning: passing arguments to 'Xsj3cClearBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | Xsj3cClearBuffer(buf); | ^ Sj3.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | ClearConversion(w) | ^ Sj3.c:93:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | static int ClearConversion(); | ^ Sj3.c:648:28: warning: passing arguments to 'Xsj3cGetDictMsgNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | *n = Xsj3cGetDictMsgNum(buf); | ^ Sj3.c:655:48: warning: passing arguments to 'Xsj3cGetDictMsgs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | for (i = 0, seg = ics, p = Xsj3cGetDictMsgs(buf); | ^ Sj3.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | GetAuxSegments(w, n, ns, nc) | ^ Sj3.c:94:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | static ICString *GetAuxSegments(); | ^ Sj3.c:694:32: warning: passing arguments to 'Xsj3cGetSegNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | int segnum = Xsj3cGetSegNum(buf); | ^ Sj3.c:704:23: warning: passing arguments to 'Xsj3cGetSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | segdata = Xsj3cGetSeg(buf, segn, &seglen, &junk); | ^ Sj3.c:715:23: warning: passing arguments to 'Xsj3cGetSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | segdata = Xsj3cGetSeg(buf, segn, &seglen, &junk); | ^ Sj3.c:729:23: warning: passing arguments to 'Xsj3cGetSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | segdata = Xsj3cGetSeg(buf, i, &seglen, &junk); | ^ Sj3.c:735:26: warning: passing arguments to 'Xsj3cGetSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | segdata = Xsj3cGetSeg(buf, segn, &seglen, &junk); | ^ Sj3.c:740:23: warning: passing arguments to 'Xsj3cGetSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | segdata = Xsj3cGetSeg(buf, i, &seglen, &junk); | ^ Sj3.c:758:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ Sj3.c:760:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ Sj3.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | PreeditString(w, segn, offset, encoding, format, length, string) | ^ Sj3.c:95:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static int PreeditString(); | ^ Sj3.c:815:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ Sj3.c:817:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ Sj3.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | StatusString(w, encoding, format, length, string, nchars) | ^ Sj3.c:96:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | static int StatusString(); | ^ Sj3.c:871:25: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 871 | XKeycodeToKeysym(XtDisplayOfObject((Widget)obj), | ^ /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here 1682 | _X_DEPRECATED | ^ /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/X11/Xfuncproto.h:139:40: note: expanded from macro '_X_DEPRECATED' 139 | # define _X_DEPRECATED __attribute__((deprecated)) | ^ Sj3.c:882:24: warning: passing arguments to 'Xsj3cSetKanaMod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | Xsj3cSetKanaMod(kanamod); | ^ Sj3.c:894:11: warning: call to undeclared function 'Xsj3cRCInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 894 | (void)Xsj3cRCInit(buf, obj->sj3.rcfile, home); | ^ Sj3.c:897:26: warning: passing arguments to 'Xsj3cInitializeTables' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | Xsj3cInitializeTables(buf, home, obj->sj3.rkfile, obj->sj3.hkfile, | ^ Sj3.c:901:19: warning: passing arguments to 'Xsj3cOpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | if ((Xsj3cOpen(buf, obj->sj3.sj3serv, | ^ Sj3.c:905:23: warning: passing arguments to 'Xsj3cOpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | if ((Xsj3cOpen(buf, obj->sj3.sj3serv2, | ^ Sj3.c:912:14: warning: passing arguments to 'addObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | addObject(obj); | ^ Sj3.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | Initialize(req, new, args, num_args) | ^ Sj3.c:82:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Initialize(), Destroy(); | ^ Sj3.c:922:15: warning: passing arguments to 'Xsj3cClose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | Xsj3cClose(buf, False); | ^ Sj3.c:923:20: warning: passing arguments to 'Xsj3cFreeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | Xsj3cFreeBuffer(buf); | ^ Sj3.c:924:17: warning: passing arguments to 'deleteObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | deleteObject(obj); | ^ Sj3.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | Destroy(w) | ^ Sj3.c:82:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Initialize(), Destroy(); | ^ Sj3.c:936:55: warning: passing arguments to 'Xsj3cGetSymbols' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | for (i = 0, strp = SymbolList, p = Xsj3cGetSymbols(buf); | ^ Sj3.c:928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | symbolInit(obj) | ^ Sj3.c:167:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 167 | static void symbolInit(); | ^ Sj3.c:954:38: warning: passing arguments to 'Xsj3cGetSymbolNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | NumSymbol = Xsj3cGetSymbolNum(buf, &obj->sj3.cursymbol); | ^ Sj3.c:946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | startSymbol(obj) | ^ Sj3.c:161:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | static void startSymbol(); | ^ Sj3.c:987:38: warning: passing arguments to 'Xsj3cGetCandidateNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | if ((ncand = Xsj3cGetCandidateNum(buf, &curcand)) <= 0) { | ^ Sj3.c:988:13: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | bell(obj); | ^ Sj3.c:994:18: warning: passing arguments to 'allocCandlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | allocCandlist(obj, obj->sj3.numcand); | ^ Sj3.c:996:65: warning: passing arguments to 'Xsj3cGetCandidates' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | for (i = 0, strp = obj->sj3.candlist, p = Xsj3cGetCandidates(buf); | ^ Sj3.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | startCandidate(obj) | ^ Sj3.c:160:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | static void startCandidate(); | ^ Sj3.c:1027:53: warning: passing arguments to 'Xsj3cGetHinsis' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | for (i = 0, strp = HinsiList, p = Xsj3cGetHinsis(buf); | ^ Sj3.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | hinsiInit(obj) | ^ Sj3.c:166:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 166 | static void hinsiInit(); | ^ Sj3.c:1045:36: warning: passing arguments to 'Xsj3cGetHinsiNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | NumHinsi = Xsj3cGetHinsiNum(buf, &obj->sj3.curhinsi); | ^ Sj3.c:1037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | startHinsi(obj) | ^ Sj3.c:162:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | static void startHinsi(); | ^ Sj3.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | moveSelection(obj, dir) | ^ Sj3.c:163:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 163 | static void moveSelection(); | ^ Sj3.c:1103:30: warning: passing arguments to 'insertSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | ret = insertSelection(obj, selected, &changed, &flush); | ^ Sj3.c:1108:26: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | Xsj3cEndCandidate(buf, changed); | ^ Sj3.c:1111:23: warning: passing arguments to 'Xsj3cEndSymbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | Xsj3cEndSymbol(buf); | ^ Sj3.c:1114:22: warning: passing arguments to 'Xsj3cEndHinsi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1114 | Xsj3cEndHinsi(buf); | ^ Sj3.c:1127:29: warning: passing arguments to 'Xsj3cFlushBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | Xsj3cFlushBuffer(buf); | ^ Sj3.c:1082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | endSelection(obj, abort) | ^ Sj3.c:164:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 164 | static int endSelection(); | ^ Sj3.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | SetValues(cur, req, wid, args, num_args) | ^ Sj3.c:83:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static Boolean SetValues(); | ^ Sj3.c:1163:32: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | ret = Xsj3cSetCandidate(buf, selected, changed, flush); | ^ Sj3.c:1167:29: warning: passing arguments to 'Xsj3cSetSymbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | ret = Xsj3cSetSymbol(buf, selected, changed, flush); | ^ Sj3.c:1171:28: warning: passing arguments to 'Xsj3cSetHinsi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | ret = Xsj3cSetHinsi(buf, selected, changed, flush); | ^ Sj3.c:1160:13: warning: enumeration value 'normal_state' not handled in switch [-Wswitch] 1160 | switch (obj->sj3.state) { | ^~~~~~~~~~~~~~ Sj3.c:1160:13: note: add missing switch cases 1160 | switch (obj->sj3.state) { | ^ 1161 | case candidate_state: Sj3.c:1150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | insertSelection(obj, selected, changed, flush) | ^ Sj3.c:165:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 165 | static int insertSelection(); | ^ Sj3.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | allocCandlist(obj, n) | ^ Sj3.c:168:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 168 | static void allocCandlist(); | ^ Sj3.c:1201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | startRegistration(obj) | ^ Sj3.c:169:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 169 | static void startRegistration(); | ^ Sj3.c:1212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | changeRegistration(obj) | ^ Sj3.c:170:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 170 | static void changeRegistration(); | ^ Sj3.c:1232:17: warning: passing arguments to 'Xsj3cEndDict' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | Xsj3cEndDict(buf); | ^ Sj3.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | endRegistration(obj) | ^ Sj3.c:171:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 171 | static void endRegistration(); | ^ Sj3.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | addObject(obj) | ^ Sj3.c:175:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 175 | static void addObject(); | ^ Sj3.c:1257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | deleteObject(obj) | ^ Sj3.c:176:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 176 | static void deleteObject(); | ^ Sj3.c:1278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | bell(obj) | ^ Sj3.c:177:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 177 | static void bell(); | ^ Sj3.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: Sj3.c,v 2.10 1999/05/25 08:13:05 ishisone Exp $"; | ^~~~~ 162 warnings generated. rm -f libKi2.a ar clq libKi2.a AdoptedShe.o AuxPanel.o CandPanel.o Canvas.o CanvasShel.o ConvCtrl.o ConvDisp.o ConvMgr.o ICLabel.o InputConv.o KIProto.o OffConv.o OverConv.o OnConv.o WcharDisp.o XimpProto.o IMProto.o cachedatom.o cachedfont.o ctext.o dispatch.o fontset.o wstring.o xtwstr.o xwstr.o asyncerr.o fontbank.o parsekey.o ioecall.o CcWnn.o cconv.o wnnlib.o Canna.o Sj3.o ranlib libKi2.a making all in lib/imlib... rm -f imattr.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DXIM_BC imattr.c imattr.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | getC16(data, order) | ^ imattr.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | getI16(data, order) | ^ imattr.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | getC32(data, order) | ^ imattr.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | validateClientWindow(icp) | ^ imattr.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | validateFocusWindow(icp) | ^ imattr.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | badSizeError(icp, code) | ^ imattr.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | unnestedError(icp) | ^ imattr.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | getPSPtr(icp, type) | ^ imattr.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | getIMValues(imp, data, len, offset) | ^ imattr.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | getQueryInputStyle(imp, id, offset) | ^ imattr.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | setICValues(icp, data, len, nest, op) | ^ imattr.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | setInputStyle(icp, value, len, order, nest, op) | ^ imattr.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | setClientWindow(icp, value, len, order, nest, op) | ^ imattr.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | setFocusWindow(icp, value, len, order, nest, op) | ^ imattr.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | setPreeditAttributes(icp, value, len, order, nest, op) | ^ imattr.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | setStatusAttributes(icp, value, len, order, nest, op) | ^ imattr.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | setArea(icp, value, len, order, nest, op) | ^ imattr.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | setAreaNeeded(icp, value, len, order, nest, op) | ^ imattr.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | setForeground(icp, value, len, order, nest, op) | ^ imattr.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | setBackground(icp, value, len, order, nest, op) | ^ imattr.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | setColormap(icp, value, len, order, nest, op) | ^ imattr.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | setBgPixmap(icp, value, len, order, nest, op) | ^ imattr.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | setLineSpace(icp, value, len, order, nest, op) | ^ imattr.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | setCursor(icp, value, len, order, nest, op) | ^ imattr.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | setSpotLocation(icp, value, len, order, nest, op) | ^ imattr.c:930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | setStdColormap(icp, value, len, order, nest, op) | ^ imattr.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | setFontSet(icp, value, len, order, nest, op) | ^ imattr.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | setPreeditState(icp, value, len, order, nest, op) | ^ imattr.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | setResetState(icp, value, len, order, nest, op) | ^ imattr.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | getICValues(icp, data, len, nest, offset, sepp) | ^ imattr.c:1178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | getPSAttributes(icp, id, nest, offset, data, len) | ^ imattr.c:1233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | getPreeditAttributes(icp, id, nest, offset, data, len) | ^ imattr.c:1247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | getStatusAttributes(icp, id, nest, offset, data, len) | ^ imattr.c:1261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | getInputStyle(icp, id, nest, offset, data, len) | ^ imattr.c:1285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | getClientWindow(icp, id, nest, offset, data, len) | ^ imattr.c:1314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | getFocusWindow(icp, id, nest, offset, data, len) | ^ imattr.c:1351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | getFilterEvents(icp, id, nest, offset, data, len) | ^ imattr.c:1372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | getArea(icp, id, nest, offset, data, len) | ^ imattr.c:1406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1406 | getAreaNeeded(icp, id, nest, offset, data, len) | ^ imattr.c:1445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | getSpotLocation(icp, id, nest, offset, data, len) | ^ imattr.c:1479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1479 | getColormap(icp, id, nest, offset, data, len) | ^ imattr.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | getStdColormap(icp, id, nest, offset, data, len) | ^ imattr.c:1546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | getForeground(icp, id, nest, offset, data, len) | ^ imattr.c:1577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | getBackground(icp, id, nest, offset, data, len) | ^ imattr.c:1608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | getBgPixmap(icp, id, nest, offset, data, len) | ^ imattr.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | getFontSet(icp, id, nest, offset, data, len) | ^ imattr.c:1675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | getLineSpace(icp, id, nest, offset, data, len) | ^ imattr.c:1706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | getCursor(icp, id, nest, offset, data, len) | ^ imattr.c:1737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1737 | getPreeditState(icp, id, nest, offset, data, len) | ^ imattr.c:1766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1766 | getResetState(icp, id, nest, offset, data, len) | ^ imattr.c:1785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1785 | changeFonts(icp, preedit) | ^ imattr.c:1825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1825 | fillCommonDefault(icp, mask) | ^ imattr.c:1864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1864 | getNaturalLineSpace(icp, preedit) | ^ imattr.c:1896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1896 | fillPSDefault(icp, type, mask) | ^ imattr.c:1991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1991 | validateCommonAttr(icp, checkonly) | ^ imattr.c:2068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2068 | validatePSAttr(icp, type, checkonly) | ^ imattr.c:2154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2154 | changeConversionAttributes(icp) | ^ imattr.c:2166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2166 | computeAreaNeeded(icp) | ^ imattr.c:2255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2255 | computeAreaForQuery(icp) | ^ imattr.c:2292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2292 | IMPutIMAttrList(imp) | ^ imattr.c:2322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2322 | IMPutICAttrList(imp) | ^ imattr.c:2353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2353 | IMSetIMValues(imp, data, len, major) | ^ imattr.c:2368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2368 | IMGetIMValues(imp, data, len, offset) | ^ imattr.c:2392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2392 | IMSetICValues(icp, data, len, major) | ^ imattr.c:2451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2451 | IMGetICValues(icp, data, len, offset) | ^ imattr.c:2490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2490 | IMFillDefault(icp, common_mask, preedit_mask, status_mask) | ^ imattr.c:2504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2504 | IMValidateWindow(dpy, win, profilep) | ^ imattr.c:2531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2531 | IMValidateICAttributes(icp, checkonly) | ^ imattr.c:2559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2559 | IMFreeICAttributes(icp) | ^ imattr.c:2580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2580 | IMMakeConvAttributes(icp, attr) | ^ imattr.c:2697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2697 | IMMoveLocation(icp, x, y) | ^ imattr.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: imattr.c,v 1.18 2002/01/10 15:04:05 ishisone Exp $"; | ^~~~~ 72 warnings generated. rm -f imbuf.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DXIM_BC imbuf.c imbuf.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | allocIMBuf(ibp, len) | ^ imbuf.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | IMBufInit(ibp) | ^ imbuf.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | IMBufClear(ibp) | ^ imbuf.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | IMBufAdd(ibp, data, len) | ^ imbuf.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | IMBufOverwrite(ibp, offset, data, len) | ^ imbuf.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | IMBufAlloc(ibp, len) | ^ imbuf.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | IMBufDiscard(ibp, len) | ^ imbuf.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | IMBufDiscardNUL(ibp) | ^ imbuf.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | IMBufCompact(ibp) | ^ imbuf.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: imbuf.c,v 1.7 1994/05/30 10:26:28 ishisone Exp $"; | ^~~~~ 10 warnings generated. rm -f imconv.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DXIM_BC imconv.c imconv.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | fillDefaultAttributesForStartup(icp) | ^ imconv.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | makeConvAttributesForStartup(icp, attrp) | ^ imconv.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | commitString(icp, str, len, sync) | ^ imconv.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | fixCallback(w, client_data, call_data) | ^ imconv.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | detachConverter(icp) | ^ imconv.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | endCallback(w, client_data, call_data) | ^ imconv.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | unusedEventCallback(w, client_data, call_data) | ^ imconv.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | preeditStartCallback(w, client_data, call_data) | ^ imconv.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | preeditDoneCallback(w, client_data, call_data) | ^ imconv.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | preeditDrawCallback(w, client_data, call_data) | ^ imconv.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | preeditCaretCallback(w, client_data, call_data) | ^ imconv.c:404:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 404 | int caret = (int)call_data; | ^~~~~~~~~~~~~~ imconv.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | statusStartCallback(w, client_data, call_data) | ^ imconv.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | statusDoneCallback(w, client_data, call_data) | ^ imconv.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | statusDrawCallback(w, client_data, call_data) | ^ imconv.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | preeditStart(icp) | ^ imconv.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | preeditDone(icp) | ^ imconv.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | preeditDraw(icp, data) | ^ imconv.c:539:17: warning: unused variable 'feedback' [-Wunused-variable] 539 | XIMFeedback feedback; | ^~~~~~~~ imconv.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | preeditCaret(icp, caret) | ^ imconv.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | statusStart(icp) | ^ imconv.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | statusDone(icp) | ^ imconv.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | statusDraw(icp, data) | ^ imconv.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | setEventMask(icp, forward_mask, synchronous_mask) | ^ imconv.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | IMStartConversion(icp) | ^ imconv.c:837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | IMStopConversion(icp) | ^ imconv.c:869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | IMResetIC(icp, preedit_strp) | ^ imconv.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | IMForwardEvent(icp, ev) | ^ imconv.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | IMSetFocus(icp) | ^ imconv.c:946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | IMUnsetFocus(icp) | ^ imconv.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | IMStatusStart(icp) | ^ imconv.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | IMStatusDone(icp) | ^ imconv.c:978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | IMStartForwarding(icp) | ^ imconv.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | IMStopForwarding(icp) | ^ imconv.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: imconv.c,v 1.25 2002/01/24 09:07:19 ishisone Exp $"; | ^~~~~ 35 warnings generated. rm -f imdata.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DXIM_BC imdata.c imdata.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | IMGetC8(conn, offset) | ^ imdata.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | IMGetC16(conn, offset) | ^ imdata.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | IMGetI16(conn, offset) | ^ imdata.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | IMGetC32(conn, offset) | ^ imdata.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | IMGetString(conn, offset, buf, len) | ^ imdata.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | IMPutC8(conn, x) | ^ imdata.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | IMPutC16(conn, x) | ^ imdata.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | IMPutC32(conn, x) | ^ imdata.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | IMPutI16(conn, x) | ^ imdata.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | IMPutString(conn, s, len) | ^ imdata.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | IMPutPad(conn) | ^ imdata.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | IMRewriteC16(conn, pos, x) | ^ imdata.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | IMWritePos(conn) | ^ imdata.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | IMPutHeader(conn, major, minor, arglen) | ^ imdata.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | IMFinishRequest(conn, offset) | ^ imdata.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | IMCancelRequest(conn, offset) | ^ imdata.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | IMSendSimpleRequest(conn, major, minor) | ^ imdata.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | IMSendRequestWithIC(conn, major, minor, icp) | ^ imdata.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | IMSendError(conn, code, imid, icid, msg) | ^ imdata.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | IMSendBadProtocol(conn, msg) | ^ imdata.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | IMSendBadLength(conn, imid, icid) | ^ imdata.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: imdata.c,v 1.7 1994/06/02 02:20:23 ishisone Exp $"; | ^~~~~ 22 warnings generated. rm -f imdispatch.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DXIM_BC imdispatch.c imdispatch.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | checkRequest(conn, majorp, minorp, arglenp) | ^ imdispatch.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | countConnectRequestLen(conn) | ^ imdispatch.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | ServerAuthPhase(conn) | ^ imdispatch.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | CommunicationPhase(conn) | ^ imdispatch.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | initialDispatcher(conn) | ^ imdispatch.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | mainDispatcher(conn) | ^ imdispatch.c:349:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | (*req->proc)(conn, major, minor, arglen); | ^ imdispatch.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | IMSetInitialDispatcher(conn) | ^ imdispatch.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | IMDispatch(conn, cond) | ^ imdispatch.c:384:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | while ((*conn->dispatcher)(conn)) | ^ imdispatch.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | IMSchedule(conn, type) | ^ imdispatch.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | IMProcessQueue(w) | ^ imdispatch.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: imdispatch.c,v 1.9 1994/06/02 10:36:07 ishisone Exp $"; | ^~~~~ 13 warnings generated. rm -f imic.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DXIM_BC imic.c imic.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | id2IM(conn, id) | ^ imic.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | id2IC(imp, id) | ^ imic.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | newIMID(conn) | ^ imic.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | newICID(imp) | ^ imic.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | registerIM(imp) | ^ imic.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | registerIC(icp) | ^ imic.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | unregisterIM(imp) | ^ imic.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | unregisterIC(icp) | ^ imic.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | removeIM(imp) | ^ imic.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | removeIC(icp) | ^ imic.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | IMGetIM(conn, arglen) | ^ imic.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | IMGetIC(conn, arglen) | ^ imic.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | IMCreateIM(conn, converter) | ^ imic.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | IMCreateIC(imp) | ^ imic.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | IMDestroyIM(imp) | ^ imic.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | IMDestroyIC(icp) | ^ imic.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: imic.c,v 1.12 2002/01/24 09:07:20 ishisone Exp $"; | ^~~~~ 17 warnings generated. rm -f improto.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DXIM_BC improto.c improto.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | IMRegisterConnection(conn) | ^ improto.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | IMUnregisterConnection(conn) | ^ improto.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | IMConnectionList(w) | ^ improto.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | IMPushQueue(conn) | ^ improto.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | IMPopQueue(w) | ^ improto.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | IMQueueEmpty(w) | ^ improto.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | IMDefaultForeground(w) | ^ improto.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | IMDefaultBackground(w) | ^ improto.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | IMDefaultFontSet(imp) | ^ improto.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | IMFontBank(imp) | ^ improto.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | IMStatusWidth(w) | ^ improto.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | IMInitHash(w) | ^ improto.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | IMIMHash(w) | ^ improto.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | IMICHash(w) | ^ improto.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | IMNextIMID(w) | ^ improto.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | IMNextICID(w) | ^ improto.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | IMCtextAtom(w) | ^ improto.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | IMKi2CommAtom(w) | ^ improto.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | IMXConnectAtom(w) | ^ improto.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | IMProtocolAtom(w) | ^ improto.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | IMMoreDataAtom(w) | ^ improto.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | IMTriggerKeys(imp, num_triggersp) | ^ improto.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | IMGetConverter(w, locale) | ^ improto.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: improto.c,v 1.5 1994/05/31 07:54:04 ishisone Exp $"; | ^~~~~ 24 warnings generated. rm -f imrequest.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DXIM_BC imrequest.c imrequest.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | compileTbl(req) | ^ imrequest.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | ximDisconnectProc(conn, major, minor, arglen) | ^ imrequest.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | ecode2str(code) | ^ imrequest.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | ximErrorProc(conn, major, minor, arglen) | ^ imrequest.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | putTriggerkeyList(imp) | ^ imrequest.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | ximOpenProc(conn, major, minor, arglen) | ^ imrequest.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | ximCloseProc(conn, major, minor, arglen) | ^ imrequest.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | ximTriggerNotifyProc(conn, major, minor, arglen) | ^ imrequest.c:416:9: warning: variable 'key_index' set but not used [-Wunused-but-set-variable] 416 | int key_index; | ^ imrequest.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | findCtext(conn, arglen) | ^ imrequest.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | ximEncodingNegotiationProc(conn, major, minor, arglen) | ^ imrequest.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | getExtension(name) | ^ imrequest.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | putExtension(conn, req) | ^ imrequest.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | ximQueryExtensionProc(conn, major, minor, arglen) | ^ imrequest.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | ximSetIMValuesProc(conn, major, minor, arglen) | ^ imrequest.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | ximGetIMValuesProc(conn, major, minor, arglen) | ^ imrequest.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | ximCreateICProc(conn, major, minor, arglen) | ^ imrequest.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | ximDestroyICProc(conn, major, minor, arglen) | ^ imrequest.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | ximSetICValuesProc(conn, major, minor, arglen) | ^ imrequest.c:863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | ximGetICValuesProc(conn, major, minor, arglen) | ^ imrequest.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | ximSetICFocusProc(conn, major, minor, arglen) | ^ imrequest.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | ximUnsetICFocusProc(conn, major, minor, arglen) | ^ imrequest.c:948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | swapData(data, format) | ^ imrequest.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | getEvent(conn, serial, offset, ev) | ^ imrequest.c:1083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | postponeEvent(icp, synchronous, ev) | ^ imrequest.c:1100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | handleForwardedEvent(icp, synchronous, ev) | ^ imrequest.c:1172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | ximForwardEventProc(conn, major, minor, arglen) | ^ imrequest.c:1203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | ximExtForwardKeyeventProc(conn, major, minor, arglen) | ^ imrequest.c:1261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | ximSyncProc(conn, major, minor, arglen) | ^ imrequest.c:1282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | processPendingEvents(icp, pending_event) | ^ imrequest.c:1302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | ximSyncReplyProc(conn, major, minor, arglen) | ^ imrequest.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | ximResetICProc(conn, major, minor, arglen) | ^ imrequest.c:1361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1361 | ximExtMoveProc(conn, major, minor, arglen) | ^ imrequest.c:1381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | ximAlreadyConnectedProc(conn, major, minor, arglen) | ^ imrequest.c:1397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1397 | ximShouldNotBeSentProc(conn, major, minor, arglen) | ^ imrequest.c:1412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1412 | ximAuthPhaseProc(conn, major, minor, arglen) | ^ imrequest.c:1427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1427 | ximNopProc(conn, major, minor, arglen) | ^ imrequest.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: imrequest.c,v 1.19 2002/01/27 11:33:37 ishisone Exp $"; | ^~~~~ 38 warnings generated. rm -f imxport.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DXIM_BC imxport.c imxport.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | dummyDispatcher(conn) | ^ imxport.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | dumpBuf(ibp, title) | ^ imxport.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | communicationWindow(w) | ^ imxport.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | newConnection(protocol) | ^ imxport.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | socketinput(cldata, fdp, idp) | ^ imxport.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | socketFlush(conn) | ^ imxport.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | socketShutdown(conn) | ^ imxport.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | xinput(ev, cldata) | ^ imxport.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | xdestroy(ev, cldata) | ^ imxport.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | xBrokenPipe(dpy, eev, client_data) | ^ imxport.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | xFlush(conn) | ^ imxport.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | xShutdown(conn) | ^ imxport.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | IMCreateTCPService(portp) | ^ imxport.c:445:50: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 445 | if (getsockname(sock, (struct sockaddr *)&addr, &addr_len) < 0) { | ^~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ imxport.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | IMTCPConnection(protocol, wellknownfd) | ^ imxport.c:472:61: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 472 | if ((fd = accept(wellknownfd, (struct sockaddr *)&addr, &addrlen)) < 0) { | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:708:73: note: passing argument to parameter here 708 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ imxport.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | IMCreateUnixService(path) | ^ imxport.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | IMUnixConnection(protocol, wellknownfd) | ^ imxport.c:538:61: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 538 | if ((fd = accept(wellknownfd, (struct sockaddr *)&addr, &addrlen)) < 0) { | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:708:73: note: passing argument to parameter here 708 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ imxport.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | IMXConnection(protocol, xev) | ^ imxport.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | IMFlush(conn) | ^ imxport.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | IMShutdown(conn) | ^ imxport.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | IMCloseConnection(conn) | ^ imxport.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: imxport.c,v 1.11 1999/05/04 05:44:11 ishisone Exp $"; | ^~~~~ 24 warnings generated. rm -f libim.a ar clq libim.a imattr.o imbuf.o imconv.o imdata.o imdispatch.o imic.o improto.o imrequest.o imxport.o ranlib libim.a making all in lib/Xsj3clib... rm -f buffer.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT buffer.c buffer.c:62:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 62 | "guide", "hiragana", /* $B$+$J(B */ "\202\251\202\310", | ^~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:62:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] 62 | "guide", "hiragana", /* $B$+$J(B */ "\202\251\202\310", | ^~~~~~~~~~~~~~~~~~~ | { 63 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:62:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 62 | "guide", "hiragana", /* $B$+$J(B */ "\202\251\202\310", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 63 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:64:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 64 | "guide", "zkatakana", /* $BA4%+%J(B*/ "\221\123\203\112\203\151", | ^~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:64:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] 64 | "guide", "zkatakana", /* $BA4%+%J(B*/ "\221\123\203\112\203\151", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 65 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:64:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 64 | "guide", "zkatakana", /* $BA4%+%J(B*/ "\221\123\203\112\203\151", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 65 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:66:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 66 | "guide", "hkatakana", /* $BH>%+%J(B*/ "\224\274\203\112\203\151", | ^~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:66:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] 66 | "guide", "hkatakana", /* $BH>%+%J(B*/ "\224\274\203\112\203\151", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 67 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:66:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 66 | "guide", "hkatakana", /* $BH>%+%J(B*/ "\224\274\203\112\203\151", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 67 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:68:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68 | "guide", "halpha",/* ABC */ "\101\102\103", | ^~~~~~~~~~~~~~~~~~~~ | { } buffer.c:68:42: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68 | "guide", "halpha",/* ABC */ "\101\102\103", | ^~~~~~~~~~~~~~~ | { 69 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:68:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68 | "guide", "halpha",/* ABC */ "\101\102\103", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 69 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:70:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 70 | "guide", "zalpha",/* $B#A#B#C(B */ "\202\140\202\141\202\142", | ^~~~~~~~~~~~~~~~~~~~ | { } buffer.c:70:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] 70 | "guide", "zalpha",/* $B#A#B#C(B */ "\202\140\202\141\202\142", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 71 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:70:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 70 | "guide", "zalpha",/* $B#A#B#C(B */ "\202\140\202\141\202\142", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 71 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:72:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 72 | "guide", "sjis", /* Shift-JIS */ "\123\150\151\146\164\55\112\111\123", | ^~~~~~~~~~~~~~~~~~ | { } buffer.c:72:42: warning: suggest braces around initialization of subobject [-Wmissing-braces] 72 | "guide", "sjis", /* Shift-JIS */ "\123\150\151\146\164\55\112\111\123", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 73 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:72:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 72 | "guide", "sjis", /* Shift-JIS */ "\123\150\151\146\164\55\112\111\123", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 73 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:74:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 74 | "guide", "euc", /* $B#E#U#C(B */ "\202\144\202\164\202\142", | ^~~~~~~~~~~~~~~~~ | { } buffer.c:74:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] 74 | "guide", "euc", /* $B#E#U#C(B */ "\202\144\202\164\202\142", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 75 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:74:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 74 | "guide", "euc", /* $B#E#U#C(B */ "\202\144\202\164\202\142", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 75 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:76:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 76 | "guide", "jis", /* $B#J#I#S(B */ "\202\151\202\150\202\162", | ^~~~~~~~~~~~~~~~~ | { } buffer.c:76:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] 76 | "guide", "jis", /* $B#J#I#S(B */ "\202\151\202\150\202\162", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 77 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:76:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 76 | "guide", "jis", /* $B#J#I#S(B */ "\202\151\202\150\202\162", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 77 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:78:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78 | "guide", "kuten", /* $B6hE@(B */ "\213\346\223\137", | ^~~~~~~~~~~~~~~~~~~ | { } buffer.c:78:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78 | "guide", "kuten", /* $B6hE@(B */ "\213\346\223\137", | ^~~~~~~~~~~~~~~~~~~ | { 79 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:78:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78 | "guide", "kuten", /* $B6hE@(B */ "\213\346\223\137", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 79 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:80:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 80 | "guide", "toroku", /* $BEPO?(B */ "\223\157\230\136", | ^~~~~~~~~~~~~~~~~~~~ | { } buffer.c:80:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] 80 | "guide", "toroku", /* $BEPO?(B */ "\223\157\230\136", | ^~~~~~~~~~~~~~~~~~~ | { 81 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:80:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 80 | "guide", "toroku", /* $BEPO?(B */ "\223\157\230\136", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 81 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:82:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 82 | "guide", "syoukyo", /* $B>C5n(B */ "\217\301\213\216", | ^~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:82:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] 82 | "guide", "syoukyo", /* $B>C5n(B */ "\217\301\213\216", | ^~~~~~~~~~~~~~~~~~~ | { 83 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:82:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 82 | "guide", "syoukyo", /* $B>C5n(B */ "\217\301\213\216", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 83 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:84:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 84 | "guide", "kanji", /* $B4A;z(B */ "\212\277\216\232", | ^~~~~~~~~~~~~~~~~~~ | { } buffer.c:84:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] 84 | "guide", "kanji", /* $B4A;z(B */ "\212\277\216\232", | ^~~~~~~~~~~~~~~~~~~ | { 85 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:84:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 84 | "guide", "kanji", /* $B4A;z(B */ "\212\277\216\232", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 85 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:86:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 86 | "guide", "edit", /* $BJT=8(B */ "\225\322\217\127", | ^~~~~~~~~~~~~~~~~~ | { } buffer.c:86:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] 86 | "guide", "edit", /* $BJT=8(B */ "\225\322\217\127", | ^~~~~~~~~~~~~~~~~~~ | { 87 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:86:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 86 | "guide", "edit", /* $BJT=8(B */ "\225\322\217\127", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 87 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:88:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 88 | "guide", "candidate",/* $B0lMw(B */ "\210\352\227\227", | ^~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:88:51: warning: suggest braces around initialization of subobject [-Wmissing-braces] 88 | "guide", "candidate",/* $B0lMw(B */ "\210\352\227\227", | ^~~~~~~~~~~~~~~~~~~ | { 89 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:88:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 88 | "guide", "candidate",/* $B0lMw(B */ "\210\352\227\227", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 89 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:90:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 90 | "guide", "symbol",/* $B5-9f(B */ "\213\114\215\206", | ^~~~~~~~~~~~~~~~~~~~ | { } buffer.c:90:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] 90 | "guide", "symbol",/* $B5-9f(B */ "\213\114\215\206", | ^~~~~~~~~~~~~~~~~~~ | { 91 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:90:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 90 | "guide", "symbol",/* $B5-9f(B */ "\213\114\215\206", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 91 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:92:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 92 | "guide", "hinsi", /* $BIJ;l(B */ "\225\151\216\214", | ^~~~~~~~~~~~~~~~~~~ | { } buffer.c:92:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] 92 | "guide", "hinsi", /* $BIJ;l(B */ "\225\151\216\214", | ^~~~~~~~~~~~~~~~~~~ | { 93 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:92:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 92 | "guide", "hinsi", /* $BIJ;l(B */ "\225\151\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 93 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:94:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 94 | "guide", "quote", /* $B0zMQ(B */ "\210\370\227\160", | ^~~~~~~~~~~~~~~~~~~ | { } buffer.c:94:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] 94 | "guide", "quote", /* $B0zMQ(B */ "\210\370\227\160", | ^~~~~~~~~~~~~~~~~~~ | { 95 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:94:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 94 | "guide", "quote", /* $B0zMQ(B */ "\210\370\227\160", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 95 | "", "", "", "", "", "", "", "", "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:99:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 99 | "henkan", XK_Select, FlushModeMask, _Xsj3cConvert, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:100:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 100 | "convert", XK_Select, FlushModeMask, _Xsj3cConvert, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:101:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 101 | "muhen", XK_Cancel, ConvedModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 102 | _Xsj3cUnConvert, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:103:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 103 | "unconvert",XK_Cancel, ConvedModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 104 | _Xsj3cUnConvert, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:105:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 105 | "fix", XK_Execute, FlushModeMask|DictModeMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 106 | _Xsj3cFix, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:107:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 107 | "kettei", XK_KP_Enter,FlushModeMask, _Xsj3cFix, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:108:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 108 | "flush", XK_Escape, FlushModeMask, _Xsj3cFix, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:109:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 109 | "return", XK_Return, AllModeMask, _Xsj3cReturn, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:110:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 110 | "halpha", XK_F6, AllModeMask, _Xsj3cModeHAlpha, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:111:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 111 | "zalpha", XK_F7, AllModeMask, _Xsj3cModeZAlpha, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:112:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 112 | "hkatakana",XK_F8, AllModeMask, _Xsj3cModeHKata, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:113:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 113 | "zkatakana",XK_F9, AllModeMask, _Xsj3cModeZKata, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:114:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 114 | "hiragana", XK_F10, AllModeMask, _Xsj3cModeHira, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:115:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 115 | "tohalpha", XK_F16, FlushModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 116 | _Xsj3cToHAlpha, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:117:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 117 | "tozalpha", XK_F17, FlushModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 118 | _Xsj3cToZAlpha, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:119:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 119 | "tohkatakana",XK_F18, FlushModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 120 | _Xsj3cToHKata, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:121:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 121 | "tozkatakana",XK_F19, FlushModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 122 | _Xsj3cToZKata, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:123:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 123 | "tohiragana",XK_F20, FlushModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 124 | _Xsj3cToHira, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:125:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 125 | "zenkaku", XK_F4, FlushModeMask, _Xsj3cZenkaku, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:126:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 126 | "hankaku", XK_F3, FlushModeMask, _Xsj3cHankaku, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:127:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 127 | "toupper", XK_u, FlushModeMask|ControlMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 128 | _Xsj3cToUpper, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:129:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 129 | "tolower", XK_l, FlushModeMask|ControlMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 130 | _Xsj3cToLower, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:131:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 131 | "sjis", XK_F15, NoInputModeMask|FlushModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 132 | _Xsj3cModeSJIS, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:133:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 133 | "euc", XK_F14, NoInputModeMask|FlushModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 134 | _Xsj3cModeEUC, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:135:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 135 | "jis", XK_F13, NoInputModeMask|FlushModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 136 | _Xsj3cModeJIS, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:137:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 137 | "kuten", XK_F12, NoInputModeMask|FlushModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 138 | _Xsj3cModeKuten, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:139:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 139 | "code", XK_F5, NoInputModeMask|FlushModeMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 140 | _Xsj3cCodeRollDown, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:141:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 141 | "toggle", XK_Tab, AllModeMask, _Xsj3cModeRollDown, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:142:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 142 | "modedown", XK_Tab, AllModeMask, _Xsj3cModeRollDown, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:143:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 143 | "toggleback",XK_Tab, AllModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 144 | _Xsj3cModeRollUp, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:145:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 145 | "modeup", XK_Tab, AllModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 146 | _Xsj3cModeRollUp, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:147:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 147 | "nextmode", XK_Tab, FlushModeMask|ControlMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 148 | _Xsj3cNextMode, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:149:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 149 | "prevmode", XK_Tab, FlushModeMask|ControlMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 150 | _Xsj3cPrevMode, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:151:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 151 | "muhenkan", XK_Cancel, NoInputModeMask|FlushModeMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 152 | _Xsj3cModeToggle, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:153:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 153 | "right", XK_Right, AllModeMask, _Xsj3cForward, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:154:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 154 | "forward", XK_Right, AllModeMask, _Xsj3cForward, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:155:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 155 | "left", XK_Left, AllModeMask, _Xsj3cBackward, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:156:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 156 | "backward", XK_Left, AllModeMask, _Xsj3cBackward, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:157:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 157 | "top", XK_a, FlushModeMask|DictModeMask|ControlMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 158 | _Xsj3cTop, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:159:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 159 | "end", XK_e, FlushModeMask|DictModeMask|ControlMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 160 | _Xsj3cEnd, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:161:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 161 | "bottom", XK_e, FlushModeMask|DictModeMask|ControlMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 162 | _Xsj3cEnd, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:163:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 163 | "up", XK_Up, SelectModeMask, _Xsj3cUp, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:164:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 164 | "down", XK_Down, SelectModeMask, _Xsj3cDown, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:165:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 165 | "first", XK_Up, OutputModeMask|ControlMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 166 | _Xsj3cFirst, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:167:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 167 | "last", XK_Down, OutputModeMask|ControlMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 168 | _Xsj3cLast, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:169:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 169 | "nextp", XK_Select, SelectModeMask, _Xsj3cNextPage, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:170:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 170 | "prevp", XK_Cancel, SelectModeMask, _Xsj3cPrevPage, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:171:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 171 | "wrap", XK_Down, ConvedModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 172 | _Xsj3cNext, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:173:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 173 | "next", XK_Down, ConvedModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 174 | _Xsj3cNext, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:175:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 175 | "wrapback", XK_Up, ConvedModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 176 | _Xsj3cPrev, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:177:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 177 | "prev", XK_Up, ConvedModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 178 | _Xsj3cPrev, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:179:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 179 | "select", XK_Execute, SelectModeMask, _Xsj3cSelect, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:180:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 180 | "cancel", XK_Escape, SelectModeMask|DictModeMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 181 | _Xsj3cCancel, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:182:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 182 | "cancel", XK_Cancel, FlushModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 183 | _Xsj3cCancel, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:184:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 184 | "kakucyou", XK_Up, FlushModeMask|DictModeMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 185 | _Xsj3cExpand, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:186:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 186 | "expand", XK_Up, FlushModeMask|DictModeMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 187 | _Xsj3cExpand, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:188:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 188 | "syukusyou",XK_Down, FlushModeMask|DictModeMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 189 | _Xsj3cShrink, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:190:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 190 | "shrink", XK_Down, FlushModeMask|DictModeMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 191 | _Xsj3cShrink, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:192:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 192 | "backspace",XK_BackSpace,FlushModeMask|SelectModeMask|DictModeMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 193 | _Xsj3cBackSpace, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:194:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 194 | "delete", XK_Delete, FlushModeMask|SelectModeMask|DictModeMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 195 | _Xsj3cDelete, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:196:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 196 | "delafter", XK_k, FlushModeMask|ControlMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 197 | _Xsj3cDelAfter, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:198:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 198 | "start", XK_Kanji, AllModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 199 | _Xsj3cStart, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:200:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 200 | "reconnect",XK_Kanji, AllModeMask|ShiftMask|Mod1Mask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 201 | _Xsj3cReConnect, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:202:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 202 | "saihenkan",XK_Select, NoInputModeMask|ControlMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 203 | _Xsj3cReConvert, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:204:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 204 | "recovert", XK_Select, NoInputModeMask|ControlMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 205 | _Xsj3cReConvert, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:206:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 206 | "edit", XK_Select, ConvedModeMask|Mod1Mask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 207 | _Xsj3cEdit, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:208:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 208 | "toroku", XK_F1, ConvedModeMask, _Xsj3cDRegBegin, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:209:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 209 | "register", XK_F1, ConvedModeMask, _Xsj3cDRegBegin, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:210:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 210 | "syoukyo", XK_F2, ConvedModeMask, _Xsj3cDClearBegin, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:211:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 211 | "eliminate",XK_F2, ConvedModeMask, _Xsj3cDClearBegin, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:212:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 212 | "symbol", XK_Escape, NoInputModeMask|FlushModeMask|ShiftMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 213 | _Xsj3cSymbolBegin, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:214:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 214 | "quote", XK_q, NoInputModeMask|FlushModeMask|ControlMask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 215 | _Xsj3cQuote, NONE,NULL,NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } buffer.c:216:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 216 | "flushbefore",NoSymbol, NULL, _Xsj3cFlushBefore, NONE,NULL,NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ buffer.c:216:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 216 | "flushbefore",NoSymbol, NULL, _Xsj3cFlushBefore, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:217:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 217 | "bell", NoSymbol, NULL, _Xsj3cBell, NONE,NULL,NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ buffer.c:217:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 217 | "bell", NoSymbol, NULL, _Xsj3cBell, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:218:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 218 | "sjrc", NoSymbol, NULL, _Xsj3cSjrc, NONE,NULL,NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ buffer.c:218:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 218 | "sjrc", NoSymbol, NULL, _Xsj3cSjrc, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:219:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 219 | "kill", NoSymbol, NULL, _Xsj3cKill, NONE,NULL,NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ buffer.c:219:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 219 | "kill", NoSymbol, NULL, _Xsj3cKill, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:220:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 220 | "kana", NoSymbol, NULL, _Xsj3cKana, NONE,NULL,NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ buffer.c:220:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 220 | "kana", NoSymbol, NULL, _Xsj3cKana, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:221:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 221 | "null", NoSymbol, NULL, _Xsj3cNull, NONE,NULL,NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ buffer.c:221:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 221 | "null", NoSymbol, NULL, _Xsj3cNull, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:222:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 222 | "ignore", NoSymbol, NULL, _Xsj3cIgnore, NONE,NULL,NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ buffer.c:222:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 222 | "ignore", NoSymbol, NULL, _Xsj3cIgnore, NONE,NULL,NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } buffer.c:223:17: warning: incompatible pointer to integer conversion initializing 'KeySym' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 223 | NULL, NULL, NULL, NULL, NONE,NULL,NULL | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ buffer.c:223:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 223 | NULL, NULL, NULL, NULL, NONE,NULL,NULL | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ buffer.c:223:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 223 | NULL, NULL, NULL, NULL, NONE,NULL,NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^ buffer.c:238:34: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 238 | keytp = (Xsj3cKeyTable *)malloc(BUFSIZ); | ^ buffer.c:238:34: note: include the header or explicitly provide a declaration for 'malloc' buffer.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | _Xsj3cAddFreeKeyTable(keytp) | ^ buffer.c:49:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static void _Xsj3cAddFreeKeyTable(); | ^ buffer.c:292:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 292 | if (keytp = freekeytp) | ~~~~~~^~~~~~~~~~~ buffer.c:292:15: note: place parentheses around the assignment to silence this warning 292 | if (keytp = freekeytp) | ^ | ( ) buffer.c:292:15: note: use '==' to turn this assignment into an equality comparison 292 | if (keytp = freekeytp) | ^ | == buffer.c:306:19: warning: if statement has empty body [-Wempty-body] 306 | if (keytq); | ^ buffer.c:306:19: note: put the semicolon on a separate line to silence this warning buffer.c:308:9: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 308 | free(keytp); | ^ buffer.c:308:9: note: include the header or explicitly provide a declaration for 'free' buffer.c:329:25: warning: passing arguments to '_Xsj3cSetKeySym' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | if (!_Xsj3cSetKeySym(table->value, &ksym, &modmask, &inputsame)) | ^ buffer.c:356:43: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | else if (ksym == NoSymbol || _Xsj3cCmp(table->key[1], "ignore")) | ^ buffer.c:362:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | if (_Xsj3cCmp(table->key[1], keytq->keyword)) { | ^ buffer.c:365:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | Xsj3cWarning("can't allocate keysym to func table"); | ^ buffer.c:379:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | Xsj3cWarning("keyword %s is not supported",table->key[1]); | ^ buffer.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | _Xsj3cSetKeyTable(buf, table) | ^ buffer.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | int _Xsj3cSetKeyTable(); | ^ buffer.c:424:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | Xsj3cWarning("wrong keybind in sjrc file"); | ^ buffer.c:435:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | Xsj3cWarning("wrong keybind in sjrc file"); | ^ buffer.c:443:43: warning: passing arguments to '_Xsj3cGetModMask' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | } else if ((ret = _Xsj3cGetModMask(*string)) >= 0) { | ^ buffer.c:448:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | Xsj3cWarning("wrong keybind in sjrc file"); | ^ buffer.c:450:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | Xsj3cWarning("wrong keybind in sjrc file"); | ^ buffer.c:459:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | if (_Xsj3cCmp(p, "off")) | ^ buffer.c:461:27: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | else if (_Xsj3cCmp(p, "on")) | ^ buffer.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | _Xsj3cSetKeySym(string, ksym, modmask, inputsame) | ^ buffer.c:51:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static int _Xsj3cSetKeySym(); | ^ buffer.c:586:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | Xsj3cWarning("Ilegal keybind modmask %s in sjrc file",mode); | ^ buffer.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | _Xsj3cGetModMask(p) | ^ buffer.c:52:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static long _Xsj3cGetModMask(); | ^ buffer.c:619:35: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 619 | if ((buf->input = (Xsj3cSeg *)calloc(BUNBUFSIZ, sizeof(Xsj3cSeg))) | ^ buffer.c:619:35: note: include the header or explicitly provide a declaration for 'calloc' buffer.c:659:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | Xsj3cWarning("can't allocate keysym to func table"); | ^ buffer.c:697:23: warning: passing arguments to '_Xsj3cSetGuide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | _Xsj3cSetGuide(buf, &def_guide_table[i]); | ^ buffer.c:757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | _Xsj3cFreeModeStr(buf) | ^ buffer.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static void _Xsj3cFreeModeStr(); | ^ buffer.c:784:29: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | Xsj3cFreeSegment(buf->input[i]); | ^ buffer.c:792:29: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | Xsj3cFreeSegment(buf->backup[i]); | ^ buffer.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | Xsj3cFreeBuffer(buf) | ^ buffer.c:38:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | void Xsj3cFreeBuffer(); | ^ buffer.c:812:25: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | Xsj3cFreeSegment(buf->input[i]); | ^ buffer.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | Xsj3cClearBuffer(buf) | ^ buffer.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | void Xsj3cClearBuffer(); | ^ buffer.c:835:29: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | Xsj3cFreeSegment(buf->backup[i]); | ^ buffer.c:847:30: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | _Xsj3cExtractChar(buf, buf->input[buf->curseg], tmp, 1); | ^ buffer.c:848:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], j); | ^ buffer.c:851:33: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | Xsj3cFreeSegment(buf->input[buf->curseg]); | ^ buffer.c:875:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | Xsj3cError("Cannot allocate for input buffers"); | ^ buffer.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | Xsj3cFixBuffer(buf) | ^ buffer.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | void Xsj3cFixBuffer(); | ^ buffer.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | Xsj3cFlushBuffer(buf) | ^ buffer.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | void Xsj3cFlushBuffer(); | ^ buffer.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Header: /net/sras32/mnt3/home/mgr/ishisone/lib/cvsroot/kinput2/src/lib/Xsj3clib/buffer.c,v 2.7 1998/07/21 09:21:15 ishisone Exp $"; | ^~~~~ 187 warnings generated. rm -f candidate.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT candidate.c candidate.c:60:9: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | malloc(buf->input[buf->curseg]->size * sizeof(wchar))) == NULL) { | ^ candidate.c:60:9: note: include the header or explicitly provide a declaration for 'malloc' candidate.c:61:21: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | Xsj3cWarning("Cannot allocate for candidate yomi buffer"); | ^ candidate.c:64:19: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | _Xsj3cwPStomPS(buf, knjbuf, buf->input[buf->curseg]->yomi); | ^ candidate.c:65:66: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | num = buf->candnum = serverIF[buf->server].func[FUNC_CANDNUM](knjbuf); | ^ candidate.c:67:21: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ candidate.c:70:9: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | free(knjbuf); | ^ candidate.c:70:9: note: include the header or explicitly provide a declaration for 'free' candidate.c:73:31: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | mbcand = (SJ3_DOUON *)calloc(num, sizeof(SJ3_DOUON)); | ^ candidate.c:73:31: note: include the header or explicitly provide a declaration for 'calloc' candidate.c:75:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | Xsj3cWarning("Cannot allocate memory for candidate list"); | ^ candidate.c:82:61: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | = serverIF[buf->server].func[FUNC_CANDIDATE](knjbuf, mbcand); | ^ candidate.c:85:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | Xsj3cWarning("sj3serv is down. reconnect please."); | ^ candidate.c:87:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | Xsj3cWarning("There is no candidate."); | ^ candidate.c:98:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | Xsj3cWarning("Cannot allocate memory for candidate list"); | ^ candidate.c:107:56: warning: passing arguments to '_Xsj3cmPStowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | buf->candidate[i].len = _Xsj3cmPStowOUT(buf, | ^ candidate.c:152:41: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | buf->candidate = (Xsj3cCand)realloc(buf->candidate, | ^ candidate.c:152:41: note: include the header or explicitly provide a declaration for 'realloc' candidate.c:157:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | Xsj3cWarning("Cannot allocate memory for candidate list"); | ^ candidate.c:164:28: warning: passing arguments to '_Xsj3cwPStowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | _Xsj3cwPStowOUT(buf, buf->candidate[i].data, | ^ candidate.c:170:23: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | _Xsj3cWcpy(buf->candidate[i].data, buf->input[buf->curseg]->disp); | ^ candidate.c:176:13: warning: call to undeclared function 'Xsj3cModeConv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | Xsj3cModeConv(buf, knjbuf, padmode[j], | ^ candidate.c:179:38: warning: passing arguments to '_Xsj3cmPStowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | = _Xsj3cmPStowOUT(buf, buf->candidate[i].data, knjbuf); | ^ candidate.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | _Xsj3cCandidateInit(buf) | ^ candidate.c:33:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | Xsj3cCand _Xsj3cCandidateInit(); | ^ candidate.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | Xsj3cGetCandidateNum(buf, cur) | ^ candidate.c:34:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | int Xsj3cGetCandidateNum(); | ^ candidate.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | Xsj3cGetCandidates(buf) | ^ candidate.c:35:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | Xsj3cCand Xsj3cGetCandidates(); | ^ candidate.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | Xsj3cGetCandidate(buf, n, len) | ^ candidate.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | wchar *Xsj3cGetCandidate(); | ^ candidate.c:252:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 252 | register i, same = 1; | ~~~~~~~~ ^ | int candidate.c:252:25: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 252 | register i, same = 1; | ~~~~~~~~ ^ | int candidate.c:271:19: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | _Xsj3cWcpy(buf->input[buf->candseg]->disp, | ^ candidate.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | Xsj3cSetCandidate(buf, sel_candidate, changed, flush) | ^ candidate.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | int Xsj3cSetCandidate(); | ^ candidate.c:298:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | (&buf->candidate[buf->curcand].dcid)) < 0) { | ^ candidate.c:299:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ candidate.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | Xsj3cEndCandidate(buf, sync) | ^ candidate.c:38:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | void Xsj3cEndCandidate(); | ^ candidate.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: candidate.c,v 2.2 1992/03/18 09:44:48 nao Exp $"; | ^~~~~ 37 warnings generated. rm -f code.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT code.c code.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | _Xsj3csjis2euc (c) | ^ code.c:33:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | wchar _Xsj3csjis2euc(); | ^ code.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | _Xsj3ceuc2sjis (c) | ^ code.c:34:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | wchar _Xsj3ceuc2sjis(); | ^ code.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | _Xsj3csjis2jis (c) | ^ code.c:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | wchar _Xsj3csjis2jis(); | ^ code.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | _Xsj3cjis2sjis (c) | ^ code.c:36:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | wchar _Xsj3cjis2sjis(); | ^ code.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | _Xsj3cjis2euc (c) | ^ code.c:37:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | wchar _Xsj3cjis2euc(); | ^ code.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | _Xsj3ceuc2jis (c) | ^ code.c:38:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | wchar _Xsj3ceuc2jis(); | ^ code.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: code.c,v 2.1 1993/09/21 09:43:46 nao Exp $"; | ^~~~~ 13 warnings generated. rm -f connect.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT connect.c connect.c:64:63: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | if ((value = serverIF[buf->server].func[FUNC_OPEN](host, user)) | ^ connect.c:66:32: warning: passing arguments to '_Xsj3cOpenError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | _Xsj3cOpenError(value); | ^ connect.c:71:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | Xsj3cError("can't connect sj3serv by null user"); | ^ connect.c:79:36: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if ((p = getenv("SJ3SERV")) && *p != '\0') { | ^ connect.c:85:36: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | if ((p = getenv("SJ3SERV2")) && *p != '\0') { | ^ connect.c:92:63: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | if ((value = serverIF[buf->server].func[FUNC_OPEN](hostname, user)) | ^ connect.c:94:32: warning: passing arguments to '_Xsj3cOpenError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | _Xsj3cOpenError(value); | ^ connect.c:99:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | Xsj3cError("can't connect sj3serv by null user"); | ^ connect.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | Xsj3cOpen(buf, host, user, force, second) | ^ connect.c:33:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | int Xsj3cOpen(); | ^ connect.c:120:15: warning: passing arguments to 'Xsj3cClose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | Xsj3cClose(buf, ON); | ^ connect.c:122:21: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | Xsj3cWarning("Failed to connect first server. try to second server"); | ^ connect.c:124:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | Xsj3cError("Failed to connect seconON server."); | ^ connect.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | Xsj3cConnect(buf, host, host2, user) | ^ connect.c:35:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | void Xsj3cConnect(); | ^ connect.c:143:29: warning: passing arguments to '_Xsj3cCloseError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | _Xsj3cCloseError(value); | ^ connect.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | Xsj3cClose(buf, force) | ^ connect.c:34:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | void Xsj3cClose(); | ^ connect.c:159:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | Xsj3cWarning("sj3_open: server died in connecting"); | ^ connect.c:162:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | Xsj3cWarning("sj3_open: connected to server error"); | ^ connect.c:165:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | Xsj3cWarning("sj3_open: already connected to server"); | ^ connect.c:168:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | Xsj3cWarning("sj3_open: can't open main dictionaries"); | ^ connect.c:171:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | Xsj3cWarning("sj3_open: can't open user dictionaries"); | ^ connect.c:174:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | Xsj3cWarning("sj3_open: can't open files for study"); | ^ connect.c:177:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | Xsj3cWarning("sj3_open: can't make directries for user"); | ^ connect.c:180:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | Xsj3cWarning("sj3_open: can't make user dictionaries"); | ^ connect.c:183:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | Xsj3cWarning("sj3_open: can't make files for study"); | ^ connect.c:186:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | Xsj3cWarning("sj3_open: unknown error"); | ^ connect.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | _Xsj3cOpenError(error) | ^ connect.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static void _Xsj3cOpenError(); | ^ connect.c:201:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | Xsj3cWarning("sj3_close: server died in disconnecting"); | ^ connect.c:204:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | Xsj3cWarning("sj3_close: server internal error"); | ^ connect.c:207:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | Xsj3cWarning("sj3_close: already disconnected to server"); | ^ connect.c:210:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | Xsj3cWarning("sj3_close: main dictionaries are not opend"); | ^ connect.c:213:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | Xsj3cWarning("sj3_close: user dictionaries are not opend"); | ^ connect.c:216:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | Xsj3cWarning("sj3_close: files for study are not opend"); | ^ connect.c:219:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | Xsj3cWarning("sj3_close: can't close main dictionaries"); | ^ connect.c:222:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | Xsj3cWarning("sj3_close: can't close user dictionaries"); | ^ connect.c:225:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | Xsj3cWarning("sj3_close: can't close files for study"); | ^ connect.c:228:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | Xsj3cWarning("sj3_close: unknown error"); | ^ connect.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | _Xsj3cCloseError(error) | ^ connect.c:38:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | static void _Xsj3cCloseError(); | ^ connect.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: connect.c,v 2.0 1992/02/13 18:33:14 nao Exp $"; | ^~~~~ 43 warnings generated. rm -f conv.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT conv.c conv.c:76:52: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | if ((buf->backup = (Xsj3cSeg *)calloc(BUNBUFSIZ, | ^ conv.c:76:52: note: include the header or explicitly provide a declaration for 'calloc' conv.c:78:35: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | Xsj3cError("Cannot allocate for backup buffers"); | ^ conv.c:81:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 81 | if (seg = buf->backup[0]) { | ~~~~^~~~~~~~~~~~~~~~ conv.c:81:25: note: place parentheses around the assignment to silence this warning 81 | if (seg = buf->backup[0]) { | ^ | ( ) conv.c:81:25: note: use '==' to turn this assignment into an equality comparison 81 | if (seg = buf->backup[0]) { | ^ | == conv.c:89:72: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | seg = buf->backup[0] = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:97:59: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:113:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 113 | if (seg = buf->input[buf->segnum]) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:113:25: note: place parentheses around the assignment to silence this warning 113 | if (seg = buf->input[buf->segnum]) { | ^ | ( ) conv.c:113:25: note: use '==' to turn this assignment into an equality comparison 113 | if (seg = buf->input[buf->segnum]) { | ^ | == conv.c:114:38: warning: passing arguments to 'Xsj3cClearSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | Xsj3cClearSegment(buf, buf->input[buf->segnum]); | ^ conv.c:117:59: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:136:39: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | Xsj3cError("Cannot allocate for backup buffers"); | ^ conv.c:139:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 139 | if (seg = buf->backup[0]) { | ~~~~^~~~~~~~~~~~~~~~ conv.c:139:29: note: place parentheses around the assignment to silence this warning 139 | if (seg = buf->backup[0]) { | ^ | ( ) conv.c:139:29: note: use '==' to turn this assignment into an equality comparison 139 | if (seg = buf->backup[0]) { | ^ | == conv.c:148:63: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:153:63: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:158:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 158 | if (seg = buf->input[buf->segnum]) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:158:29: note: place parentheses around the assignment to silence this warning 158 | if (seg = buf->input[buf->segnum]) { | ^ | ( ) conv.c:158:29: note: use '==' to turn this assignment into an equality comparison 158 | if (seg = buf->input[buf->segnum]) { | ^ | == conv.c:159:42: warning: passing arguments to 'Xsj3cClearSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | Xsj3cClearSegment(buf, buf->input[buf->segnum]); | ^ conv.c:162:63: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:169:59: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:176:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 176 | if (seg = buf->input[buf->curseg]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:176:21: note: place parentheses around the assignment to silence this warning 176 | if (seg = buf->input[buf->curseg]) | ^ | ( ) conv.c:176:21: note: use '==' to turn this assignment into an equality comparison 176 | if (seg = buf->input[buf->curseg]) | ^ | == conv.c:177:34: warning: passing arguments to 'Xsj3cClearSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | Xsj3cClearSegment(buf, buf->input[buf->curseg]); | ^ conv.c:180:55: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:196:35: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | Xsj3cError("Cannot allocate for backup buffers"); | ^ conv.c:199:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 199 | if (seg = buf->backup[0]) { | ~~~~^~~~~~~~~~~~~~~~ conv.c:199:25: note: place parentheses around the assignment to silence this warning 199 | if (seg = buf->backup[0]) { | ^ | ( ) conv.c:199:25: note: use '==' to turn this assignment into an equality comparison 199 | if (seg = buf->backup[0]) { | ^ | == conv.c:207:72: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | seg = buf->backup[0] = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:216:59: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:232:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 232 | if (seg = buf->input[buf->segnum]) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:232:25: note: place parentheses around the assignment to silence this warning 232 | if (seg = buf->input[buf->segnum]) { | ^ | ( ) conv.c:232:25: note: use '==' to turn this assignment into an equality comparison 232 | if (seg = buf->input[buf->segnum]) { | ^ | == conv.c:233:38: warning: passing arguments to 'Xsj3cClearSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | Xsj3cClearSegment(buf, buf->input[buf->segnum]); | ^ conv.c:236:59: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:250:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 250 | if (seg = buf->input[buf->segnum]) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:250:21: note: place parentheses around the assignment to silence this warning 250 | if (seg = buf->input[buf->segnum]) { | ^ | ( ) conv.c:250:21: note: use '==' to turn this assignment into an equality comparison 250 | if (seg = buf->input[buf->segnum]) { | ^ | == conv.c:251:34: warning: passing arguments to 'Xsj3cClearSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | Xsj3cClearSegment(buf, buf->input[buf->segnum]); | ^ conv.c:254:55: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | Xsj3cGetPreeditArea(buf, len) | ^ conv.c:38:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | unsigned char *Xsj3cGetPreeditArea(); | ^ conv.c:327:37: warning: passing arguments to '_Xsj3cCtrlConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | ret = _Xsj3cCtrlConv(buf, *tmpsp); | ^ conv.c:355:37: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | Xsj3cFreeSegment(buf->backup[i]); | ^ conv.c:380:43: warning: passing arguments to '_Xsj3cUnConvSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | ret |= _Xsj3cUnConvSeg(buf, ONE, buf->editcurlast); | ^ conv.c:381:36: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ conv.c:422:28: warning: passing arguments to '_Xsj3cStrConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | ret = _Xsj3cStrConv(buf, seg, ks, n, ret); | ^ conv.c:423:9: warning: call to undeclared function '_Xsj3cFlushDictMsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 423 | _Xsj3cFlushDictMsg(buf); | ^ conv.c:428:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | Xsj3cEndCandidate(buf, ON); | ^ conv.c:432:33: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | Xsj3cFreeSegment(buf->backup[i]); | ^ conv.c:465:39: warning: passing arguments to '_Xsj3cUnConvSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | ret |= _Xsj3cUnConvSeg(buf, ONE, buf->editcurlast); | ^ conv.c:466:32: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | _Xsj3cStoreYomi(buf, seg, 0); | ^ conv.c:480:37: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | Xsj3cFreeSegment(buf->backup[i]); | ^ conv.c:520:33: warning: passing arguments to '_Xsj3cThrough' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | ret |= _Xsj3cThrough(buf, seg, n); | ^ conv.c:527:22: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | Xsj3cWarning ("Unknown conversion mode"); | ^ conv.c:532:24: warning: passing arguments to '_Xsj3cStrConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | ret = _Xsj3cStrConv(buf, seg, ks, n, ret); | ^ conv.c:536:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | ret |= ((*(keytp->func))(buf)); | ^ conv.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | Xsj3cKeyConv(buf, n, mod, ks) | ^ conv.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | Xsj3cEvent Xsj3cKeyConv(); | ^ conv.c:565:28: warning: passing arguments to '_Xsj3cDirect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | ret |= _Xsj3cDirect(buf, seg, n); | ^ conv.c:570:27: warning: passing arguments to 'Xsj3cResizeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | Xsj3cResizeSegment(seg, seg->size + KANABUFSIZ); | ^ conv.c:601:28: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 601 | strcpy(tmp1, seg->sp); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ conv.c:601:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 601 | strcpy(tmp1, seg->sp); | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ conv.c:603:40: warning: passing arguments to '_Xsj3cHAlphaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | _Xsj3cHAlphaToHKata(buf, tmp1, seg->sp); | ^ conv.c:608:57: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 608 | _Xsj3cInsertChar(buf, seg, tmp1, strlen(tmp1)); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ conv.c:608:33: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | _Xsj3cInsertChar(buf, seg, tmp1, strlen(tmp1)); | ^ conv.c:614:28: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 614 | strcpy(tmp2, seg->sp); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ conv.c:614:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 614 | strcpy(tmp2, seg->sp); | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ conv.c:615:40: warning: passing arguments to '_Xsj3cHAlphaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | _Xsj3cHAlphaToHKata(buf, seg->sp, tmp2); | ^ conv.c:617:49: warning: passing arguments to '_Xsj3cKanaConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | if ((seg->value = _Xsj3cKanaConv(buf, seg, seg->str, | ^ conv.c:624:42: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | _Xsj3cExtractChar(buf, seg, tmp2, seg->n_kana); | ^ conv.c:625:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 625 | strcpy(seg->oldstr, seg->str); | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ conv.c:625:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 625 | strcpy(seg->oldstr, seg->str); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ conv.c:639:42: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | _Xsj3cExtractChar(buf, seg, tmp2, seg->n_kana); | ^ conv.c:651:42: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | _Xsj3cExtractChar(buf, seg, tmp2, seg->n_kana); | ^ conv.c:657:37: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | len = _Xsj3cmPStowPS(buf, wcs, tmp1); | ^ conv.c:658:34: warning: passing arguments to '_Xsj3cInsertWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | _Xsj3cInsertWchar(seg, wcs, len); | ^ conv.c:683:45: warning: passing arguments to '_Xsj3cRomaConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | if ((seg->value = _Xsj3cRomaConv(buf->rktable, | ^ conv.c:691:38: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | _Xsj3cExtractChar(buf, seg, tmp1, seg->n_roma); | ^ conv.c:692:41: warning: passing arguments to '_Xsj3cZAlphaToHAlpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | _Xsj3cZAlphaToHAlpha(buf, seg->oldstr, tmp1); | ^ conv.c:694:38: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | _Xsj3cExtractChar(buf, seg, seg->oldstr, seg->n_roma); | ^ conv.c:701:49: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | seg->oldlen = _Xsj3cmPStowPS(buf, wcs, kanabuf); | ^ conv.c:706:38: warning: passing arguments to '_Xsj3cHiraToZKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | _Xsj3cHiraToZKata(buf, tmp1, kanabuf); | ^ conv.c:707:49: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | seg->oldlen = _Xsj3cmPStowPS(buf, wcs, tmp1); | ^ conv.c:712:39: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | _Xsj3cZKanaToHKata(buf, tmp1, kanabuf); | ^ conv.c:713:49: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | seg->oldlen = _Xsj3cmPStowPS(buf, wcs, tmp1); | ^ conv.c:715:34: warning: passing arguments to '_Xsj3cInsertWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | _Xsj3cInsertWchar(seg, wcs, seg->oldlen); | ^ conv.c:722:65: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 722 | _Xsj3cInsertChar(buf, seg, seg->str, strlen(seg->str)); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ conv.c:722:37: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | _Xsj3cInsertChar(buf, seg, seg->str, strlen(seg->str)); | ^ conv.c:737:33: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | _Xsj3cInsertChar(buf, seg, seg->sp, n); | ^ conv.c:751:49: warning: passing arguments to '_Xsj3cRomaConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | if ((seg->value = _Xsj3cRomaConv(buf->rktable, seg->sp, | ^ conv.c:760:53: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | seg->oldlen = _Xsj3cmPStowPS(buf, wcs, kanabuf); | ^ conv.c:765:42: warning: passing arguments to '_Xsj3cHiraToZKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | _Xsj3cHiraToZKata(buf, tmp1, kanabuf); | ^ conv.c:766:53: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | seg->oldlen = _Xsj3cmPStowPS(buf, wcs, tmp1); | ^ conv.c:771:43: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | _Xsj3cZKanaToHKata(buf, tmp1, kanabuf); | ^ conv.c:772:53: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | seg->oldlen = _Xsj3cmPStowPS(buf, wcs, tmp1); | ^ conv.c:774:38: warning: passing arguments to '_Xsj3cInsertWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | _Xsj3cInsertWchar(seg, wcs, seg->oldlen); | ^ conv.c:781:69: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 781 | _Xsj3cInsertChar(buf, seg, seg->str, strlen(seg->str)); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ conv.c:781:41: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | _Xsj3cInsertChar(buf, seg, seg->str, strlen(seg->str)); | ^ conv.c:797:37: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | _Xsj3cInsertChar(buf, seg, seg->sp, n); | ^ conv.c:811:37: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | _Xsj3cInsertChar(buf, seg, seg->sp, n); | ^ conv.c:829:34: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | _Xsj3cExtractChar(buf, seg, tmp1, change_roma); | ^ conv.c:830:36: warning: passing arguments to '_Xsj3cHAlphaToZKana' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | _Xsj3cHAlphaToZKana(buf, tmp2, tmp1); | ^ conv.c:831:33: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | _Xsj3cInsertChar(buf, seg, tmp2, change_roma); | ^ conv.c:846:25: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | _Xsj3cInsertChar(buf, seg, seg->sp, n); | ^ conv.c:857:29: warning: passing arguments to '_Xsj3cHAlphaToZAlpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | _Xsj3cHAlphaToZAlpha(buf, tmp1, seg->sp); | ^ conv.c:860:25: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | _Xsj3cInsertChar(buf, seg, tmp1, n); | ^ conv.c:880:41: warning: passing arguments to '_Xsj3cCodeConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | if ((seg->value = _Xsj3cCodeConv(buf, seg->str, | ^ conv.c:887:34: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | _Xsj3cExtractChar(buf, seg, tmp1, seg->n_roma); | ^ conv.c:888:37: warning: passing arguments to '_Xsj3cZAlphaToHAlpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | _Xsj3cZAlphaToHAlpha(buf, seg->oldstr, tmp1); | ^ conv.c:890:34: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | _Xsj3cExtractChar(buf, seg, seg->oldstr, seg->n_roma); | ^ conv.c:893:35: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 893 | seg->oldlen = (strlen(kanabuf) + 1)/ sizeof(wchar); | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ conv.c:894:29: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | _Xsj3cInsertChar(buf, seg, kanabuf, seg->oldlen); | ^ conv.c:905:36: warning: passing arguments to '_Xsj3cHAlphaToZKana' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | _Xsj3cHAlphaToZKana(buf, tmp1, seg->sp); | ^ conv.c:906:33: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | _Xsj3cInsertChar(buf, seg, tmp1, n); | ^ conv.c:908:33: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | _Xsj3cInsertChar(buf, seg, seg->sp, n); | ^ conv.c:918:30: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | _Xsj3cExtractChar(buf, seg, tmp1, seg->n_roma); | ^ conv.c:923:33: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | Xsj3cFreeSegment(seg); | ^ conv.c:939:21: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | Xsj3cWarning("Illegal current mode"); | ^ conv.c:944:20: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | _Xsj3cStoreYomi(buf, seg, change_pos); | ^ conv.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | _Xsj3cStrConv(buf, seg, ks, n, ret) | ^ conv.c:44:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static Xsj3cEvent _Xsj3cStrConv(); | ^ conv.c:964:13: warning: call to undeclared function '_Xsj3cHankakuToHira'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 964 | _Xsj3cHankakuToHira(buf, zkana, hkana); | ^ conv.c:966:30: warning: passing arguments to '_Xsj3cHKataToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | _Xsj3cHKataToHira(buf, zkana, hkana); | ^ conv.c:969:13: warning: call to undeclared function '_Xsj3cHankakuToZKata'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 969 | _Xsj3cHankakuToZKata(buf, zkana, hkana); | ^ conv.c:971:31: warning: passing arguments to '_Xsj3cHKataToZKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | _Xsj3cHKataToZKata(buf, zkana, hkana); | ^ conv.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | _Xsj3cKanaConv(buf, seg, hkana, zkana, mode) | ^ conv.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | int _Xsj3cKanaConv(); | ^ conv.c:1015:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1015 | if ((len = strlen(code)) < 4 && (mode == MODE_EUC || mode == MODE_KUTEN)) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ conv.c:1036:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1036 | if (conv = CodeConvFunc[JP_SJIS][serverIF[buf->server].lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:1036:22: note: place parentheses around the assignment to silence this warning 1036 | if (conv = CodeConvFunc[JP_SJIS][serverIF[buf->server].lang]) { | ^ | ( ) conv.c:1036:22: note: use '==' to turn this assignment into an equality comparison 1036 | if (conv = CodeConvFunc[JP_SJIS][serverIF[buf->server].lang]) { | ^ | == conv.c:1037:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | k = conv(k); | ^ conv.c:1058:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1058 | if (conv = CodeConvFunc[JP_EUC][serverIF[buf->server].lang]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:1058:22: note: place parentheses around the assignment to silence this warning 1058 | if (conv = CodeConvFunc[JP_EUC][serverIF[buf->server].lang]) | ^ | ( ) conv.c:1058:22: note: use '==' to turn this assignment into an equality comparison 1058 | if (conv = CodeConvFunc[JP_EUC][serverIF[buf->server].lang]) | ^ | == conv.c:1059:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | k = conv(k); | ^ conv.c:1072:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1072 | if (conv = CodeConvFunc[JP_JIS8][serverIF[buf->server].lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:1072:22: note: place parentheses around the assignment to silence this warning 1072 | if (conv = CodeConvFunc[JP_JIS8][serverIF[buf->server].lang]) { | ^ | ( ) conv.c:1072:22: note: use '==' to turn this assignment into an equality comparison 1072 | if (conv = CodeConvFunc[JP_JIS8][serverIF[buf->server].lang]) { | ^ | == conv.c:1073:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | k = conv(k); | ^ conv.c:1097:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | k = conv(k + 0x2020); | ^ conv.c:1108:21: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | Xsj3cWarning("Illegal mode"); | ^ conv.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | _Xsj3cCodeConv(buf, code, kanji, mode) | ^ conv.c:48:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static int _Xsj3cCodeConv(); | ^ conv.c:1147:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1147 | if (!roma || (len = strlen(roma)) == 0) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ conv.c:1171:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1171 | strcpy(yomi, rktp->yomi); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ conv.c:1171:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1171 | strcpy(yomi, rktp->yomi); | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ conv.c:1172:28: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1172 | strcpy(tmp, p); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ conv.c:1172:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1172 | strcpy(tmp, p); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ conv.c:1198:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1198 | strcpy(yomi, rktp->yomi); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ conv.c:1198:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1198 | strcpy(yomi, rktp->yomi); | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ conv.c:1199:28: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1199 | strcpy(tmp, rktp->str); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ conv.c:1199:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1199 | strcpy(tmp, rktp->str); | ^~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ conv.c:1207:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1207 | strcpy(roma, tmp); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ conv.c:1207:22: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1207 | strcpy(roma, tmp); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ conv.c:1136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | _Xsj3cRomaConv(rktable, roma, yomi) | ^ conv.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | int _Xsj3cRomaConv(); | ^ conv.c:1293:25: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | _Xsj3cInsertChar(buf, buf->input[buf->curseg], ch, 1); | ^ conv.c:1294:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1294 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], change_pos); | ^ conv.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | _Xsj3cCtrlConv(buf, code) | ^ conv.c:45:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static Xsj3cEvent _Xsj3cCtrlConv(); | ^ conv.c:1330:21: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | _Xsj3cInsertChar(buf, seg, seg->str, n); | ^ conv.c:1331:20: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1331 | _Xsj3cStoreYomi(buf, seg, change_pos); | ^ conv.c:1322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | _Xsj3cThrough(buf, seg, n) | ^ conv.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static Xsj3cEvent _Xsj3cThrough(); | ^ conv.c:1351:21: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | _Xsj3cInsertChar(buf, seg, seg->str, n); | ^ conv.c:1352:20: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | _Xsj3cStoreYomi(buf, seg, change_pos); | ^ conv.c:1342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | _Xsj3cDirect(buf, seg, n) | ^ conv.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static Xsj3cEvent _Xsj3cDirect(); | ^ conv.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: conv.c,v 2.12 1993/09/21 09:43:15 nao Exp $"; | ^~~~~ 154 warnings generated. rm -f dict.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT dict.c dict.c:68:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68 | SJ3_H_NRMNOUN, "\225\201\222\312\226\274\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:127:23: note: expanded from macro 'SJ3_H_NRMNOUN' 127 | #define SJ3_H_NRMNOUN 1 | ^ dict.c:69:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 69 | SJ3_H_PRONOUN, "\221\343\226\274\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:128:23: note: expanded from macro 'SJ3_H_PRONOUN' 128 | #define SJ3_H_PRONOUN 12 | ^ dict.c:70:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 70 | SJ3_H_LNAME, "\225\143\216\232", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:129:23: note: expanded from macro 'SJ3_H_LNAME' 129 | #define SJ3_H_LNAME 21 | ^ dict.c:71:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 71 | SJ3_H_FNAME, "\226\274\221\117", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:130:23: note: expanded from macro 'SJ3_H_FNAME' 130 | #define SJ3_H_FNAME 22 | ^ dict.c:72:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 72 | SJ3_H_LOCNAME, "\222\156\226\274", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:131:23: note: expanded from macro 'SJ3_H_LOCNAME' 131 | #define SJ3_H_LOCNAME 24 | ^ dict.c:73:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 73 | SJ3_H_PREFIC, "\214\247\201\136\213\346\226\274", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:132:23: note: expanded from macro 'SJ3_H_PREFIC' 132 | #define SJ3_H_PREFIC 25 | ^ dict.c:74:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 74 | SJ3_H_RENTAI, "\230\101\221\314\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:133:23: note: expanded from macro 'SJ3_H_RENTAI' 133 | #define SJ3_H_RENTAI 26 | ^ dict.c:75:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 75 | SJ3_H_CONJUNC, "\220\332\221\261\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:134:23: note: expanded from macro 'SJ3_H_CONJUNC' 134 | #define SJ3_H_CONJUNC 27 | ^ dict.c:76:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 76 | SJ3_H_SUBNUM, "\217\225\220\224\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:135:23: note: expanded from macro 'SJ3_H_SUBNUM' 135 | #define SJ3_H_SUBNUM 29 | ^ dict.c:77:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 77 | SJ3_H_NUMERAL, "\220\224\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:136:23: note: expanded from macro 'SJ3_H_NUMERAL' 136 | #define SJ3_H_NUMERAL 30 | ^ dict.c:78:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78 | SJ3_H_PREFIX, "\220\332\223\252\214\352", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:137:23: note: expanded from macro 'SJ3_H_PREFIX' 137 | #define SJ3_H_PREFIX 31 | ^ dict.c:79:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 79 | SJ3_H_POSTFIX, "\220\332\224\366\214\352", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:138:23: note: expanded from macro 'SJ3_H_POSTFIX' 138 | #define SJ3_H_POSTFIX 36 | ^ dict.c:80:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 80 | SJ3_H_ADVERB, "\225\233\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:139:23: note: expanded from macro 'SJ3_H_ADVERB' 139 | #define SJ3_H_ADVERB 45 | ^ dict.c:81:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 81 | SJ3_H_ADJECT, "\214\140\227\145\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:140:23: note: expanded from macro 'SJ3_H_ADJECT' 140 | #define SJ3_H_ADJECT 60 | ^ dict.c:82:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 82 | SJ3_H_ADJVERB, "\214\140\227\145\223\256\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:141:23: note: expanded from macro 'SJ3_H_ADJVERB' 141 | #define SJ3_H_ADJVERB 71 | ^ dict.c:83:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 83 | SJ3_H_SILVERB, "\203\124\225\317\223\256\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:142:23: note: expanded from macro 'SJ3_H_SILVERB' 142 | #define SJ3_H_SILVERB 80 | ^ dict.c:84:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 84 | SJ3_H_ZILVERB, "\203\125\225\317\223\256\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:143:23: note: expanded from macro 'SJ3_H_ZILVERB' 143 | #define SJ3_H_ZILVERB 81 | ^ dict.c:85:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 85 | SJ3_H_ONEVERB, "\210\352\222\151\223\256\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:144:23: note: expanded from macro 'SJ3_H_ONEVERB' 144 | #define SJ3_H_ONEVERB 90 | ^ dict.c:86:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 86 | SJ3_H_KAVERB, "\203\112\215\163\214\334\222\151\223\256\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:145:23: note: expanded from macro 'SJ3_H_KAVERB' 145 | #define SJ3_H_KAVERB 91 | ^ dict.c:87:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 87 | SJ3_H_GAVERB, "\203\113\215\163\214\334\222\151\223\256\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:146:23: note: expanded from macro 'SJ3_H_GAVERB' 146 | #define SJ3_H_GAVERB 92 | ^ dict.c:88:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 88 | SJ3_H_SAVERB, "\203\124\215\163\214\334\222\151\223\256\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:147:23: note: expanded from macro 'SJ3_H_SAVERB' 147 | #define SJ3_H_SAVERB 93 | ^ dict.c:89:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 89 | SJ3_H_TAVERB, "\203\136\215\163\214\334\222\151\223\256\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:148:23: note: expanded from macro 'SJ3_H_TAVERB' 148 | #define SJ3_H_TAVERB 94 | ^ dict.c:90:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 90 | SJ3_H_NAVERB, "\203\151\215\163\214\334\222\151\223\256\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:149:23: note: expanded from macro 'SJ3_H_NAVERB' 149 | #define SJ3_H_NAVERB 95 | ^ dict.c:91:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 91 | SJ3_H_BAVERB, "\203\157\215\163\214\334\222\151\223\256\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:150:23: note: expanded from macro 'SJ3_H_BAVERB' 150 | #define SJ3_H_BAVERB 96 | ^ dict.c:92:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 92 | SJ3_H_MAVERB, "\203\175\215\163\214\334\222\151\223\256\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:151:23: note: expanded from macro 'SJ3_H_MAVERB' 151 | #define SJ3_H_MAVERB 97 | ^ dict.c:93:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 93 | SJ3_H_RAVERB, "\203\211\215\163\214\334\222\151\223\256\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:152:23: note: expanded from macro 'SJ3_H_RAVERB' 152 | #define SJ3_H_RAVERB 98 | ^ dict.c:94:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 94 | SJ3_H_WAVERB, "\203\217\215\163\214\334\222\151\223\256\216\214", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:153:23: note: expanded from macro 'SJ3_H_WAVERB' 153 | #define SJ3_H_WAVERB 99 | ^ dict.c:95:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 95 | SJ3_H_SINGLE, "\222\120\212\277\216\232", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:154:23: note: expanded from macro 'SJ3_H_SINGLE' 154 | #define SJ3_H_SINGLE 189 | ^ dict.c:105:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 105 | REG_STATE|CLR_STATE, SJ3_DICT_INPUT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 106 | " \224\315\210\315\216\167\222\350/\223\307\202\335\223\374\227\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | \315:[\223\307\202\335]", | | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:109:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 109 | REG_STATE|CLR_STATE, SJ3_DICT_YOMI, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 110 | " [\223\307\202\335]", | ~~~~~~~~~~~~~~~~~~~~~ | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:112:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 112 | REG_STATE|CLR_STATE, SJ3_DICT_HINSI, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 113 | " [\225\151\216\214]", | ~~~~~~~~~~~~~~~~~~~~~ | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:115:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 115 | REG_STATE|CLR_STATE, SJ3_DICT_CONFIRM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 116 | " [ok ?]", | ~~~~~~~~~ | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:118:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 118 | REG_STATE, SJ3_TOUROKU_SUCCESSED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 119 | ":\223\157\230\136\202\265\202\334\202\265\202\275", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:121:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 121 | CLR_STATE, SJ3_SYOUKYO_SUCCESSED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 122 | ":\217\301\213\216\202\265\202\334\202\265\202\275", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } ./common.h:95:33: note: expanded from macro 'CLR_STATE' 95 | #define CLR_STATE (1L<<1) | ^ dict.c:124:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 124 | REG_STATE|CLR_STATE, SJ3_NO_YOMI_STR, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 125 | ":\223\307\202\335\225\266\216\232\227\361\202\252\202\240\202\350\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | \202\334\202\271\202\361", | | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:128:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 128 | REG_STATE|CLR_STATE, SJ3_LONG_YOMI_STR, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 129 | ":\223\307\202\335\225\266\216\232\227\361\202\252\222\267\202\267\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | \202\254\202\334\202\267", | | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:132:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 132 | REG_STATE|CLR_STATE, SJ3_DICT_ERROR, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 133 | ":\216\253\217\221\202\326\202\314\217\221\202\253\215\236\202\335\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | \202\252\217\157\227\210\202\334\202\271\202\361", | | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:136:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 136 | REG_STATE|CLR_STATE, SJ3_DICT_LOCKED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 137 | ":\216\253\217\221\202\252\203\215\203\142\203\116\202\263\202\352\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | \202\304\202\242\202\334\202\267", | | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:140:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 140 | REG_STATE|CLR_STATE, SJ3_BAD_YOMI_STR, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 141 | ":\223\307\202\335\225\266\216\232\227\361\202\311\225\163\220\263\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | \202\310\225\266\216\232\202\252\212\334\202\334\202\352\202\304\202\242\ 143 | \202\334\202\267", | | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:145:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 145 | REG_STATE|CLR_STATE, SJ3_BAD_KANJI_STR, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 146 | ":\212\277\216\232\225\266\216\232\227\361\202\311\225\163\220\263\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | \202\310\225\266\216\232\202\252\212\334\202\334\202\352\202\304\202\242\ 148 | \202\351\202\251\222\267\202\267\202\254\202\334\202\267", | | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:150:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 150 | REG_STATE|CLR_STATE, SJ3_BAD_HINSI_CODE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 151 | ":\225\151\216\214\203\122\201\133\203\150\202\252\225\163\220\263\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | \202\305\202\267", | | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:154:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 154 | REG_STATE, SJ3_WORD_EXIST, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 155 | ":\223\157\230\136\215\317\202\314\217\156\214\352\202\305\202\267", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:157:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 157 | CLR_STATE, SJ3_WORD_NOT_EXIST, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 158 | ":\217\156\214\352\202\252\223\157\230\136\202\263\202\352\202\304\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | \202\242\202\334\202\271\202\361", | | } ./common.h:95:33: note: expanded from macro 'CLR_STATE' 95 | #define CLR_STATE (1L<<1) | ^ dict.c:161:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 161 | REG_STATE, SJ3_DOUON_FULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 162 | ":\202\261\202\352\210\310\217\343\223\257\211\271\214\352\202\360\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | \223\157\230\136\202\305\202\253\202\334\202\271\202\361", | | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:165:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 165 | REG_STATE, SJ3_DICT_FULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 166 | ":\202\261\202\352\210\310\217\343\216\253\217\221\202\311\223\157\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 167 | \230\136\202\305\202\253\202\334\202\271\202\361", | | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:169:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 169 | REG_STATE, SJ3_INDEX_FULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 170 | ":\202\261\202\352\210\310\217\343 INDEX \202\311\223\157\230\136\202\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | \305\202\253\202\334\202\271\202\361", | | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:173:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 173 | REG_STATE, SJ3_TOUROKU_FAILED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 174 | ":\216\253\217\221\202\326\202\314\223\157\230\136\202\311\216\270\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | \224\163\202\265\202\334\202\265\202\275", | | } ./common.h:94:33: note: expanded from macro 'REG_STATE' 94 | #define REG_STATE (1L<<0) | ^ dict.c:177:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 177 | CLR_STATE, SJ3_SYOUKYO_FAILED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { 178 | ":\216\253\217\221\202\251\202\347\202\314\217\301\213\216\202\311\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | \216\270\224\163\202\265\202\334\202\265\202\275", | | } ./common.h:95:33: note: expanded from macro 'CLR_STATE' 95 | #define CLR_STATE (1L<<1) | ^ dict.c:195:32: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | if ((dict = (Xsj3cDictData)malloc(sizeof(Xsj3cDictDataRec))) == NULL) | ^ dict.c:195:32: note: include the header or explicitly provide a declaration for 'malloc' dict.c:196:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | Xsj3cError("Failed to allocate data for DictMode."); | ^ dict.c:197:50: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | if ((dict->seg = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) | ^ dict.c:198:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | Xsj3cError("Failed to allocate segment for dictionary."); | ^ dict.c:200:13: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | calloc(DICT_STR_NUM, sizeof(Xsj3cDictMsgRec))) == NULL) | ^ dict.c:200:13: note: include the header or explicitly provide a declaration for 'calloc' dict.c:201:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | Xsj3cError("Failed to allocate message buffer for dictionary."); | ^ dict.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | _Xsj3cCreateDictData(buf, mode) | ^ dict.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | Xsj3cDictData _Xsj3cCreateDictData(); | ^ dict.c:218:21: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | Xsj3cFreeSegment(buf->dict->seg); | ^ dict.c:220:5: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | free (buf->dict->msg); | ^ dict.c:220:5: note: include the header or explicitly provide a declaration for 'free' dict.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | _Xsj3cFreeDictData(buf) | ^ dict.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | void _Xsj3cFreeDictData(); | ^ dict.c:248:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | Xsj3cError("Failed to allocate hinsi data"); | ^ dict.c:254:62: warning: passing arguments to '_Xsj3cmPStowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | dictmsglist[buf->server][i].len = _Xsj3cmPStowOUT(buf, data, | ^ dict.c:257:35: warning: passing arguments to '_Xsj3cStoreWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | = _Xsj3cStoreWchar(data, dictmsglist[buf->server][i].len + 1); | ^ dict.c:260:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | Xsj3cError("Failed to allocate hinsi data"); | ^ dict.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | _Xsj3cDictMsgInit(buf) | ^ dict.c:53:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static Xsj3cDictMsg _Xsj3cDictMsgInit(); | ^ dict.c:296:16: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion] 296 | return (NULL); | ^~~~~~ dict.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | Xsj3cGetDictMsgNum(buf) | ^ dict.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | int Xsj3cGetDictMsgNum(); | ^ dict.c:315:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | _Xsj3cSetDictMsg(buf, DICT_STR_YOMI); | ^ dict.c:317:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | _Xsj3cSetDictMsg(buf, DICT_STR_MODE); | ^ dict.c:318:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG1); | ^ dict.c:323:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG1); | ^ dict.c:324:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG2); | ^ dict.c:325:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | _Xsj3cSetDictMsg(buf, DICT_STR_HINSI); | ^ dict.c:326:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG3); | ^ dict.c:328:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG1); | ^ dict.c:329:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG2); | ^ dict.c:335:33: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG2); | ^ dict.c:338:37: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG1); | ^ dict.c:339:37: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG3); | ^ dict.c:342:41: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG2); | ^ dict.c:344:41: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG1); | ^ dict.c:345:41: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG2); | ^ dict.c:346:41: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | _Xsj3cSetDictMsg(buf, DICT_STR_HINSI); | ^ dict.c:347:41: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG3); | ^ dict.c:352:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG1); | ^ dict.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | _Xsj3cFlushDictMsg(buf) | ^ dict.c:35:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | void _Xsj3cFlushDictMsg(); | ^ dict.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | Xsj3cGetDictMsgs(buf) | ^ dict.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | Xsj3cDictMsg Xsj3cGetDictMsgs(); | ^ dict.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | Xsj3cGetDictMsg(buf, n, len, attr) | ^ dict.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | wchar *Xsj3cGetDictMsg(); | ^ dict.c:454:71: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | Xsj3cError("Cannot find message for now status %s.",_Xsj3cItoa(value)); | ^ dict.c:454:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | Xsj3cError("Cannot find message for now status %s.",_Xsj3cItoa(value)); | ^ dict.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | _Xsj3cSetDictMsg(buf, n) | ^ dict.c:54:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void _Xsj3cSetDictMsg(); | ^ dict.c:469:19: warning: passing arguments to '_Xsj3cWcat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | _Xsj3cWcat(disp, buf->input[i]->disp); | ^ dict.c:472:20: warning: passing arguments to '_Xsj3cwOUTtomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | _Xsj3cwOUTtomPS(buf, kanji, disp); | ^ dict.c:474:24: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | _Xsj3cClearDcid(buf); | ^ dict.c:475:19: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | _Xsj3cwPStomPS(buf, kana, buf->dict->seg->yomi); | ^ dict.c:481:60: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | = serverIF[buf->server].func[FUNC_REGISTER](kana, kanji, | ^ dict.c:485:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ dict.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | Xsj3cDictRegister(buf) | ^ dict.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | void Xsj3cDictRegister(); | ^ dict.c:504:19: warning: passing arguments to '_Xsj3cWcat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | _Xsj3cWcat(disp, buf->input[i]->disp); | ^ dict.c:507:20: warning: passing arguments to '_Xsj3cwOUTtomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | _Xsj3cwOUTtomPS(buf, kanji, disp); | ^ dict.c:509:24: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | _Xsj3cClearDcid(buf); | ^ dict.c:510:19: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | _Xsj3cwPStomPS(buf, kana, buf->dict->seg->yomi); | ^ dict.c:517:61: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | = serverIF[buf->server].func[FUNC_CLEAR](kana, kanji, | ^ dict.c:524:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ dict.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | Xsj3cDictClear(buf) | ^ dict.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | void Xsj3cDictClear(); | ^ dict.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | Xsj3cEndDict(buf) | ^ dict.c:44:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | void Xsj3cEndDict(); | ^ dict.c:580:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | Xsj3cError("Failed to allocate hinsi data"); | ^ dict.c:587:60: warning: passing arguments to '_Xsj3cmPStowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | hinsilist[buf->server][i].len = _Xsj3cmPStowOUT(buf, data, | ^ dict.c:590:35: warning: passing arguments to '_Xsj3cStoreWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | = _Xsj3cStoreWchar(data, hinsilist[buf->server][i].len + 1); | ^ dict.c:592:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | Xsj3cError("Failed to allocate hinsi data"); | ^ dict.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | _Xsj3cHinsiInit(buf) | ^ dict.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | Xsj3cHinsi _Xsj3cHinsiInit(); | ^ dict.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | Xsj3cGetHinsiNum(buf, cur) | ^ dict.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | int Xsj3cGetHinsiNum(); | ^ dict.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | Xsj3cGetHinsis(buf) | ^ dict.c:48:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | Xsj3cHinsi Xsj3cGetHinsis(); | ^ dict.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | Xsj3cGetHinsi(buf, n, len) | ^ dict.c:49:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | wchar *Xsj3cGetHinsi(); | ^ dict.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | Xsj3cSetHinsi(buf, sel_hinsi, changed, flush) | ^ dict.c:50:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | int Xsj3cSetHinsi(); | ^ dict.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | Xsj3cEndHinsi(buf) | ^ dict.c:51:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | void Xsj3cEndHinsi(); | ^ dict.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: dict.c,v 2.0 1992/02/13 18:33:19 nao Exp $"; | ^~~~~ 132 warnings generated. rm -f func.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT func.c func.c:169:24: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | ret |= _Xsj3cModeChange(buf, MODE_HIRA, ON); | ^ func.c:176:45: warning: passing arguments to 'Xsj3cGetCandidateNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | Xsj3cGetCandidateNum(buf, &cur); | ^ func.c:180:46: warning: passing arguments to '_Xsj3cNext' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | return(_Xsj3cNext(buf)); | ^ func.c:199:28: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | ret |= _Xsj3cModeChange(buf, MODE_HIRA, ON); | ^ func.c:211:28: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | ret |= _Xsj3cModeChange(buf, | ^ func.c:245:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | Xsj3cWarning("Too long or short segment[%d].", i); | ^ func.c:255:27: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | _Xsj3cwPStomPS(buf, kanabuf, buf->input[i]->yomi); | ^ func.c:257:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | (kanabuf, bun, knjbuf, KANJIBUFSIZ); | ^ func.c:260:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ func.c:262:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | Xsj3cWarning("Too long segment[%d]. Could not convert.", i); | ^ func.c:267:29: warning: passing arguments to '_Xsj3cStoreKanji' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | _Xsj3cStoreKanji(buf, bun, i, value, OFF); | ^ func.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | _Xsj3cConvert(buf) | ^ func.c:42:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | Xsj3cEvent _Xsj3cConvert(); | ^ func.c:345:27: warning: passing arguments to '_Xsj3cUnConvSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | ret |= _Xsj3cUnConvSeg(buf, buf->muhenseg, buf->muhencurlast); | ^ func.c:346:20: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | _Xsj3cUnConvert(buf) | ^ func.c:43:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | Xsj3cEvent _Xsj3cUnConvert(); | ^ func.c:365:26: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:398:19: warning: passing arguments to '_Xsj3cWcat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | _Xsj3cWcat(buf->input[begin]->yomi, buf->input[i]->yomi); | ^ func.c:403:9: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 403 | Xsj3cFreeSegment(buf->input[i]); | ^ func.c:406:5: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 406 | Xsj3cFreeSegment(buf->input[buf->segnum]); | ^ func.c:413:28: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | _Xsj3cClearDcid(buf); | ^ func.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | _Xsj3cUnConvSeg(buf, muhenseg, muhencurlast) | ^ func.c:112:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | Xsj3cEvent _Xsj3cUnConvSeg(); | ^ func.c:479:39: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | _Xsj3cFlushDictMsg(buf); | ^ func.c:486:43: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | _Xsj3cFlushDictMsg(buf); | ^ func.c:494:43: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | _Xsj3cFlushDictMsg(buf); | ^ func.c:502:35: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | _Xsj3cFlushDictMsg(buf); | ^ func.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | _Xsj3cFix(buf) | ^ func.c:44:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | Xsj3cEvent _Xsj3cFix(); | ^ func.c:579:25: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | _Xsj3cInsertChar(buf, buf->input[buf->curseg], ch, 1); | ^ func.c:580:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], change_pos); | ^ func.c:604:39: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | _Xsj3cFlushDictMsg(buf); | ^ func.c:611:43: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | _Xsj3cFlushDictMsg(buf); | ^ func.c:619:43: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | _Xsj3cFlushDictMsg(buf); | ^ func.c:627:35: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | _Xsj3cFlushDictMsg(buf); | ^ func.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | _Xsj3cReturn(buf) | ^ func.c:45:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | Xsj3cEvent _Xsj3cReturn(); | ^ func.c:716:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 716 | return (_Xsj3cModeChange(buf, MODE_HALPHA, conv)); | ^ func.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | _Xsj3cModeHAlpha(buf) | ^ func.c:47:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | Xsj3cEvent _Xsj3cModeHAlpha(); | ^ func.c:754:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 754 | return (_Xsj3cModeChange(buf, MODE_ZALPHA, conv)); | ^ func.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | _Xsj3cModeZAlpha(buf) | ^ func.c:48:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | Xsj3cEvent _Xsj3cModeZAlpha(); | ^ func.c:792:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 792 | return (_Xsj3cModeChange(buf, MODE_HKATA, conv)); | ^ func.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | _Xsj3cModeHKata(buf) | ^ func.c:49:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | Xsj3cEvent _Xsj3cModeHKata(); | ^ func.c:830:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 830 | return (_Xsj3cModeChange(buf, MODE_ZKATA, conv)); | ^ func.c:807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | _Xsj3cModeZKata(buf) | ^ func.c:50:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | Xsj3cEvent _Xsj3cModeZKata(); | ^ func.c:868:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 868 | return (_Xsj3cModeChange(buf, MODE_HIRA, conv)); | ^ func.c:845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | _Xsj3cModeHira(buf) | ^ func.c:51:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | Xsj3cEvent _Xsj3cModeHira(); | ^ func.c:882:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 882 | return (_Xsj3cModeChange(buf, MODE_HALPHA, ON)); | ^ func.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | _Xsj3cToHAlpha(buf) | ^ func.c:52:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | Xsj3cEvent _Xsj3cToHAlpha(); | ^ func.c:896:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 896 | return (_Xsj3cModeChange(buf, MODE_ZALPHA, ON)); | ^ func.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | _Xsj3cToZAlpha(buf) | ^ func.c:53:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | Xsj3cEvent _Xsj3cToZAlpha(); | ^ func.c:910:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 910 | return (_Xsj3cModeChange(buf, MODE_HKATA, ON)); | ^ func.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | _Xsj3cToHKata(buf) | ^ func.c:54:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | Xsj3cEvent _Xsj3cToHKata(); | ^ func.c:924:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 924 | return (_Xsj3cModeChange(buf, MODE_ZKATA, ON)); | ^ func.c:921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | _Xsj3cToZKata(buf) | ^ func.c:55:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | Xsj3cEvent _Xsj3cToZKata(); | ^ func.c:939:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 939 | return (_Xsj3cModeChange(buf, MODE_HIRA, ON)); | ^ func.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | _Xsj3cToHira(buf) | ^ func.c:56:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | Xsj3cEvent _Xsj3cToHira(); | ^ func.c:953:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 953 | return (_Xsj3cModeChange(buf, MODE_ZENKAKU, ON)); | ^ func.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | _Xsj3cZenkaku(buf) | ^ func.c:57:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | Xsj3cEvent _Xsj3cZenkaku(); | ^ func.c:967:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 967 | return (_Xsj3cModeChange(buf, MODE_HANKAKU, ON)); | ^ func.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | _Xsj3cHankaku(buf) | ^ func.c:58:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | Xsj3cEvent _Xsj3cHankaku(); | ^ func.c:981:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 981 | return (_Xsj3cModeChange(buf, MODE_UPPER, ON)); | ^ func.c:978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | _Xsj3cToUpper(buf) | ^ func.c:59:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | Xsj3cEvent _Xsj3cToUpper(); | ^ func.c:995:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 995 | return (_Xsj3cModeChange(buf, MODE_LOWER, ON)); | ^ func.c:992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | _Xsj3cToLower(buf) | ^ func.c:60:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | Xsj3cEvent _Xsj3cToLower(); | ^ func.c:1014:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1014 | return (_Xsj3cModeClear(buf)); | ^ func.c:1017:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1017 | return (_Xsj3cModeClear(buf)); | ^ func.c:1007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | _Xsj3cModeSJIS(buf) | ^ func.c:61:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | Xsj3cEvent _Xsj3cModeSJIS(); | ^ func.c:1036:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1036 | return (_Xsj3cModeClear(buf)); | ^ func.c:1039:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1039 | return (_Xsj3cModeClear(buf)); | ^ func.c:1029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | _Xsj3cModeEUC(buf) | ^ func.c:62:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | Xsj3cEvent _Xsj3cModeEUC(); | ^ func.c:1058:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1058 | return (_Xsj3cModeClear(buf)); | ^ func.c:1061:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1061 | return (_Xsj3cModeClear(buf)); | ^ func.c:1051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | _Xsj3cModeJIS(buf) | ^ func.c:63:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | Xsj3cEvent _Xsj3cModeJIS(); | ^ func.c:1080:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1080 | return (_Xsj3cModeClear(buf)); | ^ func.c:1083:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1083 | return (_Xsj3cModeClear(buf)); | ^ func.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | _Xsj3cModeKuten(buf) | ^ func.c:64:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | Xsj3cEvent _Xsj3cModeKuten(); | ^ func.c:1110:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1110 | return (_Xsj3cModeClear(buf)); | ^ func.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | _Xsj3cCodeRollDown(buf) | ^ func.c:65:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | Xsj3cEvent _Xsj3cCodeRollDown(); | ^ func.c:1153:31: warning: passing arguments to '_Xsj3cNextMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | return (_Xsj3cNextMode(buf)); | ^ func.c:1165:16: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1165 | return(_Xsj3cModeChange(buf, postmode, OFF)); | ^ func.c:1127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | _Xsj3cModeRollDown(buf) | ^ func.c:66:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | Xsj3cEvent _Xsj3cModeRollDown(); | ^ func.c:1206:31: warning: passing arguments to '_Xsj3cPrevMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | return (_Xsj3cPrevMode(buf)); | ^ func.c:1218:16: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1218 | return(_Xsj3cModeChange(buf, postmode, OFF)); | ^ func.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | _Xsj3cModeRollUp(buf) | ^ func.c:67:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | Xsj3cEvent _Xsj3cModeRollUp(); | ^ func.c:1257:34: warning: passing arguments to '_Xsj3cCheckMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | premode = _Xsj3cCheckMode(buf, buf->input[buf->curseg]); | ^ func.c:1268:11: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1268 | ret = _Xsj3cModeChange(buf, postmode, ON); | ^ func.c:1230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | _Xsj3cNextMode(buf) | ^ func.c:68:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | Xsj3cEvent _Xsj3cNextMode(); | ^ func.c:1311:34: warning: passing arguments to '_Xsj3cCheckMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | premode = _Xsj3cCheckMode(buf, buf->input[buf->curseg]); | ^ func.c:1322:11: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1322 | ret = _Xsj3cModeChange(buf, postmode, ON); | ^ func.c:1284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1284 | _Xsj3cPrevMode(buf) | ^ func.c:69:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | Xsj3cEvent _Xsj3cPrevMode(); | ^ func.c:1358:41: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1358 | if ((mbs = (unsigned char *)malloc(seg->size * 2 * sizeof(wchar))) | ^ func.c:1358:41: note: include the header or explicitly provide a declaration for 'malloc' func.c:1360:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | Xsj3cError("Cannot allocate for mode conversion buffer"); | ^ func.c:1365:27: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1365 | ret = _Xsj3cModeChange(buf, MODE_HIRA, ON); | ^ func.c:1367:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1367 | if (conv = | ~~~~~^ 1368 | CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ func.c:1367:30: note: place parentheses around the assignment to silence this warning 1367 | if (conv = | ^ | ( 1368 | CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | | ) func.c:1367:30: note: use '==' to turn this assignment into an equality comparison 1367 | if (conv = | ^ | == func.c:1374:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1374 | w2 = conv(w1); | ^ func.c:1387:31: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1387 | ret = _Xsj3cModeChange(buf, MODE_HIRA, ON); | ^ func.c:1394:23: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1394 | ret = _Xsj3cModeChange(buf, buf->togglemode, ON); | ^ func.c:1400:13: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1400 | free(mbs); | ^ func.c:1400:13: note: include the header or explicitly provide a declaration for 'free' func.c:1404:25: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1404 | return (_Xsj3cModeChange(buf, buf->muhenmode, OFF)); | ^ func.c:1346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | _Xsj3cModeToggle(buf) | ^ func.c:70:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | Xsj3cEvent _Xsj3cModeToggle(); | ^ func.c:1447:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | Xsj3cEndCandidate(buf, ON); | ^ func.c:1471:32: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1471 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:1438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | _Xsj3cForward(buf) | ^ func.c:72:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | Xsj3cEvent _Xsj3cForward(); | ^ func.c:1545:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | Xsj3cEndCandidate(buf, ON); | ^ func.c:1567:36: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1567 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | _Xsj3cBackward(buf) | ^ func.c:73:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | Xsj3cEvent _Xsj3cBackward(); | ^ func.c:1638:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1638 | Xsj3cEndCandidate(buf, ON); | ^ func.c:1631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | _Xsj3cTop(buf) | ^ func.c:74:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | Xsj3cEvent _Xsj3cTop(); | ^ func.c:1702:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1702 | Xsj3cEndCandidate(buf, ON); | ^ func.c:1695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1695 | _Xsj3cEnd(buf) | ^ func.c:75:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | Xsj3cEvent _Xsj3cEnd(); | ^ func.c:1751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1751 | _Xsj3cUp(buf) | ^ func.c:76:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | Xsj3cEvent _Xsj3cUp(); | ^ func.c:1775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1775 | _Xsj3cDown(buf) | ^ func.c:77:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | Xsj3cEvent _Xsj3cDown(); | ^ func.c:1807:54: warning: passing arguments to '_Xsj3cCandidateInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1807 | if ((buf->candidate = _Xsj3cCandidateInit(buf)) == NULL) | ^ func.c:1809:26: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1809 | Xsj3cSetCandidate(buf, 0, &changed, &flush); | ^ func.c:1800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1800 | _Xsj3cFirst(buf) | ^ func.c:78:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | Xsj3cEvent _Xsj3cFirst(); | ^ func.c:1841:54: warning: passing arguments to '_Xsj3cCandidateInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1841 | if ((buf->candidate = _Xsj3cCandidateInit(buf)) == NULL) | ^ func.c:1843:26: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1843 | Xsj3cSetCandidate(buf, buf->candnum - 1, &changed, &flush); | ^ func.c:1834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1834 | _Xsj3cLast(buf) | ^ func.c:79:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | Xsj3cEvent _Xsj3cLast(); | ^ func.c:1866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1866 | _Xsj3cNextPage(buf) | ^ func.c:80:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | Xsj3cEvent _Xsj3cNextPage(); | ^ func.c:1889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1889 | _Xsj3cPrevPage(buf) | ^ func.c:81:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | Xsj3cEvent _Xsj3cPrevPage(); | ^ func.c:1921:54: warning: passing arguments to '_Xsj3cCandidateInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1921 | if ((buf->candidate = _Xsj3cCandidateInit(buf)) == NULL) | ^ func.c:1924:30: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1924 | Xsj3cSetCandidate(buf, 0, &changed, &flush); | ^ func.c:1926:30: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1926 | Xsj3cSetCandidate(buf, buf->curcand + 1, &changed, &flush); | ^ func.c:1914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | _Xsj3cNext(buf) | ^ func.c:82:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | Xsj3cEvent _Xsj3cNext(); | ^ func.c:1958:54: warning: passing arguments to '_Xsj3cCandidateInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1958 | if ((buf->candidate = _Xsj3cCandidateInit(buf)) == NULL) | ^ func.c:1961:30: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1961 | Xsj3cSetCandidate(buf, buf->candnum - 1, &changed, &flush); | ^ func.c:1963:30: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1963 | Xsj3cSetCandidate(buf, buf->curcand - 1, &changed, &flush); | ^ func.c:1951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1951 | _Xsj3cPrev(buf) | ^ func.c:83:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | Xsj3cEvent _Xsj3cPrev(); | ^ func.c:2011:31: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2011 | _Xsj3cFlushDictMsg(buf); | ^ func.c:1988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | _Xsj3cSelect(buf) | ^ func.c:84:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | Xsj3cEvent _Xsj3cSelect(); | ^ func.c:2052:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2052 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:2055:28: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2055 | _Xsj3cClearDcid(buf); | ^ func.c:2058:13: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2058 | Xsj3cFreeSegment(buf->input[i]); | ^ func.c:2062:13: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2062 | Xsj3cClearSegment(buf, buf->input[0]); | ^ func.c:2074:31: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2074 | _Xsj3cFlushDictMsg(buf); | ^ func.c:2093:31: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2093 | _Xsj3cFlushDictMsg(buf); | ^ func.c:2043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2043 | _Xsj3cCancel(buf) | ^ func.c:85:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | Xsj3cEvent _Xsj3cCancel(); | ^ func.c:2143:35: warning: passing arguments to '_Xsj3cExpandNoConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2143 | return (_Xsj3cExpandNoConv(buf)); | ^ func.c:2158:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2158 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:2173:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2173 | Xsj3cError("Cannot allocate for temporary buffer"); | ^ func.c:2177:22: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2177 | _Xsj3cExtractChar(buf, buf->input[nextseg], tmp, 1); | ^ func.c:2187:9: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2187 | Xsj3cFreeSegment(buf->input[buf->segnum]); | ^ func.c:2204:31: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2204 | _Xsj3cwPStomPS(buf, kanabuf, buf->input[nextseg]->yomi); | ^ func.c:2206:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2206 | (kanabuf, bun, knjbuf, KANJIBUFSIZ); | ^ func.c:2208:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2208 | Xsj3cWarning("Too long segment[num = %d]",nextseg); | ^ func.c:2211:33: warning: passing arguments to '_Xsj3cStoreKanji' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2211 | _Xsj3cStoreKanji(buf, bun, nextseg, value, ON); | ^ func.c:2216:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2216 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ func.c:2217:32: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2217 | _Xsj3cStoreYomi(buf, buf->input[nextseg], 0); | ^ func.c:2223:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2223 | _Xsj3cStoreYomi(buf, buf->input[nextseg], 0); | ^ func.c:2234:21: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2234 | _Xsj3cInsertChar(buf, buf->input[buf->curseg], tmp, 1); | ^ func.c:2245:23: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2245 | _Xsj3cwPStomPS(buf, kanabuf, seg->yomi); | ^ func.c:2246:9: warning: call to undeclared function 'Xsj3cModeConv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2246 | Xsj3cModeConv(buf, kanabuf, seg->cursegmode, seg->size); | ^ func.c:2247:35: warning: passing arguments to '_Xsj3cmPStowPSn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2247 | seg->num = _Xsj3cmPStowPSn(buf, seg->yomi, kanabuf, seg->size); | ^ func.c:2249:13: warning: call to undeclared function 'Xsj3cResizeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2249 | Xsj3cResizeSegment(seg, seg->size * 2); | ^ func.c:2250:38: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2250 | seg->num = _Xsj3cmPStowPS(buf, seg->yomi, kanabuf); | ^ func.c:2260:27: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | _Xsj3cwPStomPS(buf, kanabuf, buf->input[buf->curseg]->yomi); | ^ func.c:2263:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2263 | (kanabuf, bun, knjbuf, KANJIBUFSIZ); | ^ func.c:2265:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2265 | Xsj3cWarning("Too long segment[num = %d]",buf->curseg); | ^ func.c:2272:34: warning: passing arguments to '_Xsj3cmPStowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2272 | = _Xsj3cmPStowOUT(buf, buf->input[buf->curseg]->disp, knjbuf); | ^ func.c:2277:58: warning: passing arguments to '_Xsj3cCandidateInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2277 | if ((buf->candidate = _Xsj3cCandidateInit(buf)) == NULL) { | ^ func.c:2278:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2278 | Xsj3cWarning("sj3serv maybe down, or any trouble"); | ^ func.c:2280:38: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2280 | Xsj3cSetCandidate(buf, 0, &changed, &flush); | ^ func.c:2285:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2285 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ func.c:2286:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2286 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2293:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2293 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2131 | _Xsj3cExpand(buf) | ^ func.c:87:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | Xsj3cEvent _Xsj3cExpand(); | ^ func.c:2317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2317 | _Xsj3cExpandNoConv(buf) | ^ func.c:117:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static Xsj3cEvent _Xsj3cExpandNoConv(); | ^ func.c:2360:35: warning: passing arguments to '_Xsj3cShrinkNoConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2360 | return (_Xsj3cShrinkNoConv(buf)); | ^ func.c:2379:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2379 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:2381:26: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2381 | _Xsj3cExtractChar(buf, buf->input[buf->curseg], tmp, 1); | ^ func.c:2404:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2404 | Xsj3cError("Cannot allocate for temporary buffer"); | ^ func.c:2411:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2411 | Xsj3cError("Cannot allocate for temporary buffer"); | ^ func.c:2422:25: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2422 | _Xsj3cInsertChar(buf, buf->input[prevseg], tmp, 1); | ^ func.c:2432:27: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2432 | _Xsj3cwPStomPS(buf, kanabuf1, seg->yomi); | ^ func.c:2433:13: warning: call to undeclared function 'Xsj3cModeConv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2433 | Xsj3cModeConv(buf, kanabuf1, seg->cursegmode, seg->size); | ^ func.c:2434:39: warning: passing arguments to '_Xsj3cmPStowPSn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2434 | seg->num = _Xsj3cmPStowPSn(buf, seg->yomi, kanabuf1, seg->size); | ^ func.c:2436:17: warning: call to undeclared function 'Xsj3cResizeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2436 | Xsj3cResizeSegment(seg, seg->size * 2); | ^ func.c:2437:42: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2437 | seg->num = _Xsj3cmPStowPS(buf, seg->yomi, kanabuf1); | ^ func.c:2443:9: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2443 | Xsj3cFreeSegment(buf->input[buf->segnum]); | ^ func.c:2463:29: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2463 | _Xsj3cInsertChar(buf, buf->input[nextseg], tmp, 1); | ^ func.c:2475:31: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2475 | _Xsj3cwPStomPS(buf, kanabuf2, seg->yomi); | ^ func.c:2476:17: warning: call to undeclared function 'Xsj3cModeConv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2476 | Xsj3cModeConv(buf, kanabuf2, seg->cursegmode, seg->size); | ^ func.c:2477:43: warning: passing arguments to '_Xsj3cmPStowPSn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2477 | seg->num = _Xsj3cmPStowPSn(buf, seg->yomi, kanabuf2, seg->size); | ^ func.c:2479:21: warning: call to undeclared function 'Xsj3cResizeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2479 | Xsj3cResizeSegment(seg, seg->size * 2); | ^ func.c:2480:46: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2480 | seg->num = _Xsj3cmPStowPS(buf, seg->yomi, kanabuf2); | ^ func.c:2491:37: warning: call to undeclared function 'Xsj3cCreateSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2491 | = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { | ^ func.c:2491:27: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] 2491 | = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ func.c:2492:31: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | Xsj3cError("Failed to allocate segment"); | ^ func.c:2495:17: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2495 | Xsj3cClearSegment(buf, buf->input[nextseg]); | ^ func.c:2496:29: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2496 | _Xsj3cInsertChar(buf, buf->input[nextseg], tmp, 1); | ^ func.c:2512:31: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2512 | _Xsj3cwPStomPS(buf, kanabuf2, buf->input[nextseg]->yomi); | ^ func.c:2515:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2515 | (kanabuf2, bun, knjbuf, KANJIBUFSIZ); | ^ func.c:2517:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2517 | Xsj3cWarning("Too long segment[num = %d]",nextseg); | ^ func.c:2520:33: warning: passing arguments to '_Xsj3cStoreKanji' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2520 | _Xsj3cStoreKanji(buf, bun, nextseg, value, ON); | ^ func.c:2525:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2525 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ func.c:2526:32: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2526 | _Xsj3cStoreYomi(buf, buf->input[nextseg], 0); | ^ func.c:2532:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2532 | _Xsj3cStoreYomi(buf, buf->input[nextseg], 0); | ^ func.c:2546:27: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2546 | _Xsj3cwPStomPS(buf, kanabuf1, buf->input[buf->curseg]->yomi); | ^ func.c:2549:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2549 | (kanabuf1, bun, knjbuf, KANJIBUFSIZ); | ^ func.c:2551:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2551 | Xsj3cWarning("Too long segment[num = %d]",buf->curseg); | ^ func.c:2558:34: warning: passing arguments to '_Xsj3cmPStowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2558 | = _Xsj3cmPStowOUT(buf, buf->input[buf->curseg]->disp, knjbuf); | ^ func.c:2563:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2563 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ func.c:2564:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2564 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2571:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2571 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2346 | _Xsj3cShrink(buf) | ^ func.c:88:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | Xsj3cEvent _Xsj3cShrink(); | ^ func.c:2596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2596 | _Xsj3cShrinkNoConv(buf) | ^ func.c:118:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | static Xsj3cEvent _Xsj3cShrinkNoConv(); | ^ func.c:2665:39: warning: passing arguments to '_Xsj3cDeleteSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2665 | return(_Xsj3cDeleteSeg(buf, ret, buf->dellastmove)); | ^ func.c:2674:43: warning: passing arguments to '_Xsj3cDeleteSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2674 | return(_Xsj3cDeleteSeg(buf, ret, buf->dellastmove)); | ^ func.c:2677:36: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2677 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2680:39: warning: passing arguments to '_Xsj3cBackSpaceChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2680 | return(_Xsj3cBackSpaceChar(buf, buf->input[buf->curseg], ret) | ^ func.c:2690:35: warning: passing arguments to '_Xsj3cDeleteSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2690 | return(_Xsj3cDeleteSeg(buf, ret, buf->dellastmove)); | ^ func.c:2693:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2693 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2694:39: warning: passing arguments to '_Xsj3cBackSpaceChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2694 | return(_Xsj3cBackSpaceChar(buf, buf->input[buf->curseg], ret) | ^ func.c:2700:38: warning: passing arguments to '_Xsj3cBackSpaceChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2700 | ret = _Xsj3cBackSpaceChar(buf, buf->dict->seg, ret) | ^ func.c:2702:31: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2702 | _Xsj3cFlushDictMsg(buf); | ^ func.c:2626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2626 | _Xsj3cBackSpace(buf) | ^ func.c:90:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | Xsj3cEvent _Xsj3cBackSpace(); | ^ func.c:2778:35: warning: passing arguments to '_Xsj3cDeleteSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2778 | return(_Xsj3cDeleteSeg(buf, ret, buf->dellastmove)); | ^ func.c:2785:43: warning: passing arguments to '_Xsj3cDeleteSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2785 | return(_Xsj3cDeleteSeg(buf, ret, buf->dellastmove)); | ^ func.c:2788:36: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2788 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2791:36: warning: passing arguments to '_Xsj3cDeleteChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2791 | return(_Xsj3cDeleteChar(buf, buf->input[buf->curseg], ret) | ^ func.c:2796:35: warning: passing arguments to '_Xsj3cDeleteSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2796 | return(_Xsj3cDeleteSeg(buf, ret, buf->dellastmove)); | ^ func.c:2799:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2799 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2800:36: warning: passing arguments to '_Xsj3cDeleteChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2800 | return(_Xsj3cDeleteChar(buf, buf->input[buf->curseg], ret) | ^ func.c:2806:35: warning: passing arguments to '_Xsj3cDeleteChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2806 | ret = _Xsj3cDeleteChar(buf, buf->dict->seg, ret) | ^ func.c:2808:31: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2808 | _Xsj3cFlushDictMsg(buf); | ^ func.c:2732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2732 | _Xsj3cDelete(buf) | ^ func.c:91:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | Xsj3cEvent _Xsj3cDelete(); | ^ func.c:2845:34: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2845 | _Xsj3cExtractChar(buf, seg, tmp, 1); | ^ func.c:2851:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2851 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ func.c:2851:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2851 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ func.c:2852:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2852 | seg->n_roma = strlen(seg->oldstr); | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ func.c:2872:34: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2872 | _Xsj3cExtractChar(buf, seg, tmp, 1); | ^ func.c:2881:35: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2881 | _Xsj3cwPStomPS(buf, tmp, wcs); | ^ func.c:2882:21: warning: call to undeclared function '_Xsj3cZKanaToHKata'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2882 | _Xsj3cZKanaToHKata(buf, seg->str, tmp); | ^ func.c:2884:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2884 | && strlen(seg->str) == 1) { | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ func.c:2905:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2905 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ func.c:2905:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2905 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ func.c:2906:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2906 | seg->n_roma = strlen(seg->oldstr); | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ func.c:2907:42: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2907 | _Xsj3cExtractChar(buf, seg, tmp, seg->oldlen); | ^ func.c:2910:29: warning: call to undeclared function '_Xsj3cHAlphaToZKana'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2910 | _Xsj3cHAlphaToZKana(buf, tmp, seg->oldstr); | ^ func.c:2911:45: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2911 | _Xsj3cInsertChar(buf, seg, tmp, seg->n_roma); | ^ func.c:2913:45: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2913 | _Xsj3cInsertChar(buf, seg, seg->oldstr, | ^ func.c:2921:42: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2921 | _Xsj3cExtractChar(buf, seg, tmp, 1); | ^ func.c:2924:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2924 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ func.c:2924:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2924 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ func.c:2925:57: warning: passing arguments to '_Xsj3cKanaConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2925 | if ((seg->value = _Xsj3cKanaConv(buf, seg, seg->str, | ^ func.c:2931:49: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2931 | len = _Xsj3cmPStowPS(buf, wcs, tmp); | ^ func.c:2932:46: warning: passing arguments to '_Xsj3cInsertWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2932 | _Xsj3cInsertWchar(seg, wcs, len); | ^ func.c:2942:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2942 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ func.c:2942:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2942 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ func.c:2943:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2943 | seg->n_roma = strlen(seg->oldstr); | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ func.c:2944:38: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2944 | _Xsj3cExtractChar(buf, seg, tmp, seg->oldlen); | ^ func.c:2947:25: warning: call to undeclared function '_Xsj3cHAlphaToZKana'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2947 | _Xsj3cHAlphaToZKana(buf, tmp, seg->oldstr); | ^ func.c:2948:41: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2948 | _Xsj3cInsertChar(buf, seg, tmp, seg->n_roma); | ^ func.c:2950:41: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2950 | _Xsj3cInsertChar(buf, seg, seg->oldstr, | ^ func.c:2959:38: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2959 | _Xsj3cExtractChar(buf, seg, tmp, 1); | ^ func.c:2973:43: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2973 | _Xsj3cwPStomPS(buf, tmp, wcs); | ^ func.c:2974:29: warning: call to undeclared function '_Xsj3cZKanaToHKata'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2974 | _Xsj3cZKanaToHKata(buf, seg->str, tmp); | ^ func.c:2976:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2976 | && strlen(seg->str) == 1) { | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ func.c:2994:30: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2994 | _Xsj3cExtractChar(buf, seg, tmp, 1); | ^ func.c:3013:35: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3013 | _Xsj3cwPStomPS(buf, tmp, wcs); | ^ func.c:3014:21: warning: call to undeclared function '_Xsj3cZKanaToHKata'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3014 | _Xsj3cZKanaToHKata(buf, seg->str, tmp); | ^ func.c:3016:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3016 | && strlen(seg->str) == 1) { | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ func.c:3032:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3032 | _Xsj3cStoreYomi(buf, seg, change_pos); | ^ func.c:3034:13: warning: call to undeclared function 'Xsj3cResizeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3034 | Xsj3cResizeSegment(seg, seg->size - KANABUFSIZ); | ^ func.c:3036:13: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3036 | Xsj3cFreeSegment(buf->input[buf->segnum]); | ^ func.c:2823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2823 | _Xsj3cBackSpaceChar(buf, seg, ret) | ^ func.c:116:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | static Xsj3cEvent _Xsj3cBackSpaceChar(); | ^ func.c:3088:26: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3088 | _Xsj3cExtractChar(buf, seg, tmp, 1); | ^ func.c:3089:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3089 | _Xsj3cStoreYomi(buf, seg, change_pos); | ^ func.c:3091:13: warning: call to undeclared function 'Xsj3cResizeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3091 | Xsj3cResizeSegment(seg, seg->size - KANABUFSIZ); | ^ func.c:3093:13: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3093 | Xsj3cFreeSegment(buf->input[buf->segnum]); | ^ func.c:3074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3074 | _Xsj3cDeleteChar(buf, seg, ret) | ^ func.c:115:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static Xsj3cEvent _Xsj3cDeleteChar(); | ^ func.c:3133:26: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3133 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3137:5: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3137 | Xsj3cFreeSegment(buf->input[buf->segnum]); | ^ func.c:3146:9: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3146 | Xsj3cClearSegment(buf, buf->input[0]); | ^ func.c:3152:32: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3152 | _Xsj3cClearDcid(buf); | ^ func.c:3167:32: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3167 | _Xsj3cClearDcid(buf); | ^ func.c:3124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3124 | _Xsj3cDeleteSeg(buf, ret, move) | ^ func.c:114:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static Xsj3cEvent _Xsj3cDeleteSeg(); | ^ func.c:3266:35: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3266 | Xsj3cError("Cannot allocate for temporary buffer"); | ^ func.c:3267:38: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3267 | _Xsj3cExtractChar(buf, buf->input[buf->curseg], tmp, del_num); | ^ func.c:3269:36: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3269 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], | ^ func.c:3277:13: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3277 | Xsj3cFreeSegment(buf->input[i]); | ^ func.c:3290:28: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3290 | _Xsj3cClearDcid(buf); | ^ func.c:3304:31: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3304 | Xsj3cError("Cannot allocate for temporary buffer"); | ^ func.c:3305:34: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3305 | _Xsj3cExtractChar(buf, buf->input[buf->curseg], tmp, del_num); | ^ func.c:3307:32: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3307 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], | ^ func.c:3204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3204 | _Xsj3cDelAfter(buf) | ^ func.c:92:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | Xsj3cEvent _Xsj3cDelAfter(); | ^ func.c:3339:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3339 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3348:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3348 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3364:13: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3364 | Xsj3cFreeSegment(buf->input[i]); | ^ func.c:3368:13: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3368 | Xsj3cClearSegment(buf, buf->input[0]); | ^ func.c:3326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3326 | _Xsj3cStart(buf) | ^ func.c:94:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | Xsj3cEvent _Xsj3cStart(); | ^ func.c:3392:24: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3392 | _Xsj3cClearDcid(buf); | ^ func.c:3398:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3398 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3407:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3407 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3386 | _Xsj3cReConnect(buf) | ^ func.c:95:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | Xsj3cEvent _Xsj3cReConnect(); | ^ func.c:3455:37: warning: call to undeclared function 'Xsj3cCreateSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3455 | = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { | ^ func.c:3455:27: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] 3455 | = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ func.c:3456:31: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3456 | Xsj3cError("Failed to allocate segment"); | ^ func.c:3468:23: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3468 | _Xsj3cWcpy(buf->input[i]->yomi, buf->backup[i]->yomi); | ^ func.c:3471:23: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3471 | _Xsj3cWcpy(buf->input[i]->disp, buf->backup[i]->disp); | ^ func.c:3436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3436 | _Xsj3cReConvert(buf) | ^ func.c:96:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | Xsj3cEvent _Xsj3cReConvert(); | ^ func.c:3538:20: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3538 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:3515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3515 | _Xsj3cEdit(buf) | ^ func.c:97:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | Xsj3cEvent _Xsj3cEdit(); | ^ func.c:3558:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3558 | Xsj3cEndCandidate(buf, ON); | ^ func.c:3559:41: warning: passing arguments to '_Xsj3cCreateDictData' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3559 | buf->dict = _Xsj3cCreateDictData(buf, REG_STATE); | ^ func.c:3561:27: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3561 | _Xsj3cFlushDictMsg(buf); | ^ func.c:3552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3552 | _Xsj3cDRegBegin(buf) | ^ func.c:99:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | Xsj3cEvent _Xsj3cDRegBegin(); | ^ func.c:3594:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3594 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3595:41: warning: passing arguments to '_Xsj3cCreateDictData' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3595 | buf->dict = _Xsj3cCreateDictData(buf, CLR_STATE); | ^ func.c:3597:27: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3597 | _Xsj3cFlushDictMsg(buf); | ^ func.c:3588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3588 | _Xsj3cDClearBegin(buf) | ^ func.c:100:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | Xsj3cEvent _Xsj3cDClearBegin(); | ^ func.c:3625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3625 | _Xsj3cSymbolBegin(buf) | ^ func.c:102:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | Xsj3cEvent _Xsj3cSymbolBegin(); | ^ func.c:3708:40: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3708 | if ((buf->backup = (Xsj3cSeg *)calloc(BUNBUFSIZ, | ^ func.c:3708:40: note: include the header or explicitly provide a declaration for 'calloc' func.c:3710:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3710 | Xsj3cError("Cannot allocate for backup buffers"); | ^ func.c:3714:13: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3714 | Xsj3cFreeSegment(buf->backup[i]); | ^ func.c:3722:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3722 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:3726:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3726 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:3740:5: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3740 | Xsj3cFreeSegment(buf->input[buf->segnum]); | ^ func.c:3755:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3755 | Xsj3cError("Cannot allocate for temporary buffer"); | ^ func.c:3757:26: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3757 | _Xsj3cExtractChar(buf, buf->backup[0], tmp, buf->backup[0]->cur); | ^ func.c:3758:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3758 | _Xsj3cStoreYomi(buf, buf->backup[0], 0); | ^ func.c:3761:33: warning: call to undeclared function 'Xsj3cCreateSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3761 | = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { | ^ func.c:3761:23: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] 3761 | = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ func.c:3762:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3762 | Xsj3cError("Failed to allocate segment."); | ^ func.c:3765:13: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3765 | Xsj3cClearSegment(buf, buf->input[buf->segnum]); | ^ func.c:3766:25: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3766 | _Xsj3cInsertChar(buf, buf->input[buf->segnum], tmp, store_num); | ^ func.c:3767:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3767 | _Xsj3cStoreYomi(buf, buf->input[buf->segnum], 0); | ^ func.c:3773:24: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3773 | _Xsj3cClearDcid(buf); | ^ func.c:3662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3662 | _Xsj3cFlushBefore(buf) | ^ In file included from func.c:32: ./func.h:89:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | extern Xsj3cEvent _Xsj3cFlushBefore(); | ^ func.c:3790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3790 | _Xsj3cQuote(buf) | ^ func.c:104:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | Xsj3cEvent _Xsj3cQuote(); | ^ func.c:3813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3813 | _Xsj3cBell(buf) | ^ func.c:105:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | Xsj3cEvent _Xsj3cBell(); | ^ func.c:3835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3835 | _Xsj3cKana(buf) | ^ func.c:106:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | Xsj3cEvent _Xsj3cKana(); | ^ func.c:3888:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3888 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3898:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3898 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3910:28: warning: passing arguments to '_Xsj3cFlushDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3910 | _Xsj3cFlushDcid(buf); | ^ func.c:3913:13: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3913 | Xsj3cFreeSegment(buf->input[i]); | ^ func.c:3917:13: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3917 | Xsj3cClearSegment(buf, buf->input[0]); | ^ func.c:3929:16: warning: passing arguments to 'Xsj3cRCInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3929 | Xsj3cRCInit(buf, NULL, NULL); | ^ func.c:3874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3874 | _Xsj3cSjrc(buf) | ^ func.c:107:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | Xsj3cEvent _Xsj3cSjrc(); | ^ func.c:3939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3939 | _Xsj3cKill(buf) | ^ func.c:108:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | Xsj3cEvent _Xsj3cKill(); | ^ func.c:3952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3952 | _Xsj3cNull(buf) | ^ func.c:109:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | Xsj3cEvent _Xsj3cNull(); | ^ func.c:3964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3964 | _Xsj3cIgnore(buf) | ^ func.c:110:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | Xsj3cEvent _Xsj3cIgnore(); | ^ func.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: func.c,v 2.3 1993/09/21 09:42:57 nao Exp $"; | ^~~~~ 408 warnings generated. rm -f libif.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT libif.c libif.c:30:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 30 | extern int sj3_open(); | ^ /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:157:5: note: conflicting prototype is here 157 | int sj3_open(char *, char *); | ^ libif.c:32:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 32 | extern int sj3_getkan(); | ^ /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:163:5: note: conflicting prototype is here 163 | int sj3_getkan(u_char *, SJ3_BUNSETU *, u_char *, int); | ^ libif.c:33:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 33 | extern int sj3_douoncnt(); | ^ /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:167:5: note: conflicting prototype is here 167 | int sj3_douoncnt(u_char *); | ^ libif.c:34:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 34 | extern int sj3_getdouon(); | ^ /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:171:5: note: conflicting prototype is here 171 | int sj3_getdouon(u_char *, SJ3_DOUON *); | ^ libif.c:35:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | extern int sj3_touroku(); | ^ /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:181:5: note: conflicting prototype is here 181 | int sj3_touroku(u_char *, u_char *, int); | ^ libif.c:36:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 36 | extern int sj3_syoukyo(); | ^ /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:185:5: note: conflicting prototype is here 185 | int sj3_syoukyo(u_char *, u_char *, int); | ^ libif.c:37:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 37 | extern int sj3_gakusyuu(); | ^ /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:175:5: note: conflicting prototype is here 175 | int sj3_gakusyuu(SJ3_STUDYREC *); | ^ libif.c:38:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 38 | extern int sj3_gakusyuu2(); | ^ /var/tmp/work/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:177:5: note: conflicting prototype is here 177 | int sj3_gakusyuu2(u_char *, u_char *, SJ3_STUDYREC *); | ^ libif.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: libif.c,v 2.0 1992/02/13 18:33:26 nao Exp $"; | ^~~~~ 9 warnings generated. rm -f mode.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT mode.c mode.c:75:21: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | malloc(seg->size * 2 * sizeof(wchar))) == NULL) | ^ mode.c:75:21: note: include the header or explicitly provide a declaration for 'malloc' mode.c:76:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | Xsj3cError("Cannot allocate for mode conversion buffer"); | ^ mode.c:77:27: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | _Xsj3cwPStomPS(buf, mbs, seg->yomi); | ^ mode.c:78:37: warning: passing arguments to 'Xsj3cModeConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | if ((ret = Xsj3cModeConv(buf, mbs, mode, seg->size)) | ^ mode.c:80:43: warning: passing arguments to '_Xsj3cmPStowPSn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | seg->num = _Xsj3cmPStowPSn(buf, seg->yomi, mbs, seg->size); | ^ mode.c:82:21: warning: call to undeclared function 'Xsj3cResizeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | Xsj3cResizeSegment(seg, seg->size * 2); | ^ mode.c:83:46: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | seg->num = _Xsj3cmPStowPS(buf, seg->yomi, mbs); | ^ mode.c:86:32: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | _Xsj3cStoreYomi(buf, seg, 0); | ^ mode.c:90:13: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | free(mbs); | ^ mode.c:90:13: note: include the header or explicitly provide a declaration for 'free' mode.c:94:40: warning: passing arguments to '_Xsj3cModeClear' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | return (_Xsj3cModeClear(buf)); | ^ mode.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | _Xsj3cModeChange(buf, mode, conv) | ^ mode.c:35:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | Xsj3cEvent _Xsj3cModeChange(); | ^ mode.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | _Xsj3cModeClear(buf) | ^ mode.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | Xsj3cEvent _Xsj3cModeClear(); | ^ mode.c:154:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | Xsj3cError("Cannot allocate for mode conversion buffer"); | ^ mode.c:156:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | Xsj3cError("Cannot allocate for mode conversion buffer"); | ^ mode.c:160:27: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | _Xsj3cZKanaToHKata(buf, tmp2, string); | ^ mode.c:161:26: warning: passing arguments to '_Xsj3cHKataToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | _Xsj3cHKataToHira(buf, tmp1, tmp2); | ^ mode.c:162:22: warning: passing arguments to '_Xsj3cKRConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | _Xsj3cKRConvs(buf, tmp2, tmp1); | ^ mode.c:163:22: warning: passing arguments to '_Xsj3cRKConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | _Xsj3cRKConvs(buf, tmp1, tmp2); | ^ mode.c:165:32: warning: passing arguments to '_Xsj3cHankakuToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | _Xsj3cHankakuToHira(buf, string, tmp1); | ^ mode.c:167:30: warning: passing arguments to '_Xsj3cZKataToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | _Xsj3cZKataToHira(buf, string, tmp1); | ^ mode.c:172:27: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | _Xsj3cZKanaToHKata(buf, tmp2, string); | ^ mode.c:173:26: warning: passing arguments to '_Xsj3cHKataToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | _Xsj3cHKataToHira(buf, tmp1, tmp2); | ^ mode.c:174:22: warning: passing arguments to '_Xsj3cKRConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | _Xsj3cKRConvs(buf, tmp2, tmp1); | ^ mode.c:175:22: warning: passing arguments to '_Xsj3cRKConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | _Xsj3cRKConvs(buf, tmp1, tmp2); | ^ mode.c:177:30: warning: passing arguments to '_Xsj3cHiraToZKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | _Xsj3cHiraToZKata(buf, tmp2, tmp1); | ^ mode.c:178:33: warning: passing arguments to '_Xsj3cHAlphaToZAlpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | _Xsj3cHAlphaToZAlpha(buf, string, tmp2); | ^ mode.c:180:30: warning: passing arguments to '_Xsj3cHiraToZKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | _Xsj3cHiraToZKata(buf, string, tmp1); | ^ mode.c:185:26: warning: passing arguments to '_Xsj3cHKataToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | _Xsj3cHKataToHira(buf, tmp1, string); | ^ mode.c:186:22: warning: passing arguments to '_Xsj3cKRConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | _Xsj3cKRConvs(buf, tmp2, tmp1); | ^ mode.c:187:22: warning: passing arguments to '_Xsj3cRKConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | _Xsj3cRKConvs(buf, tmp1, tmp2); | ^ mode.c:188:27: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | _Xsj3cZKanaToHKata(buf, string, tmp1); | ^ mode.c:193:29: warning: passing arguments to '_Xsj3cZAlphaToHAlpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | _Xsj3cZAlphaToHAlpha(buf, tmp2, string); | ^ mode.c:194:22: warning: passing arguments to '_Xsj3cRKConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | _Xsj3cRKConvs(buf, tmp1, tmp2); | ^ mode.c:195:27: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | _Xsj3cZKanaToHKata(buf, tmp2, tmp1); | ^ mode.c:196:26: warning: passing arguments to '_Xsj3cHKataToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | _Xsj3cHKataToHira(buf, tmp1, tmp2); | ^ mode.c:197:22: warning: passing arguments to '_Xsj3cKRConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | _Xsj3cKRConvs(buf, string, tmp1); | ^ mode.c:202:29: warning: passing arguments to '_Xsj3cZAlphaToHAlpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | _Xsj3cZAlphaToHAlpha(buf, tmp2, string); | ^ mode.c:203:22: warning: passing arguments to '_Xsj3cRKConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | _Xsj3cRKConvs(buf, tmp1, tmp2); | ^ mode.c:204:27: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | _Xsj3cZKanaToHKata(buf, tmp2, tmp1); | ^ mode.c:205:26: warning: passing arguments to '_Xsj3cHKataToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | _Xsj3cHKataToHira(buf, tmp1, tmp2); | ^ mode.c:206:22: warning: passing arguments to '_Xsj3cKRConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | _Xsj3cKRConvs(buf, tmp2, tmp1); | ^ mode.c:207:29: warning: passing arguments to '_Xsj3cHAlphaToZAlpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | _Xsj3cHAlphaToZAlpha(buf, string, tmp2); | ^ mode.c:212:27: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | _Xsj3cZKanaToHKata(buf, tmp1, string); | ^ mode.c:213:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | strcpy(string, tmp1); | ^~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:213:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | strcpy(string, tmp1); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:218:29: warning: passing arguments to '_Xsj3cHankakuToZKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | _Xsj3cHankakuToZKata(buf, tmp1, string); | ^ mode.c:219:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 219 | strcpy(string, tmp1); | ^~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:219:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 219 | strcpy(string, tmp1); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:224:27: warning: passing arguments to '_Xsj3cLowerToUpper' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | _Xsj3cLowerToUpper(buf, string); | ^ mode.c:229:27: warning: passing arguments to '_Xsj3cUpperToLower' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | _Xsj3cUpperToLower(buf, string); | ^ mode.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | Xsj3cModeConv(buf, string, postmode, size) | ^ mode.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | Xsj3cEvent Xsj3cModeConv(); | ^ mode.c:296:22: warning: call to undeclared function '_Xsj3cRomaConv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | if ((value = _Xsj3cRomaConv(buf->rktable, rbuf, ybuf)) > 0) { | ^ mode.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | _Xsj3cRKConvs(buf, yomi, alpha) | ^ mode.c:53:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static void _Xsj3cRKConvs(); | ^ mode.c:374:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | Xsj3cWarning("wrong sjhk table"); | ^ mode.c:395:37: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | Xsj3cWarning("can't convert to halpha %#x",s); | ^ mode.c:411:19: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 411 | plen = strlen(tyomi); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ mode.c:423:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 423 | && !strncmp(rktp->yomi, p, rktp->ylen)) { | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:101:49: note: passing argument to parameter '__s1' here 101 | int strncmp(const char *_LIBC_UNSAFE_INDEXABLE __s1, | ^ mode.c:423:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 423 | && !strncmp(rktp->yomi, p, rktp->ylen)) { | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:102:38: note: passing argument to parameter '__s2' here 102 | const char *_LIBC_UNSAFE_INDEXABLE __s2, size_t __n); | ^ mode.c:428:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 428 | if (t = buf->plosive) { | ~~^~~~~~~~~~~~~~ mode.c:428:35: note: place parentheses around the assignment to silence this warning 428 | if (t = buf->plosive) { | ^ | ( ) mode.c:428:35: note: use '==' to turn this assignment into an equality comparison 428 | if (t = buf->plosive) { | ^ | == mode.c:463:36: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 463 | strcpy(tmp, rktp->roma); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:463:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 463 | strcpy(tmp, rktp->roma); | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:471:38: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 471 | } else if (d = buf->rkdouble) { | ~~^~~~~~~~~~~~~~~ mode.c:471:38: note: place parentheses around the assignment to silence this warning 471 | } else if (d = buf->rkdouble) { | ^ | ( ) mode.c:471:38: note: use '==' to turn this assignment into an equality comparison 471 | } else if (d = buf->rkdouble) { | ^ | == mode.c:473:36: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 473 | strcpy(tmp, rktp->roma); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:473:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 473 | strcpy(tmp, rktp->roma); | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:488:36: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 488 | strcpy(tmp, rktp->roma); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:488:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 488 | strcpy(tmp, rktp->roma); | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | _Xsj3cKRConvs(buf, roma, kana) | ^ mode.c:54:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void _Xsj3cKRConvs(); | ^ mode.c:633:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | Xsj3cWarning("wrong sjhk table"); | ^ mode.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | _Xsj3cHiraToZKata(buf, dest, src) | ^ mode.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | void _Xsj3cHiraToZKata(); | ^ mode.c:684:36: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 684 | strcpy(tmp, hktp->hira); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:684:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 684 | strcpy(tmp, hktp->hira); | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:688:32: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 688 | strcpy(tmp, hktp->hira); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:688:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 688 | strcpy(tmp, hktp->hira); | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:693:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 693 | strcpy(dest, tmp); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:693:30: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 693 | strcpy(dest, tmp); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:694:32: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 694 | dest += strlen(tmp); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ mode.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | _Xsj3cHankakuToHira(buf, dest, src) | ^ mode.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | void _Xsj3cHankakuToHira(); | ^ mode.c:748:36: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 748 | strcpy(tmp, hktp->zkata); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:748:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 748 | strcpy(tmp, hktp->zkata); | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:752:32: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 752 | strcpy(tmp, hktp->zkata); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:752:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 752 | strcpy(tmp, hktp->zkata); | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:758:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 758 | strcpy(dest, tmp); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:758:30: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 758 | strcpy(dest, tmp); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:759:32: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 759 | dest += strlen(tmp); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ mode.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | _Xsj3cHankakuToZKata(buf, dest, src) | ^ mode.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | void _Xsj3cHankakuToZKata(); | ^ mode.c:814:36: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 814 | strcpy(tmp, hktp->hira); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:814:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 814 | strcpy(tmp, hktp->hira); | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:818:32: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 818 | strcpy(tmp, hktp->hira); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:818:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 818 | strcpy(tmp, hktp->hira); | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:823:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 823 | strcpy(dest, tmp); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:823:30: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 823 | strcpy(dest, tmp); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:824:32: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 824 | dest += strlen(tmp); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ mode.c:789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | _Xsj3cHKataToHira(buf, dest, src) | ^ mode.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | void _Xsj3cHKataToHira(); | ^ mode.c:869:36: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 869 | strcpy(tmp, hktp->zkata); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:869:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 869 | strcpy(tmp, hktp->zkata); | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:873:32: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 873 | strcpy(tmp, hktp->zkata); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:873:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 873 | strcpy(tmp, hktp->zkata); | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:879:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 879 | strcpy(dest, tmp); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ mode.c:879:30: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 879 | strcpy(dest, tmp); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mode.c:880:32: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 880 | dest += strlen(tmp); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ mode.c:845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | _Xsj3cHKataToZKata(buf, dest, src) | ^ mode.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | void _Xsj3cHKataToZKata(); | ^ mode.c:928:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | Xsj3cWarning("wrong sjhk table"); | ^ mode.c:943:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | Xsj3cWarning("wrong sjhk table"); | ^ mode.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | _Xsj3cZKanaToHKata(buf, dest, src) | ^ mode.c:44:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | void _Xsj3cZKanaToHKata(); | ^ mode.c:1001:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | Xsj3cWarning("wrong sjhk table"); | ^ mode.c:976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | _Xsj3cZKataToHira(buf, dest, src) | ^ mode.c:45:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | void _Xsj3cZKataToHira(); | ^ mode.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | _Xsj3cHAlphaToZAlpha(buf, dest, src) | ^ mode.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | void _Xsj3cHAlphaToZAlpha(); | ^ mode.c:1056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | _Xsj3cHAlphaToZKana(buf, dest, src) | ^ mode.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | void _Xsj3cHAlphaToZKana(); | ^ mode.c:1085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | _Xsj3cHAlphaToHKata(buf, dest, src) | ^ mode.c:48:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | void _Xsj3cHAlphaToHKata(); | ^ mode.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | _Xsj3cZAlphaToHAlpha(buf, dest, src) | ^ mode.c:49:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | void _Xsj3cZAlphaToHAlpha(); | ^ mode.c:1143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | _Xsj3cLowerToUpper(buf, str) | ^ mode.c:51:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static void _Xsj3cLowerToUpper(); | ^ mode.c:1170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | _Xsj3cUpperToLower(buf, str) | ^ mode.c:52:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static void _Xsj3cUpperToLower(); | ^ mode.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: mode.c,v 2.6 1993/01/06 10:58:18 nao Exp $"; | ^~~~~ 131 warnings generated. rm -f segment.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT segment.c segment.c:53:27: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | if (!(seg = (Xsj3cSeg)malloc(sizeof(Xsj3cSegRec)))) { | ^ segment.c:53:27: note: include the header or explicitly provide a declaration for 'malloc' segment.c:69:23: warning: passing arguments to 'Xsj3cResizeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | Xsj3cResizeSegment(seg, KANABUFSIZ); | ^ segment.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | Xsj3cCreateSegment(buf) | ^ segment.c:31:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | Xsj3cSeg Xsj3cCreateSegment(); | ^ segment.c:95:9: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | free(seg->str); | ^ segment.c:95:9: note: include the header or explicitly provide a declaration for 'free' segment.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | Xsj3cFreeSegment(seg) | ^ segment.c:32:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | void Xsj3cFreeSegment(); | ^ segment.c:123:40: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | if (!(seg->yomi = (wchar *)realloc(seg->yomi, | ^ segment.c:123:40: note: include the header or explicitly provide a declaration for 'realloc' segment.c:125:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | Xsj3cError("Failed to reallocate yomi buffer"); | ^ segment.c:128:40: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | if (!(seg->yomi = (wchar *)calloc(KANABUFSIZ, sizeof(wchar)))) { | ^ segment.c:128:40: note: include the header or explicitly provide a declaration for 'calloc' segment.c:129:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | Xsj3cError("Failed to allocate yomi buffer"); | ^ segment.c:135:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | Xsj3cError("Failed to reallocate display buffer"); | ^ segment.c:139:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | Xsj3cError("Failed to allocate display buffer"); | ^ segment.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | Xsj3cResizeSegment(seg, size) | ^ segment.c:33:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | void Xsj3cResizeSegment(); | ^ segment.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | Xsj3cClearSegment(buf, seg) | ^ segment.c:34:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | void Xsj3cClearSegment(); | ^ segment.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | Xsj3cGetModeStr(buf, len) | ^ segment.c:38:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | wchar *Xsj3cGetModeStr(); | ^ segment.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | Xsj3cGetPosition(buf, curseg, pos) | ^ segment.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | int Xsj3cGetPosition(); | ^ segment.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | Xsj3cGetSegNum(buf) | ^ segment.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | int Xsj3cGetSegNum(); | ^ segment.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | Xsj3cGetSeg(buf, n, len, attr) | ^ segment.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | wchar *Xsj3cGetSeg(); | ^ segment.c:279:20: warning: passing arguments to '_Xsj3cFlushDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | _Xsj3cFlushDcid(buf); | ^ segment.c:281:26: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | Xsj3cEndCandidate(buf, ON); | ^ segment.c:284:19: warning: passing arguments to '_Xsj3cWcat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | _Xsj3cWcat(data, buf->input[i]->disp); | ^ segment.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | Xsj3cGetConvertedStr(buf, data) | ^ segment.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | wchar *Xsj3cGetConvertedStr(); | ^ segment.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | Xsj3cGetConvertedLength(buf) | ^ segment.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | int Xsj3cGetConvertedLength(); | ^ segment.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: segment.c,v 2.0 1992/02/13 18:33:33 nao Exp $"; | ^~~~~ 33 warnings generated. rm -f sj3ctype.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT sj3ctype.c sj3ctype.c:31:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31 | 0x81, 0x9f, 0xe0, 0xfc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sj3ctype.c:32:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32 | 0xa1, 0xfe, 0xa1, 0xfe, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sj3ctype.c:33:5: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 33 | NULL, NULL, NULL, NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:33:13: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 33 | NULL, NULL, NULL, NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:33:21: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 33 | NULL, NULL, NULL, NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:33:29: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 33 | NULL, NULL, NULL, NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:33:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 33 | NULL, NULL, NULL, NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^ sj3ctype.c:34:5: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 34 | NULL, NULL, NULL, NULL | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:34:13: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 34 | NULL, NULL, NULL, NULL | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:34:21: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 34 | NULL, NULL, NULL, NULL | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:34:29: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 34 | NULL, NULL, NULL, NULL | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:34:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 34 | NULL, NULL, NULL, NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^ sj3ctype.c:38:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 38 | 0x40, 0x7e, 0x80, 0xfc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sj3ctype.c:39:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 39 | 0xa1, 0xfe, 0xa1, 0xfe, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sj3ctype.c:40:5: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 40 | NULL, NULL, NULL, NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:40:13: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 40 | NULL, NULL, NULL, NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:40:21: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 40 | NULL, NULL, NULL, NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:40:29: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 40 | NULL, NULL, NULL, NULL, | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:40:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 40 | NULL, NULL, NULL, NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^ sj3ctype.c:41:5: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 41 | NULL, NULL, NULL, NULL | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:41:13: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 41 | NULL, NULL, NULL, NULL | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:41:21: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 41 | NULL, NULL, NULL, NULL | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:41:29: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 41 | NULL, NULL, NULL, NULL | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:41:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 41 | NULL, NULL, NULL, NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^ sj3ctype.c:45:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 45 | 0x829f, 0x82f1, | ^~~~~~~~~~~~~~ | { } sj3ctype.c:46:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 46 | 0xa4a1, 0xa4f3 | ^~~~~~~~~~~~~~ | { } sj3ctype.c:50:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 50 | 0x8340, 0x8396, 0x837f, | ^~~~~~~~~~~~~~~~~~~~~~ | { } sj3ctype.c:51:21: warning: incompatible pointer to integer conversion initializing 'wchar' (aka 'unsigned short') with an expression of type 'void *' [-Wint-conversion] 51 | 0xa5a1, 0xa5f6, NULL | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ sj3ctype.c:51:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 51 | 0xa5a1, 0xa5f6, NULL | ^~~~~~~~~~~~~~~~~~~~ | { } sj3ctype.c:55:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 55 | 0x8260, 0x829a, | ^~~~~~~~~~~~~~ | { } sj3ctype.c:56:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 56 | 0xa3c1, 0xa3fa | ^~~~~~~~~~~~~~ | { } sj3ctype.c:60:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 60 | 0x8260, 0x8279, | ^~~~~~~~~~~~~~ | { } sj3ctype.c:61:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 61 | 0xa3c1, 0xa3da | ^~~~~~~~~~~~~~ | { } sj3ctype.c:65:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 65 | 0x8281, 0x829a, | ^~~~~~~~~~~~~~ | { } sj3ctype.c:66:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 66 | 0xa3e1, 0xa3fa | ^~~~~~~~~~~~~~ | { } sj3ctype.c:70:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 70 | 0x82c1, 0x8362, | ^~~~~~~~~~~~~~ | { } sj3ctype.c:71:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 71 | 0xa4c3, 0xa5c3 | ^~~~~~~~~~~~~~ | { } sj3ctype.c:75:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 75 | 0x814a, 0x814b, | ^~~~~~~~~~~~~~ | { } sj3ctype.c:76:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 76 | 0xa1ab, 0xa1ac | ^~~~~~~~~~~~~~ | { } sj3ctype.c:80:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 80 | 0x829f, 0x82a8, 0x8340, 0x8349, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sj3ctype.c:81:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 81 | 0xa4a1, 0xa4aa, 0xa5a1, 0xa5aa | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sj3ctype.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: sj3ctype.c,v 2.2 1993/01/21 10:54:39 nao Exp $"; | ^~~~~ 42 warnings generated. rm -f sjrc.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT sjrc.c sjrc.c:98:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 98 | "key", _Xsj3cSetKeyTable, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:99:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 99 | "escape", _Xsj3cSetKeyTable, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:100:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 100 | "sjxkey", _Xsj3cSetKeyTable, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:101:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 101 | "ki2key", _Xsj3cSetKeyTable, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:102:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 102 | "initialmode", _Xsj3cSetInputMode, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:103:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 103 | "defaultcode", _Xsj3cSetDefCode, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:104:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 104 | "muhenkanmode", _Xsj3cSetMuhenkan, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:105:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 105 | "muhenkaninedit", _Xsj3cSetMuEdit, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:106:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 106 | "muhenkantoggle", _Xsj3cSetMToggle, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:107:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 107 | "guide", _Xsj3cSetGuide, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:108:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 108 | "bstudy", _Xsj3cSetBStudy, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:109:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 109 | "rkerrbell", _Xsj3cSetRkeBell, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:110:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 110 | "flushafterconversion", _Xsj3cSetFlushAfterConv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:111:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 111 | "server", _Xsj3cSetSj3Serv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:112:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 112 | "sj3serv", _Xsj3cSetSj3Serv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:113:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 113 | "setnormal", _Xsj3cSetNormal, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:114:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 114 | "throughnext", _Xsj3cSetThroughNext, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:115:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 115 | "sj3serv2", _Xsj3cSetSj3Serv2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:116:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 116 | "flushinconversion", _Xsj3cSetFlushInConv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:117:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 117 | "flushselectconversion", _Xsj3cSetFlushSelectConv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:118:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 118 | "flushendconversion", _Xsj3cSetFlushEndConv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:119:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 119 | "alphabetconversion", _Xsj3cSetAlphaConv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:120:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 120 | "backdisplay", _Xsj3cSetBackDisplay, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:121:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 121 | "beginconversionlast", _Xsj3cSetSegLast, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:122:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 122 | "expandmodeconversion", _Xsj3cSetExpandMConv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:123:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 123 | "shrinkmodeconversion", _Xsj3cSetShrinkMConv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:124:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 124 | "expandkanjiconversion", _Xsj3cSetExpandKConv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:125:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 125 | "shrinkkanjiconversion", _Xsj3cSetShrinkKConv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:126:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 126 | "shrinkall", _Xsj3cSetShrinkAll, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:127:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 127 | "henkansegment", _Xsj3cSetConvSeg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:128:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 128 | "muhenkansegment", _Xsj3cSetUnconvSeg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:129:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 129 | "deletechangesegment", _Xsj3cSetDelChange, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:130:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 130 | "flushchangesegment", _Xsj3cSetFlushChange, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:131:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 131 | "modeconversion", _Xsj3cSetModeConv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:132:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 132 | "moveloop", _Xsj3cSetMoveLoop, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:133:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 133 | "movebysegment", _Xsj3cSetModeBySeg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:134:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 134 | "jumpbysegment", _Xsj3cSetJumpBySeg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:135:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 135 | "deletebysegment", _Xsj3cSetDelBySeg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:136:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 136 | "killbysegment", _Xsj3cSetKillBySeg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:137:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 137 | "muhenkancursorlast", _Xsj3cSetMuhenCursorLast, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:138:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 138 | "editkancursorlast", _Xsj3cSetEditCursorLast, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:139:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 139 | "flushkancursorlast", _Xsj3cSetFlushCursorLast, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:140:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 140 | "convertedunderline", _Xsj3cSetUnderLine, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:141:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 141 | "displaymodechange", _Xsj3cSetDispMChange, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:142:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 142 | "deletelastmove", _Xsj3cSetDelLastMove, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:143:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 143 | "kanainputonly", _Xsj3cSetKanaInput, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:144:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 144 | "inputsametime", _Xsj3cSetInputSame, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:145:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 145 | "controlsametime", _Xsj3cSetCntrlSame, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:146:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 146 | "printmode", _Xsj3cSetPrintMode, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:147:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 147 | "beforeselectconversion", _Xsj3cSetSelectConv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:148:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 148 | "beforeconversion", _Xsj3cSetBeforeConv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:149:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 149 | "lastdoubleconversion", _Xsj3cSetLastDoubleConv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:150:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 150 | "beforeselectcount", _Xsj3cSetSelectCount, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:151:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 151 | "selectbackspacemove", _Xsj3cSetSelectBackMove, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:152:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 152 | "candidatepadding", _Xsj3cSetCandidatePad, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:153:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 153 | "nextrcfile", _Xsj3cSetNextRCFile, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:154:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 154 | "include", _Xsj3cSetIncludeRCFile, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } sjrc.c:155:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 155 | NULL, NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^ sjrc.c:188:36: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | if ((buf->rcfile = (char *)malloc(BUFSIZ)) == NULL) | ^ sjrc.c:188:36: note: include the header or explicitly provide a declaration for 'malloc' sjrc.c:189:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | Xsj3cError("Can't allocate sjrc file"); | ^ sjrc.c:195:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | Xsj3cError("can't open sjrc file %s", sjrc); | ^ sjrc.c:198:28: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | if ((p = getenv("SJRC")) && *p != '\0') { | ^ sjrc.c:216:31: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | Xsj3cError("can't open sjrc file %s", buf->rcfile); | ^ sjrc.c:222:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | Xsj3cWarning("can't open sjrc file %s", buf->rcfile); | ^ sjrc.c:230:25: warning: passing arguments to '_Xsj3cReadRC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | _Xsj3cReadRC(fp, &rctable)) != END; line++) { | ^ sjrc.c:234:30: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | if (_Xsj3cCmp(rctable.key[0], functp->keyword)) { | ^ sjrc.c:235:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | if (!(*(functp->func))(buf, &rctable)) | ^ sjrc.c:236:37: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | Xsj3cWarning("wrong format in sjrc file. %s:%d", | ^ sjrc.c:245:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | Xsj3cWarning("bad line in sjrc file. %s:%d", buf->rcfile, line); | ^ sjrc.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | Xsj3cRCInit(buf, sjrc, home) | ^ sjrc.c:35:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | void Xsj3cRCInit(); | ^ sjrc.c:264:17: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 264 | if ((fgets (buf, sizeof(buf), fp)) == NULL) | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:239:61: note: passing argument to parameter here 239 | char *_LIBC_CSTR fgets(char * __restrict _LIBC_COUNT(__size), int __size, FILE *); | ^ sjrc.c:283:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 283 | if (!strcmp(&buf[j],SERIAL) || !strcmp(&buf[j],SERIAL2) | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ sjrc.c:283:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 283 | if (!strcmp(&buf[j],SERIAL) || !strcmp(&buf[j],SERIAL2) | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ sjrc.c:284:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 284 | || !strcmp(&buf[j],SERIAL3)) | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ sjrc.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | _Xsj3cReadRC(fp, rctable) | ^ sjrc.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static int _Xsj3cReadRC(); | ^ sjrc.c:403:26: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | if (_Xsj3cCmp(table->value[j], "hiragana")) { | ^ sjrc.c:405:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | } else if (_Xsj3cCmp(table->value[j], "zkatakana")) { | ^ sjrc.c:407:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | } else if (_Xsj3cCmp(table->value[j], "hkatakana")) { | ^ sjrc.c:409:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | } else if (_Xsj3cCmp(table->value[j], "halpha")) { | ^ sjrc.c:411:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | } else if (_Xsj3cCmp(table->value[j], "zalpha")) { | ^ sjrc.c:413:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | } else if (_Xsj3cCmp(table->value[j], "jis")) { | ^ sjrc.c:415:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | } else if (_Xsj3cCmp(table->value[j], "sjis")) { | ^ sjrc.c:417:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | } else if (_Xsj3cCmp(table->value[j], "kuten")) { | ^ sjrc.c:419:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | } else if (_Xsj3cCmp(table->value[j], "euc")) { | ^ sjrc.c:422:31: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | if (!_Xsj3cCmp(table->value[j], "unbuff") | ^ sjrc.c:423:38: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | && !_Xsj3cCmp(table->value[j], "buffer") | ^ sjrc.c:424:38: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | && !_Xsj3cCmp(table->value[j], "unbuffer") | ^ sjrc.c:425:38: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | && !_Xsj3cCmp(table->value[j], "direct")) | ^ sjrc.c:426:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | Xsj3cWarning("Unknown input mode \"%s\"",table->value[j]); | ^ sjrc.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | _Xsj3cSetInputMode(buf, table) | ^ sjrc.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | static int _Xsj3cSetInputMode(); | ^ sjrc.c:453:26: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | if (_Xsj3cCmp(table->value[j], "hiragana")) { | ^ sjrc.c:455:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | } else if (_Xsj3cCmp(table->value[j], "zkatakana")) { | ^ sjrc.c:457:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | } else if (_Xsj3cCmp(table->value[j], "hkatakana")) { | ^ sjrc.c:459:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | } else if (_Xsj3cCmp(table->value[j], "halpha")) { | ^ sjrc.c:461:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | } else if (_Xsj3cCmp(table->value[j], "zalpha")) { | ^ sjrc.c:463:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | } else if (_Xsj3cCmp(table->value[j], "hankaku")) { | ^ sjrc.c:465:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | } else if (_Xsj3cCmp(table->value[j], "zenkaku")) { | ^ sjrc.c:467:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | } else if (_Xsj3cCmp(table->value[j], "upper")) { | ^ sjrc.c:469:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | } else if (_Xsj3cCmp(table->value[j], "lower")) { | ^ sjrc.c:472:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | Xsj3cWarning("Unknown print mode \"%s\"",table->value[j]); | ^ sjrc.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | _Xsj3cSetPrintMode(buf, table) | ^ sjrc.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static int _Xsj3cSetPrintMode(); | ^ sjrc.c:499:26: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | if (_Xsj3cCmp(table->value[i], "jis")) { | ^ sjrc.c:501:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | } else if (_Xsj3cCmp(table->value[i], "sjis")) { | ^ sjrc.c:503:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | } else if (_Xsj3cCmp(table->value[i], "kuten")) { | ^ sjrc.c:505:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | } else if (_Xsj3cCmp(table->value[i], "euc")) { | ^ sjrc.c:508:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | Xsj3cWarning("Unknown input code"); | ^ sjrc.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | _Xsj3cSetDefCode(buf, table) | ^ sjrc.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static int _Xsj3cSetDefCode(); | ^ sjrc.c:531:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | if (_Xsj3cCmp(table->value[0], "hiragana")) { | ^ sjrc.c:533:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | } else if (_Xsj3cCmp(table->value[0], "zkatakana")) { | ^ sjrc.c:535:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | } else if (_Xsj3cCmp(table->value[0], "hkatakana")) { | ^ sjrc.c:537:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | } else if (_Xsj3cCmp(table->value[0], "halpha")) { | ^ sjrc.c:539:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | } else if (_Xsj3cCmp(table->value[0], "zalpha")) { | ^ sjrc.c:541:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | } else if (_Xsj3cCmp(table->value[0], "jis")) { | ^ sjrc.c:543:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | } else if (_Xsj3cCmp(table->value[0], "sjis")) { | ^ sjrc.c:545:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | } else if (_Xsj3cCmp(table->value[0], "kuten")) { | ^ sjrc.c:547:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | } else if (_Xsj3cCmp(table->value[0], "euc")) { | ^ sjrc.c:550:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | Xsj3cWarning("Invalid muhenkan mode \"%s\"",table->value[0]); | ^ sjrc.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | _Xsj3cSetMuhenkan(buf, table) | ^ sjrc.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static int _Xsj3cSetMuhenkan(); | ^ sjrc.c:566:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | if (_Xsj3cCmp(table->value[0], "hiragana")) { | ^ sjrc.c:568:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | } else if (_Xsj3cCmp(table->value[0], "zkatakana")) { | ^ sjrc.c:570:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | } else if (_Xsj3cCmp(table->value[0], "hkatakana")) { | ^ sjrc.c:572:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | } else if (_Xsj3cCmp(table->value[0], "halpha")) { | ^ sjrc.c:574:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | } else if (_Xsj3cCmp(table->value[0], "zalpha")) { | ^ sjrc.c:576:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | } else if (_Xsj3cCmp(table->value[0], "jis")) { | ^ sjrc.c:578:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | } else if (_Xsj3cCmp(table->value[0], "sjis")) { | ^ sjrc.c:580:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | } else if (_Xsj3cCmp(table->value[0], "kuten")) { | ^ sjrc.c:582:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | } else if (_Xsj3cCmp(table->value[0], "euc")) { | ^ sjrc.c:585:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | Xsj3cWarning("Unknown toggle mode"); | ^ sjrc.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | _Xsj3cSetMuEdit(buf, table) | ^ sjrc.c:44:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static int _Xsj3cSetMuEdit(); | ^ sjrc.c:603:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | _Xsj3cSetMToggle(buf, table) | ^ sjrc.c:45:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static int _Xsj3cSetMToggle(); | ^ sjrc.c:623:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | if (_Xsj3cCmp(table->key[1], "hiragana")) { | ^ sjrc.c:625:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | } else if (_Xsj3cCmp(table->key[1], "zkatakana")) { | ^ sjrc.c:627:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | } else if (_Xsj3cCmp(table->key[1], "hkatakana")) { | ^ sjrc.c:629:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | } else if (_Xsj3cCmp(table->key[1], "halpha")) { | ^ sjrc.c:631:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | } else if (_Xsj3cCmp(table->key[1], "zalpha")) { | ^ sjrc.c:633:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | } else if (_Xsj3cCmp(table->key[1], "jis")) { | ^ sjrc.c:635:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | } else if (_Xsj3cCmp(table->key[1], "sjis")) { | ^ sjrc.c:637:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | } else if (_Xsj3cCmp(table->key[1], "kuten")) { | ^ sjrc.c:639:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | } else if (_Xsj3cCmp(table->key[1], "euc")) { | ^ sjrc.c:641:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | } else if (_Xsj3cCmp(table->key[1], "toroku")) { | ^ sjrc.c:643:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | } else if (_Xsj3cCmp(table->key[1], "register")) { | ^ sjrc.c:645:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | } else if (_Xsj3cCmp(table->key[1], "syoukyo")) { | ^ sjrc.c:647:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | } else if (_Xsj3cCmp(table->key[1], "eliminate")) { | ^ sjrc.c:649:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | } else if (_Xsj3cCmp(table->key[1], "kanji")) { | ^ sjrc.c:651:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | } else if (_Xsj3cCmp(table->key[1], "edit")) { | ^ sjrc.c:653:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | } else if (_Xsj3cCmp(table->key[1], "candidate")) { | ^ sjrc.c:655:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | } else if (_Xsj3cCmp(table->key[1], "symbol")) { | ^ sjrc.c:657:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | } else if (_Xsj3cCmp(table->key[1], "hinsi")) { | ^ sjrc.c:659:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | } else if (_Xsj3cCmp(table->key[1], "quote")) { | ^ sjrc.c:662:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | Xsj3cWarning("Unknown display mode key \"%s\"",table->key[1]); | ^ sjrc.c:665:24: warning: passing arguments to '_Xsj3cmINtowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | _Xsj3cmINtowOUT(buf->rcfile, table->value[0], data, | ^ sjrc.c:670:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | Xsj3cError("Cannot allocate for mode string"); | ^ sjrc.c:672:49: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 672 | if (!(buf->modestr[mode] = (wchar *)realloc(buf->modestr[mode], | ^ sjrc.c:672:49: note: include the header or explicitly provide a declaration for 'realloc' sjrc.c:674:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | Xsj3cError("Cannot reallocate for mode string"); | ^ sjrc.c:676:19: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | _Xsj3cWcpy(buf->modestr[mode], data); | ^ sjrc.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | _Xsj3cSetGuide(buf, table) | ^ sjrc.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | int _Xsj3cSetGuide(); | ^ sjrc.c:694:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | _Xsj3cSetBStudy(buf, table) | ^ sjrc.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static int _Xsj3cSetBStudy(); | ^ sjrc.c:712:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | _Xsj3cSetFlushAfterConv(buf, table) | ^ sjrc.c:49:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static int _Xsj3cSetFlushAfterConv(); | ^ sjrc.c:730:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:732:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | else if (_Xsj3cCmp(table->value[0],"off")) | ^ sjrc.c:734:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | else if (_Xsj3cCmp(table->value[0],"edit")) | ^ sjrc.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | _Xsj3cSetFlushInConv(buf, table) | ^ sjrc.c:55:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static int _Xsj3cSetFlushInConv(); | ^ sjrc.c:752:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:754:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | else if (_Xsj3cCmp(table->value[0],"off")) | ^ sjrc.c:756:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | else if (_Xsj3cCmp(table->value[0],"edit")) | ^ sjrc.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | _Xsj3cSetFlushSelectConv(buf, table) | ^ sjrc.c:56:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | static int _Xsj3cSetFlushSelectConv(); | ^ sjrc.c:774:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | _Xsj3cSetFlushEndConv(buf, table) | ^ sjrc.c:57:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | static int _Xsj3cSetFlushEndConv(); | ^ sjrc.c:792:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | _Xsj3cSetRkeBell(buf, table) | ^ sjrc.c:48:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static int _Xsj3cSetRkeBell(); | ^ sjrc.c:810:24: warning: passing arguments to '_Xsj3cReadAscii' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | _Xsj3cReadAscii(buf->rcfile, table->value[0], hostname1); | ^ sjrc.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | _Xsj3cSetSj3Serv(buf, table) | ^ sjrc.c:50:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static int _Xsj3cSetSj3Serv(); | ^ sjrc.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | _Xsj3cSetNormal(buf, table) | ^ sjrc.c:51:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static int _Xsj3cSetNormal(); | ^ sjrc.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | _Xsj3cSetThroughNext(buf, table) | ^ sjrc.c:52:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static int _Xsj3cSetThroughNext(); | ^ sjrc.c:897:24: warning: passing arguments to '_Xsj3cReadAscii' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | _Xsj3cReadAscii(buf->rcfile, table->value[0], hostname2); | ^ sjrc.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | _Xsj3cSetSj3Serv2(buf, table) | ^ sjrc.c:54:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static int _Xsj3cSetSj3Serv2(); | ^ sjrc.c:915:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | _Xsj3cSetAlphaConv(buf, table) | ^ sjrc.c:58:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static int _Xsj3cSetAlphaConv(); | ^ sjrc.c:933:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | _Xsj3cSetBackDisplay(buf, table) | ^ sjrc.c:59:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static int _Xsj3cSetBackDisplay(); | ^ sjrc.c:951:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:953:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | else if (_Xsj3cCmp(table->value[0],"off")) | ^ sjrc.c:945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | _Xsj3cSetSegLast(buf, table) | ^ sjrc.c:60:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | static int _Xsj3cSetSegLast(); | ^ sjrc.c:971:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | _Xsj3cSetShrinkAll(buf, table) | ^ sjrc.c:65:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | static int _Xsj3cSetShrinkAll(); | ^ sjrc.c:989:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | if (_Xsj3cCmp(table->value[0],"all")) | ^ sjrc.c:991:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | else if (_Xsj3cCmp(table->value[0],"after")) | ^ sjrc.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | _Xsj3cSetDelChange(buf, table) | ^ sjrc.c:68:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | static int _Xsj3cSetDelChange(); | ^ sjrc.c:1009:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | if (_Xsj3cCmp(table->value[0],"all")) | ^ sjrc.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | _Xsj3cSetFlushChange(buf, table) | ^ sjrc.c:69:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | static int _Xsj3cSetFlushChange(); | ^ sjrc.c:1029:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1033:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | _Xsj3cSetExpandKConv(buf, table) | ^ sjrc.c:63:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | static int _Xsj3cSetExpandKConv(); | ^ sjrc.c:1054:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1058:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | _Xsj3cSetShrinkKConv(buf, table) | ^ sjrc.c:64:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | static int _Xsj3cSetShrinkKConv(); | ^ sjrc.c:1079:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1083:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | _Xsj3cSetExpandMConv(buf, table) | ^ sjrc.c:61:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static int _Xsj3cSetExpandMConv(); | ^ sjrc.c:1104:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1104 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1108:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | _Xsj3cSetShrinkMConv(buf, table) | ^ sjrc.c:62:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | static int _Xsj3cSetShrinkMConv(); | ^ sjrc.c:1127:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | _Xsj3cSetMoveLoop(buf, table) | ^ sjrc.c:71:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static int _Xsj3cSetMoveLoop(); | ^ sjrc.c:1147:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1151:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | _Xsj3cSetJumpBySeg(buf, table) | ^ sjrc.c:73:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static int _Xsj3cSetJumpBySeg(); | ^ sjrc.c:1172:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1176:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | _Xsj3cSetModeBySeg(buf, table) | ^ sjrc.c:72:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static int _Xsj3cSetModeBySeg(); | ^ sjrc.c:1197:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1201:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | _Xsj3cSetDelBySeg(buf, table) | ^ sjrc.c:74:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | static int _Xsj3cSetDelBySeg(); | ^ sjrc.c:1222:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1226:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | _Xsj3cSetKillBySeg(buf, table) | ^ sjrc.c:75:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | static int _Xsj3cSetKillBySeg(); | ^ sjrc.c:1245:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | _Xsj3cSetMuhenCursorLast(buf, table) | ^ sjrc.c:76:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static int _Xsj3cSetMuhenCursorLast(); | ^ sjrc.c:1263:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | _Xsj3cSetEditCursorLast(buf, table) | ^ sjrc.c:77:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | static int _Xsj3cSetEditCursorLast(); | ^ sjrc.c:1281:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | _Xsj3cSetFlushCursorLast(buf, table) | ^ sjrc.c:78:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static int _Xsj3cSetFlushCursorLast(); | ^ sjrc.c:1299:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | if (_Xsj3cCmp(table->value[0],"all")) | ^ sjrc.c:1301:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | else if (_Xsj3cCmp(table->value[0],"after")) | ^ sjrc.c:1293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | _Xsj3cSetUnconvSeg(buf, table) | ^ sjrc.c:67:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static int _Xsj3cSetUnconvSeg(); | ^ sjrc.c:1319:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1319 | if (_Xsj3cCmp(table->value[0],"all")) | ^ sjrc.c:1321:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1321 | else if (_Xsj3cCmp(table->value[0],"after")) | ^ sjrc.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | _Xsj3cSetConvSeg(buf, table) | ^ sjrc.c:66:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static int _Xsj3cSetConvSeg(); | ^ sjrc.c:1342:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | if (_Xsj3cCmp(table->key[1], "hiragana")) { | ^ sjrc.c:1344:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | } else if (_Xsj3cCmp(table->key[1], "zkatakana")) { | ^ sjrc.c:1346:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | } else if (_Xsj3cCmp(table->key[1], "hkatakana")) { | ^ sjrc.c:1348:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | } else if (_Xsj3cCmp(table->key[1], "halpha")) { | ^ sjrc.c:1350:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1350 | } else if (_Xsj3cCmp(table->key[1], "zalpha")) { | ^ sjrc.c:1352:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | } else if (_Xsj3cCmp(table->key[1], "rollup")) { | ^ sjrc.c:1354:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1354 | } else if (_Xsj3cCmp(table->key[1], "rolldown")) { | ^ sjrc.c:1357:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1357 | Xsj3cWarning("Unknown conversion mode"); | ^ sjrc.c:1359:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1359 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1363:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1367:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | if (_Xsj3cCmp(table->value[2],"on")) | ^ sjrc.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | _Xsj3cSetModeConv(buf, table) | ^ sjrc.c:70:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static int _Xsj3cSetModeConv(); | ^ sjrc.c:1354:20: warning: variable 'mode' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1354 | } else if (_Xsj3cCmp(table->key[1], "rolldown")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sjrc.c:1371:23: note: uninitialized use occurs here 1371 | buf->modeconv[mode] = (noinput << 2) + (conved << 1) + input; | ^~~~ sjrc.c:1354:16: note: remove the 'if' if its condition is always true 1354 | } else if (_Xsj3cCmp(table->key[1], "rolldown")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | mode = MODE_ROLLDOWN; 1356 | } else { | ~~~~~~ 1357 | Xsj3cWarning("Unknown conversion mode"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1358 | } | ~ sjrc.c:1337:29: note: initialize the variable 'mode' to silence this warning 1337 | Xsj3csMode mode; | ^ | = 0 sjrc.c:1389:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | _Xsj3cSetUnderLine(buf, table) | ^ sjrc.c:79:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static int _Xsj3cSetUnderLine(); | ^ sjrc.c:1407:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1407 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | _Xsj3cSetDispMChange(buf, table) | ^ sjrc.c:80:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static int _Xsj3cSetDispMChange(); | ^ sjrc.c:1425:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1419 | _Xsj3cSetDelLastMove(buf, table) | ^ sjrc.c:81:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static int _Xsj3cSetDelLastMove(); | ^ sjrc.c:1443:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | _Xsj3cSetKanaInput(buf, table) | ^ sjrc.c:82:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static int _Xsj3cSetKanaInput(); | ^ sjrc.c:1461:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | _Xsj3cSetInputSame(buf, table) | ^ sjrc.c:83:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static int _Xsj3cSetInputSame(); | ^ sjrc.c:1479:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1479 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1473 | _Xsj3cSetCntrlSame(buf, table) | ^ sjrc.c:84:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static int _Xsj3cSetCntrlSame(); | ^ sjrc.c:1497:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1491 | _Xsj3cSetSelectConv(buf, table) | ^ sjrc.c:85:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static int _Xsj3cSetSelectConv(); | ^ sjrc.c:1515:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1515 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1509 | _Xsj3cSetBeforeConv(buf, table) | ^ sjrc.c:86:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static int _Xsj3cSetBeforeConv(); | ^ sjrc.c:1533:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | _Xsj3cSetLastDoubleConv(buf, table) | ^ sjrc.c:87:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static int _Xsj3cSetLastDoubleConv(); | ^ sjrc.c:1558:24: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1558 | buf->selectcount = atoi(table->value[0]); | ^ sjrc.c:1545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | _Xsj3cSetSelectCount(buf, table) | ^ sjrc.c:88:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static int _Xsj3cSetSelectCount(); | ^ sjrc.c:1573:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1573 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1567 | _Xsj3cSetSelectBackMove(buf, table) | ^ sjrc.c:89:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | static int _Xsj3cSetSelectBackMove(); | ^ sjrc.c:1591:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1591 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1585 | _Xsj3cSetCandidatePad(buf, table) | ^ sjrc.c:90:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static int _Xsj3cSetCandidatePad(); | ^ sjrc.c:1611:24: warning: passing arguments to '_Xsj3cReadAscii' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1611 | _Xsj3cReadAscii(file, table->value[0], buf->rcfile); | ^ sjrc.c:1603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1603 | _Xsj3cSetNextRCFile(buf, table) | ^ sjrc.c:91:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | static int _Xsj3cSetNextRCFile(); | ^ sjrc.c:1635:21: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1635 | Xsj3cWarning("sjrc include nesting too deep"); | ^ sjrc.c:1640:24: warning: passing arguments to '_Xsj3cReadAscii' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1640 | _Xsj3cReadAscii(table->value[0], table->value[0], name); | ^ sjrc.c:1646:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | Xsj3cWarning("can't open include sjrc file %s", file); | ^ sjrc.c:1660:30: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | if (_Xsj3cCmp(rctable.key[0], functp->keyword)) { | ^ sjrc.c:1661:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1661 | if (!(*(functp->func))(buf, &rctable)) | ^ sjrc.c:1662:37: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1662 | Xsj3cWarning("wrong format in include sjrc file. %s:%d", | ^ sjrc.c:1671:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1671 | Xsj3cWarning("bad line in sjrc include file. %s:%d", | ^ sjrc.c:1622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1622 | _Xsj3cSetIncludeRCFile(buf, table) | ^ sjrc.c:92:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static int _Xsj3cSetIncludeRCFile(); | ^ sjrc.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: sjrc.c,v 2.3 1993/01/06 10:56:56 nao Exp $"; | ^~~~~ 333 warnings generated. rm -f symbol.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT symbol.c symbol.c:64:38: warning: passing arguments to '_Xsj3cReadSymbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | if ((value = _Xsj3cReadSymbol(sjsb)) > 0) | ^ symbol.c:65:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | Xsj3cError("can't open sjsb file %s", sjsb); | ^ symbol.c:67:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | Xsj3cError("read failed sjsb file %s", sjsb); | ^ symbol.c:70:24: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | if ((p = getenv("SJSB")) && *p != '\0') { | ^ symbol.c:84:38: warning: passing arguments to '_Xsj3cReadSymbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | if ((value = _Xsj3cReadSymbol(sbfile)) > 0) { | ^ symbol.c:87:42: warning: passing arguments to '_Xsj3cReadSymbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | if ((value = _Xsj3cReadSymbol(sbfile)) > 0) { | ^ symbol.c:88:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | Xsj3cError("can't open sjsb file %s", sbfile); | ^ symbol.c:90:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | Xsj3cError("read failed sjsb file %s", sbfile); | ^ symbol.c:93:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | Xsj3cError("read failed sjsb file %s", sbfile); | ^ symbol.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | _Xsj3cSymbolInit(sjsb, home) | ^ symbol.c:34:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | Xsj3cSymbol _Xsj3cSymbolInit(); | ^ symbol.c:120:18: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 120 | while (fgets(line, sizeof(line), fp) != NULL) { | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:239:61: note: passing argument to parameter here 239 | char *_LIBC_CSTR fgets(char * __restrict _LIBC_COUNT(__size), int __size, FILE *); | ^ symbol.c:126:36: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | if ((symbollist = (Xsj3cSymbol)calloc(i, sizeof(Xsj3cSymbolRec))) == NULL) { | ^ symbol.c:126:36: note: include the header or explicitly provide a declaration for 'calloc' symbol.c:133:18: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 133 | while (fgets(line, sizeof(line), fp) != NULL && j < i) { | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:239:61: note: passing argument to parameter here 239 | char *_LIBC_CSTR fgets(char * __restrict _LIBC_COUNT(__size), int __size, FILE *); | ^ symbol.c:136:33: warning: passing arguments to '_Xsj3cmINtowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | p += _Xsj3cmINtowOUT(file, p, data, &len); | ^ symbol.c:140:50: warning: passing arguments to '_Xsj3cStoreWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | symbollist[j].data = _Xsj3cStoreWchar(data, len + 1); | ^ symbol.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | _Xsj3cReadSymbol(file) | ^ symbol.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static int _Xsj3cReadSymbol(); | ^ symbol.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | Xsj3cGetSymbolNum(buf, cur) | ^ symbol.c:35:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | int Xsj3cGetSymbolNum(); | ^ symbol.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | Xsj3cGetSymbols(buf) | ^ symbol.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | Xsj3cSymbol Xsj3cGetSymbols(); | ^ symbol.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | Xsj3cGetSymbol(buf, n, len) | ^ symbol.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | wchar *Xsj3cGetSymbol(); | ^ symbol.c:218:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | Xsj3cEndCandidate(buf, ON); | ^ symbol.c:223:17: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | Xsj3cFreeSegment(buf->backup[i]); | ^ symbol.c:229:31: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | Xsj3cError("Cannot allocate for backup buffers"); | ^ symbol.c:232:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 232 | if (seg = buf->backup[0]) { | ~~~~^~~~~~~~~~~~~~~~ symbol.c:232:21: note: place parentheses around the assignment to silence this warning 232 | if (seg = buf->backup[0]) { | ^ | ( ) symbol.c:232:21: note: use '==' to turn this assignment into an equality comparison 232 | if (seg = buf->backup[0]) { | ^ | == symbol.c:233:17: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | Xsj3cClearSegment(buf, seg); | ^ symbol.c:235:50: warning: call to undeclared function 'Xsj3cCreateSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | seg = buf->backup[0] = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ symbol.c:235:40: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] 235 | seg = buf->backup[0] = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ symbol.c:242:27: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] 242 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ symbol.c:252:32: warning: passing arguments to '_Xsj3cUnConvSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | _Xsj3cUnConvSeg(buf, ONE, buf->muhencurlast); | ^ symbol.c:253:32: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | _Xsj3cStoreYomi(buf, seg, 0); | ^ symbol.c:258:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 258 | if (seg = buf->input[buf->segnum]) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ symbol.c:258:21: note: place parentheses around the assignment to silence this warning 258 | if (seg = buf->input[buf->segnum]) { | ^ | ( ) symbol.c:258:21: note: use '==' to turn this assignment into an equality comparison 258 | if (seg = buf->input[buf->segnum]) { | ^ | == symbol.c:259:17: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | Xsj3cClearSegment(buf, seg); | ^ symbol.c:262:27: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] 262 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ symbol.c:280:55: warning: call to undeclared function 'Xsj3cCreateSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 280 | seg = buf->input[buf->curseg] = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ symbol.c:280:45: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] 280 | seg = buf->input[buf->curseg] = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ symbol.c:292:20: warning: passing arguments to '_Xsj3cwOUTtowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | _Xsj3cwOUTtowPS(buf, symbol, buf->symbol[sel_symbol].data); | ^ symbol.c:293:22: warning: passing arguments to '_Xsj3cInsertWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | _Xsj3cInsertWchar(seg, symbol, buf->symbol[sel_symbol].len); | ^ symbol.c:294:20: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | _Xsj3cStoreYomi(buf, seg, change_pos); | ^ symbol.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | Xsj3cSetSymbol(buf, sel_symbol, changed, flush) | ^ symbol.c:38:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | int Xsj3cSetSymbol(); | ^ symbol.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | Xsj3cEndSymbol(buf) | ^ symbol.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | void Xsj3cEndSymbol(); | ^ symbol.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: symbol.c,v 2.0 1992/02/13 18:33:43 nao Exp $"; | ^~~~~ 47 warnings generated. rm -f table.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT table.c table.c:82:32: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | chp = (unsigned char *)malloc(BUFSIZ); | ^ table.c:82:32: note: include the header or explicitly provide a declaration for 'malloc' table.c:87:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 87 | strcpy (chp, ch); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ table.c:87:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 87 | strcpy (chp, ch); | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ table.c:92:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | strcpy (chp, ch); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ table.c:92:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | strcpy (chp, ch); | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ table.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | _Xsj3cStoreChar(ch, len) | ^ table.c:53:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static unsigned char *_Xsj3cStoreChar(); | ^ table.c:111:26: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | (void)_Xsj3cWcpy (wp, wch); | ^ table.c:116:26: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | (void)_Xsj3cWcpy (wp, wch); | ^ table.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | _Xsj3cStoreWchar(wch, len) | ^ table.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | wchar *_Xsj3cStoreWchar(); | ^ table.c:159:55: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 159 | } else if (c == '&' && !strcmp("@\033$B", src)) { | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ table.c:181:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | s = conv(s); | ^ table.c:188:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | s = conv(s); | ^ table.c:216:67: warning: passing arguments to '_Xsj3cXtoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(c),file); | ^ table.c:216:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(c),file); | ^ table.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | _Xsj3cmINtomPS(buf, file, src, dest) | ^ table.c:55:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static int _Xsj3cmINtomPS(); | ^ table.c:257:63: warning: passing arguments to '_Xsj3cXtoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(n),file); | ^ table.c:257:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(n),file); | ^ table.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | _Xsj3cReadAscii(file, src, dest) | ^ table.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | int _Xsj3cReadAscii(); | ^ table.c:304:55: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 304 | } else if (c == '&' && !strcmp("@\033$B", src)) { | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ table.c:326:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | *dest++ = conv((c << 8) + (*src++ & 0xff)); | ^ table.c:350:67: warning: passing arguments to '_Xsj3cXtoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(c),file); | ^ table.c:350:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(c),file); | ^ table.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | _Xsj3cmINtowOUT(file, src, dest, len) | ^ table.c:45:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | int _Xsj3cmINtowOUT(); | ^ table.c:371:32: warning: passing arguments to '_Xsj3cRKInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | buf->rktable = _Xsj3cRKInit(buf, sjrk, home); | ^ table.c:372:32: warning: passing arguments to '_Xsj3cHKInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | buf->hktable = _Xsj3cHKInit(buf, sjhk, home); | ^ table.c:373:32: warning: passing arguments to '_Xsj3cZHInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | buf->zhtable = _Xsj3cZHInit(buf, sjzh, home); | ^ table.c:374:35: warning: passing arguments to '_Xsj3cSymbolInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | buf->symbol = _Xsj3cSymbolInit(sjsb, home); | ^ table.c:375:36: warning: passing arguments to '_Xsj3cSetPlosive' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | buf->plosive = _Xsj3cSetPlosive(buf); | ^ table.c:376:36: warning: passing arguments to '_Xsj3cSetDouble' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | buf->rkdouble = _Xsj3cSetDouble(buf); | ^ table.c:377:33: warning: passing arguments to '_Xsj3cHinsiInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | buf->hinsi = _Xsj3cHinsiInit(buf); | ^ table.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | Xsj3cInitializeTables(buf, home, sjrk, sjhk, sjzh, sjsb) | ^ table.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | void Xsj3cInitializeTables(); | ^ table.c:400:34: warning: passing arguments to '_Xsj3cReadRK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | if ((value = _Xsj3cReadRK(buf, sjrk, &error)) > 0 ) | ^ table.c:401:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | Xsj3cError("can't open sjrk file %s", sjrk); | ^ table.c:404:31: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | _Xsj3cItoa(error), sjrk); | ^ table.c:403:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | Xsj3cError("read failed line %s sjrk file %s", | ^ table.c:407:24: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | if ((p = getenv("SJRK")) && *p != '\0') { | ^ table.c:421:34: warning: passing arguments to '_Xsj3cReadRK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | if ((value = _Xsj3cReadRK(buf, rkfile, &error)) > 0 ) { | ^ table.c:424:38: warning: passing arguments to '_Xsj3cReadRK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | if ((value = _Xsj3cReadRK(buf, rkfile, &error)) > 0 ) { | ^ table.c:425:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | Xsj3cError("can't open sjrk file %s", rkfile); | ^ table.c:428:35: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | _Xsj3cItoa(error), rkfile); | ^ table.c:427:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | Xsj3cError("read failed line %s sjrk file %s", | ^ table.c:432:31: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | _Xsj3cItoa(error), rkfile); | ^ table.c:431:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | Xsj3cError("read failed line %s sjrk file %s", | ^ table.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | _Xsj3cRKInit(buf, sjrk, home) | ^ table.c:38:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | Xsj3cRKTable *_Xsj3cRKInit(); | ^ table.c:490:18: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 490 | while (fgets(line, sizeof(line), fp) != NULL) { | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:239:61: note: passing argument to parameter here 239 | char *_LIBC_CSTR fgets(char * __restrict _LIBC_COUNT(__size), int __size, FILE *); | ^ table.c:504:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | Xsj3cWarning("can't allocate roman-kana conversion table"); | ^ table.c:509:64: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 509 | rktp->roma = _Xsj3cStoreChar(roma, (rlen = strlen(roma)) + 1); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ table.c:510:64: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 510 | rktp->yomi = _Xsj3cStoreChar(yomi, (ylen = strlen(yomi)) + 1); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ table.c:511:53: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 511 | rktp->str = _Xsj3cStoreChar(str, strlen(str) + 1); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ table.c:513:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | Xsj3cWarning("can't allocate roman-kana conversion table"); | ^ table.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | _Xsj3cReadRK(buf, file, error) | ^ table.c:57:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | static int _Xsj3cReadRK(); | ^ table.c:547:34: warning: passing arguments to '_Xsj3cReadHK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | if ((value = _Xsj3cReadHK(buf, sjhk, &error)) > 0 ) | ^ table.c:548:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | Xsj3cError("can't open sjhk file %s", sjhk); | ^ table.c:551:31: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | _Xsj3cItoa(error), sjhk); | ^ table.c:550:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | Xsj3cError("read failed line %s sjhk file %s", | ^ table.c:554:24: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | if ((p = getenv("SJHK")) && *p != '\0') { | ^ table.c:568:34: warning: passing arguments to '_Xsj3cReadHK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | if ((value = _Xsj3cReadHK(buf, hkfile, &error)) > 0 ) { | ^ table.c:571:38: warning: passing arguments to '_Xsj3cReadHK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | if ((value = _Xsj3cReadHK(buf, hkfile, &error)) > 0 ) { | ^ table.c:572:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | Xsj3cError("can't open sjhk file %s", hkfile); | ^ table.c:575:35: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | _Xsj3cItoa(error), hkfile); | ^ table.c:574:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | Xsj3cError("read failed line %s sjhk file %s", | ^ table.c:579:31: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | _Xsj3cItoa(error), hkfile); | ^ table.c:578:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | Xsj3cError("read failed line %s sjhk file %s", | ^ table.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | _Xsj3cHKInit(buf, sjhk, home) | ^ table.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | Xsj3cHKTable *_Xsj3cHKInit(); | ^ table.c:631:18: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 631 | while (fgets(line, sizeof(line), fp) != NULL) { | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:239:61: note: passing argument to parameter here 239 | char *_LIBC_CSTR fgets(char * __restrict _LIBC_COUNT(__size), int __size, FILE *); | ^ table.c:650:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | Xsj3cWarning("can't allocate hiragana-katakana conversion table"); | ^ table.c:655:56: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 655 | hktp->hira = _Xsj3cStoreChar(zhira, strlen(zhira) + 1); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ table.c:656:57: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 656 | hktp->zkata = _Xsj3cStoreChar(zkata, strlen(zkata) + 1); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ table.c:658:41: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 658 | (hkata_len = strlen(hkata)) + 1); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ table.c:660:42: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 660 | (halpha_len = strlen(halpha)) + 1); | ^~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ table.c:662:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | Xsj3cWarning("can't allocate hiragana-katakana conversion table"); | ^ table.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | _Xsj3cReadHK(buf, file, error) | ^ table.c:58:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static int _Xsj3cReadHK(); | ^ table.c:697:34: warning: passing arguments to '_Xsj3cReadZH' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | if ((value = _Xsj3cReadZH(buf, sjzh, &error)) > 0 ) | ^ table.c:698:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | Xsj3cError("can't open sjzh file %s", sjzh); | ^ table.c:701:31: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | _Xsj3cItoa(error), sjzh); | ^ table.c:700:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | Xsj3cError("read failed line %s sjzk file %s", | ^ table.c:704:24: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | if ((p = getenv("SJZH")) && *p != '\0') { | ^ table.c:718:34: warning: passing arguments to '_Xsj3cReadZH' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | if ((value = _Xsj3cReadZH(buf, zhfile, &error)) > 0 ) { | ^ table.c:721:38: warning: passing arguments to '_Xsj3cReadZH' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | if ((value = _Xsj3cReadZH(buf, zhfile, &error)) > 0 ) { | ^ table.c:722:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | Xsj3cError("can't open sjzh file %s", zhfile); | ^ table.c:725:35: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | _Xsj3cItoa(error), zhfile); | ^ table.c:724:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | Xsj3cError("read failed line %s sjzk file %s", | ^ table.c:729:31: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | _Xsj3cItoa(error), zhfile); | ^ table.c:728:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | Xsj3cError("read failed line %s sjzk file %s", | ^ table.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | _Xsj3cZHInit(buf, sjzh, home) | ^ table.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | Xsj3cZHTable *_Xsj3cZHInit(); | ^ table.c:780:18: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 780 | while (fgets(line, sizeof(line), fp) != NULL) { | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:239:61: note: passing argument to parameter here 239 | char *_LIBC_CSTR fgets(char * __restrict _LIBC_COUNT(__size), int __size, FILE *); | ^ table.c:799:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | Xsj3cWarning("can't allocate zen/hankaku conversion table"); | ^ table.c:804:61: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 804 | zhtp->halpha = _Xsj3cStoreChar(hanalpha, strlen(hanalpha) + 1); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ table.c:805:61: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 805 | zhtp->zalpha = _Xsj3cStoreChar(zenalpha, strlen(zenalpha) + 1); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ table.c:806:57: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 806 | zhtp->zkana = _Xsj3cStoreChar(zkana, strlen(zkana) + 1); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ table.c:807:57: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 807 | zhtp->hkata = _Xsj3cStoreChar(hkata, strlen(hkata) + 1); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ table.c:810:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | Xsj3cWarning("can't allocate zen/han-kaku conversion table"); | ^ table.c:762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | _Xsj3cReadZH(buf, file, error) | ^ table.c:59:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static int _Xsj3cReadZH(); | ^ table.c:838:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | Xsj3cError("Null roman-kana conversion table"); | ^ table.c:852:43: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 852 | = _Xsj3cStoreChar(tmp, strlen(tmp) + 1)) == NULL) | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ table.c:853:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | Xsj3cError("can't allocate for roma-kana plosive conversion table"); | ^ table.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | _Xsj3cSetPlosive(buf) | ^ table.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | unsigned char *_Xsj3cSetPlosive(); | ^ table.c:872:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | Xsj3cError("Null roman-kana conversion table"); | ^ table.c:884:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 884 | if (!strcmp(rktp->yomi, rktp2->yomi)) { | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ table.c:884:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 884 | if (!strcmp(rktp->yomi, rktp2->yomi)) { | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ table.c:894:43: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 894 | = _Xsj3cStoreChar(tmp, strlen(tmp) + 1)) == NULL) | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ table.c:895:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | Xsj3cError("can't allocate for roma-kana double conversion table"); | ^ table.c:862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | _Xsj3cSetDouble(buf) | ^ table.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | unsigned char *_Xsj3cSetDouble(); | ^ table.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: table.c,v 2.3 1993/09/21 09:42:45 nao Exp $"; | ^~~~~ 118 warnings generated. rm -f util.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include/sj3lib -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSJ3DEFPATH=\"/opt/pkg/lib/X11/sj3def/\" -DTHROUGH_CONT util.c util.c:81:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 81 | NULL, _Xsj3csjis2euc, _Xsj3csjis2jis, _Xsj3csjis2jis, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^ util.c:82:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 82 | _Xsj3ceuc2sjis, NULL, _Xsj3ceuc2jis, _Xsj3ceuc2jis, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } util.c:83:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 83 | _Xsj3cjis2sjis, _Xsj3cjis2euc, NULL, NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } util.c:84:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 84 | _Xsj3cjis2sjis, _Xsj3cjis2euc, NULL, NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } util.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | Xsj3cSetInLang(lang) | ^ util.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | void Xsj3cSetInLang(); | ^ util.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | Xsj3cSetOutLang(lang) | ^ util.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | void Xsj3cSetOutLang(); | ^ util.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | Xsj3cSetKanaMod(mod) | ^ In file included from util.c:30: In file included from ./common.h:26: ../../include/Xsj3clib.h:406:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 406 | extern void Xsj3cSetKanaMod(); | ^ util.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | Xsj3cWarning(message, s0, s1, s2, s3, s4, s5, s6, s7, s8, s9) | ^ util.c:44:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | void Xsj3cWarning(); | ^ util.c:153:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | exit(1); | ^ util.c:153:5: note: include the header or explicitly provide a declaration for 'exit' util.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | Xsj3cError(message, s0, s1, s2, s3, s4, s5, s6, s7, s8, s9) | ^ util.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | void Xsj3cError(); | ^ util.c:170:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 170 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:170:14: note: place parentheses around the assignment to silence this warning 170 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | ( ) util.c:170:14: note: use '==' to turn this assignment into an equality comparison 170 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | == util.c:175:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | *p++ = conv(*q++); | ^ util.c:184:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 184 | while (*p++ = *q++) i++; | ~~~~~^~~~~~ util.c:184:21: note: place parentheses around the assignment to silence this warning 184 | while (*p++ = *q++) i++; | ^ | ( ) util.c:184:21: note: use '==' to turn this assignment into an equality comparison 184 | while (*p++ = *q++) i++; | ^ | == util.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | _Xsj3cwPStowOUT(buf, p, q) | ^ util.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | int _Xsj3cwPStowOUT(); | ^ util.c:205:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 205 | if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:205:14: note: place parentheses around the assignment to silence this warning 205 | if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { | ^ | ( ) util.c:205:14: note: use '==' to turn this assignment into an equality comparison 205 | if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { | ^ | == util.c:209:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | *p++ = conv(*q++); | ^ util.c:215:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 215 | while (*p++ = *q++) i++; | ~~~~~^~~~~~ util.c:215:21: note: place parentheses around the assignment to silence this warning 215 | while (*p++ = *q++) i++; | ^ | ( ) util.c:215:21: note: use '==' to turn this assignment into an equality comparison 215 | while (*p++ = *q++) i++; | ^ | == util.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | _Xsj3cwOUTtowPS(buf, p, q) | ^ util.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | int _Xsj3cwOUTtowPS(); | ^ util.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | _Xsj3cCmp(s1, s2) | ^ util.c:55:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | int _Xsj3cCmp(); | ^ util.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | _Xsj3cmPStowPS(buf, w, m) | ^ util.c:48:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | int _Xsj3cmPStowPS(); | ^ util.c:286:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 286 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:286:14: note: place parentheses around the assignment to silence this warning 286 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | ( ) util.c:286:14: note: use '==' to turn this assignment into an equality comparison 286 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | == util.c:290:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | *w++ = conv((c << 8) + *m++); | ^ util.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | _Xsj3cmPStowOUT(buf, w, m) | ^ util.c:49:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | int _Xsj3cmPStowOUT(); | ^ util.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | _Xsj3cmPStowPSn(buf, w, m, n) | ^ util.c:50:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | int _Xsj3cmPStowPSn(); | ^ util.c:356:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 356 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:356:14: note: place parentheses around the assignment to silence this warning 356 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | ( ) util.c:356:14: note: use '==' to turn this assignment into an equality comparison 356 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | == util.c:360:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | *w++ = conv((c << 8) + *m++); | ^ util.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | _Xsj3cmPStowOUTn(buf, w, m, n) | ^ util.c:51:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | int _Xsj3cmPStowOUTn(); | ^ util.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | _Xsj3cwPStomPS(buf, m, w) | ^ util.c:52:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | void _Xsj3cwPStomPS(); | ^ util.c:424:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 424 | if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:424:14: note: place parentheses around the assignment to silence this warning 424 | if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { | ^ | ( ) util.c:424:14: note: use '==' to turn this assignment into an equality comparison 424 | if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { | ^ | == util.c:427:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | s = conv(*w); | ^ util.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | _Xsj3cwOUTtomPS(buf, m, w) | ^ util.c:53:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | void _Xsj3cwOUTtomPS(); | ^ util.c:459:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 459 | while (*w1++ = *w2++) i++; | ~~~~~~^~~~~~~ util.c:459:18: note: place parentheses around the assignment to silence this warning 459 | while (*w1++ = *w2++) i++; | ^ | ( ) util.c:459:18: note: use '==' to turn this assignment into an equality comparison 459 | while (*w1++ = *w2++) i++; | ^ | == util.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | _Xsj3cWcpy(w1, w2) | ^ util.c:56:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | int _Xsj3cWcpy(); | ^ util.c:474:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 474 | while (*w1++ = *w2++); | ~~~~~~^~~~~~~ util.c:474:18: note: place parentheses around the assignment to silence this warning 474 | while (*w1++ = *w2++); | ^ | ( ) util.c:474:18: note: use '==' to turn this assignment into an equality comparison 474 | while (*w1++ = *w2++); | ^ | == util.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | _Xsj3cWcat(w1, w2) | ^ util.c:57:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | void _Xsj3cWcat(); | ^ util.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | _Xsj3cWlen(w) | ^ util.c:58:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | int _Xsj3cWlen(); | ^ util.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | _Xsj3cItoa(num) | ^ util.c:59:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | char *_Xsj3cItoa(); | ^ util.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | _Xsj3cXtoa(num) | ^ util.c:60:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | char *_Xsj3cXtoa(); | ^ util.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | _Xsj3cInsertChar(buf, seg, m, n) | ^ util.c:62:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | void _Xsj3cInsertChar(); | ^ util.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | _Xsj3cInsertWchar(seg, w, n) | ^ util.c:63:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | void _Xsj3cInsertWchar(); | ^ util.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | _Xsj3cExtractChar(buf, seg, m, n) | ^ util.c:64:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | void _Xsj3cExtractChar(); | ^ util.c:650:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 650 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:650:14: note: place parentheses around the assignment to silence this warning 650 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | ( ) util.c:650:14: note: use '==' to turn this assignment into an equality comparison 650 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | == util.c:653:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | seg->disp[i] = conv(seg->yomi[i]); | ^ util.c:642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | _Xsj3cStoreYomi(buf, seg, pos) | ^ util.c:65:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | void _Xsj3cStoreYomi(); | ^ util.c:688:57: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | buf->input[i] = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ util.c:690:31: warning: passing arguments to 'Xsj3cResizeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | Xsj3cResizeSegment(buf->input[i], KANABUFSIZ); | ^ util.c:704:52: warning: passing arguments to '_Xsj3cCheckMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | buf->input[i]->cursegmode = _Xsj3cCheckMode(buf, buf->input[i]); | ^ util.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | _Xsj3cStoreKanji(buf, bun, cur, num, change) | ^ util.c:66:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | int _Xsj3cStoreKanji(); | ^ util.c:713:1: warning: non-void function does not return a value [-Wreturn-type] 713 | } | ^ util.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | _Xsj3cCheckMode(buf, seg) | ^ util.c:71:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | Xsj3csMode _Xsj3cCheckMode(); | ^ util.c:766:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | (mbs[0], mbs[1], &buf->input[i + 1]->dcid)) < 0) { | ^ util.c:767:73: warning: too few arguments in call to 'Xsj3cWarning' 767 | Xsj3cWarning("sj3serv is down. reconnect please"); | ~~~~~~~~~~~~ ^ util.c:775:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | (mbs[1], mbs[0], &buf->input[i]->dcid)) < 0) { | ^ util.c:776:73: warning: too few arguments in call to 'Xsj3cWarning' 776 | Xsj3cWarning("sj3serv is down. reconnect please"); | ~~~~~~~~~~~~ ^ util.c:781:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | (mbs[0], mbs[0], &buf->input[0]->dcid)) < 0) { | ^ util.c:782:73: warning: too few arguments in call to 'Xsj3cWarning' 782 | Xsj3cWarning("sj3serv is down. reconnect please"); | ~~~~~~~~~~~~ ^ util.c:753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | _Xsj3cFlushDcid(buf) | ^ util.c:68:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | void _Xsj3cFlushDcid(); | ^ util.c:801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | _Xsj3cClearDcid(buf) | ^ util.c:69:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | void _Xsj3cClearDcid(); | ^ util.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 2 | static char *rcsid = "$Id: util.c,v 2.2 1993/09/21 09:42:34 nao Exp $"; | ^~~~~ 86 warnings generated. rm -f libXsj3clib.a ar clq libXsj3clib.a buffer.o candidate.o code.o connect.o conv.o dict.o func.o libif.o mode.o segment.o sj3ctype.o sjrc.o symbol.o table.o util.o ranlib libXsj3clib.a making all in ./cmd... clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DUSE_WNN -DUSE_CANNA -DUSE_SJ3 -I/opt/pkg/include -c kinput2.c kinput2.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | main(ac, av) | ^ kinput2.c:437:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | (*DefaultErrorHandler)(dpy, error); | ^ kinput2.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | IgnoreBadWindow(dpy, error) | ^ kinput2.c:176:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 176 | static int IgnoreBadWindow(); | ^ kinput2.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | interruptCallback(cldata, sigid) | ^ kinput2.c:170:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 170 | static void interruptCallback(); | ^ kinput2.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | Destroyed(w, client_data, call_data) | ^ kinput2.c:182:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | static void Destroyed(); | ^ kinput2.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | realExit(cldata, timerp) | ^ kinput2.c:184:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | static void realExit(); | ^ kinput2.c:604:14: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 604 | p = DATE + 7; /* skip '$Date: ' */ | ~~~~~^~~ kinput2.c:604:14: note: use array indexing to silence this warning 604 | p = DATE + 7; /* skip '$Date: ' */ | ^ | & [ ] kinput2.c:24:14: warning: unused variable 'rcsid' [-Wunused-variable] 24 | static char *rcsid = "$Id: kinput2.c,v 1.46 2002/01/06 15:13:38 ishisone Exp $"; | ^~~~~ 12 warnings generated. rm -f kinput2 clang -o kinput2 -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib kinput2.o ../lib/libKi2.a ../lib/imlib/libim.a -L/opt/pkg/lib -lwnn -lcrypt -L/opt/pkg/lib -lcanna16 ../lib/Xsj3clib/libXsj3clib.a -L/opt/pkg/lib -lsj3lib -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 ld: library 'crypt' not found clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[1]: stopped making "all" in /var/tmp/work/inputmethod/kinput2/work/kinput2-v3.1/cmd *** Error code 1 Stop. bmake: stopped making "all" in /var/tmp/work/inputmethod/kinput2/work/kinput2-v3.1 *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/inputmethod/kinput2 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/inputmethod/kinput2