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: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 $";
             ^
1 warning 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: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: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 $";
             ^
2 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:472:10: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                       (XtPointer)cpw->cpanel.current);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: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 $";
             ^
4 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: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 $";
             ^
1 warning 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: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 $";
             ^
1 warning 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: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 $";
             ^
1 warning 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: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 $";
             ^
2 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: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 $";
             ^
1 warning 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: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 $";
             ^
1 warning 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: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 $";
             ^
1 warning 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: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: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: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: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 $";
             ^
4 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: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: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: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: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 $";
             ^
5 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: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: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: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: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 $";
             ^
5 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:298:12: warning: unused variable 'inputobj' [-Wunused-variable]
    Widget inputobj = ocw->ccontrol.inputobj;
           ^
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:1370:10: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                       (XtPointer)caret);
                       ^~~~~~~~~~~~~~~~
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)
^
6 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:261:43: warning: self-comparison always evaluates to false [-Wtautological-compare]
             new->wd.defaultmapping.grmapping[i] !=
                                                 ^
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 $";
             ^
2 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: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)) {
                    ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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: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:2904:24: warning: unused variable 'xpw' [-Wunused-variable]
    XimpProtocolWidget xpw = (XimpProtocolWidget)client->protocolwidget;
                       ^
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 $";
             ^
7 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: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 $";
             ^
1 warning 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: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 $";
             ^
1 warning 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: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 $";
             ^
1 warning 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
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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 $";
             ^
3 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: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 $";
             ^
1 warning 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: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 $";
             ^
1 warning 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: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: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: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++) {
                 ^
                 ==
4 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: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 $";
                 ^
1 warning 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: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 $";
                 ^
1 warning 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: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 $";
             ^
1 warning 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: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 $";
             ^
1 warning 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: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 $";
             ^
1 warning 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:73:20: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
    cb = (CBDesc *)malloc(sizeof(CBDesc));
                   ^
ioecall.c:73:20: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
ioecall.c:108:12: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration]
            (void)free((char *)cb);
                  ^
ioecall.c:108:12: note: include the header <stdlib.h> 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 $";
             ^
3 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: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: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: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: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:2777:11: warning: implicit declaration of function 'convJWStoCT' is invalid in C99 [-Wimplicit-function-declaration]
    len = convJWStoCT(wbuf, (unsigned char *)NULL, 0);
          ^
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)
^
105 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: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: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: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: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: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: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: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: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: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: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 $";
                 ^
10 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: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 $";
                 ^
1 warning 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: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: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: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: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: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: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:707:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
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:767:17: warning: unused variable 'new' [-Wunused-variable]
    CannaObject new = (CannaObject)wid;
                ^
Canna.c:766:17: warning: unused variable 'old' [-Wunused-variable]
    CannaObject old = (CannaObject)cur;
                ^
Canna.c:854:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
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:1072:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
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: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: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: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: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: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:1259:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
Canna.c:1496:11: warning: unused variable 'p' [-Wunused-variable]
  wchar **p;
          ^
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: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: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 $";
             ^
55 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: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: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: implicit declaration of function 'getuid' is invalid in C99 [-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:292:14: warning: implicit declaration of function 'XmuLookupKana' is invalid in C99 [-Wimplicit-function-declaration]
    nbytes = XmuLookupKana((XKeyPressedEvent *)ev, (char *)pre, len, &ks, NULL);
             ^
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: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:596:17: warning: unused variable 'data' [-Wunused-variable]
    wchar      *data;
                ^
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:1682: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:894:11: warning: implicit declaration of function 'Xsj3cRCInit' is invalid in C99 [-Wimplicit-function-declaration]
    (void)Xsj3cRCInit(buf, obj->sj3.rcfile, home);
          ^
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: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 $";
             ^
14 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: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 $";
             ^
1 warning 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: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 $";
             ^
1 warning 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: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:539:17: warning: unused variable 'feedback' [-Wunused-variable]
    XIMFeedback feedback;
                ^
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 $";
             ^
3 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: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 $";
             ^
1 warning 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: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 $";
             ^
1 warning 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: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 $";
             ^
1 warning 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: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 $";
             ^
1 warning 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:416:9: warning: variable 'key_index' set but not used [-Wunused-but-set-variable]
    int key_index;
        ^
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 $";
             ^
2 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: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) {
                                                        ^~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                             ^
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) {
                                                            ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:704:73: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                        ^
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) {
                                                            ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:704:73: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                        ^
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 $";
             ^
4 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",  /* <U+001B>$B$+$J<U+001B>(B  */ "\202\251\202\310",
    ^~~~~~~~~~~~~~~~~~~~~~
    {                     }
buffer.c:62:48: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "hiragana",  /* <U+001B>$B$+$J<U+001B>(B  */ "\202\251\202\310",
                                                             ^~~~~~~~~~~~~~~~~~~
                                                             {
buffer.c:62:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "hiragana",  /* <U+001B>$B$+$J<U+001B>(B  */ "\202\251\202\310",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
buffer.c:64:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "zkatakana", /* <U+001B>$BA4%+%J<U+001B>(B*/ "\221\123\203\112\203\151",
    ^~~~~~~~~~~~~~~~~~~~~~~
    {                      }
buffer.c:64:48: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "zkatakana", /* <U+001B>$BA4%+%J<U+001B>(B*/ "\221\123\203\112\203\151",
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                             {
buffer.c:64:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "zkatakana", /* <U+001B>$BA4%+%J<U+001B>(B*/ "\221\123\203\112\203\151",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
buffer.c:66:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "hkatakana", /* <U+001B>$BH>%+%J<U+001B>(B*/ "\224\274\203\112\203\151",
    ^~~~~~~~~~~~~~~~~~~~~~~
    {                      }
buffer.c:66:48: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "hkatakana", /* <U+001B>$BH>%+%J<U+001B>(B*/ "\224\274\203\112\203\151",
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                             {
buffer.c:66:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "hkatakana", /* <U+001B>$BH>%+%J<U+001B>(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",/* <U+001B>$B#A#B#C<U+001B>(B    */ "\202\140\202\141\202\142",
    ^~~~~~~~~~~~~~~~~~~~
    {                   }
buffer.c:70:48: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "zalpha",/* <U+001B>$B#A#B#C<U+001B>(B    */ "\202\140\202\141\202\142",
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                             {
buffer.c:70:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "zalpha",/* <U+001B>$B#A#B#C<U+001B>(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",   /* <U+001B>$B#E#U#C<U+001B>(B    */ "\202\144\202\164\202\142",
    ^~~~~~~~~~~~~~~~~
    {                }
buffer.c:74:48: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "euc",   /* <U+001B>$B#E#U#C<U+001B>(B    */ "\202\144\202\164\202\142",
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                             {
buffer.c:74:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "euc",   /* <U+001B>$B#E#U#C<U+001B>(B    */ "\202\144\202\164\202\142",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
buffer.c:76:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "jis",   /* <U+001B>$B#J#I#S<U+001B>(B    */ "\202\151\202\150\202\162",
    ^~~~~~~~~~~~~~~~~
    {                }
buffer.c:76:48: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "jis",   /* <U+001B>$B#J#I#S<U+001B>(B    */ "\202\151\202\150\202\162",
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                             {
buffer.c:76:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "jis",   /* <U+001B>$B#J#I#S<U+001B>(B    */ "\202\151\202\150\202\162",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
buffer.c:78:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "kuten", /* <U+001B>$B6hE@<U+001B>(B      */ "\213\346\223\137",
    ^~~~~~~~~~~~~~~~~~~
    {                  }
buffer.c:78:48: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "kuten", /* <U+001B>$B6hE@<U+001B>(B      */ "\213\346\223\137",
                                                             ^~~~~~~~~~~~~~~~~~~
                                                             {
buffer.c:78:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "kuten", /* <U+001B>$B6hE@<U+001B>(B      */ "\213\346\223\137",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
buffer.c:80:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "toroku",   /* <U+001B>$BEPO?<U+001B>(B   */ "\223\157\230\136",
    ^~~~~~~~~~~~~~~~~~~~
    {                   }
buffer.c:80:48: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "toroku",   /* <U+001B>$BEPO?<U+001B>(B   */ "\223\157\230\136",
                                                             ^~~~~~~~~~~~~~~~~~~
                                                             {
buffer.c:80:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "toroku",   /* <U+001B>$BEPO?<U+001B>(B   */ "\223\157\230\136",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
buffer.c:82:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "syoukyo",  /* <U+001B>$B>C5n<U+001B>(B   */ "\217\301\213\216",
    ^~~~~~~~~~~~~~~~~~~~~
    {                    }
buffer.c:82:48: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "syoukyo",  /* <U+001B>$B>C5n<U+001B>(B   */ "\217\301\213\216",
                                                             ^~~~~~~~~~~~~~~~~~~
                                                             {
buffer.c:82:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "syoukyo",  /* <U+001B>$B>C5n<U+001B>(B   */ "\217\301\213\216",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
buffer.c:84:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "kanji", /* <U+001B>$B4A;z<U+001B>(B      */ "\212\277\216\232",
    ^~~~~~~~~~~~~~~~~~~
    {                  }
buffer.c:84:48: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "kanji", /* <U+001B>$B4A;z<U+001B>(B      */ "\212\277\216\232",
                                                             ^~~~~~~~~~~~~~~~~~~
                                                             {
buffer.c:84:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "kanji", /* <U+001B>$B4A;z<U+001B>(B      */ "\212\277\216\232",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
buffer.c:86:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "edit",  /* <U+001B>$BJT=8<U+001B>(B      */ "\225\322\217\127",
    ^~~~~~~~~~~~~~~~~~
    {                 }
buffer.c:86:48: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "edit",  /* <U+001B>$BJT=8<U+001B>(B      */ "\225\322\217\127",
                                                             ^~~~~~~~~~~~~~~~~~~
                                                             {
buffer.c:86:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "edit",  /* <U+001B>$BJT=8<U+001B>(B      */ "\225\322\217\127",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
buffer.c:88:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "candidate",/* <U+001B>$B0lMw<U+001B>(B      */ "\210\352\227\227",
    ^~~~~~~~~~~~~~~~~~~~~~~
    {                      }
buffer.c:88:51: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "candidate",/* <U+001B>$B0lMw<U+001B>(B      */ "\210\352\227\227",
                                                                ^~~~~~~~~~~~~~~~~~~
                                                                {
buffer.c:88:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "candidate",/* <U+001B>$B0lMw<U+001B>(B      */ "\210\352\227\227",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
buffer.c:90:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "symbol",/* <U+001B>$B5-9f<U+001B>(B      */ "\213\114\215\206",
    ^~~~~~~~~~~~~~~~~~~~
    {                   }
buffer.c:90:48: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "symbol",/* <U+001B>$B5-9f<U+001B>(B      */ "\213\114\215\206",
                                                             ^~~~~~~~~~~~~~~~~~~
                                                             {
buffer.c:90:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "symbol",/* <U+001B>$B5-9f<U+001B>(B      */ "\213\114\215\206",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
buffer.c:92:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "hinsi", /* <U+001B>$BIJ;l<U+001B>(B      */ "\225\151\216\214",
    ^~~~~~~~~~~~~~~~~~~
    {                  }
buffer.c:92:48: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "hinsi", /* <U+001B>$BIJ;l<U+001B>(B      */ "\225\151\216\214",
                                                             ^~~~~~~~~~~~~~~~~~~
                                                             {
buffer.c:92:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "hinsi", /* <U+001B>$BIJ;l<U+001B>(B      */ "\225\151\216\214",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
buffer.c:94:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "quote", /* <U+001B>$B0zMQ<U+001B>(B      */ "\210\370\227\160",
    ^~~~~~~~~~~~~~~~~~~
    {                  }
buffer.c:94:48: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "quote", /* <U+001B>$B0zMQ<U+001B>(B      */ "\210\370\227\160",
                                                             ^~~~~~~~~~~~~~~~~~~
                                                             {
buffer.c:94:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "guide",    "quote", /* <U+001B>$B0zMQ<U+001B>(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,
                            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
                            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
                            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
                            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
                            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
                            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
                            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
                ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
                            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                                                                         }
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/stddef.h:89:16: note: expanded from macro 'NULL'
#  define NULL ((void*)0)
               ^
buffer.c:238:34: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
        keytp = (Xsj3cKeyTable *)malloc(BUFSIZ);
                                 ^
buffer.c:238:34: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
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: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration]
        free(keytp);
        ^
buffer.c:308:9: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
buffer.c:619:35: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration]
    if ((buf->input = (Xsj3cSeg *)calloc(BUNBUFSIZ, sizeof(Xsj3cSeg)))
                                  ^
buffer.c:619:35: note: include the header <stdlib.h> or explicitly provide a declaration for 'calloc'
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 $";
             ^
146 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: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
        malloc(buf->input[buf->curseg]->size * sizeof(wchar))) == NULL) {
        ^
candidate.c:60:9: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
candidate.c:70:9: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration]
        free(knjbuf);
        ^
candidate.c:70:9: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
candidate.c:73:31: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration]
        mbcand = (SJ3_DOUON *)calloc(num, sizeof(SJ3_DOUON));
                              ^
candidate.c:73:31: note: include the header <stdlib.h> or explicitly provide a declaration for 'calloc'
candidate.c:152:41: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration]
            buf->candidate = (Xsj3cCand)realloc(buf->candidate,
                                        ^
candidate.c:152:41: note: include the header <stdlib.h> or explicitly provide a declaration for 'realloc'
candidate.c:176:13: warning: implicit declaration of function 'Xsj3cModeConv' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cModeConv(buf, knjbuf, padmode[j],
            ^
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: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 $";
             ^
8 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: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 $";
             ^
1 warning 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: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 $";
             ^
1 warning 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: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration]
                    if ((buf->backup = (Xsj3cSeg *)calloc(BUNBUFSIZ,
                                                   ^
conv.c:76:52: note: include the header <stdlib.h> or explicitly provide a declaration for 'calloc'
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: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: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: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: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: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: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: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:423:9: warning: implicit declaration of function '_Xsj3cFlushDictMsg' is invalid in C99 [-Wimplicit-function-declaration]
        _Xsj3cFlushDictMsg(buf);
        ^
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);
                           ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                 ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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));
                                                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
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);
                           ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                 ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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);
                               ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                            ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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));
                                                                ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
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));
                                                                    ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
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);
                                  ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
conv.c:964:13: warning: implicit declaration of function '_Xsj3cHankakuToHira' is invalid in C99 [-Wimplicit-function-declaration]
            _Xsj3cHankakuToHira(buf, zkana, hkana);
            ^
conv.c:969:13: warning: implicit declaration of function '_Xsj3cHankakuToZKata' is invalid in C99 [-Wimplicit-function-declaration]
            _Xsj3cHankakuToZKata(buf, zkana, hkana);
            ^
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))
                      ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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: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: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)
                               ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                           ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                 ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                           ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                           ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                 ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                           ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                ^~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
               ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                     ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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 $";
             ^
38 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: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
    if ((dict = (Xsj3cDictData)malloc(sizeof(Xsj3cDictDataRec))) == NULL)
                               ^
dict.c:195:32: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
dict.c:200:13: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration]
            calloc(DICT_STR_NUM, sizeof(Xsj3cDictMsgRec))) == NULL)
            ^
dict.c:200:13: note: include the header <stdlib.h> or explicitly provide a declaration for 'calloc'
dict.c:220:5: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration]
    free (buf->dict->msg);
    ^
dict.c:220:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
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: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 $";
             ^
53 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: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
                ret |= _Xsj3cModeChange(buf, MODE_HIRA, ON);
                       ^
func.c:199:28: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
                    ret |= _Xsj3cModeChange(buf, MODE_HIRA, ON);
                           ^
func.c:211:28: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
                    ret |= _Xsj3cModeChange(buf,
                           ^
func.c:403:9: warning: implicit declaration of function 'Xsj3cFreeSegment' is invalid in C99 [-Wimplicit-function-declaration]
        Xsj3cFreeSegment(buf->input[i]);
        ^
func.c:406:5: warning: implicit declaration of function 'Xsj3cFreeSegment' is invalid in C99 [-Wimplicit-function-declaration]
    Xsj3cFreeSegment(buf->input[buf->segnum]);
    ^
func.c:716:13: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    return (_Xsj3cModeChange(buf, MODE_HALPHA, conv));
            ^
func.c:754:13: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    return (_Xsj3cModeChange(buf, MODE_ZALPHA, conv));
            ^
func.c:792:13: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    return (_Xsj3cModeChange(buf, MODE_HKATA, conv));
            ^
func.c:830:13: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    return (_Xsj3cModeChange(buf, MODE_ZKATA, conv));
            ^
func.c:868:13: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    return (_Xsj3cModeChange(buf, MODE_HIRA, conv));
            ^
func.c:882:13: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    return (_Xsj3cModeChange(buf, MODE_HALPHA, ON));
            ^
func.c:896:13: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    return (_Xsj3cModeChange(buf, MODE_ZALPHA, ON));
            ^
func.c:910:13: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    return (_Xsj3cModeChange(buf, MODE_HKATA, ON));
            ^
func.c:924:13: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    return (_Xsj3cModeChange(buf, MODE_ZKATA, ON));
            ^
func.c:939:13: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    return (_Xsj3cModeChange(buf, MODE_HIRA, ON));
            ^
func.c:953:13: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    return (_Xsj3cModeChange(buf, MODE_ZENKAKU, ON));
            ^
func.c:967:13: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    return (_Xsj3cModeChange(buf, MODE_HANKAKU, ON));
            ^
func.c:981:13: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    return (_Xsj3cModeChange(buf, MODE_UPPER, ON));
            ^
func.c:995:13: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    return (_Xsj3cModeChange(buf, MODE_LOWER, ON));
            ^
func.c:1014:17: warning: implicit declaration of function '_Xsj3cModeClear' is invalid in C99 [-Wimplicit-function-declaration]
        return (_Xsj3cModeClear(buf));
                ^
func.c:1017:17: warning: implicit declaration of function '_Xsj3cModeClear' is invalid in C99 [-Wimplicit-function-declaration]
        return (_Xsj3cModeClear(buf));
                ^
func.c:1036:17: warning: implicit declaration of function '_Xsj3cModeClear' is invalid in C99 [-Wimplicit-function-declaration]
        return (_Xsj3cModeClear(buf));
                ^
func.c:1039:17: warning: implicit declaration of function '_Xsj3cModeClear' is invalid in C99 [-Wimplicit-function-declaration]
        return (_Xsj3cModeClear(buf));
                ^
func.c:1058:17: warning: implicit declaration of function '_Xsj3cModeClear' is invalid in C99 [-Wimplicit-function-declaration]
        return (_Xsj3cModeClear(buf));
                ^
func.c:1061:17: warning: implicit declaration of function '_Xsj3cModeClear' is invalid in C99 [-Wimplicit-function-declaration]
        return (_Xsj3cModeClear(buf));
                ^
func.c:1080:17: warning: implicit declaration of function '_Xsj3cModeClear' is invalid in C99 [-Wimplicit-function-declaration]
        return (_Xsj3cModeClear(buf));
                ^
func.c:1083:17: warning: implicit declaration of function '_Xsj3cModeClear' is invalid in C99 [-Wimplicit-function-declaration]
        return (_Xsj3cModeClear(buf));
                ^
func.c:1110:17: warning: implicit declaration of function '_Xsj3cModeClear' is invalid in C99 [-Wimplicit-function-declaration]
        return (_Xsj3cModeClear(buf));
                ^
func.c:1165:16: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
        return(_Xsj3cModeChange(buf, postmode, OFF));
               ^
func.c:1218:16: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
        return(_Xsj3cModeChange(buf, postmode, OFF));
               ^
func.c:1268:11: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    ret = _Xsj3cModeChange(buf, postmode, ON);
          ^
func.c:1322:11: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
    ret = _Xsj3cModeChange(buf, postmode, ON);
          ^
func.c:1358:41: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
            if ((mbs = (unsigned char *)malloc(seg->size * 2 * sizeof(wchar)))
                                        ^
func.c:1358:41: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
func.c:1365:27: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-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:1387:31: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
                        ret = _Xsj3cModeChange(buf, MODE_HIRA, ON);
                              ^
func.c:1394:23: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
                ret = _Xsj3cModeChange(buf, buf->togglemode, ON);
                      ^
func.c:1400:13: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration]
            free(mbs);
            ^
func.c:1400:13: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
func.c:1404:25: warning: implicit declaration of function '_Xsj3cModeChange' is invalid in C99 [-Wimplicit-function-declaration]
                return (_Xsj3cModeChange(buf, buf->muhenmode, OFF));
                        ^
func.c:2058:13: warning: implicit declaration of function 'Xsj3cFreeSegment' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cFreeSegment(buf->input[i]);
            ^
func.c:2062:13: warning: implicit declaration of function 'Xsj3cClearSegment' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cClearSegment(buf, buf->input[0]);
            ^
func.c:2187:9: warning: implicit declaration of function 'Xsj3cFreeSegment' is invalid in C99 [-Wimplicit-function-declaration]
        Xsj3cFreeSegment(buf->input[buf->segnum]);
        ^
func.c:2246:9: warning: implicit declaration of function 'Xsj3cModeConv' is invalid in C99 [-Wimplicit-function-declaration]
        Xsj3cModeConv(buf, kanabuf, seg->cursegmode, seg->size);
        ^
func.c:2249:13: warning: implicit declaration of function 'Xsj3cResizeSegment' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cResizeSegment(seg, seg->size * 2);
            ^
func.c:2433:13: warning: implicit declaration of function 'Xsj3cModeConv' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cModeConv(buf, kanabuf1, seg->cursegmode, seg->size);
            ^
func.c:2436:17: warning: implicit declaration of function 'Xsj3cResizeSegment' is invalid in C99 [-Wimplicit-function-declaration]
                Xsj3cResizeSegment(seg, seg->size * 2);
                ^
func.c:2443:9: warning: implicit declaration of function 'Xsj3cFreeSegment' is invalid in C99 [-Wimplicit-function-declaration]
        Xsj3cFreeSegment(buf->input[buf->segnum]);
        ^
func.c:2476:17: warning: implicit declaration of function 'Xsj3cModeConv' is invalid in C99 [-Wimplicit-function-declaration]
                Xsj3cModeConv(buf, kanabuf2, seg->cursegmode, seg->size);
                ^
func.c:2479:21: warning: implicit declaration of function 'Xsj3cResizeSegment' is invalid in C99 [-Wimplicit-function-declaration]
                    Xsj3cResizeSegment(seg, seg->size * 2);
                    ^
func.c:2491:37: warning: implicit declaration of function 'Xsj3cCreateSegment' is invalid in C99 [-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:2495:17: warning: implicit declaration of function 'Xsj3cClearSegment' is invalid in C99 [-Wimplicit-function-declaration]
                Xsj3cClearSegment(buf, buf->input[nextseg]);
                ^
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);
                           ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                     ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                         ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
func.c:2882:21: warning: implicit declaration of function '_Xsj3cZKanaToHKata' is invalid in C99 [-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) {
                                      ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                               ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                         ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                             ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
func.c:2910:29: warning: implicit declaration of function '_Xsj3cHAlphaToZKana' is invalid in C99 [-Wimplicit-function-declaration]
                            _Xsj3cHAlphaToZKana(buf, tmp, seg->oldstr);
                            ^
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);
                               ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                         ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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);
                           ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                     ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                         ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
func.c:2947:25: warning: implicit declaration of function '_Xsj3cHAlphaToZKana' is invalid in C99 [-Wimplicit-function-declaration]
                        _Xsj3cHAlphaToZKana(buf, tmp, seg->oldstr);
                        ^
func.c:2974:29: warning: implicit declaration of function '_Xsj3cZKanaToHKata' is invalid in C99 [-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) {
                                              ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
func.c:3014:21: warning: implicit declaration of function '_Xsj3cZKanaToHKata' is invalid in C99 [-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) {
                                      ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
func.c:3034:13: warning: implicit declaration of function 'Xsj3cResizeSegment' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cResizeSegment(seg, seg->size - KANABUFSIZ);
            ^
func.c:3036:13: warning: implicit declaration of function 'Xsj3cFreeSegment' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cFreeSegment(buf->input[buf->segnum]);
            ^
func.c:3091:13: warning: implicit declaration of function 'Xsj3cResizeSegment' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cResizeSegment(seg, seg->size - KANABUFSIZ);
            ^
func.c:3093:13: warning: implicit declaration of function 'Xsj3cFreeSegment' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cFreeSegment(buf->input[buf->segnum]);
            ^
func.c:3137:5: warning: implicit declaration of function 'Xsj3cFreeSegment' is invalid in C99 [-Wimplicit-function-declaration]
    Xsj3cFreeSegment(buf->input[buf->segnum]);
    ^
func.c:3146:9: warning: implicit declaration of function 'Xsj3cClearSegment' is invalid in C99 [-Wimplicit-function-declaration]
        Xsj3cClearSegment(buf, buf->input[0]);
        ^
func.c:3277:13: warning: implicit declaration of function 'Xsj3cFreeSegment' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cFreeSegment(buf->input[i]);
            ^
func.c:3364:13: warning: implicit declaration of function 'Xsj3cFreeSegment' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cFreeSegment(buf->input[i]);
            ^
func.c:3368:13: warning: implicit declaration of function 'Xsj3cClearSegment' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cClearSegment(buf, buf->input[0]);
            ^
func.c:3455:37: warning: implicit declaration of function 'Xsj3cCreateSegment' is invalid in C99 [-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:3708:40: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration]
        if ((buf->backup = (Xsj3cSeg *)calloc(BUNBUFSIZ,
                                       ^
func.c:3708:40: note: include the header <stdlib.h> or explicitly provide a declaration for 'calloc'
func.c:3714:13: warning: implicit declaration of function 'Xsj3cFreeSegment' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cFreeSegment(buf->backup[i]);
            ^
func.c:3740:5: warning: implicit declaration of function 'Xsj3cFreeSegment' is invalid in C99 [-Wimplicit-function-declaration]
    Xsj3cFreeSegment(buf->input[buf->segnum]);
    ^
func.c:3761:33: warning: implicit declaration of function 'Xsj3cCreateSegment' is invalid in C99 [-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:3765:13: warning: implicit declaration of function 'Xsj3cClearSegment' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cClearSegment(buf, buf->input[buf->segnum]);
            ^
func.c:3913:13: warning: implicit declaration of function 'Xsj3cFreeSegment' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cFreeSegment(buf->input[i]);
            ^
func.c:3917:13: warning: implicit declaration of function 'Xsj3cClearSegment' is invalid in C99 [-Wimplicit-function-declaration]
            Xsj3cClearSegment(buf, buf->input[0]);
            ^
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 $";
             ^
91 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: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 $";
             ^
1 warning 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: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
                    malloc(seg->size * 2 * sizeof(wchar))) == NULL)
                    ^
mode.c:75:21: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
mode.c:82:21: warning: implicit declaration of function 'Xsj3cResizeSegment' is invalid in C99 [-Wimplicit-function-declaration]
                    Xsj3cResizeSegment(seg, seg->size * 2);
                    ^
mode.c:90:13: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration]
            free(mbs);
            ^
mode.c:90:13: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
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);
               ^~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                       ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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);
               ^~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                       ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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:296:22: warning: implicit declaration of function '_Xsj3cRomaConv' is invalid in C99 [-Wimplicit-function-declaration]
        if ((value = _Xsj3cRomaConv(buf->rktable, rbuf, ybuf)) > 0) {
                     ^
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);
                  ^~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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)) {
                                        ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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)) {
                                                    ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                   ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                        ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                   ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                        ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                   ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                        ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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);
                                   ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                        ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                               ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                    ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                       ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                             ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                               ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
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);
                                   ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                        ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                               ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                    ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                       ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                             ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                               ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
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);
                                   ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                        ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                               ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                    ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                       ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                             ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                               ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
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);
                                   ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                        ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                               ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                    ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                       ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                             ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                               ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
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 $";
             ^
48 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: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
    if (!(seg = (Xsj3cSeg)malloc(sizeof(Xsj3cSegRec)))) {
                          ^
segment.c:53:27: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
segment.c:95:9: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration]
        free(seg->str);
        ^
segment.c:95:9: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
segment.c:123:40: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration]
            if (!(seg->yomi = (wchar *)realloc(seg->yomi,
                                       ^
segment.c:123:40: note: include the header <stdlib.h> or explicitly provide a declaration for 'realloc'
segment.c:128:40: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration]
            if (!(seg->yomi = (wchar *)calloc(KANABUFSIZ, sizeof(wchar)))) {
                                       ^
segment.c:128:40: note: include the header <stdlib.h> or explicitly provide a declaration for 'calloc'
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 $";
             ^
5 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,
    ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
                    ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
                            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                           }
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
    ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
                    ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
                            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                           }
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
    ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
                    ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
                            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                           }
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
    ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
                    ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
                            ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                           }
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
                    ^~~~
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                                   }
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/stddef.h:89:16: note: expanded from macro 'NULL'
#  define NULL ((void*)0)
               ^
sjrc.c:188:36: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
        if ((buf->rcfile = (char *)malloc(BUFSIZ)) == NULL)
                                   ^
sjrc.c:188:36: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
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) 
                ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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)
                    ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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)
                                               ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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))
                       ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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:672:49: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration]
            if (!(buf->modestr[mode] = (wchar *)realloc(buf->modestr[mode],
                                                ^
sjrc.c:672:49: note: include the header <stdlib.h> or explicitly provide a declaration for 'realloc'
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:1558:24: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
    buf->selectcount = atoi(table->value[0]);
                       ^
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 $";
             ^
67 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: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) {
                 ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration]
    if ((symbollist = (Xsj3cSymbol)calloc(i, sizeof(Xsj3cSymbolRec))) == NULL) {
                                   ^
symbol.c:126:36: note: include the header <stdlib.h> 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) {
                 ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:149:30: note: passing argument to parameter here
char    *fgets(char * __restrict, int, FILE *);
                                ^
symbol.c:223:17: warning: implicit declaration of function 'Xsj3cFreeSegment' is invalid in C99 [-Wimplicit-function-declaration]
                Xsj3cFreeSegment(buf->backup[i]);
                ^
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: implicit declaration of function 'Xsj3cClearSegment' is invalid in C99 [-Wimplicit-function-declaration]
                Xsj3cClearSegment(buf, seg);
                ^
symbol.c:235:50: warning: implicit declaration of function 'Xsj3cCreateSegment' is invalid in C99 [-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: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: implicit declaration of function 'Xsj3cClearSegment' is invalid in C99 [-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: implicit declaration of function 'Xsj3cCreateSegment' is invalid in C99 [-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: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 $";
             ^
15 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: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
        chp = (unsigned char *)malloc(BUFSIZ);
                               ^
table.c:82:32: note: include the header <stdlib.h> 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);
                ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                     ^~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                     ^~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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)) {
                                                      ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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)) {
                                                      ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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) {
                 ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:149:30: note: passing argument to parameter here
char    *fgets(char * __restrict, int, FILE *);
                                ^
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);
                                                               ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                                               ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                                    ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
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) {
                 ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:149:30: note: passing argument to parameter here
char    *fgets(char * __restrict, int, FILE *);
                                ^
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);
                                                       ^~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                                        ^~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                        ^~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                         ^~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
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) {
                 ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:149:30: note: passing argument to parameter here
char    *fgets(char * __restrict, int, FILE *);
                                ^
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);
                                                            ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                                            ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                                        ^~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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);
                                                        ^~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
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)
                                          ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
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)) {
                                ^~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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)) {
                                            ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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)
                                          ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
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 $";
             ^
26 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,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                                                                }
/System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/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:153:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
    exit(1);
    ^
util.c:153:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
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: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: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: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: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: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: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: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: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: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:713:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
util.c:767:73: warning: too few arguments in call to 'Xsj3cWarning'
                        Xsj3cWarning("sj3serv is down. reconnect please");
                        ~~~~~~~~~~~~                                    ^
util.c:776:73: warning: too few arguments in call to 'Xsj3cWarning'
                        Xsj3cWarning("sj3serv is down. reconnect please");
                        ~~~~~~~~~~~~                                    ^
util.c:782:73: warning: too few arguments in call to 'Xsj3cWarning'
                        Xsj3cWarning("sj3serv is down. reconnect please");
                        ~~~~~~~~~~~~                                    ^
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 $";
             ^
20 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: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 $";
                 ^
2 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 making "all" in /Users/pbulk/build/inputmethod/kinput2/work/kinput2-v3.1/cmd
*** Error code 1

Stop.
bmake: stopped making "all" in /Users/pbulk/build/inputmethod/kinput2/work/kinput2-v3.1
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/inputmethod/kinput2
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/inputmethod/kinput2