WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xli-1.17.0nb15 clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c bright.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c clip.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c cmuwmrast.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c compress.c compress.c:145:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c dither.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c faces.c faces.c:53:16: warning: passing 'byte *' (aka '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] while (zgets((byte *)buf, BUFSIZ - 1, zf)) { ^~~~~~~~~~~ ./xli.h:348:19: note: passing argument to parameter 'buf' here char *zgets(char *buf, unsigned int size, ZFILE *zf); ^ faces.c:126:15: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!*fname && !*lname || ('\n' == *fname && '\n' == *lname)) { ~~~~~~~~^~~~~~~~~~ ~~ faces.c:126:15: note: place parentheses around the '&&' expression to silence this warning if (!*fname && !*lname || ('\n' == *fname && '\n' == *lname)) { ^ ( ) 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c fbm.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c fill.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c g3.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c gif.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c halftone.c halftone.c:140:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xf, 0xf, 0xf, 0xf, ^~~~~~~~~~~~~~~~~~ { } halftone.c:141:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xe, 0xf, 0xf, 0xf, ^~~~~~~~~~~~~~~~~~ { } halftone.c:142:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xe, 0xf, 0xb, 0xf, ^~~~~~~~~~~~~~~~~~ { } halftone.c:143:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa, 0xf, 0xb, 0xf, ^~~~~~~~~~~~~~~~~~ { } halftone.c:144:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa, 0xf, 0xa, 0xf, ^~~~~~~~~~~~~~~~~~ { } halftone.c:145:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa, 0xd, 0xa, 0xf, ^~~~~~~~~~~~~~~~~~ { } halftone.c:146:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa, 0xd, 0xa, 0x7, ^~~~~~~~~~~~~~~~~~ { } halftone.c:147:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa, 0x5, 0xa, 0x7, ^~~~~~~~~~~~~~~~~~ { } halftone.c:148:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0xa, 0x5, 0xa, 0x5, ^~~~~~~~~~~~~~~~~~ { } halftone.c:149:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x8, 0x5, 0xa, 0x5, ^~~~~~~~~~~~~~~~~~ { } halftone.c:150:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x8, 0x5, 0x2, 0x5, ^~~~~~~~~~~~~~~~~~ { } halftone.c:151:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x0, 0x5, 0x2, 0x5, ^~~~~~~~~~~~~~~~~~ { } halftone.c:152:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x0, 0x5, 0x0, 0x5, ^~~~~~~~~~~~~~~~~~ { } halftone.c:153:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x0, 0x4, 0x0, 0x5, ^~~~~~~~~~~~~~~~~~ { } halftone.c:154:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x0, 0x4, 0x0, 0x1, ^~~~~~~~~~~~~~~~~~ { } halftone.c:155:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x0, 0x0, 0x0, 0x1, ^~~~~~~~~~~~~~~~~~ { } halftone.c:156:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0x0, 0x0, 0x0, 0x0 ^~~~~~~~~~~~~~~~~~ { } 17 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c imagetypes.c imagetypes.c:23:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] fbmIdent, fbmLoad, "FBM Image", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:24:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] sunRasterIdent, sunRasterLoad, "Sun Rasterfile", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:25:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] cmuwmIdent, cmuwmLoad, "CMU WM Raster", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:26:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] pbmIdent, pbmLoad, "Portable Bit Map (PBM, PGM, PPM)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:27:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] facesIdent, facesLoad, "Faces Project", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:28:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] pngIdent, pngLoad, "Portable Network Graphics (PNG)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:29:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] gifIdent, gifLoad, "GIF Image", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:30:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] jpegIdent, jpegLoad, "JFIF style jpeg Image", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:31:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] rleIdent, rleLoad, "Utah RLE Image", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:32:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] bmpIdent, bmpLoad, "Windows, OS/2 RLE Image", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:33:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] pcdIdent, pcdLoad, "Photograph on CD Image", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:34:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] xwdIdent, xwdLoad, "X Window Dump", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:35:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] tgaIdent, tgaLoad, "Targa Image", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:36:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] mcidasIdent, mcidasLoad, "McIDAS areafile", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:37:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] g3Ident, g3Load, "G3 FAX Image", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:38:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] pcxIdent, pcxLoad, "PC Paintbrush Image", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:39:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] imgIdent, imgLoad, "GEM Bit Image", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:40:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] macIdent, macLoad, "MacPaint Image", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:41:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] xpixmapIdent, xpixmapLoad, "X Pixmap", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:42:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] xbitmapIdent, xbitmapLoad, "X Bitmap", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } imagetypes.c:43:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] NULL, NULL, NULL ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /System/Volumes/Data/Applications/Xcode-15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^ imagetypes.c:64:22: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] image_ops->fullname = lmalloc(strlen(fullname) + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c img.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c mac.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c mcidas.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c mc_tables.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c merge.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c misc.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c new.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c options.c options.c:776:21: warning: passing 'char[1024]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nib = zread(file, buf, TOBUFSZ); ^~~ ./xli.h:345:28: note: passing argument to parameter 'buf' here int zread(ZFILE *zf, byte *buf, int len); ^ options.c:791:22: warning: passing 'char[1024]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nib += zread(file, buf, TOBUFSZ - nib); ^~~ ./xli.h:345:28: note: passing argument to parameter 'buf' here int zread(ZFILE *zf, byte *buf, int len); ^ options.c:900:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] TrueColor, "TrueColor", ^~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/graphics/xli/work/.buildlink/include/X11/X.h:708:20: note: expanded from macro 'TrueColor' #define TrueColor 4 ^ options.c:901:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] DirectColor, "DirectColor", ^~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/graphics/xli/work/.buildlink/include/X11/X.h:709:22: note: expanded from macro 'DirectColor' #define DirectColor 5 ^ options.c:902:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] PseudoColor, "PseudoColor", ^~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/graphics/xli/work/.buildlink/include/X11/X.h:707:22: note: expanded from macro 'PseudoColor' #define PseudoColor 3 ^ options.c:903:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] StaticColor, "StaticColor", ^~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/graphics/xli/work/.buildlink/include/X11/X.h:706:22: note: expanded from macro 'StaticColor' #define StaticColor 2 ^ options.c:904:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] GrayScale, "GrayScale", ^~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/graphics/xli/work/.buildlink/include/X11/X.h:705:20: note: expanded from macro 'GrayScale' #define GrayScale 1 ^ options.c:905:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] StaticGray, "StaticGray", ^~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/graphics/xli/work/.buildlink/include/X11/X.h:704:21: note: expanded from macro 'StaticGray' #define StaticGray 0 ^ options.c:906:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] StaticGray, "StaticGrey", ^~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/pbulk/build/graphics/xli/work/.buildlink/include/X11/X.h:704:21: note: expanded from macro 'StaticGray' #define StaticGray 0 ^ options.c:907:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] -1, NULL ^~~~~~~~ { } 10 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c path.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c pbm.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c pcx.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c reduce.c reduce.c:164:10: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree((char *) Histogram); ^~~~~~~~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ reduce.c:165:10: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree((char *) Boxes); ^~~~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ reduce.c:166:10: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree((char *) rgbmap); ^~~~~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ reduce.c:198:8: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree((char *) Histogram); ^~~~~~~~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ reduce.c:199:8: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree((char *) Boxes); ^~~~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ reduce.c:205:8: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree((char *) rgbmap); ^~~~~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ reduce.c:1282:9: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree((char *) nna); ^~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ 7 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c jpeg.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c rle.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c rlelib.c rlelib.c:331:12: warning: cast to 'rle_pixel *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast] cmap[0] = (rle_pixel *)(nmap +1); ^~~~~~~~~~~~~~~~~~~~~~ rlelib.c:355:16: warning: cast to 'rle_pixel *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast] cmap[0] = (rle_pixel *)(nmap+1); ^~~~~~~~~~~~~~~~~~~~~ rlelib.c:371:16: warning: cast to 'rle_pixel *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast] cmap[0] = (rle_pixel *)(nmap+1); ^~~~~~~~~~~~~~~~~~~~~ rlelib.c:391:16: warning: cast to 'rle_pixel *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast] cmap[0] = (rle_pixel *)(nmap+1); ^~~~~~~~~~~~~~~~~~~~~ rlelib.c:425:8: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree((char *) gammap); /* clean up */ ^~~~~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ rlelib.c:437:6: warning: cast to smaller integer type 'int' from 'rle_pixel *' (aka 'unsigned char *') [-Wpointer-to-int-cast] j = (int)cmap[-1]-1; /* recover size of cmap */ ^~~~~~~~~~~~~ rlelib.c:440:12: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree((char *)cmap[i]); /* free all its elements */ ^~~~~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ rlelib.c:441:8: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree((char *) (--cmap)); /* free it */ ^~~~~~~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ rlelib.c:498:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ( *v == '=' ) ^ rlelib.c:764:8: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree((char *)globals->sv_bg_color); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ rlelib.c:766:8: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree((char *)globals->sv_cmap); ^~~~~~~~~~~~~~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ rlelib.c:770:12: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree((char *)*globals->sv_comments); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ rlelib.c:771:8: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree((char *)globals->sv_comments); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ rlelib.c:968:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 14 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c root.c root.c:75:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (actual_type != None) { ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c rotate.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c send.c send.c:139:20: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xii->ximage->data = ^ send.c:395:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ send.c:588:11: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dst = xii->ximage->data; ^ ~~~~~~~~~~~~~~~~~ send.c:641:7: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] data = xii->ximage->data; ^ ~~~~~~~~~~~~~~~~~ send.c:700:14: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] data = xii->ximage->data; ^ ~~~~~~~~~~~~~~~~~ 5 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c smooth.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c sunraster.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c value.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c window.c window.c:66:23: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] while ((AlarmWentOff == 0)) { ~~~~~~~~~~~~~^~~~ window.c:66:23: note: remove extraneous parentheses around the comparison to silence this warning while ((AlarmWentOff == 0)) { ~ ^ ~ window.c:66:23: note: use '=' to turn this equality comparison into an assignment while ((AlarmWentOff == 0)) { ^~ = window.c:212:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static cmap_atom = None; ~~~~~~ ^ int 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c xbitmap.c xbitmap.c:74:16: warning: passing 'byte *' (aka '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] while (zgets((byte *)line, MAX_SIZE, zf) && maxlines-- > 0) { ^~~~~~~~~~~~ ./xli.h:348:19: note: passing argument to parameter 'buf' here char *zgets(char *buf, unsigned int size, ZFILE *zf); ^ xbitmap.c:231:9: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(title); ^~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c xli.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c xpixmap.c xpixmap.c:33:10: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(ctable[i]); ^~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ xpixmap.c:111:14: warning: passing 'byte *' (aka '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] if (!zgets((byte *) buf, BUFSIZ - 1, zf)) { ^~~~~~~~~~~~ ./xli.h:348:19: note: passing argument to parameter 'buf' here char *zgets(char *buf, unsigned int size, ZFILE *zf); ^ xpixmap.c:113:11: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(*imagetitle); ^~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ xpixmap.c:119:12: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(*imagetitle); ^~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ xpixmap.c:153:16: warning: passing 'char[1024]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] zunread(zf, buf, strlen(buf)); /* stuff it back so we can read it again */ ^~~ ./xli.h:347:37: note: passing argument to parameter 'buf' here void zunread(ZFILE *zf, byte const *buf, int len); ^ xpixmap.c:168:10: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(*imagetitle); ^~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ xpixmap.c:173:15: warning: passing 'byte *' (aka '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] if (!zgets((byte *) buf, BUFSIZ - 1, zf)) { ^~~~~~~~~~~~ ./xli.h:348:19: note: passing argument to parameter 'buf' here char *zgets(char *buf, unsigned int size, ZFILE *zf); ^ xpixmap.c:175:12: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(*imagetitle); ^~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ xpixmap.c:189:11: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(*imagetitle); ^~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ xpixmap.c:196:11: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(*imagetitle); ^~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ xpixmap.c:205:12: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(*imagetitle); ^~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ xpixmap.c:213:11: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(*imagetitle); ^~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ xpixmap.c:216:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } else if (p = rindex(what, '_')) { /* get the name in the image if there is */ ~~^~~~~~~~~~~~~~~~~~~ xpixmap.c:216:15: note: place parentheses around the assignment to silence this warning } else if (p = rindex(what, '_')) { /* get the name in the image if there is */ ^ ( ) xpixmap.c:216:15: note: use '==' to turn this assignment into an equality comparison } else if (p = rindex(what, '_')) { /* get the name in the image if there is */ ^ == xpixmap.c:222:10: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(*imagetitle); ^~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ xpixmap.c:311:16: warning: passing 'byte *' (aka '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] if (!zgets((byte *) buf, BUFSIZ - 1, zf)) { ^~~~~~~~~~~~ ./xli.h:348:19: note: passing argument to parameter 'buf' here char *zgets(char *buf, unsigned int size, ZFILE *zf); ^ xpixmap.c:567:8: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(imagetitle); ^~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ 16 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c xwd.c xwd.c:161:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ xwd.c:391:6: warning: variable 'pixlen' set but not used [-Wunused-but-set-variable] int pixlen; /* length of pixel in bytes */ ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c zio.c zio.c:330:9: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(zf->filename); ^~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ zio.c:419:10: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(buf); ^~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ zio.c:441:18: warning: passing 'char[128]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] blen = buflen(uuibuf, UULEN); ^~~~~~ zio.c:39:25: note: passing argument to parameter 'buf' here static int buflen(byte *buf, int len); ^ zio.c:342:7: warning: unused variable 'buf' [-Wunused-variable] char buf[BUFSIZ]; ^ zio.c:529:6: warning: variable 'sizeaxb' set but not used [-Wunused-but-set-variable] int sizeaxb; /* size of aux buffer */ ^ zio.c:606:9: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lfree(zf->filename); ^~~~~~~~~~~~ ./xli.h:298:18: note: passing argument to parameter 'area' here void lfree(byte *area); ^ 6 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c zoom.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c ddxli.c ddxli.c:144:15: warning: passing 'char *' to parameter 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] r = hstoi(spec + 1, 1); ^~~~~~~~ ./xli.h:227:26: note: passing argument to parameter 's' here int hstoi(unsigned char *s, int n); ^ ddxli.c:145:15: warning: passing 'char *' to parameter 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] g = hstoi(spec + 2, 1); ^~~~~~~~ ./xli.h:227:26: note: passing argument to parameter 's' here int hstoi(unsigned char *s, int n); ^ ddxli.c:146:15: warning: passing 'char *' to parameter 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] b = hstoi(spec + 3, 1); ^~~~~~~~ ./xli.h:227:26: note: passing argument to parameter 's' here int hstoi(unsigned char *s, int n); ^ ddxli.c:156:15: warning: passing 'char *' to parameter 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] r = hstoi(spec + 1, 2); ^~~~~~~~ ./xli.h:227:26: note: passing argument to parameter 's' here int hstoi(unsigned char *s, int n); ^ ddxli.c:157:15: warning: passing 'char *' to parameter 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] g = hstoi(spec + 3, 2); ^~~~~~~~ ./xli.h:227:26: note: passing argument to parameter 's' here int hstoi(unsigned char *s, int n); ^ ddxli.c:158:15: warning: passing 'char *' to parameter 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] b = hstoi(spec + 5, 2); ^~~~~~~~ ./xli.h:227:26: note: passing argument to parameter 's' here int hstoi(unsigned char *s, int n); ^ ddxli.c:168:15: warning: passing 'char *' to parameter 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] r = hstoi(spec + 1, 3); ^~~~~~~~ ./xli.h:227:26: note: passing argument to parameter 's' here int hstoi(unsigned char *s, int n); ^ ddxli.c:169:15: warning: passing 'char *' to parameter 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] g = hstoi(spec + 4, 3); ^~~~~~~~ ./xli.h:227:26: note: passing argument to parameter 's' here int hstoi(unsigned char *s, int n); ^ ddxli.c:170:15: warning: passing 'char *' to parameter 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] b = hstoi(spec + 7, 3); ^~~~~~~~ ./xli.h:227:26: note: passing argument to parameter 's' here int hstoi(unsigned char *s, int n); ^ ddxli.c:180:15: warning: passing 'char *' to parameter 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] r = hstoi(spec + 1, 4); ^~~~~~~~ ./xli.h:227:26: note: passing argument to parameter 's' here int hstoi(unsigned char *s, int n); ^ ddxli.c:181:15: warning: passing 'char *' to parameter 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] g = hstoi(spec + 5, 4); ^~~~~~~~ ./xli.h:227:26: note: passing argument to parameter 's' here int hstoi(unsigned char *s, int n); ^ ddxli.c:182:15: warning: passing 'char *' to parameter 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] b = hstoi(spec + 9, 4); ^~~~~~~~ ./xli.h:227:26: note: passing argument to parameter 's' here int hstoi(unsigned char *s, int n); ^ 12 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c tga.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c bmp.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c pcd.c pcd.c:987:12: warning: variable 'dp' is uninitialized when used here [-Wuninitialized] sum += *dp; ^~ pcd.c:938:11: note: initialize the variable 'dp' to silence this warning byte *dp; ^ = NULL pcd.c:973:7: warning: variable 'col' is uninitialized when used here [-Wuninitialized] if (col >= w) { ^~~ pcd.c:940:15: note: initialize the variable 'col' to silence this warning int row, col; ^ = 0 pcd.c:990:11: warning: variable 'wsf' is uninitialized when used here [-Wuninitialized] col += wsf; ^~~ pcd.c:939:10: note: initialize the variable 'wsf' to silence this warning int wsf, wvi; ^ = 0 pcd.c:980:9: warning: variable 'hufft' is uninitialized when used here [-Wuninitialized] sh = hufft[bits].l; ^~~~~ pcd.c:936:14: note: initialize the variable 'hufft' to silence this warning huff *hufft; ^ = NULL pcd.c:977:7: warning: variable 'huffsz' is uninitialized when used here [-Wuninitialized] if (huffsz == 12) { ^~~~~~ pcd.c:937:13: note: initialize the variable 'huffsz' to silence this warning int huffsz; ^ = 0 5 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c png.c png.c:28:19: warning: passing 'char[8]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = zread(zfp, buf, 8); ^~~ ./xli.h:345:28: note: passing argument to parameter 'buf' here int zread(ZFILE *zf, byte *buf, int len); ^ png.c:34:8: warning: passing 'char[8]' to parameter of type 'png_const_bytep' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = png_check_sig(buf, 8); ^~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/xli/work/.buildlink/include/png.h:932:44: note: expanded from macro 'png_check_sig' #define png_check_sig(sig, n) (png_sig_cmp((sig), 0, (n)) == 0) /* DEPRECATED */ ^~~~~ /Users/pbulk/build/graphics/xli/work/.buildlink/include/png.h:926:50: note: passing argument to parameter 'sig' here PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, size_t start, ^ png.c:50:3: warning: format specifies type 'unsigned long' but the argument has type 'png_uint_32' (aka 'unsigned int') [-Wformat] png_get_image_width(png, info), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ png.c:51:3: warning: format specifies type 'unsigned long' but the argument has type 'png_uint_32' (aka 'unsigned int') [-Wformat] png_get_image_height(png, info), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/include -I/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c xlito.c rm -f xli._man if test -z "" ; then cd `dirname xli` && ln -s `basename xli.man` `basename xli._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < xli.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >xli._man; fi rm -f xlito._man if test -z "" ; then cd `dirname xlito` && ln -s `basename xlito.man` `basename xlito._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < xlito.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >xlito._man; fi rm -f xli clang -o xli -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib bright.o clip.o cmuwmrast.o compress.o dither.o faces.o fbm.o fill.o g3.o gif.o halftone.o imagetypes.o img.o mac.o mcidas.o mc_tables.o merge.o misc.o new.o options.o path.o pbm.o pcx.o reduce.o jpeg.o rle.o rlelib.o root.o rotate.o send.o smooth.o sunraster.o value.o window.o xbitmap.o xli.o xpixmap.o xwd.o zio.o zoom.o ddxli.o tga.o bmp.o pcd.o png.o -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -lXext -lX11 -L/lib -Wl,-R/opt/pkg/lib -L/lib -Wl,-R/opt/pkg/lib -ljpeg -lpng -lz -lm ld: warning: duplicate -rpath '/opt/pkg/lib' ignored rm -f xlito clang -o xlito -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib xlito.o -lm