WARNING: [license.mk] Every package should define a LICENSE.
===> Building for libgii-1.0.2nb1
/opt/pkg/bin/bmake  all-recursive
Making all in include
Making all in ggi
Making all in internal
Making all in input
Making all in gg
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT cleanup.lo -MD -MP -MF ".deps/cleanup.Tpo" -c -o cleanup.lo cleanup.c;  then mv -f ".deps/cleanup.Tpo" ".deps/cleanup.Plo"; else rm -f ".deps/cleanup.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT cleanup.lo -MD -MP -MF .deps/cleanup.Tpo -c cleanup.c  -fno-common -DPIC -o .libs/cleanup.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT cleanup.lo -MD -MP -MF .deps/cleanup.Tpo -c cleanup.c -o cleanup.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT cleanup_stubs.lo -MD -MP -MF ".deps/cleanup_stubs.Tpo" -c -o cleanup_stubs.lo cleanup_stubs.c;  then mv -f ".deps/cleanup_stubs.Tpo" ".deps/cleanup_stubs.Plo"; else rm -f ".deps/cleanup_stubs.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT cleanup_stubs.lo -MD -MP -MF .deps/cleanup_stubs.Tpo -c cleanup_stubs.c  -fno-common -DPIC -o .libs/cleanup_stubs.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT cleanup_stubs.lo -MD -MP -MF .deps/cleanup_stubs.Tpo -c cleanup_stubs.c -o cleanup_stubs.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT cpuid.lo -MD -MP -MF ".deps/cpuid.Tpo" -c -o cpuid.lo cpuid.c;  then mv -f ".deps/cpuid.Tpo" ".deps/cpuid.Plo"; else rm -f ".deps/cpuid.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT cpuid.lo -MD -MP -MF .deps/cpuid.Tpo -c cpuid.c  -fno-common -DPIC -o .libs/cpuid.o
cpuid.c:31:2: warning: #warning is a language extension [-Wpedantic]
#warning You must implement cpuid for this architecture to use SWAR.
 ^
cpuid.c:31:2: warning: You must implement cpuid for this architecture to use SWAR. [-W#warnings]
cpuid.c:36:12: warning: unused variable 'cpuid_tested' [-Wunused-variable]
static int cpuid_tested = 0;
           ^
3 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT cpuid.lo -MD -MP -MF .deps/cpuid.Tpo -c cpuid.c -o cpuid.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT conf.lo -MD -MP -MF ".deps/conf.Tpo" -c -o conf.lo conf.c;  then mv -f ".deps/conf.Tpo" ".deps/conf.Plo"; else rm -f ".deps/conf.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT conf.lo -MD -MP -MF .deps/conf.Tpo -c conf.c  -fno-common -DPIC -o .libs/conf.o
conf.c:563:15: warning: assigning to 'gg_config' (aka 'void *') from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        match.config = conf;
                     ^ ~~~~
conf.c:579:15: warning: assigning to 'gg_config' (aka 'void *') from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        match.config = confhandle;
                     ^ ~~~~~~~~~~
conf.c:587:21: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
                if (match.options != "") {
                                  ^  ~~
conf.c:392:13: warning: unused function '_dumpConfig' [-Wunused-function]
static void _dumpConfig(struct _gg_config *c) {
            ^
4 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT conf.lo -MD -MP -MF .deps/conf.Tpo -c conf.c -o conf.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT debug.lo -MD -MP -MF ".deps/debug.Tpo" -c -o debug.lo debug.c;  then mv -f ".deps/debug.Tpo" ".deps/debug.Plo"; else rm -f ".deps/debug.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c debug.c  -fno-common -DPIC -o .libs/debug.o
debug.c:59:14: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
        _gg_death = *((int *)NULL);
                    ^~~~~~~~~~~~~~
debug.c:59:14: note: consider using __builtin_trap() or qualifying pointer with 'volatile'
1 warning generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c debug.c -o debug.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT dl.lo -MD -MP -MF ".deps/dl.Tpo" -c -o dl.lo dl.c;  then mv -f ".deps/dl.Tpo" ".deps/dl.Plo"; else rm -f ".deps/dl.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT dl.lo -MD -MP -MF .deps/dl.Tpo -c dl.c  -fno-common -DPIC -o .libs/dl.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT dl.lo -MD -MP -MF .deps/dl.Tpo -c dl.c -o dl.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT init.lo -MD -MP -MF ".deps/init.Tpo" -c -o init.lo init.c;  then mv -f ".deps/init.Tpo" ".deps/init.Plo"; else rm -f ".deps/init.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT init.lo -MD -MP -MF .deps/init.Tpo -c init.c  -fno-common -DPIC -o .libs/init.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT init.lo -MD -MP -MF .deps/init.Tpo -c init.c -o init.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT misc.lo -MD -MP -MF ".deps/misc.Tpo" -c -o misc.lo misc.c;  then mv -f ".deps/misc.Tpo" ".deps/misc.Plo"; else rm -f ".deps/misc.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c misc.c  -fno-common -DPIC -o .libs/misc.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c misc.c -o misc.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT parse.lo -MD -MP -MF ".deps/parse.Tpo" -c -o parse.lo parse.c;  then mv -f ".deps/parse.Tpo" ".deps/parse.Plo"; else rm -f ".deps/parse.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT parse.lo -MD -MP -MF .deps/parse.Tpo -c parse.c  -fno-common -DPIC -o .libs/parse.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT parse.lo -MD -MP -MF .deps/parse.Tpo -c parse.c -o parse.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT string.lo -MD -MP -MF ".deps/string.Tpo" -c -o string.lo string.c;  then mv -f ".deps/string.Tpo" ".deps/string.Plo"; else rm -f ".deps/string.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT string.lo -MD -MP -MF .deps/string.Tpo -c string.c  -fno-common -DPIC -o .libs/string.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT string.lo -MD -MP -MF .deps/string.Tpo -c string.c -o string.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT time.lo -MD -MP -MF ".deps/time.Tpo" -c -o time.lo time.c;  then mv -f ".deps/time.Tpo" ".deps/time.Plo"; else rm -f ".deps/time.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT time.lo -MD -MP -MF .deps/time.Tpo -c time.c  -fno-common -DPIC -o .libs/time.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT time.lo -MD -MP -MF .deps/time.Tpo -c time.c -o time.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT dl_darwin.lo -MD -MP -MF ".deps/dl_darwin.Tpo" -c -o dl_darwin.lo dl_darwin.c;  then mv -f ".deps/dl_darwin.Tpo" ".deps/dl_darwin.Plo"; else rm -f ".deps/dl_darwin.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT dl_darwin.lo -MD -MP -MF .deps/dl_darwin.Tpo -c dl_darwin.c  -fno-common -DPIC -o .libs/dl_darwin.o
dl_darwin.c:127:17: warning: 'NSCreateObjectFileImageFromFile' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations]
        dlerror_code = NSCreateObjectFileImageFromFile(pathname, &darwin_ret->objectFileImage);
                       ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/mach-o/dyld.h:165:36: note: 'NSCreateObjectFileImageFromFile' has been explicitly marked deprecated here
extern NSObjectFileImageReturnCode NSCreateObjectFileImageFromFile(const char* pathName, NSObjectFileImage *objectFileImage)               __API_UNAVAILABLE(ios, tvos, watchos)  DYLD_DRIVERKIT_UNAVAILABLE  __OSX_DEPRECATED(10.1, 10.5, "dlopen()");
                                   ^
dl_darwin.c:155:25: warning: 'NSLinkModule' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations]
        darwin_ret->nsmodule = NSLinkModule(darwin_ret->objectFileImage,
                               ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/mach-o/dyld.h:180:17: note: 'NSLinkModule' has been explicitly marked deprecated here
extern NSModule NSLinkModule(NSObjectFileImage objectFileImage, const char* moduleName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos)  DYLD_DRIVERKIT_UNAVAILABLE  __OSX_DEPRECATED(10.1, 10.5, "dlopen()");
                ^
dl_darwin.c:181:14: warning: 'NSLookupAndBindSymbol' is deprecated: first deprecated in macOS 10.4 - dlsym() [-Wdeprecated-declarations]
                nssymbol = NSLookupAndBindSymbol(symbol);
                           ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/mach-o/dyld.h:198:17: note: 'NSLookupAndBindSymbol' has been explicitly marked deprecated here
extern NSSymbol NSLookupAndBindSymbol(const char* symbolName)                                                    __API_UNAVAILABLE(ios, tvos, watchos)  DYLD_DRIVERKIT_UNAVAILABLE  __OSX_DEPRECATED(10.1, 10.4, "dlsym()");
                ^
dl_darwin.c:185:14: warning: 'NSLookupSymbolInModule' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations]
                nssymbol = NSLookupSymbolInModule(darwin_module->nsmodule,
                           ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/mach-o/dyld.h:200:17: note: 'NSLookupSymbolInModule' has been explicitly marked deprecated here
extern NSSymbol NSLookupSymbolInModule(NSModule module, const char* symbolName)                                  __API_UNAVAILABLE(ios, tvos, watchos)  DYLD_DRIVERKIT_UNAVAILABLE  __OSX_DEPRECATED(10.1, 10.5, "dlsym()");
                ^
dl_darwin.c:191:11: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations]
        nsaddr = NSAddressOfSymbol(nssymbol);
                 ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/mach-o/dyld.h:207:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here
extern void *       NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos)  DYLD_DRIVERKIT_UNAVAILABLE  __OSX_DEPRECATED(10.1, 10.5, "dlsym()");
                    ^
dl_darwin.c:209:2: warning: 'NSUnLinkModule' is deprecated: first deprecated in macOS 10.5 [-Wdeprecated-declarations]
        NSUnLinkModule(darwin_module->nsmodule, NSUNLINKMODULE_OPTION_NONE);
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/mach-o/dyld.h:188:13: note: 'NSUnLinkModule' has been explicitly marked deprecated here
extern bool NSUnLinkModule(NSModule module, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos)  DYLD_DRIVERKIT_UNAVAILABLE  __OSX_DEPRECATED(10.1, 10.5, "");
            ^
dl_darwin.c:217:2: warning: 'NSDestroyObjectFileImage' is deprecated: first deprecated in macOS 10.5 - dlclose() [-Wdeprecated-declarations]
        NSDestroyObjectFileImage(darwin_module->objectFileImage);
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/mach-o/dyld.h:167:36: note: 'NSDestroyObjectFileImage' has been explicitly marked deprecated here
extern bool                        NSDestroyObjectFileImage(NSObjectFileImage objectFileImage)                                             __API_UNAVAILABLE(ios, tvos, watchos)  DYLD_DRIVERKIT_UNAVAILABLE  __OSX_DEPRECATED(10.1, 10.5, "dlclose()");
                                   ^
7 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT dl_darwin.lo -MD -MP -MF .deps/dl_darwin.Tpo -c dl_darwin.c -o dl_darwin.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT task.lo -MD -MP -MF ".deps/task.Tpo" -c -o task.lo task.c;  then mv -f ".deps/task.Tpo" ".deps/task.Plo"; else rm -f ".deps/task.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT task.lo -MD -MP -MF .deps/task.Tpo -c task.c  -fno-common -DPIC -o .libs/task.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT task.lo -MD -MP -MF .deps/task.Tpo -c task.c -o task.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT ptlock.lo -MD -MP -MF ".deps/ptlock.Tpo" -c -o ptlock.lo ptlock.c;  then mv -f ".deps/ptlock.Tpo" ".deps/ptlock.Plo"; else rm -f ".deps/ptlock.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT ptlock.lo -MD -MP -MF .deps/ptlock.Tpo -c ptlock.c  -fno-common -DPIC -o .libs/ptlock.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT ptlock.lo -MD -MP -MF .deps/ptlock.Tpo -c ptlock.c -o ptlock.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I../include  -DBUILDING_LIBGG -DDEBUG_NAMESPACE='"libgg"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT ptsched.lo -MD -MP -MF ".deps/ptsched.Tpo" -c -o ptsched.lo ptsched.c;  then mv -f ".deps/ptsched.Tpo" ".deps/ptsched.Plo"; else rm -f ".deps/ptsched.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT ptsched.lo -MD -MP -MF .deps/ptsched.Tpo -c ptsched.c  -fno-common -DPIC -o .libs/ptsched.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -DBUILDING_LIBGG -DDEBUG_NAMESPACE=\"libgg\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT ptsched.lo -MD -MP -MF .deps/ptsched.Tpo -c ptsched.c -o ptsched.o >/dev/null 2>&1
/opt/pkg/bin/mksh ../libtool --tag=CC --mode=link clang  -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"   -L/opt/pkg/lib -o libgg.la -rpath /opt/pkg/lib  -version-info 1:0:0 -no-undefined  -export-symbols ../gg/EXPSYMS cleanup.lo  cleanup_stubs.lo cpuid.lo      conf.lo  debug.lo dl.lo init.lo misc.lo parse.lo string.lo time.lo   dl_darwin.lo    task.lo ptlock.lo ptsched.lo    -lpthread  
libtool: link: /opt/pkg/bin/nbsed 's|^|_|' < ../gg/EXPSYMS > .libs/libgg-symbols.expsym
libtool: link: clang -dynamiclib  -o .libs/libgg.1.dylib  .libs/cleanup.o .libs/cleanup_stubs.o .libs/cpuid.o .libs/conf.o .libs/debug.o .libs/dl.o .libs/init.o .libs/misc.o .libs/parse.o .libs/string.o .libs/time.o .libs/dl_darwin.o .libs/task.o .libs/ptlock.o .libs/ptsched.o   -L/Users/pbulk/build/graphics/libgii/work/.buildlink/lib -lpthread  -Os -g   -install_name  /opt/pkg/lib/libgg.1.dylib -compatibility_version 2 -current_version 2.0 -Wl,-single_module -Wl,-exported_symbols_list,.libs/libgg-symbols.expsym
libtool: link: (cd ".libs" && rm -f "libgg.dylib" && ln -s "libgg.1.dylib" "libgg.dylib")
libtool: link: ar cr .libs/libgg.a  cleanup.o cleanup_stubs.o cpuid.o conf.o debug.o dl.o init.o misc.o parse.o string.o time.o dl_darwin.o task.o ptlock.o ptsched.o
libtool: link: ranlib .libs/libgg.a
libtool: link: ( cd ".libs" && rm -f "libgg.la" && ln -s "../libgg.la" "libgg.la" )
Making all in input
Making all in null
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include  -DDEBUG_NAMESPACE='"libgii.input.null"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT input.lo -MD -MP -MF ".deps/input.Tpo" -c -o input.lo input.c;  then mv -f ".deps/input.Tpo" ".deps/input.Plo"; else rm -f ".deps/input.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.null\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c  -fno-common -DPIC -o .libs/input.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.null\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c -o input.o >/dev/null 2>&1
/opt/pkg/bin/mksh ../../libtool --tag=CC --mode=link clang  -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"   -L/opt/pkg/lib -o libnull.la   input.lo  
libtool: link: ar cr .libs/libnull.a .libs/input.o 
libtool: link: ranlib .libs/libnull.a
libtool: link: ( cd ".libs" && rm -f "libnull.la" && ln -s "../libnull.la" "libnull.la" )
Making all in file
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include  -DDEBUG_NAMESPACE='"libgii.input.file"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT input.lo -MD -MP -MF ".deps/input.Tpo" -c -o input.lo input.c;  then mv -f ".deps/input.Tpo" ".deps/input.Plo"; else rm -f ".deps/input.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.file\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c  -fno-common -DPIC -o .libs/input.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.file\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c -o input.o >/dev/null 2>&1
/opt/pkg/bin/mksh ../../libtool --tag=CC --mode=link clang  -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"   -L/opt/pkg/lib -o libfile.la   input.lo  
libtool: link: ar cr .libs/libfile.a .libs/input.o 
libtool: link: ranlib .libs/libfile.a
libtool: link: ( cd ".libs" && rm -f "libfile.la" && ln -s "../libfile.la" "libfile.la" )
Making all in tcp
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include  -I../../common -I../../include   -DDEBUG_NAMESPACE='"libgii.input.tcp"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT libtcp.lo -MD -MP -MF ".deps/libtcp.Tpo" -c -o libtcp.lo libtcp.c;  then mv -f ".deps/libtcp.Tpo" ".deps/libtcp.Plo"; else rm -f ".deps/libtcp.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../common -DDEBUG_NAMESPACE=\"libgii.input.tcp\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT libtcp.lo -MD -MP -MF .deps/libtcp.Tpo -c libtcp.c  -fno-common -DPIC -o .libs/libtcp.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../common -DDEBUG_NAMESPACE=\"libgii.input.tcp\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT libtcp.lo -MD -MP -MF .deps/libtcp.Tpo -c libtcp.c -o libtcp.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include  -I../../common -I../../include   -DDEBUG_NAMESPACE='"libgii.input.tcp"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT input.lo -MD -MP -MF ".deps/input.Tpo" -c -o input.lo input.c;  then mv -f ".deps/input.Tpo" ".deps/input.Plo"; else rm -f ".deps/input.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../common -DDEBUG_NAMESPACE=\"libgii.input.tcp\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c  -fno-common -DPIC -o .libs/input.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../common -DDEBUG_NAMESPACE=\"libgii.input.tcp\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c -o input.o >/dev/null 2>&1
/opt/pkg/bin/mksh ../../libtool --tag=CC --mode=link clang  -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"   -L/opt/pkg/lib -o libtcpconv.la   libtcp.lo  
libtool: link: ar cr .libs/libtcpconv.a .libs/libtcp.o 
libtool: link: ranlib .libs/libtcpconv.a
libtool: link: ( cd ".libs" && rm -f "libtcpconv.la" && ln -s "../libtcpconv.la" "libtcpconv.la" )
/opt/pkg/bin/mksh ../../libtool --tag=CC --mode=link clang  -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"   -L/opt/pkg/lib -o libtcp.la   input.lo  
libtool: link: ar cr .libs/libtcp.a .libs/input.o 
libtool: link: ranlib .libs/libtcp.a
libtool: link: ( cd ".libs" && rm -f "libtcp.la" && ln -s "../libtcp.la" "libtcp.la" )
Making all in stdin
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include  -DDEBUG_NAMESPACE='"libgii.input.stdin"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT input.lo -MD -MP -MF ".deps/input.Tpo" -c -o input.lo input.c;  then mv -f ".deps/input.Tpo" ".deps/input.Plo"; else rm -f ".deps/input.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.stdin\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c  -fno-common -DPIC -o .libs/input.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.stdin\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c -o input.o >/dev/null 2>&1
/opt/pkg/bin/mksh ../../libtool --tag=CC --mode=link clang  -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"   -L/opt/pkg/lib -o libstdin.la   input.lo  
libtool: link: ar cr .libs/libstdin.a .libs/input.o 
libtool: link: ranlib .libs/libstdin.a
libtool: link: ( cd ".libs" && rm -f "libstdin.la" && ln -s "../libstdin.la" "libstdin.la" )
Making all in x
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include    -DDEBUG_NAMESPACE='"libgii.input.x"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT input.lo -MD -MP -MF ".deps/input.Tpo" -c -o input.lo input.c;  then mv -f ".deps/input.Tpo" ".deps/input.Plo"; else rm -f ".deps/input.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.x\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c  -fno-common -DPIC -o .libs/input.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.x\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c -o input.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include    -DDEBUG_NAMESPACE='"libgii.input.x"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT xwin.lo -MD -MP -MF ".deps/xwin.Tpo" -c -o xwin.lo xwin.c;  then mv -f ".deps/xwin.Tpo" ".deps/xwin.Plo"; else rm -f ".deps/xwin.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.x\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT xwin.lo -MD -MP -MF .deps/xwin.Tpo -c xwin.c  -fno-common -DPIC -o .libs/xwin.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.x\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT xwin.lo -MD -MP -MF .deps/xwin.Tpo -c xwin.c -o xwin.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include    -DDEBUG_NAMESPACE='"libgii.input.x"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT xev.lo -MD -MP -MF ".deps/xev.Tpo" -c -o xev.lo xev.c;  then mv -f ".deps/xev.Tpo" ".deps/xev.Plo"; else rm -f ".deps/xev.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.x\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT xev.lo -MD -MP -MF .deps/xev.Tpo -c xev.c  -fno-common -DPIC -o .libs/xev.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.x\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT xev.lo -MD -MP -MF .deps/xev.Tpo -c xev.c -o xev.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include    -DDEBUG_NAMESPACE='"libgii.input.x"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT xf86dga.lo -MD -MP -MF ".deps/xf86dga.Tpo" -c -o xf86dga.lo xf86dga.c;  then mv -f ".deps/xf86dga.Tpo" ".deps/xf86dga.Plo"; else rm -f ".deps/xf86dga.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.x\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT xf86dga.lo -MD -MP -MF .deps/xf86dga.Tpo -c xf86dga.c  -fno-common -DPIC -o .libs/xf86dga.o
In file included from xf86dga.c:31:
/Users/pbulk/build/graphics/libgii/work/.buildlink/include/X11/extensions/xf86dga.h:9:2: warning: #warning is a language extension [-Wpedantic]
#warning "xf86dga.h is obsolete and may be removed in the future."
 ^
/Users/pbulk/build/graphics/libgii/work/.buildlink/include/X11/extensions/xf86dga.h:9:2: warning: "xf86dga.h is obsolete and may be removed in the future." [-W#warnings]
/Users/pbulk/build/graphics/libgii/work/.buildlink/include/X11/extensions/xf86dga.h:10:2: warning: #warning is a language extension [-Wpedantic]
#warning "include <X11/extensions/Xxf86dga.h> instead."
 ^
/Users/pbulk/build/graphics/libgii/work/.buildlink/include/X11/extensions/xf86dga.h:10:2: warning: "include <X11/extensions/Xxf86dga.h> instead." [-W#warnings]
4 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.x\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT xf86dga.lo -MD -MP -MF .deps/xf86dga.Tpo -c xf86dga.c -o xf86dga.o >/dev/null 2>&1
/opt/pkg/bin/mksh ../../libtool --tag=CC --mode=link clang  -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"   -L/opt/pkg/lib -o libx.la   input.lo xwin.lo xev.lo xf86dga.lo  -lX11 -lXxf86dga -lXext  
libtool: link: ar cr .libs/libx.a .libs/input.o .libs/xwin.o .libs/xev.o .libs/xf86dga.o 
libtool: link: ranlib .libs/libx.a
libtool: link: ( cd ".libs" && rm -f "libx.la" && ln -s "../libx.la" "libx.la" )
Making all in mouse
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include  -DDEBUG_NAMESPACE='"libgii.input.mouse"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT input.lo -MD -MP -MF ".deps/input.Tpo" -c -o input.lo input.c;  then mv -f ".deps/input.Tpo" ".deps/input.Plo"; else rm -f ".deps/input.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.mouse\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c  -fno-common -DPIC -o .libs/input.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.mouse\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c -o input.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include  -DDEBUG_NAMESPACE='"libgii.input.mouse"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT packetparse.lo -MD -MP -MF ".deps/packetparse.Tpo" -c -o packetparse.lo packetparse.c;  then mv -f ".deps/packetparse.Tpo" ".deps/packetparse.Plo"; else rm -f ".deps/packetparse.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.mouse\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT packetparse.lo -MD -MP -MF .deps/packetparse.Tpo -c packetparse.c  -fno-common -DPIC -o .libs/packetparse.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.mouse\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT packetparse.lo -MD -MP -MF .deps/packetparse.Tpo -c packetparse.c -o packetparse.o >/dev/null 2>&1
/opt/pkg/bin/mksh ../../libtool --tag=CC --mode=link clang  -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"   -L/opt/pkg/lib -o libmouse.la   input.lo packetparse.lo  
libtool: link: ar cr .libs/libmouse.a .libs/input.o .libs/packetparse.o 
libtool: link: ranlib .libs/libmouse.a
libtool: link: ( cd ".libs" && rm -f "libmouse.la" && ln -s "../libmouse.la" "libmouse.la" )
Making all in linux_mouse
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include  -DDEBUG_NAMESPACE='"libgii.input.linux_mouse"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT input.lo -MD -MP -MF ".deps/input.Tpo" -c -o input.lo input.c;  then mv -f ".deps/input.Tpo" ".deps/input.Plo"; else rm -f ".deps/input.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.linux_mouse\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c  -fno-common -DPIC -o .libs/input.o
input.c:254:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                if (dowarn) fprintf(stderr, serialfailstr);
                                            ^~~~~~~~~~~~~
input.c:254:31: note: treat the string as an argument to avoid this
                if (dowarn) fprintf(stderr, serialfailstr);
                                            ^
                                            "%s", 
1 warning generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.linux_mouse\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c -o input.o >/dev/null 2>&1
/opt/pkg/bin/mksh ../../libtool --tag=CC --mode=link clang  -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"   -L/opt/pkg/lib -o liblinux_mouse.la   input.lo  
libtool: link: ar cr .libs/liblinux_mouse.a .libs/input.o 
libtool: link: ranlib .libs/liblinux_mouse.a
libtool: link: ( cd ".libs" && rm -f "liblinux_mouse.la" && ln -s "../liblinux_mouse.la" "liblinux_mouse.la" )
Making all in spaceorb
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include  -DDEBUG_NAMESPACE='"libgii.input.spaceorb"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT input.lo -MD -MP -MF ".deps/input.Tpo" -c -o input.lo input.c;  then mv -f ".deps/input.Tpo" ".deps/input.Plo"; else rm -f ".deps/input.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.spaceorb\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c  -fno-common -DPIC -o .libs/input.o
input.c:225:6: warning: variable 'time_ms' set but not used [-Wunused-but-set-variable]
        int time_ms;
            ^
input.c:227:6: warning: variable 'checksum' set but not used [-Wunused-but-set-variable]
        int checksum;
            ^
input.c:258:6: warning: variable 'checksum' set but not used [-Wunused-but-set-variable]
        int checksum;
            ^
input.c:256:6: warning: variable 'buts' set but not used [-Wunused-but-set-variable]
        int buts;
            ^
4 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.spaceorb\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c -o input.o >/dev/null 2>&1
/opt/pkg/bin/mksh ../../libtool --tag=CC --mode=link clang  -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"   -L/opt/pkg/lib -o libspaceorb.la   input.lo  
libtool: link: ar cr .libs/libspaceorb.a .libs/input.o 
libtool: link: ranlib .libs/libspaceorb.a
libtool: link: ( cd ".libs" && rm -f "libspaceorb.la" && ln -s "../libspaceorb.la" "libspaceorb.la" )
Making all in lk201
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include  -DDEBUG_NAMESPACE='"libgii.input.lk201"' -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT input.lo -MD -MP -MF ".deps/input.Tpo" -c -o input.lo input.c;  then mv -f ".deps/input.Tpo" ".deps/input.Plo"; else rm -f ".deps/input.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.lk201\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c  -fno-common -DPIC -o .libs/input.o
input.c:259:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        fprintf(stderr, tcsetattrfailstr);
                                        ^~~~~~~~~~~~~~~~
input.c:259:20: note: treat the string as an argument to avoid this
                        fprintf(stderr, tcsetattrfailstr);
                                        ^
                                        "%s", 
input.c:264:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                fprintf(stderr, tcgetattrfailstr);
                                ^~~~~~~~~~~~~~~~
input.c:264:19: note: treat the string as an argument to avoid this
                fprintf(stderr, tcgetattrfailstr);
                                ^
                                "%s", 
input.c:333:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
        else if ((ev->key.modifiers && GII_MOD_CTRL) && ev->key.label==GIIUC_Grave)
                                    ^  ~~~~~~~~~~~~
input.c:333:30: note: use '&' for a bitwise operation
        else if ((ev->key.modifiers && GII_MOD_CTRL) && ev->key.label==GIIUC_Grave)
                                    ^~
                                    &
input.c:333:30: note: remove constant to silence this warning
        else if ((ev->key.modifiers && GII_MOD_CTRL) && ev->key.label==GIIUC_Grave)
                                   ~^~~~~~~~~~~~~~~
input.c:333:33: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare]
        else if ((ev->key.modifiers && GII_MOD_CTRL) && ev->key.label==GIIUC_Grave)
                                       ^
../../include/ggi/keyboard.h:67:25: note: expanded from macro 'GII_MOD_CTRL'
#define GII_MOD_CTRL    (1 << GII_KM_CTRL)
                           ^
input.c:339:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
        else if ((ev->key.modifiers && GII_MOD_CTRL) && ev->key.label==GIIUC_3)
                                    ^  ~~~~~~~~~~~~
input.c:339:30: note: use '&' for a bitwise operation
        else if ((ev->key.modifiers && GII_MOD_CTRL) && ev->key.label==GIIUC_3)
                                    ^~
                                    &
input.c:339:30: note: remove constant to silence this warning
        else if ((ev->key.modifiers && GII_MOD_CTRL) && ev->key.label==GIIUC_3)
                                   ~^~~~~~~~~~~~~~~
input.c:339:33: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare]
        else if ((ev->key.modifiers && GII_MOD_CTRL) && ev->key.label==GIIUC_3)
                                       ^
../../include/ggi/keyboard.h:67:25: note: expanded from macro 'GII_MOD_CTRL'
#define GII_MOD_CTRL    (1 << GII_KM_CTRL)
                           ^
input.c:345:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
        else if ((ev->key.modifiers && GII_MOD_CTRL) && ev->key.label==GIIUC_BackSpace)
                                    ^  ~~~~~~~~~~~~
input.c:345:30: note: use '&' for a bitwise operation
        else if ((ev->key.modifiers && GII_MOD_CTRL) && ev->key.label==GIIUC_BackSpace)
                                    ^~
                                    &
input.c:345:30: note: remove constant to silence this warning
        else if ((ev->key.modifiers && GII_MOD_CTRL) && ev->key.label==GIIUC_BackSpace)
                                   ~^~~~~~~~~~~~~~~
input.c:345:33: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare]
        else if ((ev->key.modifiers && GII_MOD_CTRL) && ev->key.label==GIIUC_BackSpace)
                                       ^
../../include/ggi/keyboard.h:67:25: note: expanded from macro 'GII_MOD_CTRL'
#define GII_MOD_CTRL    (1 << GII_KM_CTRL)
                           ^
8 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.lk201\" -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c -o input.o >/dev/null 2>&1
/opt/pkg/bin/mksh ../../libtool --tag=CC --mode=link clang  -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"   -L/opt/pkg/lib -o liblk201.la   input.lo  
libtool: link: ar cr .libs/liblk201.a .libs/input.o 
libtool: link: ranlib .libs/liblk201.a
libtool: link: ( cd ".libs" && rm -f "liblk201.la" && ln -s "../liblk201.la" "liblk201.la" )
Making all in cocoa
source='input.m' object='input.lo' libtool=yes  DEPDIR=.deps depmode=gcc3 /opt/pkg/bin/mksh ../../depcomp  /opt/pkg/bin/mksh ../../libtool --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include  -DDEBUG_NAMESPACE='"libgii.input.cocoa"' -no-cpp-precomp -I/System/Library/Frameworks -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -c -o input.lo input.m
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.cocoa\" -no-cpp-precomp -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.TPlo.17971 -c input.m  -fno-common -DPIC -o .libs/input.o
input.m:77:18: warning: 'NSAlphaShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        if (modifiers & NSAlphaShiftKeyMask) {
                        ^~~~~~~~~~~~~~~~~~~
                        NSEventModifierFlagCapsLock
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:177:35: note: 'NSAlphaShiftKeyMask' has been explicitly marked deprecated here
static const NSEventModifierFlags NSAlphaShiftKeyMask         API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCapsLock", macos(10.0,10.12)) = NSEventModifierFlagCapsLock;
                                  ^
input.m:81:18: warning: 'NSShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        if (modifiers & NSShiftKeyMask) {
                        ^~~~~~~~~~~~~~
                        NSEventModifierFlagShift
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:178:35: note: 'NSShiftKeyMask' has been explicitly marked deprecated here
static const NSEventModifierFlags NSShiftKeyMask              API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagShift", macos(10.0,10.12)) = NSEventModifierFlagShift;
                                  ^
input.m:85:18: warning: 'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        if (modifiers & NSControlKeyMask) {
                        ^~~~~~~~~~~~~~~~
                        NSEventModifierFlagControl
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:179:35: note: 'NSControlKeyMask' has been explicitly marked deprecated here
static const NSEventModifierFlags NSControlKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl", macos(10.0,10.12)) = NSEventModifierFlagControl;
                                  ^
input.m:89:18: warning: 'NSAlternateKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        if (modifiers & NSAlternateKeyMask) {
                        ^~~~~~~~~~~~~~~~~~
                        NSEventModifierFlagOption
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:180:35: note: 'NSAlternateKeyMask' has been explicitly marked deprecated here
static const NSEventModifierFlags NSAlternateKeyMask          API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagOption", macos(10.0,10.12)) = NSEventModifierFlagOption;
                                  ^
input.m:93:18: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        if (modifiers & NSCommandKeyMask) {
                        ^~~~~~~~~~~~~~~~
                        NSEventModifierFlagCommand
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:181:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand", macos(10.0,10.12)) = NSEventModifierFlagCommand;
                                  ^
input.m:97:18: warning: 'NSNumericPadKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        if (modifiers & NSNumericPadKeyMask) {
                        ^~~~~~~~~~~~~~~~~~~
                        NSEventModifierFlagNumericPad
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:182:35: note: 'NSNumericPadKeyMask' has been explicitly marked deprecated here
static const NSEventModifierFlags NSNumericPadKeyMask         API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagNumericPad", macos(10.0,10.12)) = NSEventModifierFlagNumericPad;
                                  ^
input.m:526:7: warning: 'NSKeyDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        case NSKeyDown:
             ^~~~~~~~~
             NSEventTypeKeyDown
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:74:26: note: 'NSKeyDown' has been explicitly marked deprecated here
static const NSEventType NSKeyDown              API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeKeyDown", macos(10.0,10.12)) = NSEventTypeKeyDown;
                         ^
input.m:536:7: warning: 'NSKeyUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        case NSKeyUp:
             ^~~~~~~
             NSEventTypeKeyUp
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:75:26: note: 'NSKeyUp' has been explicitly marked deprecated here
static const NSEventType NSKeyUp                API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeKeyUp", macos(10.0,10.12)) = NSEventTypeKeyUp;
                         ^
input.m:543:4: warning: enum values with underlying type 'NSUInteger' should not be used as format arguments; add an explicit cast to 'unsigned long' instead [-Wformat]
                        type);
                        ^~~~
                        (unsigned long)
input.m:576:7: warning: 'NSMouseMoved' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        case NSMouseMoved:
             ^~~~~~~~~~~~
             NSEventTypeMouseMoved
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:69:26: note: 'NSMouseMoved' has been explicitly marked deprecated here
static const NSEventType NSMouseMoved           API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseMoved", macos(10.0,10.12)) = NSEventTypeMouseMoved;
                         ^
input.m:613:7: warning: 'NSScrollWheel' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        case NSScrollWheel:
             ^~~~~~~~~~~~~
             NSEventTypeScrollWheel
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:82:26: note: 'NSScrollWheel' has been explicitly marked deprecated here
static const NSEventType NSScrollWheel          API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeScrollWheel", macos(10.0,10.12)) = NSEventTypeScrollWheel;
                         ^
input.m:631:7: warning: 'NSLeftMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        case NSLeftMouseDown:
             ^~~~~~~~~~~~~~~
             NSEventTypeLeftMouseDown
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:65:26: note: 'NSLeftMouseDown' has been explicitly marked deprecated here
static const NSEventType NSLeftMouseDown        API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseDown", macos(10.0,10.12)) = NSEventTypeLeftMouseDown;
                         ^
input.m:632:7: warning: 'NSRightMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        case NSRightMouseDown:
             ^~~~~~~~~~~~~~~~
             NSEventTypeRightMouseDown
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:67:26: note: 'NSRightMouseDown' has been explicitly marked deprecated here
static const NSEventType NSRightMouseDown       API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseDown", macos(10.0,10.12)) = NSEventTypeRightMouseDown;
                         ^
input.m:633:7: warning: 'NSOtherMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        case NSOtherMouseDown:
             ^~~~~~~~~~~~~~~~
             NSEventTypeOtherMouseDown
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:85:26: note: 'NSOtherMouseDown' has been explicitly marked deprecated here
static const NSEventType NSOtherMouseDown       API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeOtherMouseDown", macos(10.0,10.12)) = NSEventTypeOtherMouseDown;
                         ^
input.m:635:53: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
                fprintf(stderr, "mouse button (%i) down event\n", [ ev buttonNumber]);
                                               ~~                 ^~~~~~~~~~~~~~~~~~
                                               %li                (long)
input.m:647:7: warning: 'NSLeftMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        case NSLeftMouseUp:
             ^~~~~~~~~~~~~
             NSEventTypeLeftMouseUp
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:66:26: note: 'NSLeftMouseUp' has been explicitly marked deprecated here
static const NSEventType NSLeftMouseUp          API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseUp", macos(10.0,10.12)) = NSEventTypeLeftMouseUp;
                         ^
input.m:648:7: warning: 'NSRightMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        case NSRightMouseUp:
             ^~~~~~~~~~~~~~
             NSEventTypeRightMouseUp
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:68:26: note: 'NSRightMouseUp' has been explicitly marked deprecated here
static const NSEventType NSRightMouseUp         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseUp", macos(10.0,10.12)) = NSEventTypeRightMouseUp;
                         ^
input.m:649:7: warning: 'NSOtherMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        case NSOtherMouseUp:
             ^~~~~~~~~~~~~~
             NSEventTypeOtherMouseUp
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:86:26: note: 'NSOtherMouseUp' has been explicitly marked deprecated here
static const NSEventType NSOtherMouseUp         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeOtherMouseUp", macos(10.0,10.12)) = NSEventTypeOtherMouseUp;
                         ^
input.m:651:51: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
                fprintf(stderr, "mouse button (%i) up event\n", [ ev buttonNumber]);
                                               ~~               ^~~~~~~~~~~~~~~~~~
                                               %li              (long)
input.m:664:49: warning: enum values with underlying type 'NSUInteger' should not be used as format arguments; add an explicit cast to 'unsigned long' instead [-Wformat]
                fprintf(stderr, "unknown mouse event = %i\n", [ev type]);
                                                       ~~     ^~~~~~~~~
                                                       %lu    (unsigned long)
input.m:692:8: warning: 'NSKeyDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSKeyDown:
                     ^~~~~~~~~
                     NSEventTypeKeyDown
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:74:26: note: 'NSKeyDown' has been explicitly marked deprecated here
static const NSEventType NSKeyDown              API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeKeyDown", macos(10.0,10.12)) = NSEventTypeKeyDown;
                         ^
input.m:693:8: warning: 'NSKeyUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSKeyUp:
                     ^~~~~~~
                     NSEventTypeKeyUp
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:75:26: note: 'NSKeyUp' has been explicitly marked deprecated here
static const NSEventType NSKeyUp                API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeKeyUp", macos(10.0,10.12)) = NSEventTypeKeyUp;
                         ^
input.m:694:8: warning: 'NSFlagsChanged' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSFlagsChanged:
                     ^~~~~~~~~~~~~~
                     NSEventTypeFlagsChanged
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:76:26: note: 'NSFlagsChanged' has been explicitly marked deprecated here
static const NSEventType NSFlagsChanged         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeFlagsChanged", macos(10.0,10.12)) = NSEventTypeFlagsChanged;
                         ^
input.m:698:8: warning: 'NSLeftMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSLeftMouseDown:
                     ^~~~~~~~~~~~~~~
                     NSEventTypeLeftMouseDown
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:65:26: note: 'NSLeftMouseDown' has been explicitly marked deprecated here
static const NSEventType NSLeftMouseDown        API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseDown", macos(10.0,10.12)) = NSEventTypeLeftMouseDown;
                         ^
input.m:699:8: warning: 'NSLeftMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSLeftMouseUp:
                     ^~~~~~~~~~~~~
                     NSEventTypeLeftMouseUp
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:66:26: note: 'NSLeftMouseUp' has been explicitly marked deprecated here
static const NSEventType NSLeftMouseUp          API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseUp", macos(10.0,10.12)) = NSEventTypeLeftMouseUp;
                         ^
input.m:700:8: warning: 'NSLeftMouseDragged' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSLeftMouseDragged:
                     ^~~~~~~~~~~~~~~~~~
                     NSEventTypeLeftMouseDragged
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:70:26: note: 'NSLeftMouseDragged' has been explicitly marked deprecated here
static const NSEventType NSLeftMouseDragged     API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseDragged", macos(10.0,10.12)) = NSEventTypeLeftMouseDragged;
                         ^
input.m:701:8: warning: 'NSRightMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSRightMouseDown:
                     ^~~~~~~~~~~~~~~~
                     NSEventTypeRightMouseDown
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:67:26: note: 'NSRightMouseDown' has been explicitly marked deprecated here
static const NSEventType NSRightMouseDown       API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseDown", macos(10.0,10.12)) = NSEventTypeRightMouseDown;
                         ^
input.m:702:8: warning: 'NSRightMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSRightMouseUp:
                     ^~~~~~~~~~~~~~
                     NSEventTypeRightMouseUp
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:68:26: note: 'NSRightMouseUp' has been explicitly marked deprecated here
static const NSEventType NSRightMouseUp         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseUp", macos(10.0,10.12)) = NSEventTypeRightMouseUp;
                         ^
input.m:703:8: warning: 'NSRightMouseDragged' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSRightMouseDragged:
                     ^~~~~~~~~~~~~~~~~~~
                     NSEventTypeRightMouseDragged
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:71:26: note: 'NSRightMouseDragged' has been explicitly marked deprecated here
static const NSEventType NSRightMouseDragged    API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseDragged", macos(10.0,10.12)) = NSEventTypeRightMouseDragged;
                         ^
input.m:704:8: warning: 'NSOtherMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSOtherMouseDown:
                     ^~~~~~~~~~~~~~~~
                     NSEventTypeOtherMouseDown
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:85:26: note: 'NSOtherMouseDown' has been explicitly marked deprecated here
static const NSEventType NSOtherMouseDown       API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeOtherMouseDown", macos(10.0,10.12)) = NSEventTypeOtherMouseDown;
                         ^
input.m:705:8: warning: 'NSOtherMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSOtherMouseUp:
                     ^~~~~~~~~~~~~~
                     NSEventTypeOtherMouseUp
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:86:26: note: 'NSOtherMouseUp' has been explicitly marked deprecated here
static const NSEventType NSOtherMouseUp         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeOtherMouseUp", macos(10.0,10.12)) = NSEventTypeOtherMouseUp;
                         ^
input.m:706:8: warning: 'NSOtherMouseDragged' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSOtherMouseDragged:
                     ^~~~~~~~~~~~~~~~~~~
                     NSEventTypeOtherMouseDragged
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:87:26: note: 'NSOtherMouseDragged' has been explicitly marked deprecated here
static const NSEventType NSOtherMouseDragged    API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeOtherMouseDragged", macos(10.0,10.12)) = NSEventTypeOtherMouseDragged;
                         ^
input.m:707:8: warning: 'NSMouseMoved' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSMouseMoved:
                     ^~~~~~~~~~~~
                     NSEventTypeMouseMoved
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:69:26: note: 'NSMouseMoved' has been explicitly marked deprecated here
static const NSEventType NSMouseMoved           API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseMoved", macos(10.0,10.12)) = NSEventTypeMouseMoved;
                         ^
input.m:708:8: warning: 'NSScrollWheel' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSScrollWheel:
                     ^~~~~~~~~~~~~
                     NSEventTypeScrollWheel
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:82:26: note: 'NSScrollWheel' has been explicitly marked deprecated here
static const NSEventType NSScrollWheel          API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeScrollWheel", macos(10.0,10.12)) = NSEventTypeScrollWheel;
                         ^
input.m:712:8: warning: 'NSMouseEntered' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSMouseEntered:
                     ^~~~~~~~~~~~~~
                     NSEventTypeMouseEntered
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:72:26: note: 'NSMouseEntered' has been explicitly marked deprecated here
static const NSEventType NSMouseEntered         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseEntered", macos(10.0,10.12)) = NSEventTypeMouseEntered;
                         ^
input.m:713:8: warning: 'NSMouseExited' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSMouseExited:
                     ^~~~~~~~~~~~~
                     NSEventTypeMouseExited
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:73:26: note: 'NSMouseExited' has been explicitly marked deprecated here
static const NSEventType NSMouseExited          API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseExited", macos(10.0,10.12)) = NSEventTypeMouseExited;
                         ^
input.m:714:8: warning: 'NSCursorUpdate' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSCursorUpdate:
                     ^~~~~~~~~~~~~~
                     NSEventTypeCursorUpdate
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:81:26: note: 'NSCursorUpdate' has been explicitly marked deprecated here
static const NSEventType NSCursorUpdate         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeCursorUpdate", macos(10.0,10.12)) = NSEventTypeCursorUpdate;
                         ^
input.m:718:8: warning: 'NSAppKitDefined' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSAppKitDefined:
                     ^~~~~~~~~~~~~~~
                     NSEventTypeAppKitDefined
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:77:26: note: 'NSAppKitDefined' has been explicitly marked deprecated here
static const NSEventType NSAppKitDefined        API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeAppKitDefined", macos(10.0,10.12)) = NSEventTypeAppKitDefined;
                         ^
input.m:720:9: warning: 'NSWindowExposedEventType' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                        case NSWindowExposedEventType:
                             ^~~~~~~~~~~~~~~~~~~~~~~~
                             NSEventSubtypeWindowExposed
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:250:29: note: 'NSWindowExposedEventType' has been explicitly marked deprecated here
static const NSEventSubtype NSWindowExposedEventType            API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypeWindowExposed", macos(10.0,10.12)) = NSEventSubtypeWindowExposed;
                            ^
input.m:724:9: warning: 'NSApplicationActivatedEventType' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                        case NSApplicationActivatedEventType:
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                             NSEventSubtypeApplicationActivated
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:251:29: note: 'NSApplicationActivatedEventType' has been explicitly marked deprecated here
static const NSEventSubtype NSApplicationActivatedEventType     API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypeApplicationActivated", macos(10.0,10.12)) = NSEventSubtypeApplicationActivated;
                            ^
input.m:728:9: warning: 'NSApplicationDeactivatedEventType' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                        case NSApplicationDeactivatedEventType:
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                             NSEventSubtypeApplicationDeactivated
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:252:29: note: 'NSApplicationDeactivatedEventType' has been explicitly marked deprecated here
static const NSEventSubtype NSApplicationDeactivatedEventType   API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypeApplicationDeactivated", macos(10.0,10.12)) = NSEventSubtypeApplicationDeactivated;
                            ^
input.m:732:9: warning: 'NSWindowMovedEventType' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                        case NSWindowMovedEventType:
                             ^~~~~~~~~~~~~~~~~~~~~~
                             NSEventSubtypeWindowMoved
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:253:29: note: 'NSWindowMovedEventType' has been explicitly marked deprecated here
static const NSEventSubtype NSWindowMovedEventType              API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypeWindowMoved", macos(10.0,10.12)) = NSEventSubtypeWindowMoved;
                            ^
input.m:736:9: warning: 'NSScreenChangedEventType' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                        case NSScreenChangedEventType:
                             ^~~~~~~~~~~~~~~~~~~~~~~~
                             NSEventSubtypeScreenChanged
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:254:29: note: 'NSScreenChangedEventType' has been explicitly marked deprecated here
static const NSEventSubtype NSScreenChangedEventType            API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypeScreenChanged", macos(10.0,10.12)) = NSEventSubtypeScreenChanged;
                            ^
input.m:740:9: warning: 'NSAWTEventType' is deprecated: first deprecated in macOS 10.12 - This subtype no longer exists [-Wdeprecated-declarations]
                        case NSAWTEventType:
                             ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:255:29: note: 'NSAWTEventType' has been explicitly marked deprecated here
static const NSEventSubtype NSAWTEventType                      API_DEPRECATED("This subtype no longer exists", macos(10.10,10.12)) = (NSEventSubtype)16;
                            ^
input.m:752:8: warning: 'NSSystemDefined' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                case NSSystemDefined:
                     ^~~~~~~~~~~~~~~
                     NSEventTypeSystemDefined
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:78:26: note: 'NSSystemDefined' has been explicitly marked deprecated here
static const NSEventType NSSystemDefined        API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeSystemDefined", macos(10.0,10.12)) = NSEventTypeSystemDefined;
                         ^
input.m:754:9: warning: 'NSPowerOffEventType' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                        case NSPowerOffEventType:
                             ^~~~~~~~~~~~~~~~~~~
                             NSEventSubtypePowerOff
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:256:29: note: 'NSPowerOffEventType' has been explicitly marked deprecated here
static const NSEventSubtype NSPowerOffEventType             API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypePowerOff", macos(10.0,10.12)) = NSEventSubtypePowerOff;
                            ^
input.m:766:47: warning: enum values with underlying type 'NSUInteger' should not be used as format arguments; add an explicit cast to 'unsigned long' instead [-Wformat]
                        fprintf(stderr, "non-handled event: %i\n", type);
                                                            ~~     ^~~~
                                                            %lu    (unsigned long)
47 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.cocoa\" -no-cpp-precomp -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.TPlo.17971 -c input.m -o input.o >/dev/null 2>&1
source='cocoa.m' object='cocoa.lo' libtool=yes  DEPDIR=.deps depmode=gcc3 /opt/pkg/bin/mksh ../../depcomp  /opt/pkg/bin/mksh ../../libtool --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include  -DDEBUG_NAMESPACE='"libgii.input.cocoa"' -no-cpp-precomp -I/System/Library/Frameworks -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -c -o cocoa.lo cocoa.m
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.cocoa\" -no-cpp-precomp -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT cocoa.lo -MD -MP -MF .deps/cocoa.TPlo.18735 -c cocoa.m  -fno-common -DPIC -o .libs/cocoa.o
cocoa.m:78:23: warning: sending 'GIIObject *' to parameter of incompatible type 'id<NSApplicationDelegate> _Nullable'
        [ GIIApp setDelegate:priv->giiobject ];
                             ^~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:154:54: note: passing argument to parameter 'delegate' here
@property (nullable, weak) id<NSApplicationDelegate> delegate;
                                                     ^
cocoa.m:117:47: warning: 'NSAnyEventMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        event = [ priv->GIIApp nextEventMatchingMask:NSAnyEventMask
                                                     ^~~~~~~~~~~~~~
                                                     NSEventMaskAny
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:158:26: note: 'NSAnyEventMask' has been explicitly marked deprecated here
static const NSEventMask NSAnyEventMask                 API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskAny", macos(10.0,10.12)) = NSUIntegerMax;
                         ^
cocoa.m:135:3: warning: enum values with underlying type 'NSUInteger' should not be used as format arguments; add an explicit cast to 'unsigned long' instead [-Wformat]
                [ ev type ], [ ev keyCode ], [ [ ev characters ] intValue ],
                ^~~~~~~~~~~
                (unsigned long)
cocoa.m:136:3: warning: enum values with underlying type 'NSUInteger' should not be used as format arguments; add an explicit cast to 'unsigned long' instead [-Wformat]
                [ ev modifierFlags ]);
                ^~~~~~~~~~~~~~~~~~~~
                (unsigned long)
4 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.cocoa\" -no-cpp-precomp -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT cocoa.lo -MD -MP -MF .deps/cocoa.TPlo.18735 -c cocoa.m -o cocoa.o >/dev/null 2>&1
/opt/pkg/bin/mksh ../../libtool --mode=link clang   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"  -L/opt/pkg/lib -o libcocoa.la  -framework ApplicationServices  -framework Cocoa input.lo cocoa.lo  
libtool: link: ar cr .libs/libcocoa.a .libs/input.o .libs/cocoa.o 
libtool: link: ranlib .libs/libcocoa.a
libtool: link: ( cd ".libs" && rm -f "libcocoa.la" && ln -s "../libcocoa.la" "libcocoa.la" )
Making all in quartz
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include  -DDEBUG_NAMESPACE='"libgii.input.quartz"' -no-cpp-precomp -I/System/Library/Frameworks -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT event.lo -MD -MP -MF ".deps/event.Tpo" -c -o event.lo event.c;  then mv -f ".deps/event.Tpo" ".deps/event.Plo"; else rm -f ".deps/event.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.quartz\" -no-cpp-precomp -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT event.lo -MD -MP -MF .deps/event.Tpo -c event.c  -fno-common -DPIC -o .libs/event.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.quartz\" -no-cpp-precomp -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT event.lo -MD -MP -MF .deps/event.Tpo -c event.c -o event.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include  -DDEBUG_NAMESPACE='"libgii.input.quartz"' -no-cpp-precomp -I/System/Library/Frameworks -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT input.lo -MD -MP -MF ".deps/input.Tpo" -c -o input.lo input.c;  then mv -f ".deps/input.Tpo" ".deps/input.Plo"; else rm -f ".deps/input.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.quartz\" -no-cpp-precomp -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c  -fno-common -DPIC -o .libs/input.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.quartz\" -no-cpp-precomp -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT input.lo -MD -MP -MF .deps/input.Tpo -c input.c -o input.o >/dev/null 2>&1
if /opt/pkg/bin/mksh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../../include  -DDEBUG_NAMESPACE='"libgii.input.quartz"' -no-cpp-precomp -I/System/Library/Frameworks -I/opt/pkg/include   -pipe -Os -I/opt/pkg/include -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT quartz.lo -MD -MP -MF ".deps/quartz.Tpo" -c -o quartz.lo quartz.c;  then mv -f ".deps/quartz.Tpo" ".deps/quartz.Plo"; else rm -f ".deps/quartz.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -DDEBUG_NAMESPACE=\"libgii.input.quartz\" -no-cpp-precomp -I/Users/pbulk/build/graphics/libgii/work/.buildlink/include -pipe -Os -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99 -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Wuninitialized -Wcast-qual -Wwrite-strings -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -MT quartz.lo -MD -MP -MF .deps/quartz.Tpo -c quartz.c  -fno-common -DPIC -o .libs/quartz.o
quartz.c:120:8: error: implicit declaration of function 'GetWindowEventTarget' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        err = InstallWindowEventHandler(priv->theWindow, NewEventHandlerUPP(DefaultWindowEventHandler),
              ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h:15104:29: note: expanded from macro 'InstallWindowEventHandler'
       InstallEventHandler( GetWindowEventTarget( target ), (handler), (numTypes), (list), (userData), (outHandlerRef) )
                            ^
quartz.c:120:8: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'EventTargetRef' (aka 'struct OpaqueEventTargetRef *') [-Wint-conversion]
        err = InstallWindowEventHandler(priv->theWindow, NewEventHandlerUPP(DefaultWindowEventHandler),
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h:15104:29: note: expanded from macro 'InstallWindowEventHandler'
       InstallEventHandler( GetWindowEventTarget( target ), (handler), (numTypes), (list), (userData), (outHandlerRef) )
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:2593:26: note: passing argument to parameter 'inTarget' here
  EventTargetRef         inTarget,
                         ^
1 warning and 1 error generated.
*** [quartz.lo] Error code 1

bmake[3]: stopped making "all" in /Users/pbulk/build/graphics/libgii/work/libgii-1.0.2/input/quartz
bmake[3]: 1 error

bmake[3]: stopped making "all" in /Users/pbulk/build/graphics/libgii/work/libgii-1.0.2/input/quartz
*** [all-recursive] Error code 1

bmake[2]: stopped making "all" in /Users/pbulk/build/graphics/libgii/work/libgii-1.0.2/input
bmake[2]: 1 error

bmake[2]: stopped making "all" in /Users/pbulk/build/graphics/libgii/work/libgii-1.0.2/input
*** [all-recursive] Error code 1

bmake[1]: stopped making "all-recursive" in /Users/pbulk/build/graphics/libgii/work/libgii-1.0.2
bmake[1]: 1 error

bmake[1]: stopped making "all-recursive" in /Users/pbulk/build/graphics/libgii/work/libgii-1.0.2
*** [all] Error code 2

bmake: stopped making "all" in /Users/pbulk/build/graphics/libgii/work/libgii-1.0.2
bmake: 1 error

bmake: stopped making "all" in /Users/pbulk/build/graphics/libgii/work/libgii-1.0.2
*** Error code 2

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

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/graphics/libgii