===> Building for mgdiff-1.0.1nb1 clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -Wall -Wstrict-prototypes -Wmissing-prototypes -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c mgdiff.c mgdiff.c:425:10: warning: variable 'x_selection' set but not used [-Wunused-but-set-variable] Side x_selection = NEITHER; ^ mgdiff.c:576:2: warning: implicit declaration of function 'reload_both' is invalid in C99 [-Wimplicit-function-declaration] reload_both(); ^ mgdiff.c:1084:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if X11R5 ^ ./mgdiff.h:91:16: note: expanded from macro 'X11R5' #define X11R5 (defined(XtSpecificationRelease) && (XtSpecificationRelease >= 5)) ^ mgdiff.c:2099:6: error: conflicting types for 'reload_both' void reload_both(void) ^ mgdiff.c:576:2: note: previous implicit declaration is here reload_both(); ^ 3 warnings and 1 error generated. *** [mgdiff.o] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/devel/mgdiff/work/mgdiff bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/devel/mgdiff/work/mgdiff *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/mgdiff *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/mgdiff