=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for kinput2-3.1nb4 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ AdoptedShe.c:129:15: warning: passing arguments to 'GetParentInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetParentInfo(asw); ^ AdoptedShe.c:118:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize(w, maskp, attr) ^ AdoptedShe.c:146:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, new, args, num_args) ^ AdoptedShe.c:169:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GeometryManager(w, reqp, repp) ^ AdoptedShe.c:184:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetParentInfo(w) ^ AdoptedShe.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: AdoptedShe.c,v 1.6 1991/09/23 04:03:31 ishisone Rel $"; ^ 7 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/include/sj3lib -I/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 C2x [-Wdeprecated-non-prototype] GetInvGC(cpw); ^ AuxPanel.c:154:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ AuxPanel.c:179:24: warning: passing arguments to 'freeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeDisplaySegments(cpw); ^ AuxPanel.c:172:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ AuxPanel.c:184:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize(w, mask, value) ^ AuxPanel.c:247:21: warning: passing arguments to 'UpdateAuxDisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateAuxDisplay(cpw); ^ AuxPanel.c:215:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, ev, region) ^ AuxPanel.c:258:11: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(cpw, True, True); ^ AuxPanel.c:251:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(w) ^ AuxPanel.c:291:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(new, True, True); ^ AuxPanel.c:263:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, wid, args, num_args) ^ AuxPanel.c:322:16: warning: passing arguments to 'ComputeSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeSize((AuxPanelWidget)w, ^ AuxPanel.c:303:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryGeometry(w, req, ret) ^ AuxPanel.c:377:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(cpw, cpw->core.width == 0, cpw->core.height == 0); ^ AuxPanel.c:336:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertChild(w) ^ AuxPanel.c:382:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetInvGC(cpw) ^ AuxPanel.c:396:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeSize(cpw, resizex, resizey, width_inout, height_inout) ^ AuxPanel.c:451:10: warning: enumeration values 'XtGeometryNo', 'XtGeometryAlmost', and 'XtGeometryDone' not handled in switch [-Wswitch] switch (re) { ^~ AuxPanel.c:451:10: note: add missing switch cases switch (re) { ^ AuxPanel.c:430:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(cpw, resizex, resizey) ^ AuxPanel.c:461:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocDisplaySegments(cpw, n) ^ AuxPanel.c:482:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeDisplaySegments(cpw) ^ AuxPanel.c:498:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyString(from, to) ^ AuxPanel.c:509:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateAuxDisplay(cpw) ^ AuxPanel.c:551:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] APanelStart(w, segments, nseg, curseg, cursorpos) ^ AuxPanel.c:573:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] APanelEnd(w) ^ AuxPanel.c:584:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] APanelChange(w, segments, nseg, curseg, cursorpos) ^ AuxPanel.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: AuxPanel.c,v 1.23 1994/09/01 06:33:41 ishisone Exp $"; ^ 27 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/include/sj3lib -I/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 C2x [-Wdeprecated-non-prototype] GetInvGC(cpw); ^ CandPanel.c:139:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ CandPanel.c:152:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ CandPanel.c:161:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize(w, mask, value) ^ CandPanel.c:233:18: warning: passing arguments to 'ToggleHighlight' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToggleHighlight(cpw, idx); ^ CandPanel.c:190:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, ev, region) ^ CandPanel.c:245:11: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(cpw, False, False); ^ CandPanel.c:240:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(w) ^ CandPanel.c:285:33: warning: passing arguments to 'MaxWidth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ToggleHighlight(new, new->cpanel.current); ^ CandPanel.c:250:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, wid, args, num_args) ^ CandPanel.c:329:16: warning: passing arguments to 'ComputeSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeSize((CandidatePanelWidget)w, ^ CandPanel.c:312:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryGeometry(w, req, ret) ^ CandPanel.c:382:33: warning: passing arguments to 'MaxWidth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Layout(cpw, cpw->core.width == 0, cpw->core.height == 0); ^ CandPanel.c:343:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertChild(w) ^ CandPanel.c:388:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetInvGC(cpw) ^ CandPanel.c:400:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Move(w, ev, args, num_args) ^ CandPanel.c:429:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Set(w, ev, args, num_args) ^ CandPanel.c:472:10: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)cpw->cpanel.current); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CandPanel.c:463:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Notify(w, ev, args, num_args) ^ CandPanel.c:476:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaxWidth(cpw) ^ CandPanel.c:494:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeSize(cpw, resizex, resizey, width_inout, height_inout) ^ CandPanel.c:595:14: warning: enumeration value 'XtGeometryDone' not handled in switch [-Wswitch] switch (re) { ^~ CandPanel.c:595:14: note: add missing switch cases switch (re) { ^ CandPanel.c:580:10: warning: enumeration value 'XtGeometryDone' not handled in switch [-Wswitch] switch (re) { ^~ CandPanel.c:580:10: note: add missing switch cases switch (re) { ^ CandPanel.c:561:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(cpw, resizex, resizey) ^ CandPanel.c:612:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToggleHighlight(cpw, idx) ^ CandPanel.c:641:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CPanelSetList(w, list, nstrings, current, resize) ^ CandPanel.c:670:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CPanelSetCurrent(w, idx) ^ CandPanel.c:688:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CPanelMoveCurrent(w, dir) ^ CandPanel.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: CandPanel.c,v 1.11 1994/04/22 04:26:22 ishisone Rel $"; ^ 33 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, region) ^ Canvas.c:92:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(w) ^ Canvas.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: Canvas.c,v 1.3 1991/09/23 03:57:20 ishisone Rel $"; ^ 3 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, region) ^ CanvasShel.c:112:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(w) ^ CanvasShel.c:121:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize(w, maskp, attr) ^ CanvasShel.c:139:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, new, args, num_args) ^ CanvasShel.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: CanvasShel.c,v 1.7 1991/09/23 04:03:55 ishisone Rel $"; ^ 5 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringToESM(args, num_args, from, to) ^ ConvCtrl.c:235:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClassPartInitialize(cl) ^ ConvCtrl.c:289:17: warning: passing arguments to 'WidgetError' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] WidgetError(new, "classError", "displayObjectClass", ^ ConvCtrl.c:274:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ ConvCtrl.c:319:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ ConvCtrl.c:338:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize(w, maskp, attr) ^ ConvCtrl.c:355:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(w) ^ ConvCtrl.c:388:19: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] WidgetWarning(wid, "setValuesError", "clientWindow", ^ ConvCtrl.c:376:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, wid, args, num_args) ^ ConvCtrl.c:416:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionStartup(w, mask, value) ^ ConvCtrl.c:426:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionFinish(w) ^ ConvCtrl.c:434:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeAttributes(w, mask, value) ^ ConvCtrl.c:444:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeFocus(w, set) ^ ConvCtrl.c:453:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextChange(w) ^ ConvCtrl.c:461:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fix(w, arg) ^ ConvCtrl.c:473:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModeChange(w) ^ ConvCtrl.c:481:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionControl(w, controlarg) ^ ConvCtrl.c:490:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxControl(w, controlarg) ^ ConvCtrl.c:502:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.Startup)(w, valuemask, value); ^ ConvCtrl.c:580:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.Finish)(w); ^ ConvCtrl.c:634:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.ChangeAttributes)(w, valuemask, value); ^ ConvCtrl.c:667:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.ChangeFocus)(w, set); ^ ConvCtrl.c:684:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SafeGetWindowAttributes(dpy, w, attr) ^ ConvCtrl.c:751:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] WidgetWarning((Widget)ccw, "badCursorError", "cursor", ^ ConvCtrl.c:700:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CheckAttributes(ccw, valuemaskp, value) ^ ConvCtrl.c:793:26: warning: passing arguments to 'clipRectangle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (clip && !clipRectangle(&value->statusarea, &ccw->ccontrol.client_attr)))) { ^ ConvCtrl.c:784:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CheckCoordinates(ccw, valuemaskp, value, clip) ^ ConvCtrl.c:807:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clipRectangle(rectp, attrp) ^ ConvCtrl.c:841:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WidgetWarning((Widget)ccw, "windowError", "differentRoot", ^ ConvCtrl.c:831:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetClientCoordinates(ccw) ^ ConvCtrl.c:852:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EventToInputObject(w, event, args, num_args) ^ ConvCtrl.c:958:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateInputObject(ccw) ^ ConvCtrl.c:973:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClassIsSubClassOf(class, reference) ^ ConvCtrl.c:985:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CaptureClientDead(ccw) ^ ConvCtrl.c:996:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InterceptClientKeyEvent(ccw) ^ ConvCtrl.c:1020:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectFocusKeyEvent(ccw) ^ ConvCtrl.c:1033:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnselectFocusKeyEvent(ccw) ^ ConvCtrl.c:1044:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClientKey(ev, data) ^ 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 C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.Finish)((Widget)ccw); ^ ConvCtrl.c:1055:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClientDead(ev, data) ^ 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 C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.Fix)(widget, &arg); ^ ConvCtrl.c:1113:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FixCallback(w, client_data, call_data) ^ ConvCtrl.c:1144:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionEndCallback(w, client_data, call_data) ^ 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 C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.TextChange)(widget); ^ ConvCtrl.c:1157:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextChangeCallback(w, client_data, call_data) ^ 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 C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.ModeChange)(widget); ^ ConvCtrl.c:1189:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModeChangeCallback(w, client_data, call_data) ^ 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 C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.SelectionControl)(widget, arg); ^ ConvCtrl.c:1205:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionControlCallback(w, client_data, call_data) ^ 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 C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.AuxControl)(widget, arg); ^ ConvCtrl.c:1222:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxControlCallback(w, client_data, call_data) ^ ConvCtrl.c:1238:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WidgetError(w, name, type, msg) ^ ConvCtrl.c:1258:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WidgetWarning(w, name, type, msg) ^ ConvCtrl.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: ConvCtrl.c,v 1.54 2001/01/10 08:51:28 ishisone Exp $"; ^ 91 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/include/sj3lib -I/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] { XtBaseOffset, (caddr_t) XtOffset(Widget, core.screen), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ConvDisp.c:127:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClassPartInitialize(cl) ^ ConvDisp.c:162:41: warning: passing arguments to 'DefaultCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ComputeBounds(obj); ^ ConvDisp.c:153:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ ConvDisp.c:173:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ ConvDisp.c:199:7: warning: passing arguments to 'GetGC' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ComputeBounds(new); ^ ConvDisp.c:186:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, wid, args, num_args) ^ ConvDisp.c:217:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DefaultCursor(obj) ^ ConvDisp.c:228:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGC(obj) ^ ConvDisp.c:241:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeBounds(obj) ^ ConvDisp.c:264:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringWidth(w, str, start, end) ^ ConvDisp.c:277:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LineHeight(w, ascentp) ^ ConvDisp.c:288:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawString(w, canvas, str, start, end, x, y) ^ ConvDisp.c:303:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaxChar(w, str, start, width) ^ ConvDisp.c:315:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawCursor(w, canvas, x, y, on) ^ ConvDisp.c:345:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetCursorBounds(w, bounds) ^ ConvDisp.c:359:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFonts(w, fonts, num_fonts) ^ ConvDisp.c:374:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->convDisplay_class.StringWidth)(w, str, start, end); ^ ConvDisp.c:387:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->convDisplay_class.LineHeight)(w, ascent); ^ ConvDisp.c:398:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*class->convDisplay_class.DrawString)(w, canvas, str, start, end, x, y); ^ ConvDisp.c:414:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->convDisplay_class.MaxChar)(w, str, start, width); ^ ConvDisp.c:427:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*class->convDisplay_class.DrawCursor)(w, canvas, x, y, on); ^ ConvDisp.c:441:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*class->convDisplay_class.GetCursorBounds)(w, bounds); ^ ConvDisp.c:452:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*class->convDisplay_class.SetFonts)(w, fonts, num_fonts); ^ ConvDisp.c:465:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDSetBlockCursor(w, shape) ^ ConvDisp.c:499:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _CDPickupFonts(widget, fontspecs, num_specs, fonts, num_fonts) ^ ConvDisp.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: ConvDisp.c,v 1.19 1992/08/05 01:51:35 ishisone Rel $"; ^ 37 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ ConvMgr.c:107:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ ConvMgr.c:130:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getScreen(dpy, win) ^ ConvMgr.c:171:31: warning: passing arguments to 'getInputObjRec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] iorp = newInputObj(cmw, inputobjclass, displayobjclass); ^ ConvMgr.c:152:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newConverter(cmw, screen, converterclass, inputobjclass, displayobjclass) ^ ConvMgr.c:199:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getInputObjRec(cmw, objclass) ^ ConvMgr.c:213:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newInputObj(cmw, objclass, dispobjclass) ^ ConvMgr.c:238:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isSomeoneBusy(clist, objclass) ^ ConvMgr.c:255:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CMPrepareConverter(w, screen, converterclass, inputobjclass, displayobjclass) ^ ConvMgr.c:268:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CMGetConverter(w, client, converterclass, inputobjclass, displayobjclass) ^ ConvMgr.c:322:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CMReleaseConverter(w, converter) ^ ConvMgr.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: ConvMgr.c,v 1.8 1991/10/14 06:40:01 ishisone Rel $"; ^ 13 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/include/sj3lib -I/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 C2x [-Wdeprecated-non-prototype] iclw->iclabel.label = copyString(iclw->iclabel.label); ^ ICLabel.c:122:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ ICLabel.c:142:48: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (iclw->iclabel.label != NULL) freeString(iclw->iclabel.label); ^ ICLabel.c:137:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ ICLabel.c:146:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize(w, maskp, attr) ^ ICLabel.c:162:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, ev, region) ^ ICLabel.c:214:44: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] computeSize(new, widthspecified, heightspecified); ^ ICLabel.c:192:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, wid, args, num_args) ^ ICLabel.c:245:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryGeometry(w, req, ret) ^ ICLabel.c:302:16: warning: passing arguments to 'computeSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeSize(iclw, iclw->core.width != 0, iclw->core.height != 0); ^ ICLabel.c:268:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertChild(w) ^ ICLabel.c:306:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeSize(iclw, fixwidth, fixheight) ^ ICLabel.c:320:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyString(from) ^ ICLabel.c:334:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeString(s) ^ ICLabel.c:347:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ICLRecomputeSize(w) ^ ICLabel.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: ICLabel.c,v 1.11 1991/09/23 04:01:20 ishisone Rel $"; ^ 18 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClassPartInitialize(cl) ^ InputConv.c:163:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ InputConv.c:187:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ InputConv.c:197:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InputEvent(w, event) ^ InputConv.c:208:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMode(w) ^ InputConv.c:218:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CursorPos(w, segidx, offset) ^ InputConv.c:230:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NumSegments(w) ^ InputConv.c:240:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetSegment(w, n) ^ InputConv.c:251:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CompareSegment(w, seg1, seg2, n) ^ InputConv.c:264:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetItemList(w, n) ^ InputConv.c:275:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectItem(w, n) ^ InputConv.c:286:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertedString(w, encoding, format, length, string) ^ InputConv.c:300:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Clear(w) ^ InputConv.c:310:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetAuxSegments(w, n, ns, nc) ^ InputConv.c:322:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetTriggerKeys(w, keys_return) ^ InputConv.c:331:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetPreeditString(w, segn, offset, encoding, format, length, string) ^ InputConv.c:346:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetStatusString(w, encoding, format, length, string, nchars) ^ InputConv.c:365:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ICSupportMultipleObjects(cl) ^ InputConv.c:383:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->inputConv_class.InputEvent)(w, event); ^ InputConv.c:394:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->inputConv_class.GetMode)(w); ^ InputConv.c:404:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->inputConv_class.CursorPos)(w, segidx, offset); ^ InputConv.c:416:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->inputConv_class.NumSegments)(w); ^ InputConv.c:426:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->inputConv_class.GetSegment)(w, n); ^ InputConv.c:437:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->inputConv_class.CompareSegment)(w, seg1, seg2, n); ^ InputConv.c:450:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->inputConv_class.GetItemList)(w, n); ^ InputConv.c:461:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->inputConv_class.SelectItem)(w, n); ^ InputConv.c:472:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->inputConv_class.GetConvertedString)(w, encoding, format, ^ InputConv.c:487:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->inputConv_class.ClearConversion)(w); ^ InputConv.c:497:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->inputConv_class.GetAuxSegments)(w, n, ns, nc); ^ InputConv.c:508:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->inputConv_class.GetPreeditString)(w, segn, offset, encoding, format, length, string); ^ InputConv.c:524:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] return (*class->inputConv_class.GetStatusString)(w, encoding, format, length, string, nchars); ^ InputConv.c:549:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (w, &class->inputConv_class.trigger_keys); ^ InputConv.c:561:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ICGetTriggerKeysOfInputObjectClass(cl, keys_return) ^ InputConv.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: InputConv.c,v 1.17 1999/01/13 08:42:00 ishisone Exp $"; ^ 48 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/include/sj3lib -I/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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] getAtoms(kpw); ^ KIProto.c:221:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ KIProto.c:244:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ KIProto.c:264:22: warning: passing arguments to 'setJinputProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (!ownSelection(kpw)) { ^ KIProto.c:254:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize(w, mask, value) ^ KIProto.c:290:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, wid, args, num_args) ^ KIProto.c:312:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getAtoms(kpw) ^ KIProto.c:361:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ownSelection(kpw) ^ KIProto.c:386:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findClient(kpw, client) ^ KIProto.c:402:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newClient(kpw, client, selection) ^ KIProto.c:436:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] attachConverter(ccp) ^ 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 C2x [-Wdeprecated-non-prototype] if (ccp->detach_proc != NULL) (*ccp->detach_proc)(ccp); ^ KIProto.c:467:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] detachConverter(ccp) ^ KIProto.c:486:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jinputDetach(client) ^ 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 C2x [-Wdeprecated-non-prototype] if (client->free_resources != NULL) (*client->free_resources)(client); ^ KIProto.c:495:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deleteClient(client) ^ KIProto.c:537:39: warning: '&&' within '||' [-Wlogical-op-parentheses] kpw->kinput.backward_compatible && atom == kpw->kinput.oldConvAtom)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ KIProto.c:537:39: note: place parentheses around the '&&' expression to silence this warning kpw->kinput.backward_compatible && atom == kpw->kinput.oldConvAtom)); ^ ( ) KIProto.c:527:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isCorrectClientEvent(kpw, event) ^ KIProto.c:542:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isCorrectWindowID(w, window) ^ KIProto.c:568:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myStartConversion(w, clwin, mask, attrs) ^ KIProto.c:586:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myChangeAttributes(w, mask, attrs) ^ KIProto.c:603:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getJinputInitialProperty(kpw, ccp, prop, reqtype) ^ KIProto.c:684:58: warning: passing arguments to 'sendColorRequest' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (client->style != separate_style) sendXYRequest(client); ^ KIProto.c:676:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jinputSendReq(client) ^ KIProto.c:691:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jinputFreeResources(client) ^ KIProto.c:705:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xlcFreeResources(client) ^ KIProto.c:718:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kinput2FreeResources(client) ^ KIProto.c:759:27: warning: passing arguments to 'getAttributeFromProperty1' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] getFontsByFontAtoms(XtDisplay(client->protocolwidget), ^ KIProto.c:738:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setAttribute(client, data, precp, fromevent) ^ KIProto.c:891:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getFontsByFontAtoms(dpy, atoms, len, fontsp) ^ KIProto.c:916:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] safeGetAttributeProperty(client, prop, data) ^ KIProto.c:954:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getAttributeFromProperty1(client, prop, precp, fromevent) ^ KIProto.c:995:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getAttributeFromProperty(client, prop) ^ KIProto.c:1005:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getAttributeFromEvent(client, ev) ^ KIProto.c:1067:29: warning: incompatible pointer types passing 'KinputProtocolWidget' (aka 'struct _KinputProtocolRec *') to parameter of type 'Widget' (aka 'struct _WidgetRec *') [-Wincompatible-pointer-types] if (!isCorrectWindowID(kpw, (Window)data[1])) { ^~~ KIProto.c:1024:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getXlcDataFromProperty(kpw, client, initial) ^ KIProto.c:1206:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initializeError(w, resname) ^ KIProto.c:1246:22: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (mystrstr(mod, "Alt")) *modmaskp |= Mod1Mask; ^ KIProto.c:1224:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parseKeyEvent(dpy, s, codep, modmaskp) ^ KIProto.c:1279:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mystrstr(s1, s2) ^ KIProto.c:1296:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getDefaultFontHeight(kpw) ^ KIProto.c:1313:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setJinputProperty(kpw) ^ KIProto.c:1326:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setKinput2Property(kpw) ^ KIProto.c:1352:25: warning: passing arguments to 'setXlcStatusProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] setXlcBCKey(kpw); ^ KIProto.c:1349:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setXlcProperty(kpw) ^ KIProto.c:1358:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setXlcStatusProperty(kpw, status) ^ KIProto.c:1369:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setXlcBCKey(kpw) ^ KIProto.c:1406:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendClientMessage(dpy, window, type, l0, l1, l2, l3, l4) ^ KIProto.c:1429:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendNegativeConversionNotify(kpw, window, selection) ^ KIProto.c:1442:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendConversionNotify(ccp) ^ KIProto.c:1463:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendNegativeConversionOpenNotify(kpw, window, selection) ^ KIProto.c:1476:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendConversionOpenNotify(ccp) ^ KIProto.c:1490:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendColorRequest(ccp) ^ KIProto.c:1504:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendFontRequest(ccp) ^ KIProto.c:1518:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendXYRequest(ccp) ^ KIProto.c:1546:12: warning: passing arguments to 'fixProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixProc(ccp, arg); ^ KIProto.c:1537:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixCallback(w, client_data, call_data) ^ 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 C2x [-Wdeprecated-non-prototype] if (client->fix_proc != NULL) (*client->fix_proc)(client, arg); ^ KIProto.c:1551:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixProc(client, arg) ^ KIProto.c:1566:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jinputFix(client) ^ KIProto.c:1588:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] endProc(ccp, abort); ^ KIProto.c:1582:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endCallback(w, client_data, call_data) ^ 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 C2x [-Wdeprecated-non-prototype] (*client->end_proc)(client, abort); ^ KIProto.c:1596:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endProc(client, abort) ^ KIProto.c:1634:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jinputEnd(client, abort) ^ KIProto.c:1647:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jinputNewTextCallback(w, client_data, call_data) ^ KIProto.c:1661:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xlcEnd(client, abort) ^ KIProto.c:1678:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionOpenRequestProc(w, event, args, num_args) ^ 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 C2x [-Wdeprecated-non-prototype] if (ccp->start_proc != NULL) (*ccp->start_proc)(ccp); ^ KIProto.c:1748:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionRequestProc(w, event, args, num_args) ^ KIProto.c:1868:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionEndRequestProc(w, event, args, num_args) ^ KIProto.c:1903:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionCloseRequestProc(w, event, args, num_args) ^ KIProto.c:1946:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionXYNotifyProc(w, event, args, num_args) ^ KIProto.c:1997:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionColorNotifyProc(w, event, args, num_args) ^ KIProto.c:2042:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionFontsNotifyProc(w, event, args, num_args) ^ KIProto.c:2113:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionAttributeNotifyProc(w, event, args, num_args) ^ KIProto.c:2188:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionCloseProc(w, event, args, num_args) ^ KIProto.c:2241:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XlcOnTheSpotChangedProc(w, event, args, num_args) ^ KIProto.c:2272:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionRequestProc(w, event, args, num_args) ^ KIProto.c:2303:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionClearProc(w, event, args, num_args) ^ KIProto.c:2340:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClientDead(ev, data) ^ KIProto.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: KIProto.c,v 1.49 1999/01/07 03:12:57 ishisone Exp $"; ^ 106 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/include/sj3lib -I/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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (void)CreateAuxWidget(ocw); ^ OffConv.c:306:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OffTheSpot_Initialize(req, new, args, num_args) ^ OffConv.c:344:16: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] destroyDisplayFragments(dsp->fragments); ^ OffConv.c:333:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OffTheSpot_Destroy(w) ^ OffConv.c:354:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OffTheSpot_SetValues(cur, req, new, args, num_args) ^ OffConv.c:390:23: warning: passing arguments to 'SetupDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] setTransientFor(ocw->offthespot.auxshell, toplevel); ^ OffConv.c:371:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OffTheSpot_Startup(widget, valuemask, value) ^ OffConv.c:432:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OffTheSpot_ConversionFinish(w) ^ OffConv.c:473:24: warning: passing arguments to 'ResetModeWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] TextResize(ocw->offthespot.canvaswidget, (XtPointer)w, (XtPointer)NULL); ^ OffConv.c:465:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OffTheSpot_ChangeAttributes(w, valuemask, value) ^ OffConv.c:492:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OffTheSpot_ChangeFocus(w, set) ^ OffConv.c:514:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Separate_Initialize(req, new, args, num_args) ^ OffConv.c:569:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] setTransientFor((Widget)scw, toplevel); ^ OffConv.c:555:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Separate_Startup(widget, valuemask, value) ^ OffConv.c:627:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Separate_ConversionFinish(w) ^ OffConv.c:646:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Separate_ChangeAttributes(w, mask, value) ^ OffConv.c:657:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Separate_ChangeFocus(w, set) ^ OffConv.c:670:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateDisplayObject(ocw) ^ OffConv.c:686:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateSelectionWidget(ocw) ^ OffConv.c:714:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateAuxWidget(ocw) ^ OffConv.c:747:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupDisplayObject(ocw, mask, value) ^ OffConv.c:778:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResetDisplayObject(ocw, mask, value) ^ OffConv.c:804:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupModeWidget(ocw, mask, value) ^ OffConv.c:870:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResetModeWidget(ocw, mask, value) ^ OffConv.c:912:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupCanvasWidget(ocw, mask, value) ^ OffConv.c:968:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResetCanvasWidget(ocw, mask, value) ^ OffConv.c:1009:16: warning: passing arguments to 'eraseCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] showCursor(ocw); ^ OffConv.c:1003:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateText(w) ^ OffConv.c:1018:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateMode(w) ^ OffConv.c:1040:16: warning: passing arguments to 'SelectionStart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] SelectionGet(ocw, &arg->u.current_item); ^ OffConv.c:1030:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionControl(w, arg) ^ OffConv.c:1088:25: warning: passing arguments to 'LocateSelectionPopup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LocateSelectionPopup(ocw); ^ OffConv.c:1067:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionStart(ocw, kind) ^ OffConv.c:1109:21: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] MoveShell(shell, x, y); ^ OffConv.c:1095:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LocateSelectionPopup(ocw) ^ OffConv.c:1135:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionEnd(ocw, current) ^ OffConv.c:1155:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionSet(ocw, current) ^ OffConv.c:1171:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionGet(ocw, current) ^ OffConv.c:1187:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionMove(ocw, dir) ^ OffConv.c:1215:10: warning: passing arguments to 'AuxStart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] AuxChange(ocw); ^ OffConv.c:1205:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxControl(w, arg) ^ OffConv.c:1253:17: warning: passing arguments to 'LocateAuxPopup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LocateAuxPopup(ocw); ^ OffConv.c:1236:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxStart(ocw) ^ OffConv.c:1261:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxEnd(ocw) ^ OffConv.c:1275:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxChange(ocw) ^ OffConv.c:1304:21: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] MoveShell(shell, x, y); ^ OffConv.c:1290:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LocateAuxPopup(ocw) ^ OffConv.c:1352:32: warning: passing arguments to 'exposeCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (cursorredraw) showCursor(ocw); ^ OffConv.c:1336:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextRedisplay(w, client_data, call_data) ^ OffConv.c:1368:29: warning: passing arguments to 'recomputeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] computeCursor(ocw); ^ OffConv.c:1360:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextResize(w, client_data, call_data) ^ OffConv.c:1390:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int current = (int)call_data; ^~~~~~~~~~~~~~ OffConv.c:1384:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionSelected(w, client_data, call_data) ^ OffConv.c:1419:25: warning: passing arguments to 'allocDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] computeLastPosition(newfragments, &disploc); ^ OffConv.c:1449:56: warning: '&&' within '||' [-Wlogical-op-parentheses] oldfragments->region.x == newfragments->region.x && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ OffConv.c:1449:56: note: place parentheses around the '&&' expression to silence this warning oldfragments->region.x == newfragments->region.x && ^ ( OffConv.c:1462:56: warning: '&&' within '||' [-Wlogical-op-parentheses] oldfragments->region.x == newfragments->region.x && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ OffConv.c:1462:56: note: place parentheses around the '&&' expression to silence this warning oldfragments->region.x == newfragments->region.x && ^ ( OffConv.c:1468:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] for (; i < nold; i++, dseg++) freeDisplaySegment(dseg); ^ OffConv.c:1405:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeDisplaySegments(ocw) ^ OffConv.c:1496:20: warning: passing arguments to 'initialLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] dseg->fragments = computeDisplayFragments(ocw, &dseg->seg, &disploc); ^ OffConv.c:1488:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] recomputeDisplaySegments(ocw) ^ OffConv.c:1507:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeLastPosition(fragments, disploc) ^ OffConv.c:1533:33: warning: passing arguments to 'widthAvailable' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (start < newseg->nchars) nextLocation(ocw, disploc); ^ OffConv.c:1518:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeDisplayFragments(ocw, newseg, disploc) ^ OffConv.c:1571:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] widthAvailable(ocw, disploc) ^ OffConv.c:1581:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initialLocation(ocw, disploc) ^ OffConv.c:1599:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nextLocation(ocw, disploc) ^ OffConv.c:1619:24: warning: '&&' within '||' [-Wlogical-op-parentheses] dfp->next == NULL && dfp->nchars == offset) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ OffConv.c:1619:24: note: place parentheses around the '&&' expression to silence this warning dfp->next == NULL && dfp->nchars == offset) { ^ ( ) OffConv.c:1609:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findLocation(ocw, dsp, offset, disploc) ^ OffConv.c:1637:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reconfigureDisplay(ocw) ^ OffConv.c:1684:26: warning: passing arguments to 'updateDisplaySegment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] updateDisplaySegment(ocw, dsp); ^ OffConv.c:1675:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] updateDisplay(ocw) ^ OffConv.c:1691:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] updateDisplaySegment(ocw, dsp) ^ OffConv.c:1730:23: warning: passing arguments to 'intersectRect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (intersectRect(&dfp->region, region)) { ^ OffConv.c:1718:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redrawSegments(ocw, region) ^ OffConv.c:1745:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eraseCursor(ocw) ^ OffConv.c:1763:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showCursor(ocw) ^ OffConv.c:1794:22: warning: passing arguments to 'intersectRect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] unionRect(region, &bounds, region); ^ OffConv.c:1780:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] exposeCursor(ocw, w, region) ^ OffConv.c:1806:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeCursor(ocw) ^ OffConv.c:1842:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveShell(w, x, y) ^ OffConv.c:1863:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getToplevelWindow(dpy, win) ^ OffConv.c:1902:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setTransientFor(w, win) ^ OffConv.c:1912:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] intersectRect(rect1, rect2) ^ OffConv.c:1924:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unionRect(rect1, rect2, rect_ret) ^ OffConv.c:1961:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeDisplayFragments(fragments) ^ OffConv.c:1974:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroyDisplayFragments(fragments) ^ OffConv.c:1988:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocDisplaySegments(ocw, n) ^ OffConv.c:2007:15: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeString(&dsp->seg); ^ OffConv.c:2004:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeDisplaySegment(dsp) ^ OffConv.c:2014:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clearAllDisplaySegments(ocw) ^ OffConv.c:2028:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyString(from, to) ^ OffConv.c:2039:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeString(seg) ^ OffConv.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: OffConv.c,v 1.44 2001/07/01 13:47:00 ishisone Exp $"; ^ 142 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/include/sj3lib -I/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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CreateModeWidget(ocw); ^ OverConv.c:275:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ OverConv.c:319:16: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] destroyDisplayFragments(dsp->fragments); ^ OverConv.c:308:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ OverConv.c:339:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, new, args, num_args) ^ OverConv.c:368:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (!ocw->overthespot.modelocationspecified) locateModeWidget(ocw); ^ OverConv.c:356:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionStartup(w, mask, value) ^ OverConv.c:429:33: warning: passing arguments to 'resetDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (resetModeWidget(ocw, mask, value) != NeedNone && ^ OverConv.c:417:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeAttributes(w, mask, value) ^ OverConv.c:454:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeFocus(w, set) ^ OverConv.c:473:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionFinish(w) ^ OverConv.c:525:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateDisplayObject(ocw) ^ OverConv.c:541:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateSelectionWidget(ocw) ^ OverConv.c:566:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateAuxWidget(ocw) ^ OverConv.c:630:16: warning: passing arguments to 'setMwmHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setMwmHints(shell); ^ OverConv.c:592:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateModeWidget(ocw) ^ OverConv.c:635:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateTextCanvas(ocw) ^ OverConv.c:676:19: warning: passing arguments to 'getFocusOffset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getFocusOffset(ocw); ^ OverConv.c:669:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupTextCanvas(ocw, mask, value) ^ OverConv.c:781:16: warning: passing arguments to 'getFocusOffset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getFocusOffset(ocw); ^ OverConv.c:745:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resetTextCanvas(ocw, mask, value) ^ OverConv.c:827:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupDisplayObject(ocw, mask, value) ^ OverConv.c:863:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resetDisplayObject(ocw, mask, value) ^ OverConv.c:923:29: warning: passing arguments to 'enoughSpaceForStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enoughSpaceForStatus(ocw)) { ^ OverConv.c:894:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupModeWidget(ocw, mask, value) ^ OverConv.c:996:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resetModeWidget(ocw, mask, value) ^ OverConv.c:1051:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] locateTextCanvasInitial(ocw) ^ OverConv.c:1073:26: warning: passing arguments to 'locateTrackingModeWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] MoveShell(ocw->overthespot.modeshell, rootx, rooty); ^ OverConv.c:1062:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] locateModeWidget(ocw) ^ OverConv.c:1113:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] locateTrackingModeWidget(ocw, initial, x, y) ^ OverConv.c:1195:29: warning: passing arguments to 'recomputeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] reconfigureDisplay(ocw); ^ OverConv.c:1177:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redrawAndReconfigureTextCanvas(ocw) ^ OverConv.c:1212:16: warning: passing arguments to 'eraseCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] showCursor(ocw); ^ OverConv.c:1206:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateText(w) ^ OverConv.c:1222:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateMode(w) ^ OverConv.c:1252:16: warning: passing arguments to 'SelectionStart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] SelectionGet(ocw, &arg->u.current_item); ^ OverConv.c:1244:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionControl(w, arg) ^ OverConv.c:1296:25: warning: passing arguments to 'locateSelectionPopup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] locateSelectionPopup(ocw); ^ OverConv.c:1276:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionStart(ocw, kind) ^ OverConv.c:1330:21: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] MoveShell(shell, x, y); ^ OverConv.c:1303:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] locateSelectionPopup(ocw) ^ OverConv.c:1356:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionEnd(ocw, current) ^ OverConv.c:1378:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionSet(ocw, current) ^ OverConv.c:1396:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionGet(ocw, current) ^ OverConv.c:1414:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionMove(ocw, dir) ^ OverConv.c:1444:24: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeLastPosition(dsp[nsegs - 1].fragments, &disploc); ^ OverConv.c:1431:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ForwardSpot(w, client_data, call_data) ^ OverConv.c:1466:10: warning: passing arguments to 'AuxStart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] AuxChange(ocw); ^ OverConv.c:1456:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxControl(w, arg) ^ OverConv.c:1504:17: warning: passing arguments to 'locateAuxPopup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] locateAuxPopup(ocw, False); ^ OverConv.c:1487:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxStart(ocw) ^ OverConv.c:1512:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxEnd(ocw) ^ OverConv.c:1540:17: warning: passing arguments to 'locateAuxPopup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] locateAuxPopup(ocw, True); ^ OverConv.c:1526:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxChange(ocw) ^ OverConv.c:1577:25: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] MoveShell(shell, x, y); ^ OverConv.c:1545:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] locateAuxPopup(ocw, usecurloc) ^ OverConv.c:1626:32: warning: passing arguments to 'exposeCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (cursorredraw) showCursor(ocw); ^ OverConv.c:1610:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextRedisplay(w, client_data, call_data) ^ OverConv.c:1645:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int current = (int)call_data; ^~~~~~~~~~~~~~ OverConv.c:1639:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionSelected(w, client_data, call_data) ^ OverConv.c:1674:25: warning: passing arguments to 'allocDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] computeLastPosition(newfragments, &disploc); ^ OverConv.c:1712:56: warning: '&&' within '||' [-Wlogical-op-parentheses] oldfragments->region.x == newfragments->region.x && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ OverConv.c:1712:56: note: place parentheses around the '&&' expression to silence this warning oldfragments->region.x == newfragments->region.x && ^ OverConv.c:1726:56: warning: '&&' within '||' [-Wlogical-op-parentheses] oldfragments->region.x == newfragments->region.x && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ OverConv.c:1726:56: note: place parentheses around the '&&' expression to silence this warning oldfragments->region.x == newfragments->region.x && ^ OverConv.c:1732:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] for (; i < nold; i++, dseg++) freeDisplaySegment(dseg); ^ OverConv.c:1660:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeDisplaySegments(ocw) ^ OverConv.c:1769:22: warning: passing arguments to 'freeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] dseg->fragments = computeDisplayFragments(ocw, &dseg->seg, &disploc); ^ OverConv.c:1752:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] recomputeDisplaySegments(ocw) ^ OverConv.c:1777:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeLastPosition(fragments, disploc) ^ OverConv.c:1804:40: warning: passing arguments to 'computeWidthAvailable' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (start < newseg->nchars) nextLocation(ocw, disploc); ^ OverConv.c:1789:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeDisplayFragments(ocw, newseg, disploc) ^ OverConv.c:1846:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeWidthAvailable(ocw, disploc) ^ OverConv.c:1862:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nextLocation(ocw, disploc) ^ OverConv.c:1900:24: warning: '&&' within '||' [-Wlogical-op-parentheses] dfp->next == NULL && dfp->nchars == offset) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ OverConv.c:1900:24: note: place parentheses around the '&&' expression to silence this warning dfp->next == NULL && dfp->nchars == offset) { ^ ( ) OverConv.c:1890:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findLocation(ocw, dsp, offset, disploc) ^ OverConv.c:1977:15: warning: passing arguments to 'adjustDisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adjustDisplay(ocw); ^ OverConv.c:1919:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reconfigureDisplay(ocw) ^ OverConv.c:2027:26: warning: passing arguments to 'updateDisplaySegment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] updateDisplaySegment(dispobj, dsp); ^ OverConv.c:2017:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] updateDisplay(ocw) ^ OverConv.c:2034:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] updateDisplaySegment(dispobj, dsp) ^ OverConv.c:2072:16: warning: passing arguments to 'intersectRect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] intersectRect(&dfp->region, region)) { ^ OverConv.c:2059:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redrawSegments(ocw, canvas, region) ^ OverConv.c:2113:32: warning: passing arguments to 'getInsertingSegmentRange' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] adjustOffset(areap, innerleft, innerright, &offset, True); ^ OverConv.c:2087:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adjustDisplay(ocw) ^ OverConv.c:2152:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getAttributeSegmentRange(ocw, canvas, attr, leftp, rightp) ^ OverConv.c:2193:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getInsertingSegmentRange(ocw, canvas, curseg, offset, leftp, rightp, posp) ^ OverConv.c:2244:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adjustOffset(rectp, left, right, offsetp, force) ^ OverConv.c:2278:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eraseCursor(ocw) ^ OverConv.c:2296:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showCursor(ocw) ^ OverConv.c:2333:22: warning: passing arguments to 'intersectRect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] unionRect(region, &bounds, region); ^ OverConv.c:2313:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] exposeCursor(ocw, w, region) ^ OverConv.c:2345:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeCursor(ocw) ^ OverConv.c:2377:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringToModeLocation(args, num_args, from, to) ^ OverConv.c:2406:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveShell(w, x, y) ^ OverConv.c:2436:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getToplevelWindow(dpy, win, wm_state) ^ OverConv.c:2474:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setTransientFor(w, win) ^ OverConv.c:2485:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setMwmHints(w) ^ OverConv.c:2511:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getFocusOffset(ocw) ^ OverConv.c:2532:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] intersectRect(rect1, rect2) ^ OverConv.c:2544:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unionRect(rect1, rect2, rect_ret) ^ OverConv.c:2566:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enoughSpaceForStatus(ocw) ^ OverConv.c:2624:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeDisplayFragments(fragments) ^ OverConv.c:2637:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroyDisplayFragments(fragments) ^ OverConv.c:2651:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocDisplaySegments(ocw, n) ^ OverConv.c:2670:15: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeString(&dsp->seg); ^ OverConv.c:2667:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeDisplaySegment(dsp) ^ OverConv.c:2677:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clearAllDisplaySegments(ocw) ^ OverConv.c:2691:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyString(from, to) ^ OverConv.c:2702:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeString(seg) ^ OverConv.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: OverConv.c,v 1.71 1999/05/06 09:07:58 ishisone Exp $"; ^ 159 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/include/sj3lib -I/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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (void)CreateAuxWidget(ocw); ^ OnConv.c:231:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ OnConv.c:266:16: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeString(&dsp[i].seg); ^ OnConv.c:255:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ OnConv.c:275:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, new, args, num_args) ^ OnConv.c:304:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CBPreeditStart(widget); ^ OnConv.c:298:12: warning: unused variable 'inputobj' [-Wunused-variable] Widget inputobj = ocw->ccontrol.inputobj; ^ OnConv.c:292:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionStartup(widget, valuemask, value) ^ OnConv.c:356:19: warning: passing arguments to 'CBPreeditDraw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CBStatusDraw(ocw, encoding, format, 0, (XPointer)"", 0); ^ OnConv.c:339:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConversionFinish(w) ^ OnConv.c:380:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeAttributes(w, valuemask, value) ^ OnConv.c:395:12: warning: passing arguments to 'UpdateMode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateMode(w); ^ OnConv.c:390:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeFocus(w, set) ^ OnConv.c:414:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringToFeedbackAttrs(args, num_args, from, to) ^ OnConv.c:463:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateSelectionWidget(ocw) ^ OnConv.c:491:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateAuxWidget(ocw) ^ OnConv.c:552:25: warning: passing arguments to 'allocDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] destroyAttributeBuffer(buffer); ^ OnConv.c:524:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateText(w) ^ OnConv.c:681:15: warning: passing arguments to 'CBPreeditDraw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] clearAllDisplaySegments(ocw); ^ OnConv.c:663:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommitText(w, arg) ^ OnConv.c:713:17: warning: passing arguments to 'CBStatusDraw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CBStatusDraw(ocw, encoding, format, length, string, nchars); ^ OnConv.c:696:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateMode(w) ^ OnConv.c:731:16: warning: passing arguments to 'SelectionStart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] SelectionGet(ocw, &arg->u.current_item); ^ OnConv.c:721:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionControl(w, arg) ^ OnConv.c:779:25: warning: passing arguments to 'LocateSelectionPopup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LocateSelectionPopup(ocw); ^ OnConv.c:759:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionStart(ocw, kind) ^ OnConv.c:802:34: warning: passing arguments to 'SafeGetWindowAttributes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] MoveShell(shell, x, y); ^ OnConv.c:786:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LocateSelectionPopup(ocw) ^ OnConv.c:827:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionEnd(ocw, current) ^ OnConv.c:849:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionSet(ocw, current) ^ OnConv.c:867:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionGet(ocw, current) ^ OnConv.c:885:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionMove(ocw, dir) ^ OnConv.c:914:10: warning: passing arguments to 'AuxStart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] AuxChange(ocw); ^ OnConv.c:904:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxControl(w, arg) ^ OnConv.c:952:17: warning: passing arguments to 'LocateAuxPopup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LocateAuxPopup(ocw); ^ OnConv.c:935:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxStart(ocw) ^ OnConv.c:960:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxEnd(ocw) ^ OnConv.c:974:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxChange(ocw) ^ OnConv.c:1006:34: warning: passing arguments to 'SafeGetWindowAttributes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] MoveShell(shell, x, y); ^ OnConv.c:990:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LocateAuxPopup(ocw) ^ OnConv.c:1042:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int current = (int)call_data; ^~~~~~~~~~~~~~ OnConv.c:1036:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionSelected(w, client_data, call_data) ^ OnConv.c:1056:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SafeGetWindowAttributes(dpy, w, attr) ^ OnConv.c:1073:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveShell(w, x, y) ^ OnConv.c:1094:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getToplevelWindow(dpy, win) ^ OnConv.c:1133:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setTransientFor(w, win) ^ OnConv.c:1143:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocDisplaySegments(ocw, n) ^ OnConv.c:1162:15: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeString(&dsp->seg); ^ OnConv.c:1159:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeDisplaySegment(dsp) ^ OnConv.c:1167:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clearAllDisplaySegments(ocw) ^ OnConv.c:1181:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyString(from, to) ^ OnConv.c:1192:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeString(seg) ^ OnConv.c:1215:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroyAttributeBuffer(buffer) ^ OnConv.c:1247:24: warning: passing arguments to 'attrToFeedback' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fb = attrToFeedback(fba, seg->attr); ^ OnConv.c:1224:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addAttributeBuffer(buffer, inputobj, seg, offset, fba) ^ OnConv.c:1256:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] attrToFeedback(fba, attr) ^ OnConv.c:1282:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CBPreeditStart(ocw) ^ OnConv.c:1300:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CBPreeditDone(ocw) ^ OnConv.c:1318:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CBPreeditDraw(ocw, caret, chg_first, chg_length, encoding, format, text_length, text, attrs_length, attrs) ^ OnConv.c:1370:10: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)caret); ^~~~~~~~~~~~~~~~ OnConv.c:1356:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CBPreeditCaret(ocw, caret) ^ OnConv.c:1375:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CBStatusStart(ocw) ^ OnConv.c:1393:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CBStatusDone(ocw) ^ OnConv.c:1411:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CBStatusDraw(ocw, encoding, format, length, text, nchars) ^ OnConv.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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] CBStatusStart(ocw) ^ OnConv.c:1393:1: warning: unused function 'CBStatusDone' [-Wunused-function] CBStatusDone(ocw) ^ 99 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringToFontMapping(args, num_args, from, to) ^ WcharDisp.c:228:13: warning: passing arguments to 'GetAtoms' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] GetGC(obj); ^ WcharDisp.c:198:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ WcharDisp.c:233:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ WcharDisp.c:261:43: warning: self-comparison always evaluates to false [-Wtautological-compare] 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 C2x [-Wdeprecated-non-prototype] GetGC(new); ^ WcharDisp.c:246:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, wid, args, num_args) ^ WcharDisp.c:282:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetAtoms(obj) ^ WcharDisp.c:327:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGC(obj) ^ WcharDisp.c:376:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeFont(obj, fonts, mapping) ^ WcharDisp.c:422:34: warning: passing arguments to 'countControlChars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] expandControlChars(wstr, len, s); ^ WcharDisp.c:400:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringWidth(w, seg, start, end) ^ WcharDisp.c:436:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LineHeight(w, ascentp) ^ WcharDisp.c:495:34: warning: passing arguments to 'countControlChars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] expandControlChars(wstr, len, s); ^ WcharDisp.c:447:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawString(w, canvas, seg, start, end, x, y) ^ WcharDisp.c:542:20: warning: passing arguments to 'charWidth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cwidth = charWidth(*sp++, gcset); ^ WcharDisp.c:527:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaxChar(w, seg, start, width) ^ WcharDisp.c:551:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFonts(w, fonts, num_fonts) ^ WcharDisp.c:603:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] countControlChars(wstr, len) ^ WcharDisp.c:619:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] expandControlChars(org, orglen, res) ^ WcharDisp.c:655:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] defaultCharWidth(font) ^ WcharDisp.c:689:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charWidth(c, gcset) ^ WcharDisp.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: WcharDisp.c,v 1.23 1994/10/27 08:29:05 ishisone Exp $"; ^ 26 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/include/sj3lib -I/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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] getAtoms(xpw); ^ XimpProto.c:260:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ XimpProto.c:315:12: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] deleteClient(xpw->ximp.clients); ^ XimpProto.c:304:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ XimpProto.c:360:16: warning: passing arguments to 'setProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (!ownSelection(xpw)) { ^ XimpProto.c:350:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize(w, mask, value) ^ XimpProto.c:384:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getAtoms(xpw) ^ XimpProto.c:423:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ownSelection(xpw) ^ XimpProto.c:448:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findClient(xpw, id) ^ XimpProto.c:464:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newClient(xpw, client) ^ XimpProto.c:522:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] attachConverter(ccp) ^ XimpProto.c:551:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] detachConverter(ccp) ^ XimpProto.c:585:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deleteClient(client) ^ XimpProto.c:635:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isCorrectClientEvent(xpw, event) ^ XimpProto.c:649:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isCorrectWindowID(w, window, widthp, heightp) ^ XimpProto.c:672:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initializeError(w, resname) ^ XimpProto.c:690:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkLocale(xpw, name) ^ XimpProto.c:742:10: warning: passing arguments to 'getFonts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] getFonts(client, xsattr->fontlist, 0); ^ XimpProto.c:719:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fillInDefaultAttributes(client) ^ XimpProto.c:834:24: warning: passing arguments to 'computeAreaForQuery' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeAreaForQuery(client); ^ XimpProto.c:809:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeAreaForStartup(client) ^ XimpProto.c:852:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeAreaForQuery(client) ^ XimpProto.c:979:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makeConvAttributes(client, attr) ^ XimpProto.c:1069:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getFonts(client, fontnamelist, preedit) ^ XimpProto.c:1135:19: warning: passing arguments to 'setKeyProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setKeyProperty(xpw); ^ XimpProto.c:1098:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setProperty(xpw) ^ XimpProto.c:1142:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setKeyProperty(xpw) ^ XimpProto.c:1197:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!readProperty(client, xpw->ximp.ximpVersionAtom, XA_STRING, 8, ^ XimpProto.c:1189:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] getStatusProperty(client, mask & STATUS_MASK); ^ XimpProto.c:1212:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getAttributes(client, mask) ^ XimpProto.c:1245:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] sendErrorEvent(client, XIMP_BadFocusWindow); ^ XimpProto.c:1235:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getFocusProperty(client) ^ XimpProto.c:1281:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!readProperty(client, xpw->ximp.ximpPreeditFontAtom, XA_STRING, 8, ^ XimpProto.c:1273:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getPreeditFontProperty(client) ^ XimpProto.c:1313:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] if (!strcmp(data, client->xsattrs.fontlist)) { ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here 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] XtFree(data); ^~~~ /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/X11/Intrinsic.h:1875:1: note: passing argument to parameter here ); ^ 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] getFonts(client, data, 0); ^~~~ XimpProto.c:1305:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getStatusFontProperty(client) ^ XimpProto.c:1347:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!readProperty(client, xpw->ximp.ximpPreeditAtom, ^ XimpProto.c:1337:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getPreeditProperty(client, mask) ^ XimpProto.c:1435:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!readProperty(client, xpw->ximp.ximpStatusAtom, ^ XimpProto.c:1425:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getStatusProperty(client, mask) ^ XimpProto.c:1542:16: warning: passing arguments to 'sendErrorEvent' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] sendErrorEvent(client, XIMP_BadPropertyType); ^ XimpProto.c:1513:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readProperty(client, prop, type, format, datapp, lenp) ^ XimpProto.c:1566:18: warning: passing arguments to 'setFocusProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] setStatusProperty(client, mask); ^ XimpProto.c:1561:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setAttributes(client, mask) ^ XimpProto.c:1590:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeProperty(client, xpw->ximp.ximpFocusAtom, XA_WINDOW, 32, ^ XimpProto.c:1584:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setFocusProperty(client) ^ XimpProto.c:1602:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeProperty(client, xpw->ximp.ximpPreeditFontAtom, XA_STRING, 8, ^ XimpProto.c:1596:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setPreeditFontProperty(client) ^ XimpProto.c:1615:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeProperty(client, xpw->ximp.ximpStatusFontAtom, XA_STRING, 8, ^ XimpProto.c:1609:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setStatusFontProperty(client) ^ XimpProto.c:1674:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeProperty(client, xpw->ximp.ximpPreeditAtom, ^ XimpProto.c:1622:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setPreeditProperty(client, mask) ^ XimpProto.c:1732:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeProperty(client, xpw->ximp.ximpStatusAtom, ^ XimpProto.c:1681:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setStatusProperty(client, mask) ^ XimpProto.c:1739:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeProperty(client, prop, type, format, datap, len) ^ XimpProto.c:1767:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendClientMessage8(client, str, len) ^ XimpProto.c:1796:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendClientMessage32(client, type, l1, l2, l3, l4) ^ XimpProto.c:1820:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendKeyEvent(client, keyevent) ^ XimpProto.c:1832:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendErrorEvent(client, error) ^ XimpProto.c:1842:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendCreateRefusal(xpw, window) ^ XimpProto.c:1877:12: warning: passing arguments to 'fixProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixProc(ccp, arg); ^ XimpProto.c:1868:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixCallback(w, client_data, call_data) ^ XimpProto.c:1882:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixProc(client, arg) ^ XimpProto.c:1944:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] endProc(ccp, abort); ^ XimpProto.c:1938:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endCallback(w, client_data, call_data) ^ XimpProto.c:1958:16: warning: passing arguments to 'preeditDone' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDone(client); ^ XimpProto.c:1952:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endProc(client, abort) ^ XimpProto.c:1971:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unusedEventCallback(w, client_data, call_data) ^ XimpProto.c:2064:16: warning: passing arguments to 'statusStart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusStart(client); ^ XimpProto.c:1989:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximpCreateMessageProc(xpw, ev) ^ XimpProto.c:2088:15: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDone(client); ^ XimpProto.c:2069:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximpDestroyMessageProc(xpw, ev) ^ XimpProto.c:2172:17: warning: passing arguments to 'preeditStart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditStart(client); ^ XimpProto.c:2098:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximpBeginMessageProc(xpw, ev) ^ XimpProto.c:2177:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximpEndMessageProc(xpw, ev) ^ XimpProto.c:2222:16: warning: passing arguments to 'statusStart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusStart(client); ^ XimpProto.c:2205:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximpSetFocusMessageProc(xpw, ev) ^ XimpProto.c:2250:15: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDone(client); ^ XimpProto.c:2230:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximpUnsetFocusMessageProc(xpw, ev) ^ XimpProto.c:2255:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximpMoveMessageProc(xpw, ev) ^ XimpProto.c:2283:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximpResetMessageProc(xpw, ev) ^ XimpProto.c:2335:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximpSetValueMessageProc(xpw, ev) ^ XimpProto.c:2363:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximpChangeMessageProc(xpw, ev) ^ XimpProto.c:2409:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximpGetValueMessageProc(xpw, ev) ^ XimpProto.c:2437:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximpKeyPressMessageProc(xpw, ev) ^ XimpProto.c:2482:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximpExtensionMessageProc(xpw, ev) ^ XimpProto.c:2524:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XimpMessageProc(w, event, args, num_args) ^ XimpProto.c:2575:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionRequestProc(w, event, args, num_args) ^ XimpProto.c:2634:16: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDone(ccp); ^ XimpProto.c:2606:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionClearProc(w, event, args, num_args) ^ XimpProto.c:2651:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClientDead(ev, data) ^ XimpProto.c:2679:17: warning: passing arguments to 'preeditStart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditStart(ccp); ^ XimpProto.c:2672:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditStartCallback(w, client_data, call_data) ^ XimpProto.c:2692:16: warning: passing arguments to 'preeditDone' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDone(ccp); ^ XimpProto.c:2685:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDoneCallback(w, client_data, call_data) ^ XimpProto.c:2706:16: warning: passing arguments to 'preeditDraw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDraw(ccp, arg); ^ XimpProto.c:2698:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDrawCallback(w, client_data, call_data) ^ XimpProto.c:2718:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] preeditCaret(ccp, caret); ^ XimpProto.c:2712:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditCaretCallback(w, client_data, call_data) ^ XimpProto.c:2733:16: warning: passing arguments to 'statusStart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusStart(ccp); ^ XimpProto.c:2726:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusStartCallback(w, client_data, call_data) ^ XimpProto.c:2746:15: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDone(ccp); ^ XimpProto.c:2739:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDoneCallback(w, client_data, call_data) ^ XimpProto.c:2760:15: warning: passing arguments to 'statusDraw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDraw(ccp, arg); ^ XimpProto.c:2752:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDrawCallback(w, client_data, call_data) ^ XimpProto.c:2765:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditStart(client) ^ XimpProto.c:2780:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDone(client) ^ XimpProto.c:2795:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDraw(client, data) ^ XimpProto.c:2904:24: warning: unused variable 'xpw' [-Wunused-variable] XimpProtocolWidget xpw = (XimpProtocolWidget)client->protocolwidget; ^ XimpProto.c:2900:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditCaret(client, caret) ^ XimpProto.c:2915:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusStart(client) ^ XimpProto.c:2930:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDone(client) ^ XimpProto.c:2945:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDraw(client, data) ^ XimpProto.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: XimpProto.c,v 1.49 1999/05/18 08:53:21 ishisone Exp $"; ^ 139 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ IMProto.c:160:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:353:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ IMProto.c:353:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:415:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize(w, mask, value) ^ IMProto.c:415:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:449:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getAtoms(ipw) ^ IMProto.c:449:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:473:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setProperty(ipw) ^ IMProto.c:473:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:548:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ownSelection(ipw) ^ IMProto.c:548:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:571:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convertSelection(w, selectionp, targetp, typep, valuep, lengthp, formatp) ^ IMProto.c:571:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:666:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] loseSelection(w, selectionp) ^ IMProto.c:666:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:718:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] acceptTCPService(client_data, sourcep, idp) ^ IMProto.c:718:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:749:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] acceptUnixService(client_data, sourcep, idp) ^ IMProto.c:749:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:780:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] acceptXService(w, client_data, event, continuep) ^ IMProto.c:780:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:815:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initializeError(w, resname) ^ IMProto.c:815:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:833:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compactList(s) ^ IMProto.c:833:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:858:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setTransport(w) ^ IMProto.c:858:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:906:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makeConverter(w) ^ IMProto.c:906:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:949:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getTriggerKeys(w) ^ IMProto.c:949:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:1014:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ioeCallback(cldata) ^ IMProto.c:1014:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProto.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: IMProto.c,v 1.20 1999/04/12 08:52:23 ishisone Exp $"; ^ 35 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nameHashFunc(s) ^ cachedatom.c:72:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newAtomRec(dpy, atom, arp, nrp) ^ cachedatom.c:101:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newNameRec(name, hashvalue) ^ cachedatom.c:118:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CachedInternAtom(dpy, name, exists) ^ cachedatom.c:157:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CachedGetAtomName(dpy, atom) ^ cachedatom.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LookupByAtom(dpy, atom) ^ cachedfont.c:57:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LookupByName(dpy, name) ^ cachedfont.c:76:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddName(frp, name) ^ cachedfont.c:92:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadFont(frp) ^ cachedfont.c:102:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddFont(dpy, name) ^ cachedfont.c:153:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CachedLoadQueryFontByName(dpy, name) ^ cachedfont.c:182:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CachedLoadQueryFontByProp(dpy, atom) ^ cachedfont.c:224:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CachedLoadFontByFontStruct(dpy, font) ^ cachedfont.c:249:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CachedFreeFont(dpy, font) ^ cachedfont.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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/include/sj3lib -I/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] #define NULL 0 ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/_types/_null.h:30:9: note: previous definition is here #define NULL __DARWIN_NULL ^ ctext.c:112:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *wstr++) { ~~^~~~~~~~~ ctext.c:112:11: note: place parentheses around the assignment to silence this warning while (c = *wstr++) { ^ ( ) ctext.c:112:11: note: use '==' to turn this assignment into an equality comparison while (c = *wstr++) { ^ == ctext.c:85:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convJWStoCT(wstr, xstr, jisroman) ^ ctext.c:195:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getesc(str, len) ^ ctext.c:219:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getcsi(str, len) ^ ctext.c:251:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convCTtoJWS(xstr, len, wstr) ^ ctext.c:71:14: warning: unused variable 'rcsid' [-Wunused-variable] 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resetEventMask(dpy, window, wp) ^ dispatch.c:84:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*handler)(event, data); ^ dispatch.c:110:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doDispatch(event, list) ^ dispatch.c:136:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MyDispatchEvent(event) ^ dispatch.c:160:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MyAddEventHandler(dpy, window, type, mask, func, data) ^ dispatch.c:197:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MyRemoveEventHandler(dpy, window, type, func, data) ^ dispatch.c:247:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MyRemoveAllEventHandler(dpy, window) ^ dispatch.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] match(s, p) ^ fontset.c:77:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] countCommas(s) ^ fontset.c:90:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parseFontSet(spec, basenames) ^ 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 C2x [-Wdeprecated-non-prototype] font = (*func)(dpy, specs->pattern, namelist, numlist); ^ fontset.c:136:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tryCharSet(dpy, cset, extfont, namelist, numlist, func) ^ fontset.c:161:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] exactMatchFont(dpy, csetstr, namelist, numlist) ^ fontset.c:197:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] csSuppliedMatchFont(dpy, csetstr, namelist, numlist) ^ fontset.c:243:36: warning: passing arguments to 'getXLFDName' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (namelist->xlfdname = getXLFDName(dpy, name)) == NULL)) { ^ fontset.c:225:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] csReplacedMatchFont(dpy, csetstr, namelist, numlist) ^ fontset.c:279:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getXLFDName(dpy, nonxlfdname) ^ fontset.c:314:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtractFontsFromFontSet(dpy, fontset, charsets, exfonts, numcsets) ^ fontset.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: fontset.c,v 1.9 1994/06/02 04:59:23 ishisone Rel $"; ^ 12 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wstrcat(s1, s2) ^ wstring.c:37:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s1++ = *s2++) ~~~~~~^~~~~~~ wstring.c:37:15: note: place parentheses around the assignment to silence this warning while (*s1++ = *s2++) ^ ( ) wstring.c:37:15: note: use '==' to turn this assignment into an equality comparison while (*s1++ = *s2++) ^ == wstring.c:44:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wstrncat(s1, s2, n) ^ wstring.c:63:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wstrcmp(s1, s2) ^ wstring.c:72:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wstrncmp(s1, s2, n) ^ wstring.c:84:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wstrcpy(s1, s2) ^ wstring.c:89:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s1++ = *s2++) ~~~~~~^~~~~~~ wstring.c:89:15: note: place parentheses around the assignment to silence this warning while (*s1++ = *s2++) ^ ( ) wstring.c:89:15: note: use '==' to turn this assignment into an equality comparison while (*s1++ = *s2++) ^ == wstring.c:96:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wstrncpy(s1, s2, n) ^ wstring.c:111:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wstrlen(s) ^ wstring.c:131:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (x = *s++) { ~~^~~~~~ wstring.c:131:11: note: place parentheses around the assignment to silence this warning while (x = *s++) { ^ ( ) wstring.c:131:11: note: use '==' to turn this assignment into an equality comparison while (x = *s++) { ^ == wstring.c:150:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (x = *s++) { ~~^~~~~~ wstring.c:150:11: note: place parentheses around the assignment to silence this warning while (x = *s++) { ^ ( ) wstring.c:150:11: note: use '==' to turn this assignment into an equality comparison 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtWSGetGCSet(w, mask, values, fontG0, fontG1, fontG2, fontG3) ^ xtwstr.c:71:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtWSDestroyGCSet(gcset) ^ xtwstr.c:93:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtWSReleaseGCSet(w, gcset) ^ xtwstr.c:24:14: warning: unused variable 'rcsid' [-Wunused-variable] 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XWSSetGCSet(dpy, gc0, gc1, gc2, gc3) ^ xwstr.c:154:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XWSSetMapping(gcset, g0map, g1map, g2map, g3map) ^ xwstr.c:176:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XWSDrawString(d, w, gcset, x, y, wstr, len) ^ xwstr.c:189:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XWSDrawImageString(d, w, gcset, x, y, wstr, len) ^ xwstr.c:202:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XWSFontHeight(gcset, wstr, len, ascent, descent) ^ xwstr.c:239:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XWSTextWidth(gcset, wstr, len) ^ xwstr.c:310:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XWSTextExtents(gcset, wstr, len, ascent, descent, overall) ^ xwstr.c:410:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wsdrawstring(d, w, gcset, x, y, wstr, len, image) ^ xwstr.c:410:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xwstr.c:482:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flushstr(d, w, fe, x, y, cp0, cp1, image) ^ xwstr.c:482:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xwstr.c:76:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: xwstr.c,v 2.9 1999/01/07 03:13:03 ishisone Exp $"; ^ 12 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ignoreErrors(dpy, eev, cldata) ^ asyncerr.c:82:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] recordErrors(dpy, eev, cldata) ^ asyncerr.c:114:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eremove(edp) ^ asyncerr.c:122:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (edp->destroy != NULL) (*edp->destroy)(edp->dpy, edp->client_data); ^ asyncerr.c:132:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if ((*edp->handler)(dpy, eev, edp->client_data)) call_original = 1; ^ asyncerr.c:141:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] callHandlers(dpy, eev) ^ asyncerr.c:161:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] removeHandlers(dpy) ^ asyncerr.c:185:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)original_handler(dpy, eev); ^ asyncerr.c:205:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XAESetErrorHandler(handler) ^ asyncerr.c:216:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XAESet(dpy, handler, destroy, client_data) ^ asyncerr.c:248:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XAEUnset(handle) ^ asyncerr.c:261:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XAESetIgnoreErrors(dpy) ^ asyncerr.c:268:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XAESetRecordErrors(dpy, errorbitsp) ^ asyncerr.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getsum(s) ^ fontbank.c:102:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getInfo(lang) ^ fontbank.c:115:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lookupCacheFonts(bank, fontset, num_fontsp) ^ fontbank.c:144:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cacheFonts(bank, fontset, fonts, num_fonts) ^ fontbank.c:166:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extractFonts(dpy, fontset, charsets, ncharsets, nfontsp) ^ fontbank.c:198:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeCache(bank) ^ fontbank.c:223:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FontBankCreate(dpy, language) ^ fontbank.c:257:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FontBankDestroy(bank) ^ fontbank.c:286:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FontBankGet(bank, fontset, num_fontsp) ^ fontbank.c:311:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FontBankFreeFonts(bank, fonts, num_fonts) ^ fontbank.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parseModifiers(s, modp, chkmodp) ^ parsekey.c:90:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mystrstr(s1, s2) ^ parsekey.c:111:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseKeyEvent(s, keysymp, modp, chkmodp) ^ parsekey.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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/include/sj3lib -I/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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] return (*original_handler)(dpy); ^ ioecall.c:45:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XIOEHandler(dpy) ^ ioecall.c:67:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] (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] 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/include/sj3lib -I/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] /* convert */ convert, sel_forward, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:282:23: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* convert-or-fix1 */ convert_f1, sel_forward, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:283:25: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* convert-or-sendback*/convert_sb, sel_forward, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:284:24: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* convert-or-space */ convert_sp, sel_forward, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:285:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* convert-s */ convert_s, sel_forward, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:286:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* unconvert */ unconvert, beep, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:287:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* next */ cand_next, sel_next, sel_next, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:288:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* next-s */ cand_next_s, sel_next, sel_next, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:289:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* previous */ cand_prev, sel_prev, sel_prev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:290:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* previous-s */ cand_prev_s, sel_prev, sel_prev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:291:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* forward */ move_forward, sel_forward, sel_forward, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:292:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* backward */ move_backward, sel_backward, sel_backward, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:293:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* move-top */ move_top, sel_top, sel_top, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:294:19: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* move-bottom */ move_bottom, sel_bottom, sel_bottom, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:295:14: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* clear */ clear_buffer, clear_buffer, clear_buffer, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:296:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* expand */ expand_cl, expand_cl, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:297:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* expand-s */ expand_cl_s, expand_cl_s, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:298:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* shrink */ shrink_cl, shrink_cl, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:299:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* shrink-s */ shrink_cl_s, shrink_cl_s, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:300:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* expand-noconv */ expand_cl2, expand_cl2, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:301:23: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* expand-noconv-s */ expand_cl2_s, expand_cl2_s, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:302:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* shrink-noconv */ shrink_cl2, shrink_cl2, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:303:23: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* shrink-noconv-s */ shrink_cl2_s, shrink_cl2_s, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:304:12: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* fix */ fix, fix, fix, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:305:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* fix2 */ fix, fix, fix, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:306:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* fix-or-cr */ fix_cr, sel_select, sel_select, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:307:23: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* fix-or-sendback */ fix_sb, sel_select, sel_select, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:308:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* to-hankaku */ hankaku, hankaku, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:309:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* to-zenkaku */ zenkaku, zenkaku, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:310:19: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* to-hiragana */ hiragana, hiragana, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:311:19: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* to-katakana */ katakana, katakana, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:312:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* backspace */ backspace, backspace, backspace, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:313:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* delete */ delete, delete, delete, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:314:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* kill-line */ kill_line, kill_line, kill_line, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:315:23: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* carriage-return */ carriageret, sel_select, sel_select, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:316:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* fix-and-write */ fix, beep, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:317:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* beep */ bell, bell, bell, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:318:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* jiscode-begin */ jiscode_begin, beep, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:319:19: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* jiscode-end */ jiscode_end, beep, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:320:23: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* kutencode-begin */ kuten_begin, beep, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:321:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* kutencode-end */ kuten_end, beep, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:322:20: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* symbol-input */ sym_input, beep, sel_abort, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:323:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* end-conversion */ convend, convend, convend, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:324:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* send-back */ send_back, send_back, send_back, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:325:24: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* convert-move-..sb*/ convert_mt_sb, sel_forward, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:326:24: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* convert-move-..sp*/ convert_mt_sp, sel_forward, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:327:23: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* clear-or-cancel */ clear_c, clear_c, clear_c, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:328:27: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* backspace-or-cancel */ backspace_c, backspace_c, backspace_c, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:329:24: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* delete-or-cancel */ delete_c, delete_c, delete_c, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:330:25: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* convert-next-..sb */ cand_next_mt_sb, sel_forward, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:331:25: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* convert-next-..sp */ cand_next_mt_sp, sel_forward, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:332:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* select */ egg_select, beep, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:333:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* select-s */ egg_select_s, beep, beep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } CcWnn.c:334:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] /* 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 C2x [-Wdeprecated-non-prototype] NumSymbols = buildSymbolList(&SymbolList); ^ CcWnn.c:388:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buildSymbolList(listp) ^ CcWnn.c:458:28: warning: passing arguments to 'NumSegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (NumSegments(w) != 0 || ^ CcWnn.c:446:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InputEvent(w, event) ^ CcWnn.c:525:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMode(w) ^ CcWnn.c:542:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CursorPos(w, nsegp, ncharp) ^ CcWnn.c:573:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NumSegments(w) ^ CcWnn.c:582:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetSegment(w, n) ^ CcWnn.c:606:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CompareSegment(w, seg1, seg2, n) ^ CcWnn.c:633:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetItemList(w, n) ^ CcWnn.c:667:23: warning: passing arguments to 'insertSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = insertSelection(obj, n); ^ CcWnn.c:655:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectItem(w, n) ^ CcWnn.c:720:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); ^ CcWnn.c:681:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertedString(w, encoding, format, length, string) ^ 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 C2x [-Wdeprecated-non-prototype] clear_buffer(obj); ^ CcWnn.c:731:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearConversion(w) ^ CcWnn.c:746:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetAuxSegments(w, n, ns, nc) ^ CcWnn.c:788:17: warning: passing arguments to 'ccInitialize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] addObject(obj); ^ CcWnn.c:758:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ CcWnn.c:806:35: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj->ccWnn.ccdeffile = getenv("CC_DEF"); ^ CcWnn.c:795:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ccInitialize(obj) ^ CcWnn.c:862:9: warning: incompatible function pointer types passing 'void ()' to parameter of type 'int (*)(const char *)' [-Wincompatible-function-pointer-types] createEnvError, ^~~~~~~~~~~~~~ ../include/wnnlib.h:114:11: note: passing argument to parameter 'error' here 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] createEnvError, ^~~~~~~~~~~~~~ ../include/wnnlib.h:114:11: note: passing argument to parameter 'error' here 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 C2x [-Wdeprecated-non-prototype] if (obj->ccWnn.pendingdata) restoreData(obj); ^ CcWnn.c:829:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcInitialize(obj) ^ CcWnn.c:903:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] createEnvError(s) ^ 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 C2x [-Wdeprecated-non-prototype] return (*current_obj->ccWnn.confirmfunc)((Widget)current_obj, s); ^ CcWnn.c:911:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] createConfirm(s) ^ CcWnn.c:942:17: warning: passing arguments to 'deleteObject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deleteObject(obj); ^ CcWnn.c:920:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ CcWnn.c:947:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, wid, args, num_args) ^ 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*functable[func][0])(obj); ^ CcWnn.c:973:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] funcDispatch(func, str, nbytes, w) ^ CcWnn.c:1009:25: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (nbytes > 0) beep((CcWnnObject)w); ^ CcWnn.c:1004:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] defAction(str, nbytes, w) ^ CcWnn.c:1019:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] toHex(c) ^ CcWnn.c:1038:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] toHex4(s) ^ CcWnn.c:1058:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] beep(obj); ^ CcWnn.c:1073:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insChar(c, cldata) ^ CcWnn.c:1132:6: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] beep(obj); ^ CcWnn.c:1126:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delChar(cldata) ^ CcWnn.c:1151:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] fix(obj); ^ CcWnn.c:1141:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] autoFix(cldata) ^ CcWnn.c:1190:16: warning: passing arguments to 'startSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (jcConvert(jcbuf, small, 0, 1) < 0) beep(obj); ^ CcWnn.c:1178:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convert_general(obj, small) ^ CcWnn.c:1200:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convert(obj) ^ 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] fix(obj); ^ CcWnn.c:1207:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convert_sb(obj) ^ CcWnn.c:1224:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fix(obj); ^ CcWnn.c:1219:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convert_sp(obj) ^ 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] move_forward(obj); ^ CcWnn.c:1231:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] fix1(obj); ^ CcWnn.c:1252:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convert_f1(obj) ^ 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] move_forward(obj); ^ CcWnn.c:1265:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convert_mt_sb(obj) ^ CcWnn.c:1292:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] move_forward(obj); ^ CcWnn.c:1286:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convert_mt_sp(obj) ^ CcWnn.c:1307:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convert_s(obj) ^ CcWnn.c:1317:42: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (jcUnconvert(JCBUF(obj)) < 0) beep(obj); ^ CcWnn.c:1314:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unconvert(obj) ^ CcWnn.c:1335:16: warning: passing arguments to 'startSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] startSelection(obj, small); ^ CcWnn.c:1323:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] select_general(obj, small) ^ CcWnn.c:1342:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] egg_select(obj) ^ CcWnn.c:1350:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] egg_select_s(obj) ^ CcWnn.c:1385:25: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (status < 0) beep(obj); ^ CcWnn.c:1364:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_general(obj, direction) ^ CcWnn.c:1393:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_forward(obj) ^ CcWnn.c:1400:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_backward(obj) ^ CcWnn.c:1407:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_top(obj) ^ CcWnn.c:1414:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_bottom(obj) ^ CcWnn.c:1434:50: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (jcNext(JCBUF(obj), small, type) < 0) beep(obj); ^ CcWnn.c:1429:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cand_general(obj, small, type) ^ CcWnn.c:1440:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cand_next(obj) ^ CcWnn.c:1447:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cand_next_mt(obj) ^ CcWnn.c:1458:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cand_next_mt_sb(obj) ^ CcWnn.c:1469:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cand_next_mt_sp(obj) ^ CcWnn.c:1480:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cand_next_s(obj) ^ CcWnn.c:1487:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cand_prev(obj) ^ CcWnn.c:1494:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cand_prev_s(obj) ^ CcWnn.c:1521:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (status < 0) beep(obj); ^ CcWnn.c:1513:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] expand_shrink_general(obj, shrink, small, conv) ^ CcWnn.c:1535:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] expand_cl(obj) ^ CcWnn.c:1542:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] expand_cl_s(obj) ^ CcWnn.c:1549:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shrink_cl(obj) ^ CcWnn.c:1556:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shrink_cl_s(obj) ^ CcWnn.c:1563:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] expand_cl2(obj) ^ CcWnn.c:1570:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] expand_cl2_s(obj) ^ CcWnn.c:1577:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shrink_cl2(obj) ^ CcWnn.c:1584:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shrink_cl2_s(obj) ^ CcWnn.c:1599:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (jcClear(JCBUF(obj)) < 0) beep(obj); ^ CcWnn.c:1596:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_buffer(obj) ^ CcWnn.c:1609:39: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (jcCancel(JCBUF(obj)) < 0) beep(obj); ^ CcWnn.c:1606:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] endSelection(obj, False); ^ CcWnn.c:1617:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_c(obj) ^ CcWnn.c:1652:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moveSelection(obj, ICMoveLeftMost); ^ CcWnn.c:1649:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sel_top(obj) ^ CcWnn.c:1659:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moveSelection(obj, ICMoveRightMost); ^ CcWnn.c:1656:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sel_bottom(obj) ^ CcWnn.c:1666:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moveSelection(obj, ICMoveRight); ^ CcWnn.c:1663:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sel_forward(obj) ^ CcWnn.c:1673:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moveSelection(obj, ICMoveLeft); ^ CcWnn.c:1670:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sel_backward(obj) ^ CcWnn.c:1680:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moveSelection(obj, ICMoveDown); ^ CcWnn.c:1677:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sel_next(obj) ^ CcWnn.c:1687:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moveSelection(obj, ICMoveUp); ^ CcWnn.c:1684:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sel_prev(obj) ^ CcWnn.c:1694:17: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endSelection(obj, False); ^ CcWnn.c:1691:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sel_select(obj) ^ CcWnn.c:1701:17: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endSelection(obj, True); ^ CcWnn.c:1698:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sel_abort(obj) ^ CcWnn.c:1710:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] beep(obj); ^ CcWnn.c:1705:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fix(obj) ^ CcWnn.c:1746:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] beep(obj); ^ CcWnn.c:1741:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fix1(obj) ^ CcWnn.c:1781:13: warning: passing arguments to 'carriageret' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] carriageret(obj); ^ CcWnn.c:1777:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fix_cr(obj) ^ 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 C2x [-Wdeprecated-non-prototype] send_back(obj); ^ CcWnn.c:1789:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fix_sb(obj) ^ CcWnn.c:1831:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1a1, 0x20, 0xa1a2, 0xa4, 0xa1a3, 0xa1, 0xa1a4, 0x2c, ^~~~~~~~~~~~ { } CcWnn.c:1831:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1a1, 0x20, 0xa1a2, 0xa4, 0xa1a3, 0xa1, 0xa1a4, 0x2c, ^~~~~~~~~~~~ { } CcWnn.c:1831:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1a1, 0x20, 0xa1a2, 0xa4, 0xa1a3, 0xa1, 0xa1a4, 0x2c, ^~~~~~~~~~~~ { } CcWnn.c:1831:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1a1, 0x20, 0xa1a2, 0xa4, 0xa1a3, 0xa1, 0xa1a4, 0x2c, ^~~~~~~~~~~~ { } CcWnn.c:1832:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1a5, 0x2e, 0xa1a6, 0xa5, 0xa1a7, 0x3a, 0xa1a8, 0x3b, ^~~~~~~~~~~~ { } CcWnn.c:1832:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1a5, 0x2e, 0xa1a6, 0xa5, 0xa1a7, 0x3a, 0xa1a8, 0x3b, ^~~~~~~~~~~~ { } CcWnn.c:1832:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1a5, 0x2e, 0xa1a6, 0xa5, 0xa1a7, 0x3a, 0xa1a8, 0x3b, ^~~~~~~~~~~~ { } CcWnn.c:1832:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1a5, 0x2e, 0xa1a6, 0xa5, 0xa1a7, 0x3a, 0xa1a8, 0x3b, ^~~~~~~~~~~~ { } CcWnn.c:1833:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1a9, 0x3f, 0xa1aa, 0x21, 0xa1ab, 0xde, 0xa1ac, 0xdf, ^~~~~~~~~~~~ { } CcWnn.c:1833:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1a9, 0x3f, 0xa1aa, 0x21, 0xa1ab, 0xde, 0xa1ac, 0xdf, ^~~~~~~~~~~~ { } CcWnn.c:1833:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1a9, 0x3f, 0xa1aa, 0x21, 0xa1ab, 0xde, 0xa1ac, 0xdf, ^~~~~~~~~~~~ { } CcWnn.c:1833:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1a9, 0x3f, 0xa1aa, 0x21, 0xa1ab, 0xde, 0xa1ac, 0xdf, ^~~~~~~~~~~~ { } CcWnn.c:1834:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1b0, 0x5e, 0xa1b2, 0x5f, 0xa1bc, 0xb0, 0xa1bf, 0x2f, ^~~~~~~~~~~~ { } CcWnn.c:1834:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1b0, 0x5e, 0xa1b2, 0x5f, 0xa1bc, 0xb0, 0xa1bf, 0x2f, ^~~~~~~~~~~~ { } CcWnn.c:1834:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1b0, 0x5e, 0xa1b2, 0x5f, 0xa1bc, 0xb0, 0xa1bf, 0x2f, ^~~~~~~~~~~~ { } CcWnn.c:1834:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1b0, 0x5e, 0xa1b2, 0x5f, 0xa1bc, 0xb0, 0xa1bf, 0x2f, ^~~~~~~~~~~~ { } CcWnn.c:1835:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1c1, 0x7e, 0xa1c3, 0x7c, 0xa1c6, 0x60, 0xa1c7, 0x27, ^~~~~~~~~~~~ { } CcWnn.c:1835:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1c1, 0x7e, 0xa1c3, 0x7c, 0xa1c6, 0x60, 0xa1c7, 0x27, ^~~~~~~~~~~~ { } CcWnn.c:1835:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1c1, 0x7e, 0xa1c3, 0x7c, 0xa1c6, 0x60, 0xa1c7, 0x27, ^~~~~~~~~~~~ { } CcWnn.c:1835:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1c1, 0x7e, 0xa1c3, 0x7c, 0xa1c6, 0x60, 0xa1c7, 0x27, ^~~~~~~~~~~~ { } CcWnn.c:1836:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1c8, 0x22, 0xa1c9, 0x22, 0xa1ca, 0x28, 0xa1cb, 0x29, ^~~~~~~~~~~~ { } CcWnn.c:1836:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1c8, 0x22, 0xa1c9, 0x22, 0xa1ca, 0x28, 0xa1cb, 0x29, ^~~~~~~~~~~~ { } CcWnn.c:1836:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1c8, 0x22, 0xa1c9, 0x22, 0xa1ca, 0x28, 0xa1cb, 0x29, ^~~~~~~~~~~~ { } CcWnn.c:1836:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1c8, 0x22, 0xa1c9, 0x22, 0xa1ca, 0x28, 0xa1cb, 0x29, ^~~~~~~~~~~~ { } CcWnn.c:1837:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1cc, 0x5b, 0xa1cd, 0x5d, 0xa1ce, 0x5b, 0xa1cf, 0x5d, ^~~~~~~~~~~~ { } CcWnn.c:1837:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1cc, 0x5b, 0xa1cd, 0x5d, 0xa1ce, 0x5b, 0xa1cf, 0x5d, ^~~~~~~~~~~~ { } CcWnn.c:1837:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1cc, 0x5b, 0xa1cd, 0x5d, 0xa1ce, 0x5b, 0xa1cf, 0x5d, ^~~~~~~~~~~~ { } CcWnn.c:1837:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1cc, 0x5b, 0xa1cd, 0x5d, 0xa1ce, 0x5b, 0xa1cf, 0x5d, ^~~~~~~~~~~~ { } CcWnn.c:1838:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1d0, 0x7b, 0xa1d1, 0x7d, 0xa1d6, 0xa2, 0xa1d7, 0xa3, ^~~~~~~~~~~~ { } CcWnn.c:1838:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1d0, 0x7b, 0xa1d1, 0x7d, 0xa1d6, 0xa2, 0xa1d7, 0xa3, ^~~~~~~~~~~~ { } CcWnn.c:1838:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1d0, 0x7b, 0xa1d1, 0x7d, 0xa1d6, 0xa2, 0xa1d7, 0xa3, ^~~~~~~~~~~~ { } CcWnn.c:1838:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1d0, 0x7b, 0xa1d1, 0x7d, 0xa1d6, 0xa2, 0xa1d7, 0xa3, ^~~~~~~~~~~~ { } CcWnn.c:1839:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1dc, 0x2b, 0xa1dd, 0x2d, 0xa1e1, 0x3d, 0xa1e3, 0x3c, ^~~~~~~~~~~~ { } CcWnn.c:1839:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1dc, 0x2b, 0xa1dd, 0x2d, 0xa1e1, 0x3d, 0xa1e3, 0x3c, ^~~~~~~~~~~~ { } CcWnn.c:1839:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1dc, 0x2b, 0xa1dd, 0x2d, 0xa1e1, 0x3d, 0xa1e3, 0x3c, ^~~~~~~~~~~~ { } CcWnn.c:1839:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1dc, 0x2b, 0xa1dd, 0x2d, 0xa1e1, 0x3d, 0xa1e3, 0x3c, ^~~~~~~~~~~~ { } CcWnn.c:1840:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1e4, 0x3e, 0xa1ef, 0x5c, 0xa1f0, 0x24, 0xa1f3, 0x25, ^~~~~~~~~~~~ { } CcWnn.c:1840:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1e4, 0x3e, 0xa1ef, 0x5c, 0xa1f0, 0x24, 0xa1f3, 0x25, ^~~~~~~~~~~~ { } CcWnn.c:1840:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1e4, 0x3e, 0xa1ef, 0x5c, 0xa1f0, 0x24, 0xa1f3, 0x25, ^~~~~~~~~~~~ { } CcWnn.c:1840:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1e4, 0x3e, 0xa1ef, 0x5c, 0xa1f0, 0x24, 0xa1f3, 0x25, ^~~~~~~~~~~~ { } CcWnn.c:1841:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1f4, 0x23, 0xa1f5, 0x26, 0xa1f6, 0x2a, 0xa1f7, 0x40, ^~~~~~~~~~~~ { } CcWnn.c:1841:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1f4, 0x23, 0xa1f5, 0x26, 0xa1f6, 0x2a, 0xa1f7, 0x40, ^~~~~~~~~~~~ { } CcWnn.c:1841:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1f4, 0x23, 0xa1f5, 0x26, 0xa1f6, 0x2a, 0xa1f7, 0x40, ^~~~~~~~~~~~ { } CcWnn.c:1841:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1f4, 0x23, 0xa1f5, 0x26, 0xa1f6, 0x2a, 0xa1f7, 0x40, ^~~~~~~~~~~~ { } CcWnn.c:1801:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] to_hankaku(start, end, res) ^ CcWnn.c:1886:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (jcChangeClause(jcbuf, buf) < 0) beep(obj); ^ CcWnn.c:1944:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zenkaku_hankaku(obj, hankaku) ^ CcWnn.c:1970:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zenkaku(obj) ^ CcWnn.c:1977:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hankaku(obj) ^ CcWnn.c:1988:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (jcKana(JCBUF(obj), 0, type) < 0) beep(obj); ^ CcWnn.c:1984:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hiragana_katakana(obj, type) ^ CcWnn.c:1996:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hiragana(obj) ^ CcWnn.c:2003:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] katakana(obj) ^ CcWnn.c:2016:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] endSelection(obj, False); ^ CcWnn.c:2014:13: warning: enumeration value 'normal_state' not handled in switch [-Wswitch] switch (obj->ccWnn.state) { ^~~~~~~~~~~~~~~~ CcWnn.c:2014:13: note: add missing switch cases switch (obj->ccWnn.state) { ^ CcWnn.c:2028:46: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (jcDeleteChar(JCBUF(obj), 1) < 0) beep(obj); ^ CcWnn.c:2011:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] backspace(obj) ^ CcWnn.c:2039:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endSelection(obj, False); ^ CcWnn.c:2033:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] backspace_c(obj) ^ CcWnn.c:2058:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (jcDeleteChar(JCBUF(obj), 0) < 0) beep(obj); ^ CcWnn.c:2055:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete(obj) ^ CcWnn.c:2071:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endSelection(obj, False); ^ CcWnn.c:2065:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_c(obj) ^ CcWnn.c:2090:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (jcKillLine(JCBUF(obj)) < 0) beep(obj); ^ CcWnn.c:2087:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kill_line(obj) ^ CcWnn.c:2097:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bell(obj) ^ CcWnn.c:2104:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] beep(obj) ^ CcWnn.c:2112:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jiscode_begin(obj) ^ CcWnn.c:2119:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jiscode_end(obj) ^ CcWnn.c:2126:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kuten_begin(obj) ^ CcWnn.c:2133:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kuten_end(obj) ^ CcWnn.c:2140:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] carriageret(obj) ^ CcWnn.c:2149:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convend(obj) ^ CcWnn.c:2161:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] send_back(obj) ^ CcWnn.c:2200:21: warning: passing arguments to 'saveYomiAndKanji' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] saveYomiAndKanji(obj); ^ CcWnn.c:2169:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] register_word(obj) ^ CcWnn.c:2210:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sym_input(obj) ^ CcWnn.c:2233:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getSymbol(obj, n) ^ CcWnn.c:2264:21: warning: passing arguments to 'getAllCandidates' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getAllCandidates(obj, ncand); ^ CcWnn.c:2247:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] startSelection(obj, small) ^ CcWnn.c:2283:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moveSelection(obj, dir) ^ CcWnn.c:2315:23: warning: passing arguments to 'insertSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = insertSelection(obj, selected); ^ CcWnn.c:2297:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endSelection(obj, abort) ^ CcWnn.c:2323:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insertSelection(obj, selected) ^ CcWnn.c:2352:13: warning: enumeration value 'normal_state' not handled in switch [-Wswitch] switch (obj->ccWnn.state) { ^~~~~~~~~~~~~~~~ CcWnn.c:2352:13: note: add missing switch cases switch (obj->ccWnn.state) { ^ CcWnn.c:2349:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] normalState(obj) ^ CcWnn.c:2364:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocCandlist(obj, n) ^ CcWnn.c:2384:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocStrdata(obj, nchars) ^ CcWnn.c:2407:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getAllCandidates(obj, ncand) ^ CcWnn.c:2449:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addObject(obj) ^ CcWnn.c:2460:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deleteObject(obj) ^ CcWnn.c:2504:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] saveData(obj) ^ CcWnn.c:2522:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] restoreData(obj) ^ CcWnn.c:2540:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ioeCallback(dummy) ^ CcWnn.c:2558:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findSelectionObj(w) ^ CcWnn.c:2627:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); ^ CcWnn.c:2572:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PreeditString(w, segn, offset, encoding, format, length, string) ^ CcWnn.c:2684:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); ^ CcWnn.c:2639:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StatusString(w, encoding, format, length, string, nchars) ^ CcWnn.c:2696:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convertSelection(w, selp, targetp, typep, valp, lenp, formatp) ^ CcWnn.c:2777:11: warning: call to undeclared function 'convJWStoCT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] convJWStoCT(wbuf, obj->ccWnn.selkanji, 0); ^ CcWnn.c:2748:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] saveYomiAndKanji(obj) ^ CcWnn.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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] cand_next_mt(obj) ^ 320 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int wstrlen(str) ^ cconv.c:862:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:872:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static wchar *wrev(s) ^ cconv.c:872:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:890:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*efunc)(msg); ^ cconv.c:890:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void eproc(efunc, msg) ^ cconv.c:903:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static wchar *promptsave(str) ^ cconv.c:911:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*q++ = *str++) ~~~~~^~~~~~~~ cconv.c:911:15: note: place parentheses around the assignment to silence this warning while (*q++ = *str++) ^ ( ) cconv.c:911:15: note: use '==' to turn this assignment into an equality comparison while (*q++ = *str++) ^ == cconv.c:903:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static wchar *promptsave(str) ^ cconv.c:917:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int parseLine(line, argv, argvsize) ^ cconv.c:931:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *line) { ~~^~~~~~~ cconv.c:931:11: note: place parentheses around the assignment to silence this warning while (c = *line) { ^ ( ) cconv.c:931:11: note: use '==' to turn this assignment into an equality comparison while (c = *line) { ^ == cconv.c:917:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int parseLine(line, argv, argvsize) ^ cconv.c:970:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static FILE *openfile(file) ^ cconv.c:976:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *getenv(); ^ cconv.c:970:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static FILE *openfile(file) ^ cconv.c:1008:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int doinclude(line, files, efunc) ^ cconv.c:1008:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1040:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static uchar *get_line(line, linesize, files, efunc) ^ cconv.c:1040:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1071:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int readRuleFile(rule, file) ^ cconv.c:1071:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1189:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int registMode(rule, ac, av) ^ cconv.c:1189:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1226:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] cdp->key = (ulong *) inkey; ^ ~~~~~~~~~~~~~~~ * cconv.c:1226:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int newMode(rule, files, srec, frec, fnrec, ac, av) ^ cconv.c:1309:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int getDesc(rule, line, frec, fnrec, keyp, maskp, context, result, funcp) ^ cconv.c:1309:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1361:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int getMode(rule, str) ^ cconv.c:1361:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1377:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static uchar *getQuote(line, str, metaf) ^ cconv.c:1399:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *line++) ~~^~~~~~~~~ cconv.c:1399:10: note: place parentheses around the assignment to silence this warning if (c = *line++) ^ ( ) cconv.c:1399:10: note: use '==' to turn this assignment into an equality comparison if (c = *line++) ^ == cconv.c:1377:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static uchar *getQuote(line, str, metaf) ^ cconv.c:1424:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int getKey(line, keyp, maskp) ^ cconv.c:1424:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1535:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int getmask(s) ^ cconv.c:1535:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1566:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *strinc(s, k) ^ cconv.c:1572:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = index(s, *k)) ~~^~~~~~~~~~~~~~ cconv.c:1572:11: note: place parentheses around the assignment to silence this warning while (s = index(s, *k)) ^ ( ) cconv.c:1572:11: note: use '==' to turn this assignment into an equality comparison while (s = index(s, *k)) ^ == cconv.c:1566:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *strinc(s, k) ^ cconv.c:1582:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static ulong getcode(s) ^ cconv.c:1587:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KeySym XStringToKeysym(); ^ cconv.c:1582:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static ulong getcode(s) ^ cconv.c:1600:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] char *mod = func + sizeof("add-modifier-") - 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cconv.c:1600:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int getFunc(rule, frec, fnrec, n, args) ^ cconv.c:1668:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findRule(rulefile) ^ cconv.c:1668:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1683:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addRule(rule) ^ cconv.c:1683:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1692:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deleteRule(rule) ^ cconv.c:1692:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1712:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int wstrsave(srec, str) ^ cconv.c:1712:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1733:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int wstralloc(srec, len) ^ cconv.c:1733:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1771:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void wstradjust(srec) ^ cconv.c:1771:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1785:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static ConvDesc *cdalloc(crec) ^ cconv.c:1785:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1815:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void cdadjust(crec) ^ cconv.c:1815:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1829:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int funcalloc(frec, n) ^ cconv.c:1829:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1867:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void funcadjust(frec) ^ cconv.c:1867:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1881:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int funcsearch(fnrec, funcname) ^ cconv.c:1881:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:1932:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void funcnameadjust(fnrec) ^ cconv.c:1939:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = Realloc(fnrec->funcnamebuf, size)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cconv.c:1939:9: note: place parentheses around the assignment to silence this warning if (cp = Realloc(fnrec->funcnamebuf, size)) { ^ ( ) cconv.c:1939:9: note: use '==' to turn this assignment into an equality comparison if (cp = Realloc(fnrec->funcnamebuf, size)) { ^ == cconv.c:1932:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void funcnameadjust(fnrec) ^ cconv.c:1945:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] if (!(*buf->executefunction)(truefunc, str, len, ^ cconv.c:1945:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int convchar(buf, key, mask, str, len) ^ cconv.c:2040:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int cconvert(buf, mode, inkey, mask, func, str, len) ^ cconv.c:2040:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:2087:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int metamatch(rkey, inkey, nonascii) ^ cconv.c:2087:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:2121:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int contextMatch(buf, context) ^ cconv.c:2121:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cconv.c:2144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*buf->deletechar)(buf->client_data); ^ cconv.c:2161:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *result++) { ~~^~~~~~~~~~~ cconv.c:2161:11: note: place parentheses around the assignment to silence this warning while (c = *result++) { ^ ( ) cconv.c:2161:11: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*buf->insertchar)(c, buf->client_data); ^ cconv.c:2144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void substStr(buf, context, result, str, len) ^ cconv.c:2186:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int getModeSwitchMask(dpy) ^ cconv.c:2233:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ccRule ccParseRule(deffile, errprint) ^ cconv.c:2238:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *getenv(); ^ cconv.c:2248:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (rule = findRule(deffile)) { ~~~~~^~~~~~~~~~~~~~~~~~~ cconv.c:2248:11: note: place parentheses around the assignment to silence this warning if (rule = findRule(deffile)) { ^ ( ) cconv.c:2248:11: note: use '==' to turn this assignment into an equality comparison if (rule = findRule(deffile)) { ^ == cconv.c:2278:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ccBuf ccCreateBuf(rule, csize, functable, nfunc, ^ cconv.c:2358:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ccFreeRule(rule) ^ cconv.c:2383:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ccDestroyBuf(buf) ^ cconv.c:2393:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)(*buf->defaultaction)(str, nbytes, buf->client_data); ^ cconv.c:2469:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ccGetMode(buf) ^ cconv.c:2476:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar *ccGetModePrompt(buf) ^ cconv.c:2483:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ccRule ccGetRule(buf) ^ cconv.c:2490:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] buf->autofix(buf->client_data); ^ cconv.c:2520:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ccContextDelete(buf) ^ cconv.c:2528:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ccContextClear(buf) ^ cconv.c:2538:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ccContextSet(buf, cstr) ^ cconv.c:2555:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ccContextGet(buf, cstr) ^ cconv.c:2572:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ccBuf ccInit(deffile, contextsize, defactfunc, insertfunc, deletefunc, dofunc, ^ cconv.c:2596:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ccTerminate(buf) ^ cconv.c:603:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: cconv.c,v 10.10 1999/08/09 03:17:57 ishisone Exp $"; ^ 109 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/include/sj3lib -I/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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moveKBuf(buf, cl, move) ^ wnnlib.c:745:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:777:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moveDBuf(buf, cl, move) ^ wnnlib.c:777:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:811:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moveCInfo(buf, cl, move) ^ wnnlib.c:811:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:847:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resizeBuffer(buf, len) ^ wnnlib.c:847:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:902:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resizeCInfo(buf, size) ^ wnnlib.c:902:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:925:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setCurClause(buf, cl) ^ wnnlib.c:925:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:950:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getHint(buf, start, end) ^ wnnlib.c:950:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:978:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] renConvert(buf, small) ^ wnnlib.c:978:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:1011:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tanConvert(buf, small) ^ wnnlib.c:1011:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:1082:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doKanrenConvert(buf, cl) ^ wnnlib.c:1082:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:1195:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doKantanDConvert(buf, cls, cle) ^ wnnlib.c:1195:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:1321:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doKantanSConvert(buf, cl) ^ wnnlib.c:1321:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:1408:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makeConverted(buf, cl) ^ wnnlib.c:1408:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:1468:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unconvert(buf, start, end) ^ wnnlib.c:1468:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:1576:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] expandOrShrink(buf, small, expand, convf) ^ wnnlib.c:1576:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:1840:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getCandidates(buf, small) ^ wnnlib.c:1840:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:1920:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setCandidate(buf, n) ^ wnnlib.c:1920:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:2089:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkCandidates(buf, cls, cle) ^ wnnlib.c:2089:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:2115:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] forceStudy(buf, n) ^ wnnlib.c:2115:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wnnlib.c:2286:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcCreateBuffer(wnn, nclause, buffersize) ^ wnnlib.c:2342:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcDestroyBuffer(buf, savedic) ^ wnnlib.c:2371:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcClear(buf) ^ wnnlib.c:2398:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcConvert(buf, small, tan, jump) ^ wnnlib.c:2441:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcUnconvert(buf) ^ wnnlib.c:2492:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcCancel(buf) ^ wnnlib.c:2536:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcExpand(buf, small, convf) ^ wnnlib.c:2550:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcShrink(buf, small, convf) ^ wnnlib.c:2564:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcKana(buf, small, kind) ^ wnnlib.c:2672:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcFix(buf) ^ wnnlib.c:2696:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcFix1(buf) ^ wnnlib.c:2738:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcNext(buf, small, prev) ^ wnnlib.c:2787:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcCandidateInfo(buf, small, ncandp, curcandp) ^ wnnlib.c:2832:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcGetCandidate(buf, n, candstr) ^ wnnlib.c:2865:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcSelect(buf, n) ^ wnnlib.c:2903:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcDotOffset(buf) ^ wnnlib.c:2913:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcIsConverted(buf, cl) ^ wnnlib.c:2931:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcMove(buf, small, dir) ^ wnnlib.c:3033:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcTop(buf) ^ wnnlib.c:3047:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcBottom(buf) ^ wnnlib.c:3074:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcInsertChar(buf, c) ^ wnnlib.c:3160:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcDeleteChar(buf, prev) ^ wnnlib.c:3286:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcKillLine(buf) ^ wnnlib.c:3351:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcChangeClause(buf, str) ^ wnnlib.c:3437:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcSaveDic(buf) ^ wnnlib.c:3448:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcOpen(server, envname, override, rcfile, errmsg, confirm, timeout) ^ wnnlib.c:3461:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 not supported in C2x [-Wdeprecated-non-prototype] extern char *getenv(); ^ wnnlib.c:3594:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcClose(wnnbuf) ^ wnnlib.c:3605:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcIsConnect(wnnbuf) ^ wnnlib.c:575:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: wnnlib.c,v 10.18 2002/01/10 15:51:47 ishisone Exp $"; ^ 69 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/include/sj3lib -I/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' [-Wimplicit-int] static initializeCannaConnection(); ~~~~~~ ^ Canna.c:105:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static toJapaneseMode(); ~~~~~~ ^ Canna.c:107:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static changeTextForCanna(); ~~~~~~ ^ Canna.c:108:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static copyInWchar(); ~~~~~~ ^ Canna.c:109:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static fixProcForCanna(); ~~~~~~ ^ Canna.c:110:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static shiftRight(), shiftLeft(), shiftLeftAll(); ~~~~~~ ^ Canna.c:110:22: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static shiftRight(), shiftLeft(), shiftLeftAll(); ~~~~~~ ^ Canna.c:110:35: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static shiftRight(), shiftLeft(), shiftLeftAll(); ~~~~~~ ^ Canna.c:111:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ibufInitialize(), freeIBuf(); ~~~~~~ ^ Canna.c:111:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ibufInitialize(), freeIBuf(); ~~~~~~ ^ Canna.c:214:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] displayPreEdit(obj, len, buf, &kanji_status); ^ Canna.c:233:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InputEvent(w, event) ^ Canna.c:304:17: warning: passing arguments to 'fixProcForCanna' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] changeTextForCanna(obj, ks); ^ Canna.c:350:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] openSelection(obj, SELECTION_DO, 0/* dummy */); ^ Canna.c:286:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] displayPreEdit(obj, len, buf, ks) ^ Canna.c:362:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMode(w) ^ Canna.c:380:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CursorPos(w, nsegp, ncharp) ^ Canna.c:410:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NumSegments(w) ^ Canna.c:420:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetSegment(w, n) ^ Canna.c:446:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CompareSegment(w, seg1, seg2, n) ^ Canna.c:473:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetItemList(w, n) ^ Canna.c:505:20: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] wcKanjiControl((int)obj, KC_DO, (char *)&ksv); ^~~~~~~~ Canna.c:486:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectItem(w, n) ^ Canna.c:548:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] shiftLeftAll(ib); ^ Canna.c:513:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertedString(w, encoding, format, length, string) ^ Canna.c:570:18: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] wcKanjiControl((int)obj, KC_KILL, (char *)&ksv); ^~~~~~~~ Canna.c:558:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearConversion(w) ^ Canna.c:576:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetAuxSegments(w, n, ns, nc) ^ Canna.c:626:19: warning: passing arguments to 'ibufInitialize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] addObject(obj); ^ Canna.c:608:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ Canna.c:646:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] initializeCannaConnection(obj) ^ Canna.c:657:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] toJapaneseMode(obj); ^ Canna.c:646:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initializeCannaConnection(obj) ^ Canna.c:707:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:722:13: warning: passing arguments to 'freeIBuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeIBuf(obj->canna.ibuf); ^ Canna.c:739:20: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] deleteObject(obj); ^ Canna.c:711:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ Canna.c:766:17: warning: unused variable 'old' [-Wunused-variable] CannaObject old = (CannaObject)cur; ^ Canna.c:767:17: warning: unused variable 'new' [-Wunused-variable] CannaObject new = (CannaObject)wid; ^ Canna.c:758:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, wid, args, num_args) ^ Canna.c:773:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fix(obj) ^ Canna.c:782:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convend(obj) ^ Canna.c:800:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addObject(obj) ^ Canna.c:811:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deleteObject(obj) ^ Canna.c:854:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] copyInWchar(ksp->gline.line, ksp->gline.length, ^ Canna.c:854:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] changeTextForCanna(cldata, ksp) ^ Canna.c:1015:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:1031:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] copyInWchar(ws, wlen, wsbuf, wssize, wslen) ^ Canna.c:1037:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ Canna.c:1031:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyInWchar(ws, wlen, wsbuf, wssize, wslen) ^ Canna.c:1072:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] shiftLeft(ib); ^ Canna.c:1072:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixProcForCanna(cldata, fixedstr, fixedlen) ^ Canna.c:1091:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:1100:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] shiftRight(ib) ^ Canna.c:1105:16: warning: unused variable 'tmplen' [-Wunused-variable] int tmpsize, tmplen; ^ Canna.c:1100:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shiftRight(ib) ^ Canna.c:1120:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:1129:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] shiftLeft(ib) ^ Canna.c:1134:16: warning: unused variable 'tmplen' [-Wunused-variable] int tmpsize, tmplen; ^ Canna.c:1129:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shiftLeft(ib) ^ Canna.c:1146:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:1155:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] shiftLeftAll(ib) ^ Canna.c:1160:16: warning: unused variable 'tmplen' [-Wunused-variable] int tmpsize, tmplen; ^ Canna.c:1155:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shiftLeftAll(ib) ^ Canna.c:1175:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:1183:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ibufInitialize(obj) ^ Canna.c:1183:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Canna.c:1205:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:1214:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] freeIBuf(ib) ^ Canna.c:1214:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Canna.c:1240:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] toJapaneseMode(obj) ^ Canna.c:1256:18: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 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] changeTextForCanna(obj, &ks); ^~~ Canna.c:1240:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] toJapaneseMode(obj) ^ Canna.c:1259:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:1268:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkIfFunctionalChar(event_struct, keysym, buffer_return, n_buffer) ^ Canna.c:1385:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moveSelection(obj, dir) ^ Canna.c:1398:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insertSelection(obj, selected) ^ Canna.c:1409:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endSelection(obj, abort) ^ Canna.c:1429:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] querySelection(obj) ^ Canna.c:1448:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] openSelection(obj, func, curitem) ^ Canna.c:1500:21: warning: passing arguments to 'getAllCandidates' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getAllCandidates(obj, nitems, items); ^ Canna.c:1494:25: warning: unused variable 'arg' [-Wunused-variable] ICSelectionControlArg arg; ^ Canna.c:1495:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ Canna.c:1496:11: warning: unused variable 'p' [-Wunused-variable] wchar **p; ^ Canna.c:1488:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] listfunc(obj, func, items, nitems, cur_item) ^ Canna.c:1549:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocCandlist(obj, n) ^ Canna.c:1575:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getAllCandidates(obj, ncand, items) ^ Canna.c:1674:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] n = wcKanjiControl((int)obj, KC_MODEKEYS, (char *)mkeys); ^~~~~~~~ Canna.c:1664:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetTriggerKeys(w, keys_return) ^ Canna.c:1795:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); ^ Canna.c:1735:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PreeditString(w, segn, offset, encoding, format, length, string) ^ Canna.c:1852:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); ^ Canna.c:1807:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StatusString(w, encoding, format, length, string, nchars) ^ Canna.c:50:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: Canna.c,v 1.55 1999/05/25 08:13:03 ishisone Exp $"; ^ 135 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/include/sj3lib -I/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] /* 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cSetOutLang(JP_EUC); ^ Sj3.c:216:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (loc = setlocale (LC_CTYPE, "")) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ Sj3.c:216:13: note: place parentheses around the assignment to silence this warning if (loc = setlocale (LC_CTYPE, "")) { ^ ( ) Sj3.c:216:13: note: use '==' to turn this assignment into an equality comparison 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 not supported in C2x [-Wdeprecated-non-prototype] struct passwd *pwd, *getpwnam(), *getpwuid(); ^ Sj3.c:248:54: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct passwd *pwd, *getpwnam(), *getpwuid(); ^ Sj3.c:251:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (login = getlogin()) ~~~~~~^~~~~~~~~~~~ Sj3.c:251:15: note: place parentheses around the assignment to silence this warning if (login = getlogin()) ^ ( ) Sj3.c:251:15: note: use '==' to turn this assignment into an equality comparison if (login = getlogin()) ^ == Sj3.c:254:10: warning: address of array 'uname' will always evaluate to 'true' [-Wpointer-bool-conversion] 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] if (pwd = getpwuid(getuid())) { ^ Sj3.c:255:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pwd = getpwuid(getuid())) { ~~~~^~~~~~~~~~~~~~~~~~~~ Sj3.c:255:17: note: place parentheses around the assignment to silence this warning if (pwd = getpwuid(getuid())) { ^ ( ) Sj3.c:255:17: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] value = Xsj3cKeyConv(buf, nbytes, modmask, ks); ^ Sj3.c:297:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (select = (value & KEY_SELECT)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ Sj3.c:297:16: note: place parentheses around the assignment to silence this warning if (select = (value & KEY_SELECT)) { ^ ( ) Sj3.c:297:16: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] endSelection(obj, True); ^ Sj3.c:348:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dict = (value & KEY_DICT)) { ~~~~~^~~~~~~~~~~~~~~~~~~~ Sj3.c:348:14: note: place parentheses around the assignment to silence this warning if (dict = (value & KEY_DICT)) { ^ ( ) Sj3.c:348:14: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cClearBuffer(buf); ^ Sj3.c:273:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InputEvent(w, ev) ^ Sj3.c:423:41: warning: passing arguments to 'Xsj3cGetModeStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] icstr.data = (char *)Xsj3cGetModeStr(buf, &len); ^ Sj3.c:415:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMode(w) ^ Sj3.c:439:28: warning: passing arguments to 'Xsj3cGetPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return(Xsj3cGetPosition(buf, nsegp, ncharp)); ^ Sj3.c:431:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CursorPos(w, nsegp, ncharp) ^ Sj3.c:449:27: warning: passing arguments to 'Xsj3cGetSegNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (Xsj3cGetSegNum(buf)); ^ Sj3.c:443:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NumSegments(w) ^ Sj3.c:462:35: warning: passing arguments to 'Xsj3cGetSeg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] seg.data = (char *)Xsj3cGetSeg(buf, n, &len, &attr); ^ Sj3.c:453:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetSegment(w, n) ^ Sj3.c:485:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CompareSegment(w, seg1, seg2, n) ^ Sj3.c:515:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetItemList(w, n) ^ Sj3.c:551:30: warning: passing arguments to 'insertSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cFlushBuffer(buf); ^ Sj3.c:540:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectItem(w, n) ^ Sj3.c:600:35: warning: passing arguments to 'Xsj3cGetConvertedLength' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); ^ Sj3.c:596:17: warning: unused variable 'data' [-Wunused-variable] wchar *data; ^ Sj3.c:586:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertedString(w, encoding, format, length, string) ^ Sj3.c:631:21: warning: passing arguments to 'Xsj3cClearBuffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cClearBuffer(buf); ^ Sj3.c:625:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearConversion(w) ^ Sj3.c:648:28: warning: passing arguments to 'Xsj3cGetDictMsgNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] for (i = 0, seg = ics, p = Xsj3cGetDictMsgs(buf); ^ Sj3.c:637:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetAuxSegments(w, n, ns, nc) ^ Sj3.c:694:32: warning: passing arguments to 'Xsj3cGetSegNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); ^ Sj3.c:683:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PreeditString(w, segn, offset, encoding, format, length, string) ^ Sj3.c:815:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); ^ Sj3.c:770:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StatusString(w, encoding, format, length, string, nchars) ^ Sj3.c:871:25: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] XKeycodeToKeysym(XtDisplayOfObject((Widget)obj), ^ /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # 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 C2x [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] addObject(obj); ^ Sj3.c:828:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ Sj3.c:922:15: warning: passing arguments to 'Xsj3cClose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] deleteObject(obj); ^ Sj3.c:916:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ Sj3.c:936:55: warning: passing arguments to 'Xsj3cGetSymbols' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (i = 0, strp = SymbolList, p = Xsj3cGetSymbols(buf); ^ Sj3.c:928:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] symbolInit(obj) ^ Sj3.c:954:38: warning: passing arguments to 'Xsj3cGetSymbolNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NumSymbol = Xsj3cGetSymbolNum(buf, &obj->sj3.cursymbol); ^ Sj3.c:946:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] startSymbol(obj) ^ Sj3.c:987:38: warning: passing arguments to 'Xsj3cGetCandidateNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] for (i = 0, strp = obj->sj3.candlist, p = Xsj3cGetCandidates(buf); ^ Sj3.c:977:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] startCandidate(obj) ^ Sj3.c:1027:53: warning: passing arguments to 'Xsj3cGetHinsis' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (i = 0, strp = HinsiList, p = Xsj3cGetHinsis(buf); ^ Sj3.c:1019:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hinsiInit(obj) ^ Sj3.c:1045:36: warning: passing arguments to 'Xsj3cGetHinsiNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NumHinsi = Xsj3cGetHinsiNum(buf, &obj->sj3.curhinsi); ^ Sj3.c:1037:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] startHinsi(obj) ^ Sj3.c:1068:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moveSelection(obj, dir) ^ Sj3.c:1103:30: warning: passing arguments to 'insertSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cFlushBuffer(buf); ^ Sj3.c:1082:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endSelection(obj, abort) ^ Sj3.c:1139:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, wid, args, num_args) ^ Sj3.c:1163:32: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ret = Xsj3cSetHinsi(buf, selected, changed, flush); ^ Sj3.c:1160:13: warning: enumeration value 'normal_state' not handled in switch [-Wswitch] switch (obj->sj3.state) { ^~~~~~~~~~~~~~ Sj3.c:1160:13: note: add missing switch cases switch (obj->sj3.state) { ^ Sj3.c:1150:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insertSelection(obj, selected, changed, flush) ^ Sj3.c:1180:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocCandlist(obj, n) ^ Sj3.c:1201:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] startRegistration(obj) ^ Sj3.c:1212:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] changeRegistration(obj) ^ Sj3.c:1232:17: warning: passing arguments to 'Xsj3cEndDict' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEndDict(buf); ^ Sj3.c:1223:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endRegistration(obj) ^ Sj3.c:1246:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addObject(obj) ^ Sj3.c:1257:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deleteObject(obj) ^ Sj3.c:1278:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bell(obj) ^ Sj3.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: Sj3.c,v 2.10 1999/05/25 08:13:05 ishisone Exp $"; ^ 131 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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getC16(data, order) ^ imattr.c:228:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:240:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getI16(data, order) ^ imattr.c:240:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:252:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getC32(data, order) ^ imattr.c:252:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:273:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] validateClientWindow(icp) ^ imattr.c:273:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:281:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] validateFocusWindow(icp) ^ imattr.c:281:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:305:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] badSizeError(icp, code) ^ imattr.c:305:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:315:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unnestedError(icp) ^ imattr.c:315:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:329:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getPSPtr(icp, type) ^ imattr.c:329:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:341:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getIMValues(imp, data, len, offset) ^ imattr.c:341:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:380:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getQueryInputStyle(imp, id, offset) ^ imattr.c:380:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:411:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setICValues(icp, data, len, nest, op) ^ imattr.c:411:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:482:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setInputStyle(icp, value, len, order, nest, op) ^ imattr.c:482:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:514:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setClientWindow(icp, value, len, order, nest, op) ^ imattr.c:514:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:547:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setFocusWindow(icp, value, len, order, nest, op) ^ imattr.c:547:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:575:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setPreeditAttributes(icp, value, len, order, nest, op) ^ imattr.c:575:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:589:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setStatusAttributes(icp, value, len, order, nest, op) ^ imattr.c:589:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:603:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setArea(icp, value, len, order, nest, op) ^ imattr.c:603:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:649:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setAreaNeeded(icp, value, len, order, nest, op) ^ imattr.c:649:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:688:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setForeground(icp, value, len, order, nest, op) ^ imattr.c:688:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:721:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setBackground(icp, value, len, order, nest, op) ^ imattr.c:721:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:754:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setColormap(icp, value, len, order, nest, op) ^ imattr.c:754:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:787:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setBgPixmap(icp, value, len, order, nest, op) ^ imattr.c:787:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:822:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setLineSpace(icp, value, len, order, nest, op) ^ imattr.c:822:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:856:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setCursor(icp, value, len, order, nest, op) ^ imattr.c:856:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:889:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setSpotLocation(icp, value, len, order, nest, op) ^ imattr.c:889:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:930:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setStdColormap(icp, value, len, order, nest, op) ^ imattr.c:930:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:999:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setFontSet(icp, value, len, order, nest, op) ^ imattr.c:999:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1053:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setPreeditState(icp, value, len, order, nest, op) ^ imattr.c:1053:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1086:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setResetState(icp, value, len, order, nest, op) ^ imattr.c:1086:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1115:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getICValues(icp, data, len, nest, offset, sepp) ^ imattr.c:1115:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1178:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getPSAttributes(icp, id, nest, offset, data, len) ^ imattr.c:1178:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1233:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getPreeditAttributes(icp, id, nest, offset, data, len) ^ imattr.c:1233:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1247:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getStatusAttributes(icp, id, nest, offset, data, len) ^ imattr.c:1247:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1261:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getInputStyle(icp, id, nest, offset, data, len) ^ imattr.c:1261:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1285:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getClientWindow(icp, id, nest, offset, data, len) ^ imattr.c:1285:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1314:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getFocusWindow(icp, id, nest, offset, data, len) ^ imattr.c:1314:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1351:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getFilterEvents(icp, id, nest, offset, data, len) ^ imattr.c:1351:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1372:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getArea(icp, id, nest, offset, data, len) ^ imattr.c:1372:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1406:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getAreaNeeded(icp, id, nest, offset, data, len) ^ imattr.c:1406:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1445:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getSpotLocation(icp, id, nest, offset, data, len) ^ imattr.c:1445:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1479:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getColormap(icp, id, nest, offset, data, len) ^ imattr.c:1479:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1510:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getStdColormap(icp, id, nest, offset, data, len) ^ imattr.c:1510:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1546:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getForeground(icp, id, nest, offset, data, len) ^ imattr.c:1546:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1577:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getBackground(icp, id, nest, offset, data, len) ^ imattr.c:1577:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1608:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getBgPixmap(icp, id, nest, offset, data, len) ^ imattr.c:1608:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1639:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getFontSet(icp, id, nest, offset, data, len) ^ imattr.c:1639:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1675:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getLineSpace(icp, id, nest, offset, data, len) ^ imattr.c:1675:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1706:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getCursor(icp, id, nest, offset, data, len) ^ imattr.c:1706:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1737:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getPreeditState(icp, id, nest, offset, data, len) ^ imattr.c:1737:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1766:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getResetState(icp, id, nest, offset, data, len) ^ imattr.c:1766:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1785:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] changeFonts(icp, preedit) ^ imattr.c:1785:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1825:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fillCommonDefault(icp, mask) ^ imattr.c:1825:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1864:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getNaturalLineSpace(icp, preedit) ^ imattr.c:1864:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1896:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fillPSDefault(icp, type, mask) ^ imattr.c:1896:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:1991:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] validateCommonAttr(icp, checkonly) ^ imattr.c:1991:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:2068:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] validatePSAttr(icp, type, checkonly) ^ imattr.c:2068:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:2154:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] changeConversionAttributes(icp) ^ imattr.c:2154:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:2166:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeAreaNeeded(icp) ^ imattr.c:2166:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:2255:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeAreaForQuery(icp) ^ imattr.c:2255:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imattr.c:2292:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMPutIMAttrList(imp) ^ imattr.c:2322:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMPutICAttrList(imp) ^ imattr.c:2353:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMSetIMValues(imp, data, len, major) ^ imattr.c:2368:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMGetIMValues(imp, data, len, offset) ^ imattr.c:2392:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMSetICValues(icp, data, len, major) ^ imattr.c:2451:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMGetICValues(icp, data, len, offset) ^ imattr.c:2490:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMFillDefault(icp, common_mask, preedit_mask, status_mask) ^ imattr.c:2504:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMValidateWindow(dpy, win, profilep) ^ imattr.c:2531:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMValidateICAttributes(icp, checkonly) ^ imattr.c:2559:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMFreeICAttributes(icp) ^ imattr.c:2580:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMMakeConvAttributes(icp, attr) ^ imattr.c:2697:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMMoveLocation(icp, x, y) ^ imattr.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: imattr.c,v 1.18 2002/01/10 15:04:05 ishisone Exp $"; ^ 131 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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocIMBuf(ibp, len) ^ imbuf.c:45:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMBufInit(ibp) ^ imbuf.c:53:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMBufClear(ibp) ^ imbuf.c:63:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMBufAdd(ibp, data, len) ^ imbuf.c:74:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMBufOverwrite(ibp, offset, data, len) ^ imbuf.c:89:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMBufAlloc(ibp, len) ^ imbuf.c:102:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMBufDiscard(ibp, len) ^ imbuf.c:117:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMBufDiscardNUL(ibp) ^ imbuf.c:128:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMBufCompact(ibp) ^ imbuf.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fillDefaultAttributesForStartup(icp) ^ imconv.c:68:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:99:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makeConvAttributesForStartup(icp, attrp) ^ imconv.c:99:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:111:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] commitString(icp, str, len, sync) ^ imconv.c:111:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:162:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixCallback(w, client_data, call_data) ^ imconv.c:162:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:215:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] detachConverter(icp) ^ imconv.c:215:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:250:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endCallback(w, client_data, call_data) ^ imconv.c:250:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:268:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unusedEventCallback(w, client_data, call_data) ^ imconv.c:268:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:320:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditStartCallback(w, client_data, call_data) ^ imconv.c:320:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:338:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDoneCallback(w, client_data, call_data) ^ imconv.c:338:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:356:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDrawCallback(w, client_data, call_data) ^ imconv.c:356:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:398:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] int caret = (int)call_data; ^~~~~~~~~~~~~~ imconv.c:398:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditCaretCallback(w, client_data, call_data) ^ imconv.c:417:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusStartCallback(w, client_data, call_data) ^ imconv.c:417:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:435:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDoneCallback(w, client_data, call_data) ^ imconv.c:435:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:453:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDrawCallback(w, client_data, call_data) ^ imconv.c:453:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:494:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditStart(icp) ^ imconv.c:494:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:513:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDone(icp) ^ imconv.c:513:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:532:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDraw(icp, data) ^ imconv.c:539:17: warning: unused variable 'feedback' [-Wunused-variable] XIMFeedback feedback; ^ imconv.c:532:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDraw(icp, data) ^ imconv.c:598:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditCaret(icp, caret) ^ imconv.c:598:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:622:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusStart(icp) ^ imconv.c:622:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:644:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDone(icp) ^ imconv.c:644:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:666:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDraw(icp, data) ^ imconv.c:666:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:709:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setEventMask(icp, forward_mask, synchronous_mask) ^ imconv.c:709:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imconv.c:730:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMStartConversion(icp) ^ imconv.c:837:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMStopConversion(icp) ^ imconv.c:869:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMResetIC(icp, preedit_strp) ^ imconv.c:922:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMForwardEvent(icp, ev) ^ imconv.c:935:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMSetFocus(icp) ^ imconv.c:946:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMUnsetFocus(icp) ^ imconv.c:957:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMStatusStart(icp) ^ imconv.c:968:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMStatusDone(icp) ^ imconv.c:978:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMStartForwarding(icp) ^ imconv.c:1003:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMStopForwarding(icp) ^ imconv.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: imconv.c,v 1.25 2002/01/24 09:07:19 ishisone Exp $"; ^ 57 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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMGetC8(conn, offset) ^ imdata.c:48:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMGetC16(conn, offset) ^ imdata.c:66:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMGetI16(conn, offset) ^ imdata.c:77:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMGetC32(conn, offset) ^ imdata.c:95:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMGetString(conn, offset, buf, len) ^ imdata.c:109:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMPutC8(conn, x) ^ imdata.c:120:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMPutC16(conn, x) ^ imdata.c:135:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMPutC32(conn, x) ^ imdata.c:150:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMPutI16(conn, x) ^ imdata.c:165:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMPutString(conn, s, len) ^ imdata.c:175:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMPutPad(conn) ^ imdata.c:189:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMRewriteC16(conn, pos, x) ^ imdata.c:206:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMWritePos(conn) ^ imdata.c:215:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMPutHeader(conn, major, minor, arglen) ^ imdata.c:235:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMFinishRequest(conn, offset) ^ imdata.c:265:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMCancelRequest(conn, offset) ^ imdata.c:275:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMSendSimpleRequest(conn, major, minor) ^ imdata.c:293:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMSendRequestWithIC(conn, major, minor, icp) ^ imdata.c:306:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMSendError(conn, code, imid, icid, msg) ^ imdata.c:334:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMSendBadProtocol(conn, msg) ^ imdata.c:342:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMSendBadLength(conn, imid, icid) ^ imdata.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkRequest(conn, majorp, minorp, arglenp) ^ imdispatch.c:33:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imdispatch.c:75:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] countConnectRequestLen(conn) ^ imdispatch.c:136:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ServerAuthPhase(conn) ^ imdispatch.c:136:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imdispatch.c:146:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommunicationPhase(conn) ^ imdispatch.c:146:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imdispatch.c:163:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initialDispatcher(conn) ^ imdispatch.c:163:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imdispatch.c:302:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*req->proc)(conn, major, minor, arglen); ^ imdispatch.c:302:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mainDispatcher(conn) ^ imdispatch.c:365:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMSetInitialDispatcher(conn) ^ imdispatch.c:373:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] while ((*conn->dispatcher)(conn)) ^ imdispatch.c:414:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMSchedule(conn, type) ^ imdispatch.c:430:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProcessQueue(w) ^ imdispatch.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: imdispatch.c,v 1.9 1994/06/02 10:36:07 ishisone Exp $"; ^ 18 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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] id2IM(conn, id) ^ imic.c:39:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imic.c:56:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] id2IC(imp, id) ^ imic.c:56:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imic.c:73:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newIMID(conn) ^ imic.c:73:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imic.c:88:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newICID(imp) ^ imic.c:88:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imic.c:103:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] registerIM(imp) ^ imic.c:103:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imic.c:114:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] registerIC(icp) ^ imic.c:114:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imic.c:125:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unregisterIM(imp) ^ imic.c:125:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imic.c:150:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unregisterIC(icp) ^ imic.c:150:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imic.c:175:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] removeIM(imp) ^ imic.c:175:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imic.c:201:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] removeIC(icp) ^ imic.c:201:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imic.c:230:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMGetIM(conn, arglen) ^ imic.c:251:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMGetIC(conn, arglen) ^ imic.c:283:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMCreateIM(conn, converter) ^ imic.c:306:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMCreateIC(imp) ^ imic.c:339:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMDestroyIM(imp) ^ imic.c:361:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMDestroyIC(icp) ^ imic.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: imic.c,v 1.12 2002/01/24 09:07:20 ishisone Exp $"; ^ 27 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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMRegisterConnection(conn) ^ improto.c:42:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMUnregisterConnection(conn) ^ improto.c:75:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMConnectionList(w) ^ improto.c:85:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMPushQueue(conn) ^ improto.c:96:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMPopQueue(w) ^ improto.c:111:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMQueueEmpty(w) ^ improto.c:119:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMDefaultForeground(w) ^ improto.c:129:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMDefaultBackground(w) ^ improto.c:139:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMDefaultFontSet(imp) ^ improto.c:149:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMFontBank(imp) ^ improto.c:159:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMStatusWidth(w) ^ improto.c:169:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMInitHash(w) ^ improto.c:185:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMIMHash(w) ^ improto.c:193:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMICHash(w) ^ improto.c:201:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMNextIMID(w) ^ improto.c:213:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMNextICID(w) ^ improto.c:225:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMCtextAtom(w) ^ improto.c:233:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMKi2CommAtom(w) ^ improto.c:241:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMXConnectAtom(w) ^ improto.c:249:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMProtocolAtom(w) ^ improto.c:257:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMMoreDataAtom(w) ^ improto.c:265:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMTriggerKeys(imp, num_triggersp) ^ improto.c:277:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMGetConverter(w, locale) ^ improto.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compileTbl(req) ^ imrequest.c:168:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:181:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximDisconnectProc(conn, major, minor, arglen) ^ imrequest.c:181:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:209:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ecode2str(code) ^ imrequest.c:209:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:240:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximErrorProc(conn, major, minor, arglen) ^ imrequest.c:240:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:290:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putTriggerkeyList(imp) ^ imrequest.c:290:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:311:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximOpenProc(conn, major, minor, arglen) ^ imrequest.c:311:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:380:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximCloseProc(conn, major, minor, arglen) ^ imrequest.c:380:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:408:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximTriggerNotifyProc(conn, major, minor, arglen) ^ imrequest.c:416:9: warning: variable 'key_index' set but not used [-Wunused-but-set-variable] int key_index; ^ imrequest.c:408:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximTriggerNotifyProc(conn, major, minor, arglen) ^ imrequest.c:476:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findCtext(conn, arglen) ^ imrequest.c:476:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:517:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximEncodingNegotiationProc(conn, major, minor, arglen) ^ imrequest.c:517:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:558:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getExtension(name) ^ imrequest.c:558:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:572:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putExtension(conn, req) ^ imrequest.c:572:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:589:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximQueryExtensionProc(conn, major, minor, arglen) ^ imrequest.c:589:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:672:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximSetIMValuesProc(conn, major, minor, arglen) ^ imrequest.c:672:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:711:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximGetIMValuesProc(conn, major, minor, arglen) ^ imrequest.c:711:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:750:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximCreateICProc(conn, major, minor, arglen) ^ imrequest.c:750:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:791:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximDestroyICProc(conn, major, minor, arglen) ^ imrequest.c:791:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:827:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximSetICValuesProc(conn, major, minor, arglen) ^ imrequest.c:827:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:863:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximGetICValuesProc(conn, major, minor, arglen) ^ imrequest.c:863:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:903:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximSetICFocusProc(conn, major, minor, arglen) ^ imrequest.c:903:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:926:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximUnsetICFocusProc(conn, major, minor, arglen) ^ imrequest.c:926:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:948:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] swapData(data, format) ^ imrequest.c:948:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:979:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getEvent(conn, serial, offset, ev) ^ imrequest.c:979:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:1083:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] postponeEvent(icp, synchronous, ev) ^ imrequest.c:1083:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:1100:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] handleForwardedEvent(icp, synchronous, ev) ^ imrequest.c:1100:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:1172:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximForwardEventProc(conn, major, minor, arglen) ^ imrequest.c:1172:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:1203:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximExtForwardKeyeventProc(conn, major, minor, arglen) ^ imrequest.c:1203:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:1261:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximSyncProc(conn, major, minor, arglen) ^ imrequest.c:1261:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:1282:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processPendingEvents(icp, pending_event) ^ imrequest.c:1282:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:1302:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximSyncReplyProc(conn, major, minor, arglen) ^ imrequest.c:1302:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:1326:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximResetICProc(conn, major, minor, arglen) ^ imrequest.c:1326:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:1361:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximExtMoveProc(conn, major, minor, arglen) ^ imrequest.c:1361:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:1381:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximAlreadyConnectedProc(conn, major, minor, arglen) ^ imrequest.c:1381:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:1397:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximShouldNotBeSentProc(conn, major, minor, arglen) ^ imrequest.c:1397:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:1412:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximAuthPhaseProc(conn, major, minor, arglen) ^ imrequest.c:1412:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:1427:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximNopProc(conn, major, minor, arglen) ^ imrequest.c:1427:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imrequest.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: imrequest.c,v 1.19 2002/01/27 11:33:37 ishisone Exp $"; ^ 74 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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dummyDispatcher(conn) ^ imxport.c:96:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imxport.c:107:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dumpBuf(ibp, title) ^ imxport.c:107:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imxport.c:125:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] communicationWindow(w) ^ imxport.c:125:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imxport.c:133:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newConnection(protocol) ^ imxport.c:133:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imxport.c:163:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] socketinput(cldata, fdp, idp) ^ imxport.c:163:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imxport.c:190:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] socketFlush(conn) ^ imxport.c:190:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imxport.c:207:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] socketShutdown(conn) ^ imxport.c:207:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imxport.c:221:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xinput(ev, cldata) ^ imxport.c:221:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imxport.c:288:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xdestroy(ev, cldata) ^ imxport.c:288:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imxport.c:311:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xBrokenPipe(dpy, eev, client_data) ^ imxport.c:311:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imxport.c:345:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xFlush(conn) ^ imxport.c:345:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imxport.c:398:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xShutdown(conn) ^ imxport.c:398:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imxport.c:415:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] if (getsockname(sock, (struct sockaddr *)&addr, &addr_len) < 0) { ^~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:706:78: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ imxport.c:460:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] if ((fd = accept(wellknownfd, (struct sockaddr *)&addr, &addrlen)) < 0) { ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:700:73: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ imxport.c:493:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMCreateUnixService(path) ^ imxport.c:526:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] if ((fd = accept(wellknownfd, (struct sockaddr *)&addr, &addrlen)) < 0) { ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:700:73: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ imxport.c:559:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMXConnection(protocol, xev) ^ imxport.c:627:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMFlush(conn) ^ imxport.c:638:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMShutdown(conn) ^ imxport.c:646:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMCloseConnection(conn) ^ imxport.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: imxport.c,v 1.11 1999/05/04 05:44:11 ishisone Exp $"; ^ 36 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/include/sj3lib -I/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] "guide", "hiragana", /* $B$+$J(B */ "\202\251\202\310", ^~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:62:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "hiragana", /* $B$+$J(B */ "\202\251\202\310", ^~~~~~~~~~~~~~~~~~~ { buffer.c:62:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "hiragana", /* $B$+$J(B */ "\202\251\202\310", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:64:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "zkatakana", /* $BA4%+%J(B*/ "\221\123\203\112\203\151", ^~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:64:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "zkatakana", /* $BA4%+%J(B*/ "\221\123\203\112\203\151", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:64:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "zkatakana", /* $BA4%+%J(B*/ "\221\123\203\112\203\151", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:66:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "hkatakana", /* $BH>%+%J(B*/ "\224\274\203\112\203\151", ^~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:66:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "hkatakana", /* $BH>%+%J(B*/ "\224\274\203\112\203\151", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:66:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "hkatakana", /* $BH>%+%J(B*/ "\224\274\203\112\203\151", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:68:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "halpha",/* ABC */ "\101\102\103", ^~~~~~~~~~~~~~~~~~~~ { } buffer.c:68:42: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "halpha",/* ABC */ "\101\102\103", ^~~~~~~~~~~~~~~ { buffer.c:68:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "halpha",/* ABC */ "\101\102\103", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:70:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "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] "guide", "zalpha",/* $B#A#B#C(B */ "\202\140\202\141\202\142", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:70:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "zalpha",/* $B#A#B#C(B */ "\202\140\202\141\202\142", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:72:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "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] "guide", "sjis", /* Shift-JIS */ "\123\150\151\146\164\55\112\111\123", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:72:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "sjis", /* Shift-JIS */ "\123\150\151\146\164\55\112\111\123", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:74:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "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] "guide", "euc", /* $B#E#U#C(B */ "\202\144\202\164\202\142", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:74:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "euc", /* $B#E#U#C(B */ "\202\144\202\164\202\142", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:76:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "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] "guide", "jis", /* $B#J#I#S(B */ "\202\151\202\150\202\162", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:76:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "jis", /* $B#J#I#S(B */ "\202\151\202\150\202\162", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:78:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "kuten", /* $B6hE@(B */ "\213\346\223\137", ^~~~~~~~~~~~~~~~~~~ { } buffer.c:78:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "kuten", /* $B6hE@(B */ "\213\346\223\137", ^~~~~~~~~~~~~~~~~~~ { buffer.c:78:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "kuten", /* $B6hE@(B */ "\213\346\223\137", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:80:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "toroku", /* $BEPO?(B */ "\223\157\230\136", ^~~~~~~~~~~~~~~~~~~~ { } buffer.c:80:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "toroku", /* $BEPO?(B */ "\223\157\230\136", ^~~~~~~~~~~~~~~~~~~ { buffer.c:80:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "toroku", /* $BEPO?(B */ "\223\157\230\136", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:82:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "syoukyo", /* $B>C5n(B */ "\217\301\213\216", ^~~~~~~~~~~~~~~~~~~~~ { } buffer.c:82:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "syoukyo", /* $B>C5n(B */ "\217\301\213\216", ^~~~~~~~~~~~~~~~~~~ { buffer.c:82:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "syoukyo", /* $B>C5n(B */ "\217\301\213\216", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:84:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "kanji", /* $B4A;z(B */ "\212\277\216\232", ^~~~~~~~~~~~~~~~~~~ { } buffer.c:84:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "kanji", /* $B4A;z(B */ "\212\277\216\232", ^~~~~~~~~~~~~~~~~~~ { buffer.c:84:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "kanji", /* $B4A;z(B */ "\212\277\216\232", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:86:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "edit", /* $BJT=8(B */ "\225\322\217\127", ^~~~~~~~~~~~~~~~~~ { } buffer.c:86:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "edit", /* $BJT=8(B */ "\225\322\217\127", ^~~~~~~~~~~~~~~~~~~ { buffer.c:86:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "edit", /* $BJT=8(B */ "\225\322\217\127", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:88:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "candidate",/* $B0lMw(B */ "\210\352\227\227", ^~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:88:51: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "candidate",/* $B0lMw(B */ "\210\352\227\227", ^~~~~~~~~~~~~~~~~~~ { buffer.c:88:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "candidate",/* $B0lMw(B */ "\210\352\227\227", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:90:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "symbol",/* $B5-9f(B */ "\213\114\215\206", ^~~~~~~~~~~~~~~~~~~~ { } buffer.c:90:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "symbol",/* $B5-9f(B */ "\213\114\215\206", ^~~~~~~~~~~~~~~~~~~ { buffer.c:90:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "symbol",/* $B5-9f(B */ "\213\114\215\206", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:92:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "hinsi", /* $BIJ;l(B */ "\225\151\216\214", ^~~~~~~~~~~~~~~~~~~ { } buffer.c:92:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "hinsi", /* $BIJ;l(B */ "\225\151\216\214", ^~~~~~~~~~~~~~~~~~~ { buffer.c:92:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "hinsi", /* $BIJ;l(B */ "\225\151\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:94:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "quote", /* $B0zMQ(B */ "\210\370\227\160", ^~~~~~~~~~~~~~~~~~~ { } buffer.c:94:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "quote", /* $B0zMQ(B */ "\210\370\227\160", ^~~~~~~~~~~~~~~~~~~ { buffer.c:94:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", "quote", /* $B0zMQ(B */ "\210\370\227\160", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:99:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "henkan", XK_Select, FlushModeMask, _Xsj3cConvert, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:100:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "convert", XK_Select, FlushModeMask, _Xsj3cConvert, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:101:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "muhen", XK_Cancel, ConvedModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:103:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "unconvert",XK_Cancel, ConvedModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:105:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "fix", XK_Execute, FlushModeMask|DictModeMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:107:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "kettei", XK_KP_Enter,FlushModeMask, _Xsj3cFix, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:108:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "flush", XK_Escape, FlushModeMask, _Xsj3cFix, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:109:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "return", XK_Return, AllModeMask, _Xsj3cReturn, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:110:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "halpha", XK_F6, AllModeMask, _Xsj3cModeHAlpha, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:111:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "zalpha", XK_F7, AllModeMask, _Xsj3cModeZAlpha, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:112:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "hkatakana",XK_F8, AllModeMask, _Xsj3cModeHKata, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:113:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "zkatakana",XK_F9, AllModeMask, _Xsj3cModeZKata, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:114:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "hiragana", XK_F10, AllModeMask, _Xsj3cModeHira, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:115:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "tohalpha", XK_F16, FlushModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:117:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "tozalpha", XK_F17, FlushModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:119:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "tohkatakana",XK_F18, FlushModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:121:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "tozkatakana",XK_F19, FlushModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:123:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "tohiragana",XK_F20, FlushModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:125:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "zenkaku", XK_F4, FlushModeMask, _Xsj3cZenkaku, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:126:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "hankaku", XK_F3, FlushModeMask, _Xsj3cHankaku, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:127:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "toupper", XK_u, FlushModeMask|ControlMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:129:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "tolower", XK_l, FlushModeMask|ControlMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:131:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "sjis", XK_F15, NoInputModeMask|FlushModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:133:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "euc", XK_F14, NoInputModeMask|FlushModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:135:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "jis", XK_F13, NoInputModeMask|FlushModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:137:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "kuten", XK_F12, NoInputModeMask|FlushModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:139:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "code", XK_F5, NoInputModeMask|FlushModeMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:141:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "toggle", XK_Tab, AllModeMask, _Xsj3cModeRollDown, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:142:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "modedown", XK_Tab, AllModeMask, _Xsj3cModeRollDown, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:143:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "toggleback",XK_Tab, AllModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:145:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "modeup", XK_Tab, AllModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:147:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "nextmode", XK_Tab, FlushModeMask|ControlMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:149:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "prevmode", XK_Tab, FlushModeMask|ControlMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:151:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "muhenkan", XK_Cancel, NoInputModeMask|FlushModeMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:153:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "right", XK_Right, AllModeMask, _Xsj3cForward, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:154:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "forward", XK_Right, AllModeMask, _Xsj3cForward, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:155:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "left", XK_Left, AllModeMask, _Xsj3cBackward, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:156:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "backward", XK_Left, AllModeMask, _Xsj3cBackward, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:157:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "top", XK_a, FlushModeMask|DictModeMask|ControlMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:159:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "end", XK_e, FlushModeMask|DictModeMask|ControlMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:161:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "bottom", XK_e, FlushModeMask|DictModeMask|ControlMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:163:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "up", XK_Up, SelectModeMask, _Xsj3cUp, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:164:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "down", XK_Down, SelectModeMask, _Xsj3cDown, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:165:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "first", XK_Up, OutputModeMask|ControlMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:167:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "last", XK_Down, OutputModeMask|ControlMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:169:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "nextp", XK_Select, SelectModeMask, _Xsj3cNextPage, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:170:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "prevp", XK_Cancel, SelectModeMask, _Xsj3cPrevPage, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:171:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "wrap", XK_Down, ConvedModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:173:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "next", XK_Down, ConvedModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:175:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "wrapback", XK_Up, ConvedModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:177:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "prev", XK_Up, ConvedModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:179:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "select", XK_Execute, SelectModeMask, _Xsj3cSelect, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:180:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "cancel", XK_Escape, SelectModeMask|DictModeMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:182:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "cancel", XK_Cancel, FlushModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:184:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "kakucyou", XK_Up, FlushModeMask|DictModeMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:186:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "expand", XK_Up, FlushModeMask|DictModeMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:188:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "syukusyou",XK_Down, FlushModeMask|DictModeMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:190:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "shrink", XK_Down, FlushModeMask|DictModeMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:192:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "backspace",XK_BackSpace,FlushModeMask|SelectModeMask|DictModeMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:194:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "delete", XK_Delete, FlushModeMask|SelectModeMask|DictModeMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:196:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "delafter", XK_k, FlushModeMask|ControlMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:198:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "start", XK_Kanji, AllModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:200:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "reconnect",XK_Kanji, AllModeMask|ShiftMask|Mod1Mask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:202:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "saihenkan",XK_Select, NoInputModeMask|ControlMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:204:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "recovert", XK_Select, NoInputModeMask|ControlMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:206:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "edit", XK_Select, ConvedModeMask|Mod1Mask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:208:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "toroku", XK_F1, ConvedModeMask, _Xsj3cDRegBegin, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:209:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "register", XK_F1, ConvedModeMask, _Xsj3cDRegBegin, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:210:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "syoukyo", XK_F2, ConvedModeMask, _Xsj3cDClearBegin, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:211:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "eliminate",XK_F2, ConvedModeMask, _Xsj3cDClearBegin, NONE,NULL,NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } buffer.c:212:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "symbol", XK_Escape, NoInputModeMask|FlushModeMask|ShiftMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:214:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "quote", XK_q, NoInputModeMask|FlushModeMask|ControlMask, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { buffer.c:216:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] "flushbefore",NoSymbol, NULL, _Xsj3cFlushBefore, NONE,NULL,NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ buffer.c:216:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "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] "bell", NoSymbol, NULL, _Xsj3cBell, NONE,NULL,NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ buffer.c:217:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "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] "sjrc", NoSymbol, NULL, _Xsj3cSjrc, NONE,NULL,NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ buffer.c:218:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "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] "kill", NoSymbol, NULL, _Xsj3cKill, NONE,NULL,NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ buffer.c:219:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "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] "kana", NoSymbol, NULL, _Xsj3cKana, NONE,NULL,NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ buffer.c:220:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "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] "null", NoSymbol, NULL, _Xsj3cNull, NONE,NULL,NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ buffer.c:221:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "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] "ignore", NoSymbol, NULL, _Xsj3cIgnore, NONE,NULL,NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ buffer.c:222:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "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] NULL, NULL, NULL, NULL, NONE,NULL,NULL ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL, NONE,NULL,NULL ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ buffer.c:223:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] NULL, NULL, NULL, NULL, NONE,NULL,NULL ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] 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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cAddFreeKeyTable(keytp) ^ buffer.c:292:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (keytp = freekeytp) ~~~~~~^~~~~~~~~~~ buffer.c:292:15: note: place parentheses around the assignment to silence this warning if (keytp = freekeytp) ^ ( ) buffer.c:292:15: note: use '==' to turn this assignment into an equality comparison if (keytp = freekeytp) ^ == buffer.c:306:19: warning: if statement has empty body [-Wempty-body] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("keyword %s is not supported",table->key[1]); ^ buffer.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cSetKeyTable(); ^ void buffer.c:319:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetKeyTable(buf, table) ^ buffer.c:424:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] else if (_Xsj3cCmp(p, "on")) ^ buffer.c:394:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetKeySym(string, ksym, modmask, inputsame) ^ buffer.c:586:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cWarning("Ilegal keybind modmask %s in sjrc file",mode); ^ buffer.c:476:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cGetModMask(p) ^ 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _Xsj3cSetGuide(buf, &def_guide_table[i]); ^ buffer.c:757:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cFreeModeStr(buf) ^ buffer.c:784:29: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cFreeSegment(buf->backup[i]); ^ buffer.c:38:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cFreeBuffer(); ^ void buffer.c:774:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cFreeBuffer(buf) ^ buffer.c:812:25: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cFreeSegment(buf->input[i]); ^ buffer.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cClearBuffer(); ^ void buffer.c:806:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cClearBuffer(buf) ^ buffer.c:835:29: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cError("Cannot allocate for input buffers"); ^ buffer.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cFixBuffer(); ^ void buffer.c:827:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cFixBuffer(buf) ^ buffer.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cFlushBuffer(); ^ void buffer.c:888:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cFlushBuffer(buf) ^ buffer.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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 $"; ^ 183 warnings generated. rm -f candidate.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/include/sj3lib -I/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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] = 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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] 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 C2x [-Wdeprecated-non-prototype] = _Xsj3cmPStowOUT(buf, buf->candidate[i].data, knjbuf); ^ candidate.c:33:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cCand _Xsj3cCandidateInit(); ^ void candidate.c:46:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cCandidateInit(buf) ^ candidate.c:34:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xsj3cGetCandidateNum(); ^ void candidate.c:198:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetCandidateNum(buf, cur) ^ candidate.c:35:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cCand Xsj3cGetCandidates(); ^ void candidate.c:214:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetCandidates(buf) ^ candidate.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar *Xsj3cGetCandidate(); ^ void candidate.c:228:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetCandidate(buf, n, len) ^ candidate.c:252:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i, same = 1; ~~~~~~~~ ^ candidate.c:252:25: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i, same = 1; ~~~~~~~~ ^ candidate.c:271:19: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cWcpy(buf->input[buf->candseg]->disp, ^ candidate.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xsj3cSetCandidate(); ^ void candidate.c:245:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cSetCandidate(buf, sel_candidate, changed, flush) ^ 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 C2x [-Wdeprecated-non-prototype] (&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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("sj3serv is down. reconnect please"); ^ candidate.c:38:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cEndCandidate(); ^ void candidate.c:289:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEndCandidate(buf, sync) ^ candidate.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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/include/sj3lib -I/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:33:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar _Xsj3csjis2euc(); ^ void code.c:41:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3csjis2euc (c) ^ code.c:34:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar _Xsj3ceuc2sjis(); ^ void code.c:60:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3ceuc2sjis (c) ^ code.c:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar _Xsj3csjis2jis(); ^ void code.c:78:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3csjis2jis (c) ^ code.c:36:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar _Xsj3cjis2sjis(); ^ void code.c:97:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cjis2sjis (c) ^ code.c:37:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar _Xsj3cjis2euc(); ^ void code.c:115:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cjis2euc (c) ^ code.c:38:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar _Xsj3ceuc2jis(); ^ void code.c:122:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3ceuc2jis (c) ^ code.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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/include/sj3lib -I/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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] Xsj3cError("can't connect sj3serv by null user"); ^ connect.c:33:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xsj3cOpen(); ^ void connect.c:47:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cOpen(buf, host, user, force, second) ^ connect.c:120:15: warning: passing arguments to 'Xsj3cClose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cError("Failed to connect seconON server."); ^ connect.c:35:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cConnect(); ^ void connect.c:113:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cConnect(buf, host, host2, user) ^ connect.c:143:29: warning: passing arguments to '_Xsj3cCloseError' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cCloseError(value); ^ connect.c:34:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cClose(); ^ void connect.c:134:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cClose(buf, force) ^ connect.c:159:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("sj3_open: unknown error"); ^ connect.c:154:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cOpenError(error) ^ connect.c:201:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("sj3_close: unknown error"); ^ connect.c:196:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cCloseError(error) ^ connect.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: connect.c,v 2.0 1992/02/13 18:33:14 nao Exp $"; ^ 41 warnings generated. rm -f conv.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/include/sj3lib -I/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] 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 C2x [-Wdeprecated-non-prototype] Xsj3cError("Cannot allocate for backup buffers"); ^ conv.c:81:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (seg = buf->backup[0]) { ~~~~^~~~~~~~~~~~~~~~ conv.c:81:25: note: place parentheses around the assignment to silence this warning if (seg = buf->backup[0]) { ^ ( ) conv.c:81:25: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] = (Xsj3cSeg)Xsj3cCreateSegment(buf); ^ conv.c:113:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (seg = buf->input[buf->segnum]) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:113:25: note: place parentheses around the assignment to silence this warning if (seg = buf->input[buf->segnum]) { ^ ( ) conv.c:113:25: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] = (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 C2x [-Wdeprecated-non-prototype] Xsj3cError("Cannot allocate for backup buffers"); ^ conv.c:139:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (seg = buf->backup[0]) { ~~~~^~~~~~~~~~~~~~~~ conv.c:139:29: note: place parentheses around the assignment to silence this warning if (seg = buf->backup[0]) { ^ ( ) conv.c:139:29: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] = (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 C2x [-Wdeprecated-non-prototype] = (Xsj3cSeg)Xsj3cCreateSegment(buf); ^ conv.c:158:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (seg = buf->input[buf->segnum]) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:158:29: note: place parentheses around the assignment to silence this warning if (seg = buf->input[buf->segnum]) { ^ ( ) conv.c:158:29: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] = (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 C2x [-Wdeprecated-non-prototype] = (Xsj3cSeg)Xsj3cCreateSegment(buf); ^ conv.c:176:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (seg = buf->input[buf->curseg]) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:176:21: note: place parentheses around the assignment to silence this warning if (seg = buf->input[buf->curseg]) ^ ( ) conv.c:176:21: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] = (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 C2x [-Wdeprecated-non-prototype] Xsj3cError("Cannot allocate for backup buffers"); ^ conv.c:199:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (seg = buf->backup[0]) { ~~~~^~~~~~~~~~~~~~~~ conv.c:199:25: note: place parentheses around the assignment to silence this warning if (seg = buf->backup[0]) { ^ ( ) conv.c:199:25: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] = (Xsj3cSeg)Xsj3cCreateSegment(buf); ^ conv.c:232:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (seg = buf->input[buf->segnum]) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:232:25: note: place parentheses around the assignment to silence this warning if (seg = buf->input[buf->segnum]) { ^ ( ) conv.c:232:25: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] = (Xsj3cSeg)Xsj3cCreateSegment(buf); ^ conv.c:250:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (seg = buf->input[buf->segnum]) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:250:21: note: place parentheses around the assignment to silence this warning if (seg = buf->input[buf->segnum]) { ^ ( ) conv.c:250:21: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] = (Xsj3cSeg)Xsj3cCreateSegment(buf); ^ conv.c:38:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned char *Xsj3cGetPreeditArea(); ^ void conv.c:55:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetPreeditArea(buf, len) ^ conv.c:327:37: warning: passing arguments to '_Xsj3cCtrlConv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ret |= ((*(keytp->func))(buf)); ^ conv.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent Xsj3cKeyConv(); ^ void conv.c:272:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cKeyConv(buf, n, mod, ks) ^ conv.c:565:28: warning: passing arguments to '_Xsj3cDirect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] strcpy(tmp1, seg->sp); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp1, seg->sp); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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 C2x [-Wdeprecated-non-prototype] _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] _Xsj3cInsertChar(buf, seg, tmp1, strlen(tmp1)); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 C2x [-Wdeprecated-non-prototype] _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] strcpy(tmp2, seg->sp); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp2, seg->sp); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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] strcpy(seg->oldstr, seg->str); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(seg->oldstr, seg->str); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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] _Xsj3cInsertChar(buf, seg, seg->str, strlen(seg->str)); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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] _Xsj3cInsertChar(buf, seg, seg->str, strlen(seg->str)); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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] seg->oldlen = (strlen(kanabuf) + 1)/ sizeof(wchar); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _Xsj3cStoreYomi(buf, seg, change_pos); ^ conv.c:548:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cStrConv(buf, seg, ks, n, ret) ^ conv.c:964:13: warning: call to undeclared function '_Xsj3cHankakuToHira'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] _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 C2x [-Wdeprecated-non-prototype] _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] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cHKataToZKata(buf, zkana, hkana); ^ conv.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cKanaConv(); ^ void conv.c:953:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cKanaConv(buf, seg, hkana, zkana, mode) ^ 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] if ((len = strlen(code)) < 4 && (mode == MODE_EUC || mode == MODE_KUTEN)) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ conv.c:1036:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (conv = CodeConvFunc[JP_SJIS][serverIF[buf->server].lang]) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:1036:22: note: place parentheses around the assignment to silence this warning if (conv = CodeConvFunc[JP_SJIS][serverIF[buf->server].lang]) { ^ ( ) conv.c:1036:22: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] k = conv(k); ^ conv.c:1058:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (conv = CodeConvFunc[JP_EUC][serverIF[buf->server].lang]) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:1058:22: note: place parentheses around the assignment to silence this warning if (conv = CodeConvFunc[JP_EUC][serverIF[buf->server].lang]) ^ ( ) conv.c:1058:22: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] k = conv(k); ^ conv.c:1072:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (conv = CodeConvFunc[JP_JIS8][serverIF[buf->server].lang]) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:1072:22: note: place parentheses around the assignment to silence this warning if (conv = CodeConvFunc[JP_JIS8][serverIF[buf->server].lang]) { ^ ( ) conv.c:1072:22: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("Illegal mode"); ^ conv.c:1004:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cCodeConv(buf, code, kanji, mode) ^ 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] if (!roma || (len = strlen(roma)) == 0) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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] strcpy(yomi, rktp->yomi); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(yomi, rktp->yomi); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] strcpy(tmp, p); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp, p); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] strcpy(yomi, rktp->yomi); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(yomi, rktp->yomi); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] strcpy(tmp, rktp->str); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp, rktp->str); ^~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] strcpy(roma, tmp); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(roma, tmp); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ conv.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cRomaConv(); ^ void conv.c:1136:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cRomaConv(rktable, roma, yomi) ^ conv.c:1293:25: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cStoreYomi(buf, buf->input[buf->curseg], change_pos); ^ conv.c:1226:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cCtrlConv(buf, code) ^ conv.c:1330:21: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cStoreYomi(buf, seg, change_pos); ^ conv.c:1322:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cThrough(buf, seg, n) ^ conv.c:1351:21: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cStoreYomi(buf, seg, change_pos); ^ conv.c:1342:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cDirect(buf, seg, n) ^ conv.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: conv.c,v 2.12 1993/09/21 09:43:15 nao Exp $"; ^ 149 warnings generated. rm -f dict.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/include/sj3lib -I/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] SJ3_H_NRMNOUN, "\225\201\222\312\226\274\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:127:23: note: expanded from macro 'SJ3_H_NRMNOUN' #define SJ3_H_NRMNOUN 1 ^ dict.c:69:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_PRONOUN, "\221\343\226\274\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:128:23: note: expanded from macro 'SJ3_H_PRONOUN' #define SJ3_H_PRONOUN 12 ^ dict.c:70:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_LNAME, "\225\143\216\232", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:129:23: note: expanded from macro 'SJ3_H_LNAME' #define SJ3_H_LNAME 21 ^ dict.c:71:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_FNAME, "\226\274\221\117", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:130:23: note: expanded from macro 'SJ3_H_FNAME' #define SJ3_H_FNAME 22 ^ dict.c:72:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_LOCNAME, "\222\156\226\274", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:131:23: note: expanded from macro 'SJ3_H_LOCNAME' #define SJ3_H_LOCNAME 24 ^ dict.c:73:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_PREFIC, "\214\247\201\136\213\346\226\274", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:132:23: note: expanded from macro 'SJ3_H_PREFIC' #define SJ3_H_PREFIC 25 ^ dict.c:74:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_RENTAI, "\230\101\221\314\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:133:23: note: expanded from macro 'SJ3_H_RENTAI' #define SJ3_H_RENTAI 26 ^ dict.c:75:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_CONJUNC, "\220\332\221\261\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:134:23: note: expanded from macro 'SJ3_H_CONJUNC' #define SJ3_H_CONJUNC 27 ^ dict.c:76:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_SUBNUM, "\217\225\220\224\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:135:23: note: expanded from macro 'SJ3_H_SUBNUM' #define SJ3_H_SUBNUM 29 ^ dict.c:77:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_NUMERAL, "\220\224\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:136:23: note: expanded from macro 'SJ3_H_NUMERAL' #define SJ3_H_NUMERAL 30 ^ dict.c:78:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_PREFIX, "\220\332\223\252\214\352", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:137:23: note: expanded from macro 'SJ3_H_PREFIX' #define SJ3_H_PREFIX 31 ^ dict.c:79:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_POSTFIX, "\220\332\224\366\214\352", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:138:23: note: expanded from macro 'SJ3_H_POSTFIX' #define SJ3_H_POSTFIX 36 ^ dict.c:80:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_ADVERB, "\225\233\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:139:23: note: expanded from macro 'SJ3_H_ADVERB' #define SJ3_H_ADVERB 45 ^ dict.c:81:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_ADJECT, "\214\140\227\145\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:140:23: note: expanded from macro 'SJ3_H_ADJECT' #define SJ3_H_ADJECT 60 ^ dict.c:82:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_ADJVERB, "\214\140\227\145\223\256\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:141:23: note: expanded from macro 'SJ3_H_ADJVERB' #define SJ3_H_ADJVERB 71 ^ dict.c:83:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_SILVERB, "\203\124\225\317\223\256\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:142:23: note: expanded from macro 'SJ3_H_SILVERB' #define SJ3_H_SILVERB 80 ^ dict.c:84:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_ZILVERB, "\203\125\225\317\223\256\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:143:23: note: expanded from macro 'SJ3_H_ZILVERB' #define SJ3_H_ZILVERB 81 ^ dict.c:85:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_ONEVERB, "\210\352\222\151\223\256\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:144:23: note: expanded from macro 'SJ3_H_ONEVERB' #define SJ3_H_ONEVERB 90 ^ dict.c:86:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_KAVERB, "\203\112\215\163\214\334\222\151\223\256\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:145:23: note: expanded from macro 'SJ3_H_KAVERB' #define SJ3_H_KAVERB 91 ^ dict.c:87:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_GAVERB, "\203\113\215\163\214\334\222\151\223\256\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:146:23: note: expanded from macro 'SJ3_H_GAVERB' #define SJ3_H_GAVERB 92 ^ dict.c:88:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_SAVERB, "\203\124\215\163\214\334\222\151\223\256\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:147:23: note: expanded from macro 'SJ3_H_SAVERB' #define SJ3_H_SAVERB 93 ^ dict.c:89:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_TAVERB, "\203\136\215\163\214\334\222\151\223\256\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:148:23: note: expanded from macro 'SJ3_H_TAVERB' #define SJ3_H_TAVERB 94 ^ dict.c:90:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_NAVERB, "\203\151\215\163\214\334\222\151\223\256\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:149:23: note: expanded from macro 'SJ3_H_NAVERB' #define SJ3_H_NAVERB 95 ^ dict.c:91:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_BAVERB, "\203\157\215\163\214\334\222\151\223\256\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:150:23: note: expanded from macro 'SJ3_H_BAVERB' #define SJ3_H_BAVERB 96 ^ dict.c:92:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_MAVERB, "\203\175\215\163\214\334\222\151\223\256\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:151:23: note: expanded from macro 'SJ3_H_MAVERB' #define SJ3_H_MAVERB 97 ^ dict.c:93:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_RAVERB, "\203\211\215\163\214\334\222\151\223\256\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:152:23: note: expanded from macro 'SJ3_H_RAVERB' #define SJ3_H_RAVERB 98 ^ dict.c:94:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_WAVERB, "\203\217\215\163\214\334\222\151\223\256\216\214", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:153:23: note: expanded from macro 'SJ3_H_WAVERB' #define SJ3_H_WAVERB 99 ^ dict.c:95:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] SJ3_H_SINGLE, "\222\120\212\277\216\232", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/inputmethod/kinput2/work/.buildlink/include/sj3lib.h:154:23: note: expanded from macro 'SJ3_H_SINGLE' #define SJ3_H_SINGLE 189 ^ dict.c:105:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE|CLR_STATE, SJ3_DICT_INPUT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:109:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE|CLR_STATE, SJ3_DICT_YOMI, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:112:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE|CLR_STATE, SJ3_DICT_HINSI, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:115:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE|CLR_STATE, SJ3_DICT_CONFIRM, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:118:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE, SJ3_TOUROKU_SUCCESSED, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:121:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] CLR_STATE, SJ3_SYOUKYO_SUCCESSED, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:95:33: note: expanded from macro 'CLR_STATE' #define CLR_STATE (1L<<1) ^ dict.c:124:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE|CLR_STATE, SJ3_NO_YOMI_STR, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:128:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE|CLR_STATE, SJ3_LONG_YOMI_STR, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:132:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE|CLR_STATE, SJ3_DICT_ERROR, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:136:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE|CLR_STATE, SJ3_DICT_LOCKED, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:140:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE|CLR_STATE, SJ3_BAD_YOMI_STR, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:145:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE|CLR_STATE, SJ3_BAD_KANJI_STR, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:150:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE|CLR_STATE, SJ3_BAD_HINSI_CODE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:154:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE, SJ3_WORD_EXIST, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:157:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] CLR_STATE, SJ3_WORD_NOT_EXIST, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:95:33: note: expanded from macro 'CLR_STATE' #define CLR_STATE (1L<<1) ^ dict.c:161:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE, SJ3_DOUON_FULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:165:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE, SJ3_DICT_FULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:169:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE, SJ3_INDEX_FULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:173:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] REG_STATE, SJ3_TOUROKU_FAILED, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:94:33: note: expanded from macro 'REG_STATE' #define REG_STATE (1L<<0) ^ dict.c:177:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] CLR_STATE, SJ3_SYOUKYO_FAILED, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ./common.h:95:33: note: expanded from macro 'CLR_STATE' #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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] Xsj3cError("Failed to allocate message buffer for dictionary."); ^ dict.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cDictData _Xsj3cCreateDictData(); ^ void dict.c:187:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cCreateDictData(buf, mode) ^ dict.c:218:21: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] free (buf->dict->msg); ^ dict.c:220:5: note: include the header or explicitly provide a declaration for 'free' dict.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cFreeDictData(); ^ void dict.c:213:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cFreeDictData(buf) ^ dict.c:248:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] = _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 C2x [-Wdeprecated-non-prototype] Xsj3cError("Failed to allocate hinsi data"); ^ dict.c:229:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cDictMsgInit(buf) ^ dict.c:296:16: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion] return (NULL); ^~~~~~ dict.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xsj3cGetDictMsgNum(); ^ void dict.c:271:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetDictMsgNum(buf) ^ dict.c:315:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cSetDictMsg(buf, DICT_STR_MSG1); ^ dict.c:35:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cFlushDictMsg(); ^ void dict.c:304:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cFlushDictMsg(buf) ^ dict.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cDictMsg Xsj3cGetDictMsgs(); ^ void dict.c:364:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetDictMsgs(buf) ^ dict.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar *Xsj3cGetDictMsg(); ^ void dict.c:374:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetDictMsg(buf, n, len, attr) ^ dict.c:454:71: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cError("Cannot find message for now status %s.",_Xsj3cItoa(value)); ^ dict.c:386:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetDictMsg(buf, n) ^ dict.c:469:19: warning: passing arguments to '_Xsj3cWcat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] = 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("sj3serv is down. reconnect please"); ^ dict.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cDictRegister(); ^ void dict.c:460:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cDictRegister(buf) ^ dict.c:504:19: warning: passing arguments to '_Xsj3cWcat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] = 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("sj3serv is down. reconnect please"); ^ dict.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cDictClear(); ^ void dict.c:494:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cDictClear(buf) ^ dict.c:44:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cEndDict(); ^ void dict.c:548:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEndDict(buf) ^ dict.c:580:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] = _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 C2x [-Wdeprecated-non-prototype] Xsj3cError("Failed to allocate hinsi data"); ^ dict.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cHinsi _Xsj3cHinsiInit(); ^ void dict.c:560:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cHinsiInit(buf) ^ dict.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xsj3cGetHinsiNum(); ^ void dict.c:605:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetHinsiNum(buf, cur) ^ dict.c:48:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cHinsi Xsj3cGetHinsis(); ^ void dict.c:621:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetHinsis(buf) ^ dict.c:49:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar *Xsj3cGetHinsi(); ^ void dict.c:635:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetHinsi(buf, n, len) ^ dict.c:50:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xsj3cSetHinsi(); ^ void dict.c:652:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cSetHinsi(buf, sel_hinsi, changed, flush) ^ dict.c:51:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cEndHinsi(); ^ void dict.c:670:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEndHinsi(buf) ^ dict.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: dict.c,v 2.0 1992/02/13 18:33:19 nao Exp $"; ^ 130 warnings generated. rm -f func.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/include/sj3lib -I/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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _Xsj3cStoreKanji(buf, bun, i, value, OFF); ^ func.c:42:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cConvert(); ^ void func.c:145:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cConvert(buf) ^ func.c:345:27: warning: passing arguments to '_Xsj3cUnConvSeg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); ^ func.c:43:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cUnConvert(); ^ void func.c:322:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cUnConvert(buf) ^ func.c:365:26: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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] 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] 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 C2x [-Wdeprecated-non-prototype] _Xsj3cClearDcid(buf); ^ func.c:112:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cUnConvSeg(); ^ void func.c:356:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cUnConvSeg(buf, muhenseg, muhencurlast) ^ func.c:479:39: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cFlushDictMsg(buf); ^ func.c:44:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cFix(); ^ void func.c:450:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cFix(buf) ^ func.c:579:25: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cFlushDictMsg(buf); ^ func.c:45:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cReturn(); ^ void func.c:563:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cReturn(buf) ^ func.c:716:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeChange(buf, MODE_HALPHA, conv)); ^ func.c:47:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cModeHAlpha(); ^ void func.c:693:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cModeHAlpha(buf) ^ func.c:754:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeChange(buf, MODE_ZALPHA, conv)); ^ func.c:48:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cModeZAlpha(); ^ void func.c:731:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cModeZAlpha(buf) ^ func.c:792:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeChange(buf, MODE_HKATA, conv)); ^ func.c:49:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cModeHKata(); ^ void func.c:769:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cModeHKata(buf) ^ func.c:830:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeChange(buf, MODE_ZKATA, conv)); ^ func.c:50:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cModeZKata(); ^ void func.c:807:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cModeZKata(buf) ^ func.c:868:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeChange(buf, MODE_HIRA, conv)); ^ func.c:51:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cModeHira(); ^ void func.c:845:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cModeHira(buf) ^ func.c:882:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeChange(buf, MODE_HALPHA, ON)); ^ func.c:52:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cToHAlpha(); ^ void func.c:879:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cToHAlpha(buf) ^ func.c:896:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeChange(buf, MODE_ZALPHA, ON)); ^ func.c:53:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cToZAlpha(); ^ void func.c:893:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cToZAlpha(buf) ^ func.c:910:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeChange(buf, MODE_HKATA, ON)); ^ func.c:54:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cToHKata(); ^ void func.c:907:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cToHKata(buf) ^ func.c:924:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeChange(buf, MODE_ZKATA, ON)); ^ func.c:55:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cToZKata(); ^ void func.c:921:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cToZKata(buf) ^ func.c:939:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeChange(buf, MODE_HIRA, ON)); ^ func.c:56:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cToHira(); ^ void func.c:936:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cToHira(buf) ^ func.c:953:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeChange(buf, MODE_ZENKAKU, ON)); ^ func.c:57:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cZenkaku(); ^ void func.c:950:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cZenkaku(buf) ^ func.c:967:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeChange(buf, MODE_HANKAKU, ON)); ^ func.c:58:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cHankaku(); ^ void func.c:964:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cHankaku(buf) ^ func.c:981:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeChange(buf, MODE_UPPER, ON)); ^ func.c:59:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cToUpper(); ^ void func.c:978:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cToUpper(buf) ^ func.c:995:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeChange(buf, MODE_LOWER, ON)); ^ func.c:60:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cToLower(); ^ void func.c:992:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cToLower(buf) ^ func.c:1014:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] return (_Xsj3cModeClear(buf)); ^ func.c:61:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cModeSJIS(); ^ void func.c:1007:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cModeSJIS(buf) ^ func.c:1036:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] return (_Xsj3cModeClear(buf)); ^ func.c:62:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cModeEUC(); ^ void func.c:1029:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cModeEUC(buf) ^ func.c:1058:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] return (_Xsj3cModeClear(buf)); ^ func.c:63:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cModeJIS(); ^ void func.c:1051:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cModeJIS(buf) ^ func.c:1080:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] return (_Xsj3cModeClear(buf)); ^ func.c:64:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cModeKuten(); ^ void func.c:1073:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cModeKuten(buf) ^ func.c:1110:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (_Xsj3cModeClear(buf)); ^ func.c:65:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cCodeRollDown(); ^ void func.c:1094:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cCodeRollDown(buf) ^ func.c:1153:31: warning: passing arguments to '_Xsj3cNextMode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] return(_Xsj3cModeChange(buf, postmode, OFF)); ^ func.c:66:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cModeRollDown(); ^ void func.c:1127:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cModeRollDown(buf) ^ func.c:1206:31: warning: passing arguments to '_Xsj3cPrevMode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] return(_Xsj3cModeChange(buf, postmode, OFF)); ^ func.c:67:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cModeRollUp(); ^ void func.c:1180:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cModeRollUp(buf) ^ func.c:1257:34: warning: passing arguments to '_Xsj3cCheckMode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] ret = _Xsj3cModeChange(buf, postmode, ON); ^ func.c:68:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cNextMode(); ^ void func.c:1230:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cNextMode(buf) ^ func.c:1311:34: warning: passing arguments to '_Xsj3cCheckMode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] ret = _Xsj3cModeChange(buf, postmode, ON); ^ func.c:69:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cPrevMode(); ^ void func.c:1284:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cPrevMode(buf) ^ 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] 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 C2x [-Wdeprecated-non-prototype] 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] ret = _Xsj3cModeChange(buf, MODE_HIRA, ON); ^ func.c:1367:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (conv = ~~~~~^ func.c:1367:30: note: place parentheses around the assignment to silence this warning if (conv = ^ ( func.c:1367:30: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] return (_Xsj3cModeChange(buf, buf->muhenmode, OFF)); ^ func.c:70:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cModeToggle(); ^ void func.c:1346:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cModeToggle(buf) ^ func.c:1447:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); ^ func.c:72:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cForward(); ^ void func.c:1438:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cForward(buf) ^ func.c:1545:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); ^ func.c:73:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cBackward(); ^ void func.c:1536:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cBackward(buf) ^ func.c:1638:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEndCandidate(buf, ON); ^ func.c:74:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cTop(); ^ void func.c:1631:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cTop(buf) ^ func.c:1702:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEndCandidate(buf, ON); ^ func.c:75:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cEnd(); ^ void func.c:1695:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cEnd(buf) ^ func.c:76:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cUp(); ^ void func.c:1751:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cUp(buf) ^ func.c:77:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cDown(); ^ void func.c:1775:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cDown(buf) ^ func.c:1807:54: warning: passing arguments to '_Xsj3cCandidateInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cSetCandidate(buf, 0, &changed, &flush); ^ func.c:78:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cFirst(); ^ void func.c:1800:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cFirst(buf) ^ func.c:1841:54: warning: passing arguments to '_Xsj3cCandidateInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cSetCandidate(buf, buf->candnum - 1, &changed, &flush); ^ func.c:79:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cLast(); ^ void func.c:1834:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cLast(buf) ^ func.c:80:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cNextPage(); ^ void func.c:1866:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cNextPage(buf) ^ func.c:81:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cPrevPage(); ^ void func.c:1889:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cPrevPage(buf) ^ func.c:1921:54: warning: passing arguments to '_Xsj3cCandidateInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cSetCandidate(buf, buf->curcand + 1, &changed, &flush); ^ func.c:82:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cNext(); ^ void func.c:1914:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cNext(buf) ^ func.c:1958:54: warning: passing arguments to '_Xsj3cCandidateInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cSetCandidate(buf, buf->curcand - 1, &changed, &flush); ^ func.c:83:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cPrev(); ^ void func.c:1951:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cPrev(buf) ^ func.c:2011:31: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cFlushDictMsg(buf); ^ func.c:84:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cSelect(); ^ void func.c:1988:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSelect(buf) ^ func.c:2052:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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] 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] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cFlushDictMsg(buf); ^ func.c:85:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cCancel(); ^ void func.c:2043:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cCancel(buf) ^ func.c:2143:35: warning: passing arguments to '_Xsj3cExpandNoConv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] = _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); ^ func.c:87:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cExpand(); ^ void func.c:2131:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cExpand(buf) ^ func.c:2317:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cExpandNoConv(buf) ^ func.c:2360:35: warning: passing arguments to '_Xsj3cShrinkNoConv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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] = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { ^ func.c:2491:27: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] = (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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] = _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); ^ func.c:88:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cShrink(); ^ void func.c:2346:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cShrink(buf) ^ func.c:2596:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cShrinkNoConv(buf) ^ func.c:2665:39: warning: passing arguments to '_Xsj3cDeleteSeg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _Xsj3cFlushDictMsg(buf); ^ func.c:90:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cBackSpace(); ^ void func.c:2626:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cBackSpace(buf) ^ func.c:2778:35: warning: passing arguments to '_Xsj3cDeleteSeg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _Xsj3cFlushDictMsg(buf); ^ func.c:91:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cDelete(); ^ void func.c:2732:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cDelete(buf) ^ func.c:2845:34: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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] strcpy(seg->str, seg->oldstr); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(seg->str, seg->oldstr); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] seg->n_roma = strlen(seg->oldstr); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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] _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] && strlen(seg->str) == 1) { ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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] strcpy(seg->str, seg->oldstr); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(seg->str, seg->oldstr); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] seg->n_roma = strlen(seg->oldstr); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 C2x [-Wdeprecated-non-prototype] _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] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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] strcpy(seg->str, seg->oldstr); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(seg->str, seg->oldstr); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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] strcpy(seg->str, seg->oldstr); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(seg->str, seg->oldstr); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] seg->n_roma = strlen(seg->oldstr); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 C2x [-Wdeprecated-non-prototype] _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] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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] _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] && strlen(seg->str) == 1) { ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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] _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] && strlen(seg->str) == 1) { ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 C2x [-Wdeprecated-non-prototype] _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] 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] Xsj3cFreeSegment(buf->input[buf->segnum]); ^ func.c:2823:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cBackSpaceChar(buf, seg, ret) ^ func.c:3088:26: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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] 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] Xsj3cFreeSegment(buf->input[buf->segnum]); ^ func.c:3074:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cDeleteChar(buf, seg, ret) ^ func.c:3133:26: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cClearDcid(buf); ^ func.c:3124:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cDeleteSeg(buf, ret, move) ^ func.c:3266:35: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cStoreYomi(buf, buf->input[buf->curseg], ^ func.c:92:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cDelAfter(); ^ void func.c:3204:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cDelAfter(buf) ^ func.c:3339:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] Xsj3cClearSegment(buf, buf->input[0]); ^ func.c:94:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cStart(); ^ void func.c:3326:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cStart(buf) ^ func.c:3392:24: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cEndCandidate(buf, OFF); ^ func.c:95:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cReConnect(); ^ void func.c:3386:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cReConnect(buf) ^ func.c:3455:37: warning: call to undeclared function 'Xsj3cCreateSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { ^ func.c:3455:27: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] = (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cWcpy(buf->input[i]->disp, buf->backup[i]->disp); ^ func.c:96:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cReConvert(); ^ void func.c:3436:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cReConvert(buf) ^ func.c:3538:20: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); ^ func.c:97:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cEdit(); ^ void func.c:3515:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cEdit(buf) ^ func.c:3558:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _Xsj3cFlushDictMsg(buf); ^ func.c:99:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cDRegBegin(); ^ void func.c:3552:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cDRegBegin(buf) ^ func.c:3594:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _Xsj3cFlushDictMsg(buf); ^ func.c:100:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cDClearBegin(); ^ void func.c:3588:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cDClearBegin(buf) ^ func.c:102:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cSymbolBegin(); ^ void func.c:3625:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSymbolBegin(buf) ^ 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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] = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { ^ func.c:3761:23: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] = (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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cClearDcid(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 not supported in C2x [-Wdeprecated-non-prototype] extern Xsj3cEvent _Xsj3cFlushBefore(); ^ void func.c:3662:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cFlushBefore(buf) ^ func.c:104:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cQuote(); ^ void func.c:3790:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cQuote(buf) ^ func.c:105:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cBell(); ^ void func.c:3813:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cBell(buf) ^ func.c:106:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cKana(); ^ void func.c:3835:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cKana(buf) ^ func.c:3888:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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] 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] 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 C2x [-Wdeprecated-non-prototype] Xsj3cRCInit(buf, NULL, NULL); ^ func.c:107:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cSjrc(); ^ void func.c:3874:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSjrc(buf) ^ func.c:108:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cKill(); ^ void func.c:3939:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cKill(buf) ^ func.c:109:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cNull(); ^ void func.c:3952:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cNull(buf) ^ func.c:110:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cIgnore(); ^ void func.c:3964:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cIgnore(buf) ^ func.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: func.c,v 2.3 1993/09/21 09:42:57 nao Exp $"; ^ 403 warnings generated. rm -f libif.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/include/sj3lib -I/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 not supported in C2x [-Wdeprecated-non-prototype] extern int sj3_open(); ^ libif.c:32:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int sj3_getkan(); ^ libif.c:33:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int sj3_douoncnt(); ^ libif.c:34:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int sj3_getdouon(); ^ libif.c:35:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int sj3_touroku(); ^ libif.c:36:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int sj3_syoukyo(); ^ libif.c:37:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int sj3_gakusyuu(); ^ libif.c:38:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int sj3_gakusyuu2(); ^ libif.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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/include/sj3lib -I/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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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] 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 C2x [-Wdeprecated-non-prototype] return (_Xsj3cModeClear(buf)); ^ mode.c:35:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cModeChange(); ^ void mode.c:62:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cModeChange(buf, mode, conv) ^ mode.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent _Xsj3cModeClear(); ^ void mode.c:117:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cModeClear(buf) ^ mode.c:154:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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] strcpy(string, tmp1); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(string, tmp1); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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 C2x [-Wdeprecated-non-prototype] _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] strcpy(string, tmp1); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(string, tmp1); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cUpperToLower(buf, string); ^ mode.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEvent Xsj3cModeConv(); ^ void mode.c:144:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cModeConv(buf, string, postmode, size) ^ mode.c:296:22: warning: call to undeclared function '_Xsj3cRomaConv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((value = _Xsj3cRomaConv(buf->rktable, rbuf, ybuf)) > 0) { ^ mode.c:247:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cRKConvs(buf, yomi, alpha) ^ mode.c:374:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] plen = strlen(tyomi); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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] && !strncmp(rktp->yomi, p, rktp->ylen)) { ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ 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] && !strncmp(rktp->yomi, p, rktp->ylen)) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:84:44: note: passing argument to parameter '__s2' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ mode.c:428:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = buf->plosive) { ~~^~~~~~~~~~~~~~ mode.c:428:35: note: place parentheses around the assignment to silence this warning if (t = buf->plosive) { ^ ( ) mode.c:428:35: note: use '==' to turn this assignment into an equality comparison 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] strcpy(tmp, rktp->roma); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp, rktp->roma); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] } else if (d = buf->rkdouble) { ~~^~~~~~~~~~~~~~~ mode.c:471:38: note: place parentheses around the assignment to silence this warning } else if (d = buf->rkdouble) { ^ ( ) mode.c:471:38: note: use '==' to turn this assignment into an equality comparison } 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] strcpy(tmp, rktp->roma); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp, rktp->roma); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] strcpy(tmp, rktp->roma); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp, rktp->roma); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ mode.c:342:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cKRConvs(buf, roma, kana) ^ mode.c:633:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cWarning("wrong sjhk table"); ^ mode.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cHiraToZKata(); ^ void mode.c:608:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cHiraToZKata(buf, dest, src) ^ 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] strcpy(tmp, hktp->hira); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp, hktp->hira); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] strcpy(tmp, hktp->hira); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp, hktp->hira); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] strcpy(dest, tmp); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(dest, tmp); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] dest += strlen(tmp); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ mode.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cHankakuToHira(); ^ void mode.c:659:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cHankakuToHira(buf, dest, src) ^ 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] strcpy(tmp, hktp->zkata); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp, hktp->zkata); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] strcpy(tmp, hktp->zkata); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp, hktp->zkata); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] strcpy(dest, tmp); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(dest, tmp); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] dest += strlen(tmp); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ mode.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cHankakuToZKata(); ^ void mode.c:724:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cHankakuToZKata(buf, dest, src) ^ 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] strcpy(tmp, hktp->hira); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp, hktp->hira); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] strcpy(tmp, hktp->hira); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp, hktp->hira); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] strcpy(dest, tmp); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(dest, tmp); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] dest += strlen(tmp); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ mode.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cHKataToHira(); ^ void mode.c:789:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cHKataToHira(buf, dest, src) ^ 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] strcpy(tmp, hktp->zkata); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp, hktp->zkata); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] strcpy(tmp, hktp->zkata); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(tmp, hktp->zkata); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] strcpy(dest, tmp); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy(dest, tmp); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] dest += strlen(tmp); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ mode.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cHKataToZKata(); ^ void mode.c:845:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cHKataToZKata(buf, dest, src) ^ mode.c:928:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("wrong sjhk table"); ^ mode.c:44:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cZKanaToHKata(); ^ void mode.c:902:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cZKanaToHKata(buf, dest, src) ^ mode.c:1001:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cWarning("wrong sjhk table"); ^ mode.c:45:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cZKataToHira(); ^ void mode.c:976:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cZKataToHira(buf, dest, src) ^ mode.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cHAlphaToZAlpha(); ^ void mode.c:1027:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cHAlphaToZAlpha(buf, dest, src) ^ mode.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cHAlphaToZKana(); ^ void mode.c:1056:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cHAlphaToZKana(buf, dest, src) ^ mode.c:48:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cHAlphaToHKata(); ^ void mode.c:1085:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cHAlphaToHKata(buf, dest, src) ^ mode.c:49:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cZAlphaToHAlpha(); ^ void mode.c:1113:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cZAlphaToHAlpha(buf, dest, src) ^ mode.c:1143:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cLowerToUpper(buf, str) ^ mode.c:1170:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cUpperToLower(buf, str) ^ mode.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: mode.c,v 2.6 1993/01/06 10:58:18 nao Exp $"; ^ 127 warnings generated. rm -f segment.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/include/sj3lib -I/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] 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 C2x [-Wdeprecated-non-prototype] Xsj3cResizeSegment(seg, KANABUFSIZ); ^ segment.c:31:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cSeg Xsj3cCreateSegment(); ^ void segment.c:48:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cCreateSegment(buf) ^ 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] free(seg->str); ^ segment.c:95:9: note: include the header or explicitly provide a declaration for 'free' segment.c:32:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cFreeSegment(); ^ void segment.c:89:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cFreeSegment(seg) ^ 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cError("Failed to allocate display buffer"); ^ segment.c:33:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cResizeSegment(); ^ void segment.c:117:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cResizeSegment(seg, size) ^ segment.c:34:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cClearSegment(); ^ void segment.c:151:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cClearSegment(buf, seg) ^ segment.c:38:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar *Xsj3cGetModeStr(); ^ void segment.c:180:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetModeStr(buf, len) ^ segment.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xsj3cGetPosition(); ^ void segment.c:197:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetPosition(buf, curseg, pos) ^ segment.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xsj3cGetSegNum(); ^ void segment.c:225:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetSegNum(buf) ^ segment.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar *Xsj3cGetSeg(); ^ void segment.c:236:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetSeg(buf, n, len, attr) ^ segment.c:279:20: warning: passing arguments to '_Xsj3cFlushDcid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _Xsj3cWcat(data, buf->input[i]->disp); ^ segment.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar *Xsj3cGetConvertedStr(); ^ void segment.c:273:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetConvertedStr(buf, data) ^ segment.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xsj3cGetConvertedLength(); ^ void segment.c:293:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetConvertedLength(buf) ^ segment.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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/include/sj3lib -I/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] 0x81, 0x9f, 0xe0, 0xfc, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sj3ctype.c:32:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 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] NULL, NULL, NULL, NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ sj3ctype.c:33:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] NULL, NULL, NULL, NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ sj3ctype.c:34:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] NULL, NULL, NULL, NULL ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^ sj3ctype.c:38:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x40, 0x7e, 0x80, 0xfc, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sj3ctype.c:39:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 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] NULL, NULL, NULL, NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL, ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ sj3ctype.c:40:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] NULL, NULL, NULL, NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] NULL, NULL, NULL, NULL ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ sj3ctype.c:41:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] NULL, NULL, NULL, NULL ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^ sj3ctype.c:45:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x829f, 0x82f1, ^~~~~~~~~~~~~~ { } sj3ctype.c:46:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa4a1, 0xa4f3 ^~~~~~~~~~~~~~ { } sj3ctype.c:50:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 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] 0xa5a1, 0xa5f6, NULL ^~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ sj3ctype.c:51:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa5a1, 0xa5f6, NULL ^~~~~~~~~~~~~~~~~~~~ { } sj3ctype.c:55:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x8260, 0x829a, ^~~~~~~~~~~~~~ { } sj3ctype.c:56:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa3c1, 0xa3fa ^~~~~~~~~~~~~~ { } sj3ctype.c:60:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x8260, 0x8279, ^~~~~~~~~~~~~~ { } sj3ctype.c:61:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa3c1, 0xa3da ^~~~~~~~~~~~~~ { } sj3ctype.c:65:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x8281, 0x829a, ^~~~~~~~~~~~~~ { } sj3ctype.c:66:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa3e1, 0xa3fa ^~~~~~~~~~~~~~ { } sj3ctype.c:70:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x82c1, 0x8362, ^~~~~~~~~~~~~~ { } sj3ctype.c:71:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa4c3, 0xa5c3 ^~~~~~~~~~~~~~ { } sj3ctype.c:75:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x814a, 0x814b, ^~~~~~~~~~~~~~ { } sj3ctype.c:76:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa1ab, 0xa1ac ^~~~~~~~~~~~~~ { } sj3ctype.c:80:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x829f, 0x82a8, 0x8340, 0x8349, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sj3ctype.c:81:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa4a1, 0xa4aa, 0xa5a1, 0xa5aa ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sj3ctype.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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/include/sj3lib -I/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] "key", _Xsj3cSetKeyTable, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:99:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "escape", _Xsj3cSetKeyTable, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:100:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "sjxkey", _Xsj3cSetKeyTable, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:101:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "ki2key", _Xsj3cSetKeyTable, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:102:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "initialmode", _Xsj3cSetInputMode, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:103:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "defaultcode", _Xsj3cSetDefCode, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:104:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "muhenkanmode", _Xsj3cSetMuhenkan, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:105:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "muhenkaninedit", _Xsj3cSetMuEdit, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:106:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "muhenkantoggle", _Xsj3cSetMToggle, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:107:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "guide", _Xsj3cSetGuide, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:108:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "bstudy", _Xsj3cSetBStudy, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:109:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "rkerrbell", _Xsj3cSetRkeBell, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:110:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "flushafterconversion", _Xsj3cSetFlushAfterConv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:111:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "server", _Xsj3cSetSj3Serv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:112:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "sj3serv", _Xsj3cSetSj3Serv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:113:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "setnormal", _Xsj3cSetNormal, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:114:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "throughnext", _Xsj3cSetThroughNext, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:115:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "sj3serv2", _Xsj3cSetSj3Serv2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:116:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "flushinconversion", _Xsj3cSetFlushInConv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:117:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "flushselectconversion", _Xsj3cSetFlushSelectConv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:118:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "flushendconversion", _Xsj3cSetFlushEndConv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:119:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "alphabetconversion", _Xsj3cSetAlphaConv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:120:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "backdisplay", _Xsj3cSetBackDisplay, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:121:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "beginconversionlast", _Xsj3cSetSegLast, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:122:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "expandmodeconversion", _Xsj3cSetExpandMConv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:123:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "shrinkmodeconversion", _Xsj3cSetShrinkMConv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:124:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "expandkanjiconversion", _Xsj3cSetExpandKConv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:125:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "shrinkkanjiconversion", _Xsj3cSetShrinkKConv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:126:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "shrinkall", _Xsj3cSetShrinkAll, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:127:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "henkansegment", _Xsj3cSetConvSeg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:128:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "muhenkansegment", _Xsj3cSetUnconvSeg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:129:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "deletechangesegment", _Xsj3cSetDelChange, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:130:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "flushchangesegment", _Xsj3cSetFlushChange, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:131:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "modeconversion", _Xsj3cSetModeConv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:132:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "moveloop", _Xsj3cSetMoveLoop, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:133:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "movebysegment", _Xsj3cSetModeBySeg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:134:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "jumpbysegment", _Xsj3cSetJumpBySeg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:135:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "deletebysegment", _Xsj3cSetDelBySeg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:136:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "killbysegment", _Xsj3cSetKillBySeg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:137:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "muhenkancursorlast", _Xsj3cSetMuhenCursorLast, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:138:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "editkancursorlast", _Xsj3cSetEditCursorLast, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:139:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "flushkancursorlast", _Xsj3cSetFlushCursorLast, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:140:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "convertedunderline", _Xsj3cSetUnderLine, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:141:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "displaymodechange", _Xsj3cSetDispMChange, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:142:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "deletelastmove", _Xsj3cSetDelLastMove, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:143:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "kanainputonly", _Xsj3cSetKanaInput, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:144:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "inputsametime", _Xsj3cSetInputSame, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:145:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "controlsametime", _Xsj3cSetCntrlSame, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:146:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "printmode", _Xsj3cSetPrintMode, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:147:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "beforeselectconversion", _Xsj3cSetSelectConv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:148:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "beforeconversion", _Xsj3cSetBeforeConv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:149:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "lastdoubleconversion", _Xsj3cSetLastDoubleConv, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:150:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "beforeselectcount", _Xsj3cSetSelectCount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:151:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "selectbackspacemove", _Xsj3cSetSelectBackMove, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:152:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "candidatepadding", _Xsj3cSetCandidatePad, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:153:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "nextrcfile", _Xsj3cSetNextRCFile, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:154:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "include", _Xsj3cSetIncludeRCFile, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } sjrc.c:155:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] NULL, NULL ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("bad line in sjrc file. %s:%d", buf->rcfile, line); ^ sjrc.c:35:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cRCInit(); ^ void sjrc.c:174:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cRCInit(buf, sjrc, home) ^ 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] if ((fgets (buf, sizeof(buf), fp)) == NULL) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:149:30: note: passing argument to parameter here char *fgets(char * __restrict, int, 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] if (!strcmp(&buf[j],SERIAL) || !strcmp(&buf[j],SERIAL2) ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here 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] if (!strcmp(&buf[j],SERIAL) || !strcmp(&buf[j],SERIAL2) ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here 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] || !strcmp(&buf[j],SERIAL3)) ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ sjrc.c:257:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cReadRC(fp, rctable) ^ sjrc.c:403:26: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] && !_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 C2x [-Wdeprecated-non-prototype] && !_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 C2x [-Wdeprecated-non-prototype] && !_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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("Unknown input mode \"%s\"",table->value[j]); ^ sjrc.c:395:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetInputMode(buf, table) ^ sjrc.c:453:26: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("Unknown print mode \"%s\"",table->value[j]); ^ sjrc.c:445:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetPrintMode(buf, table) ^ sjrc.c:499:26: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("Unknown input code"); ^ sjrc.c:491:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetDefCode(buf, table) ^ sjrc.c:531:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("Invalid muhenkan mode \"%s\"",table->value[0]); ^ sjrc.c:526:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetMuhenkan(buf, table) ^ sjrc.c:566:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("Unknown toggle mode"); ^ sjrc.c:561:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetMuEdit(buf, table) ^ sjrc.c:603:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:597:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetMToggle(buf, table) ^ sjrc.c:623:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _Xsj3cWcpy(buf->modestr[mode], data); ^ sjrc.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cSetGuide(); ^ void sjrc.c:615:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetGuide(buf, table) ^ sjrc.c:694:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:688:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetBStudy(buf, table) ^ sjrc.c:712:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:706:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetFlushAfterConv(buf, table) ^ sjrc.c:730:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] else if (_Xsj3cCmp(table->value[0],"edit")) ^ sjrc.c:724:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetFlushInConv(buf, table) ^ sjrc.c:752:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] else if (_Xsj3cCmp(table->value[0],"edit")) ^ sjrc.c:746:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetFlushSelectConv(buf, table) ^ sjrc.c:774:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:768:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetFlushEndConv(buf, table) ^ sjrc.c:792:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:786:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetRkeBell(buf, table) ^ sjrc.c:810:24: warning: passing arguments to '_Xsj3cReadAscii' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cReadAscii(buf->rcfile, table->value[0], hostname1); ^ sjrc.c:804:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetSj3Serv(buf, table) ^ sjrc.c:822:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetNormal(buf, table) ^ sjrc.c:856:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetThroughNext(buf, table) ^ sjrc.c:897:24: warning: passing arguments to '_Xsj3cReadAscii' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cReadAscii(buf->rcfile, table->value[0], hostname2); ^ sjrc.c:891:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetSj3Serv2(buf, table) ^ sjrc.c:915:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:909:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetAlphaConv(buf, table) ^ sjrc.c:933:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:927:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetBackDisplay(buf, table) ^ sjrc.c:951:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] else if (_Xsj3cCmp(table->value[0],"off")) ^ sjrc.c:945:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetSegLast(buf, table) ^ sjrc.c:971:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:965:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetShrinkAll(buf, table) ^ sjrc.c:989:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] else if (_Xsj3cCmp(table->value[0],"after")) ^ sjrc.c:983:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetDelChange(buf, table) ^ sjrc.c:1009:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"all")) ^ sjrc.c:1003:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetFlushChange(buf, table) ^ sjrc.c:1029:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[1],"on")) ^ sjrc.c:1021:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetExpandKConv(buf, table) ^ sjrc.c:1054:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[1],"on")) ^ sjrc.c:1046:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetShrinkKConv(buf, table) ^ sjrc.c:1079:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[1],"on")) ^ sjrc.c:1071:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetExpandMConv(buf, table) ^ sjrc.c:1104:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[1],"on")) ^ sjrc.c:1096:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetShrinkMConv(buf, table) ^ sjrc.c:1127:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1121:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetMoveLoop(buf, table) ^ sjrc.c:1147:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[1],"on")) ^ sjrc.c:1139:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetJumpBySeg(buf, table) ^ sjrc.c:1172:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[1],"on")) ^ sjrc.c:1164:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetModeBySeg(buf, table) ^ sjrc.c:1197:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[1],"on")) ^ sjrc.c:1189:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetDelBySeg(buf, table) ^ sjrc.c:1222:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[1],"on")) ^ sjrc.c:1214:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetKillBySeg(buf, table) ^ sjrc.c:1245:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1239:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetMuhenCursorLast(buf, table) ^ sjrc.c:1263:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1257:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetEditCursorLast(buf, table) ^ sjrc.c:1281:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1275:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetFlushCursorLast(buf, table) ^ sjrc.c:1299:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] else if (_Xsj3cCmp(table->value[0],"after")) ^ sjrc.c:1293:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetUnconvSeg(buf, table) ^ sjrc.c:1319:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] else if (_Xsj3cCmp(table->value[0],"after")) ^ sjrc.c:1313:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetConvSeg(buf, table) ^ sjrc.c:1342:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[2],"on")) ^ sjrc.c:1333:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetModeConv(buf, table) ^ sjrc.c:1354:20: warning: variable 'mode' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] } else if (_Xsj3cCmp(table->key[1], "rolldown")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sjrc.c:1371:23: note: uninitialized use occurs here buf->modeconv[mode] = (noinput << 2) + (conved << 1) + input; ^~~~ sjrc.c:1354:16: note: remove the 'if' if its condition is always true } else if (_Xsj3cCmp(table->key[1], "rolldown")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sjrc.c:1337:29: note: initialize the variable 'mode' to silence this warning 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 C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1383:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetUnderLine(buf, table) ^ sjrc.c:1407:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1401:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetDispMChange(buf, table) ^ sjrc.c:1425:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1419:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetDelLastMove(buf, table) ^ sjrc.c:1443:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1437:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetKanaInput(buf, table) ^ sjrc.c:1461:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1455:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetInputSame(buf, table) ^ sjrc.c:1479:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1473:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetCntrlSame(buf, table) ^ sjrc.c:1497:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1491:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetSelectConv(buf, table) ^ sjrc.c:1515:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1509:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetBeforeConv(buf, table) ^ sjrc.c:1533:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1527:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetLastDoubleConv(buf, table) ^ sjrc.c:1558:24: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] buf->selectcount = atoi(table->value[0]); ^ sjrc.c:1545:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetSelectCount(buf, table) ^ sjrc.c:1573:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1567:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetSelectBackMove(buf, table) ^ sjrc.c:1591:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_Xsj3cCmp(table->value[0],"on")) ^ sjrc.c:1585:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetCandidatePad(buf, table) ^ sjrc.c:1611:24: warning: passing arguments to '_Xsj3cReadAscii' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cReadAscii(file, table->value[0], buf->rcfile); ^ sjrc.c:1603:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetNextRCFile(buf, table) ^ sjrc.c:1635:21: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("bad line in sjrc include file. %s:%d", ^ sjrc.c:1622:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetIncludeRCFile(buf, table) ^ sjrc.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: sjrc.c,v 2.3 1993/01/06 10:56:56 nao Exp $"; ^ 281 warnings generated. rm -f symbol.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/include/sj3lib -I/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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cError("read failed sjsb file %s", sbfile); ^ symbol.c:34:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cSymbol _Xsj3cSymbolInit(); ^ void symbol.c:51:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSymbolInit(sjsb, home) ^ 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] while (fgets(line, sizeof(line), fp) != NULL) { ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:149:30: note: passing argument to parameter here char *fgets(char * __restrict, int, 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] 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] while (fgets(line, sizeof(line), fp) != NULL && j < i) { ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:149:30: note: passing argument to parameter here char *fgets(char * __restrict, int, 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] symbollist[j].data = _Xsj3cStoreWchar(data, len + 1); ^ symbol.c:105:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cReadSymbol(file) ^ symbol.c:35:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xsj3cGetSymbolNum(); ^ void symbol.c:156:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetSymbolNum(buf, cur) ^ symbol.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cSymbol Xsj3cGetSymbols(); ^ void symbol.c:172:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetSymbols(buf) ^ symbol.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar *Xsj3cGetSymbol(); ^ void symbol.c:186:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cGetSymbol(buf, n, len) ^ symbol.c:218:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] Xsj3cError("Cannot allocate for backup buffers"); ^ symbol.c:232:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (seg = buf->backup[0]) { ~~~~^~~~~~~~~~~~~~~~ symbol.c:232:21: note: place parentheses around the assignment to silence this warning if (seg = buf->backup[0]) { ^ ( ) symbol.c:232:21: note: use '==' to turn this assignment into an equality comparison 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] 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] 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] 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] = (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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cStoreYomi(buf, seg, 0); ^ symbol.c:258:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (seg = buf->input[buf->segnum]) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ symbol.c:258:21: note: place parentheses around the assignment to silence this warning if (seg = buf->input[buf->segnum]) { ^ ( ) symbol.c:258:21: note: use '==' to turn this assignment into an equality comparison 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] Xsj3cClearSegment(buf, seg); ^ symbol.c:262:27: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] = (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] 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] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _Xsj3cStoreYomi(buf, seg, change_pos); ^ symbol.c:38:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xsj3cSetSymbol(); ^ void symbol.c:203:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cSetSymbol(buf, sel_symbol, changed, flush) ^ symbol.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cEndSymbol(); ^ void symbol.c:306:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cEndSymbol(buf) ^ symbol.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: symbol.c,v 2.0 1992/02/13 18:33:43 nao Exp $"; ^ 46 warnings generated. rm -f table.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/include/sj3lib -I/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] 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] strcpy (chp, ch); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy (chp, ch); ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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] strcpy (chp, ch); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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] strcpy (chp, ch); ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ table.c:75:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cStoreChar(ch, len) ^ table.c:111:26: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (void)_Xsj3cWcpy (wp, wch); ^ table.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar *_Xsj3cStoreWchar(); ^ void table.c:99:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cStoreWchar(wch, len) ^ 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] } else if (c == '&' && !strcmp("@\033$B", src)) { ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(c),file); ^ table.c:123:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cmINtomPS(buf, file, src, dest) ^ table.c:257:63: warning: passing arguments to '_Xsj3cXtoa' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(n),file); ^ table.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cReadAscii(); ^ void table.c:227:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cReadAscii(file, src, dest) ^ 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] } else if (c == '&' && !strcmp("@\033$B", src)) { ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(c),file); ^ table.c:45:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cmINtowOUT(); ^ void table.c:266:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cmINtowOUT(file, src, dest, len) ^ table.c:371:32: warning: passing arguments to '_Xsj3cRKInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] buf->hinsi = _Xsj3cHinsiInit(buf); ^ table.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cInitializeTables(); ^ void table.c:366:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cInitializeTables(buf, home, sjrk, sjhk, sjzh, sjsb) ^ table.c:400:34: warning: passing arguments to '_Xsj3cReadRK' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] Xsj3cError("read failed line %s sjrk file %s", ^ table.c:38:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cRKTable *_Xsj3cRKInit(); ^ void table.c:386:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cRKInit(buf, sjrk, home) ^ 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] while (fgets(line, sizeof(line), fp) != NULL) { ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:149:30: note: passing argument to parameter here char *fgets(char * __restrict, int, 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 C2x [-Wdeprecated-non-prototype] 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] rktp->roma = _Xsj3cStoreChar(roma, (rlen = strlen(roma)) + 1); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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] rktp->yomi = _Xsj3cStoreChar(yomi, (ylen = strlen(yomi)) + 1); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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] rktp->str = _Xsj3cStoreChar(str, strlen(str) + 1); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("can't allocate roman-kana conversion table"); ^ table.c:473:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cReadRK(buf, file, error) ^ table.c:547:34: warning: passing arguments to '_Xsj3cReadHK' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] Xsj3cError("read failed line %s sjhk file %s", ^ table.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cHKTable *_Xsj3cHKInit(); ^ void table.c:533:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cHKInit(buf, sjhk, home) ^ 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] while (fgets(line, sizeof(line), fp) != NULL) { ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:149:30: note: passing argument to parameter here char *fgets(char * __restrict, int, 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 C2x [-Wdeprecated-non-prototype] 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] hktp->hira = _Xsj3cStoreChar(zhira, strlen(zhira) + 1); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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] hktp->zkata = _Xsj3cStoreChar(zkata, strlen(zkata) + 1); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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] (hkata_len = strlen(hkata)) + 1); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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] (halpha_len = strlen(halpha)) + 1); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("can't allocate hiragana-katakana conversion table"); ^ table.c:613:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cReadHK(buf, file, error) ^ table.c:697:34: warning: passing arguments to '_Xsj3cReadZH' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] Xsj3cError("read failed line %s sjzk file %s", ^ table.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cZHTable *_Xsj3cZHInit(); ^ void table.c:683:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cZHInit(buf, sjzh, home) ^ 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] while (fgets(line, sizeof(line), fp) != NULL) { ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:149:30: note: passing argument to parameter here char *fgets(char * __restrict, int, 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 C2x [-Wdeprecated-non-prototype] 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] zhtp->halpha = _Xsj3cStoreChar(hanalpha, strlen(hanalpha) + 1); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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] zhtp->zalpha = _Xsj3cStoreChar(zenalpha, strlen(zenalpha) + 1); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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] zhtp->zkana = _Xsj3cStoreChar(zkana, strlen(zkana) + 1); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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] zhtp->hkata = _Xsj3cStoreChar(hkata, strlen(hkata) + 1); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 C2x [-Wdeprecated-non-prototype] Xsj3cWarning("can't allocate zen/han-kaku conversion table"); ^ table.c:762:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cReadZH(buf, file, error) ^ table.c:838:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] = _Xsj3cStoreChar(tmp, strlen(tmp) + 1)) == NULL) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 C2x [-Wdeprecated-non-prototype] Xsj3cError("can't allocate for roma-kana plosive conversion table"); ^ table.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned char *_Xsj3cSetPlosive(); ^ void table.c:827:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetPlosive(buf) ^ table.c:872:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] if (!strcmp(rktp->yomi, rktp2->yomi)) { ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here 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] if (!strcmp(rktp->yomi, rktp2->yomi)) { ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here 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] = _Xsj3cStoreChar(tmp, strlen(tmp) + 1)) == NULL) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 C2x [-Wdeprecated-non-prototype] Xsj3cError("can't allocate for roma-kana double conversion table"); ^ table.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned char *_Xsj3cSetDouble(); ^ void table.c:862:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cSetDouble(buf) ^ table.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: table.c,v 2.3 1993/09/21 09:42:45 nao Exp $"; ^ 113 warnings generated. rm -f util.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/include/sj3lib -I/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] NULL, _Xsj3csjis2euc, _Xsj3csjis2jis, _Xsj3csjis2jis, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^ util.c:82:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] _Xsj3ceuc2sjis, NULL, _Xsj3ceuc2jis, _Xsj3ceuc2jis, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } util.c:83:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] _Xsj3cjis2sjis, _Xsj3cjis2euc, NULL, NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } util.c:84:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] _Xsj3cjis2sjis, _Xsj3cjis2euc, NULL, NULL ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } util.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cSetInLang(); ^ void util.c:92:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cSetInLang(lang) ^ util.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cSetOutLang(); ^ void util.c:103:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cSetOutLang(lang) ^ 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 not supported in C2x [-Wdeprecated-non-prototype] extern void Xsj3cSetKanaMod(); ^ void util.c:114:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cSetKanaMod(mod) ^ util.c:44:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cWarning(); ^ void util.c:126:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cWarning(message, s0, s1, s2, s3, s4, s5, s6, s7, s8, s9) ^ 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] exit(1); ^ util.c:153:5: note: include the header or explicitly provide a declaration for 'exit' util.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xsj3cError(); ^ void util.c:144:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3cError(message, s0, s1, s2, s3, s4, s5, s6, s7, s8, s9) ^ util.c:170:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:170:14: note: place parentheses around the assignment to silence this warning if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { ^ ( ) util.c:170:14: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] *p++ = conv(*q++); ^ util.c:184:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p++ = *q++) i++; ~~~~~^~~~~~ util.c:184:21: note: place parentheses around the assignment to silence this warning while (*p++ = *q++) i++; ^ ( ) util.c:184:21: note: use '==' to turn this assignment into an equality comparison while (*p++ = *q++) i++; ^ == util.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cwPStowOUT(); ^ void util.c:161:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cwPStowOUT(buf, p, q) ^ util.c:205:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:205:14: note: place parentheses around the assignment to silence this warning if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { ^ ( ) util.c:205:14: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] *p++ = conv(*q++); ^ util.c:215:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p++ = *q++) i++; ~~~~~^~~~~~ util.c:215:21: note: place parentheses around the assignment to silence this warning while (*p++ = *q++) i++; ^ ( ) util.c:215:21: note: use '==' to turn this assignment into an equality comparison while (*p++ = *q++) i++; ^ == util.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cwOUTtowPS(); ^ void util.c:196:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cwOUTtowPS(buf, p, q) ^ util.c:55:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cCmp(); ^ void util.c:228:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cCmp(s1, s2) ^ util.c:48:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cmPStowPS(); ^ void util.c:250:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cmPStowPS(buf, w, m) ^ util.c:286:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:286:14: note: place parentheses around the assignment to silence this warning if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { ^ ( ) util.c:286:14: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] *w++ = conv((c << 8) + *m++); ^ util.c:49:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cmPStowOUT(); ^ void util.c:277:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cmPStowOUT(buf, w, m) ^ util.c:50:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cmPStowPSn(); ^ void util.c:317:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cmPStowPSn(buf, w, m, n) ^ util.c:356:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:356:14: note: place parentheses around the assignment to silence this warning if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { ^ ( ) util.c:356:14: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] *w++ = conv((c << 8) + *m++); ^ util.c:51:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cmPStowOUTn(); ^ void util.c:346:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cmPStowOUTn(buf, w, m, n) ^ util.c:52:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cwPStomPS(); ^ void util.c:389:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cwPStomPS(buf, m, w) ^ util.c:424:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:424:14: note: place parentheses around the assignment to silence this warning if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { ^ ( ) util.c:424:14: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] s = conv(*w); ^ util.c:53:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cwOUTtomPS(); ^ void util.c:416:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cwOUTtomPS(buf, m, w) ^ util.c:459:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*w1++ = *w2++) i++; ~~~~~~^~~~~~~ util.c:459:18: note: place parentheses around the assignment to silence this warning while (*w1++ = *w2++) i++; ^ ( ) util.c:459:18: note: use '==' to turn this assignment into an equality comparison while (*w1++ = *w2++) i++; ^ == util.c:56:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cWcpy(); ^ void util.c:454:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cWcpy(w1, w2) ^ util.c:474:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*w1++ = *w2++); ~~~~~~^~~~~~~ util.c:474:18: note: place parentheses around the assignment to silence this warning while (*w1++ = *w2++); ^ ( ) util.c:474:18: note: use '==' to turn this assignment into an equality comparison while (*w1++ = *w2++); ^ == util.c:57:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cWcat(); ^ void util.c:469:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cWcat(w1, w2) ^ util.c:58:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cWlen(); ^ void util.c:482:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cWlen(w) ^ util.c:59:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *_Xsj3cItoa(); ^ void util.c:497:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cItoa(num) ^ util.c:60:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *_Xsj3cXtoa(); ^ void util.c:519:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cXtoa(num) ^ util.c:62:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cInsertChar(); ^ void util.c:547:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cInsertChar(buf, seg, m, n) ^ util.c:63:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cInsertWchar(); ^ void util.c:579:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cInsertWchar(seg, w, n) ^ util.c:64:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cExtractChar(); ^ void util.c:605:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cExtractChar(buf, seg, m, n) ^ util.c:650:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:650:14: note: place parentheses around the assignment to silence this warning if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { ^ ( ) util.c:650:14: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] seg->disp[i] = conv(seg->yomi[i]); ^ util.c:65:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cStoreYomi(); ^ void util.c:642:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cStoreYomi(buf, seg, pos) ^ util.c:688:57: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] buf->input[i]->cursegmode = _Xsj3cCheckMode(buf, buf->input[i]); ^ util.c:66:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _Xsj3cStoreKanji(); ^ void util.c:671:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cStoreKanji(buf, bun, cur, num, change) ^ util.c:713:1: warning: non-void function does not return a value [-Wreturn-type] } ^ util.c:71:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Xsj3csMode _Xsj3cCheckMode(); ^ void util.c:720:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cCheckMode(buf, seg) ^ 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 C2x [-Wdeprecated-non-prototype] (mbs[0], mbs[1], &buf->input[i + 1]->dcid)) < 0) { ^ util.c:767:73: warning: too few arguments in call to 'Xsj3cWarning' 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 C2x [-Wdeprecated-non-prototype] (mbs[1], mbs[0], &buf->input[i]->dcid)) < 0) { ^ util.c:776:73: warning: too few arguments in call to 'Xsj3cWarning' 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 C2x [-Wdeprecated-non-prototype] (mbs[0], mbs[0], &buf->input[0]->dcid)) < 0) { ^ util.c:782:73: warning: too few arguments in call to 'Xsj3cWarning' Xsj3cWarning("sj3serv is down. reconnect please"); ~~~~~~~~~~~~ ^ util.c:68:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cFlushDcid(); ^ void util.c:753:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cFlushDcid(buf) ^ util.c:69:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void _Xsj3cClearDcid(); ^ void util.c:801:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xsj3cClearDcid(buf) ^ util.c:2:14: warning: unused variable 'rcsid' [-Wunused-variable] 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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*DefaultErrorHandler)(dpy, error); ^ kinput2.c:416:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IgnoreBadWindow(dpy, error) ^ kinput2.c:464:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] interruptCallback(cldata, sigid) ^ kinput2.c:483:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroyed(w, client_data, call_data) ^ kinput2.c:521:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] realExit(cldata, timerp) ^ kinput2.c:604:14: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] p = DATE + 7; /* skip '$Date: ' */ ~~~~~^~~ kinput2.c:604:14: note: use array indexing to silence this warning p = DATE + 7; /* skip '$Date: ' */ ^ & [ ] kinput2.c:24:14: warning: unused variable 'rcsid' [-Wunused-variable] static char *rcsid = "$Id: kinput2.c,v 1.46 2002/01/06 15:13:38 ishisone Exp $"; ^ 8 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 not found for -lcrypt clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[1]: stopped in /Users/pbulk/build/inputmethod/kinput2/work/kinput2-v3.1/cmd *** Error code 1 Stop. bmake: stopped in /Users/pbulk/build/inputmethod/kinput2/work/kinput2-v3.1 *** Error code 1 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/inputmethod/kinput2 *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/inputmethod/kinput2