=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for sendfile-2.1bnb4 --- all --- cd src; make --- sendfile.o --- --- message.o --- --- utf7.o --- --- pstring.o --- --- string.o --- --- io.o --- --- net.o --- --- address.o --- --- sendfile.o --- clang -O2 -DDARWIN -c sendfile.c --- message.o --- clang -O2 -DDARWIN -c message.c --- utf7.o --- clang -O2 -DDARWIN -c utf7.c --- pstring.o --- clang -O2 -DDARWIN -c pstring.c --- string.o --- clang -O2 -DDARWIN -c string.c --- io.o --- clang -O2 -DDARWIN -c io.c --- net.o --- clang -O2 -DDARWIN -c net.c --- address.o --- clang -O2 -DDARWIN -c address.c address.c:137:12: error: too many arguments provided to function-like macro invocation snprintf(MAXS(userconfig),"%s/.sendfile",pwe->pw_dir); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ address.c:137:3: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(userconfig),"%s/.sendfile",pwe->pw_dir); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ address.c:138:12: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),SPOOL"/%s/config",pwe->pw_name); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ --- io.o --- io.c:135:14: error: too many arguments provided to function-like macro invocation --- address.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here --- io.o --- snprintf(MAXS(tmp),"cannot access '%s'",from); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- address.o --- #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- io.o --- io.c:135:5: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"cannot access '%s'",from); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ io.c:150:14: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"error opening '%s'",from); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ io.c:150:5: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"error opening '%s'",from); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here --- address.o --- address.c:138:3: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),SPOOL"/%s/config",pwe->pw_name); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here --- io.o --- __darwin_fd_set(int _fd, struct fd_set *const _p) ^ io.c:161:16: error: too many arguments provided to function-like macro invocation --- spool.o --- --- address.o --- __darwin_fd_set(int _fd, struct fd_set *const _p) ^ address.c:145:14: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"%s/msg@%s",userconfig,localhost); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- io.o --- snprintf(MAXS(tmp),"error creating '%s'",to); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- address.o --- address.c:145:5: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"%s/msg@%s",userconfig,localhost); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- io.o --- io.c:161:7: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"error creating '%s'",to); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ io.c:183:11: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"error writing '%s'",to); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ --- spool.o --- clang -O2 -DDARWIN -c spool.c --- io.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- sendfile.o --- sendfile.c:654:16: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"unsupported compression program %s",force_compress); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- address.o --- address.c:190:14: error: too many arguments provided to function-like macro invocation snprintf(MAXS(aliasfile),"%s/aliases",userconfig); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ address.c:190:5: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(aliasfile),"%s/aliases",userconfig); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- io.o --- io.c:183:2: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"error writing '%s'",to); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ io.c:215:14: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"error reading '%s'",from); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ --- sendmsg.o --- --- sendfile.o --- sendfile.c:654:7: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"unsupported compression program %s",force_compress); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ sendfile.c:722:14: error: too many arguments provided to function-like macro invocation snprintf(MAXS(cmd),"%s %s ",argv[0],aopt); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ --- address.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ address.c:137:3: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(userconfig),"%s/.sendfile",pwe->pw_dir); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ address.c:137:3: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' --- io.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ io.c:215:5: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"error reading '%s'",from); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ io.c:223:14: error: too many arguments provided to function-like macro invocation --- sendfile.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ sendfile.c:722:5: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(cmd),"%s %s ",argv[0],aopt); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- address.o --- __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ address.c:138:3: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(tmp),SPOOL"/%s/config",pwe->pw_name); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ address.c:138:3: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- io.o --- snprintf(MAXS(tmp),"wrong byte count for '%s'",from); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ io.c:223:5: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"wrong byte count for '%s'",from); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- sendfile.o --- sendfile.c:767:13: error: too many arguments provided to function-like macro invocation snprintf(MAXS(pgprid),"%s@%s",recipient,host); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ sendfile.c:767:4: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(pgprid),"%s@%s",recipient,host); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- address.o --- address.c:145:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(tmp),"%s/msg@%s",userconfig,localhost); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ address.c:145:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ address.c:190:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] --- io.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ io.c:135:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] --- sendfile.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ sendfile.c:799:15: error: too many arguments provided to function-like macro invocation snprintf(MAXS(pgpsign),"-u '%s",pop); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- address.o --- snprintf(MAXS(aliasfile),"%s/aliases",userconfig); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ address.c:190:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ address.c:345:14: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"server error: %s",reply+4); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ address.c:345:5: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"server error: %s",reply+4); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- io.o --- snprintf(MAXS(tmp),"cannot access '%s'",from); ^ --- address.o --- address.c:345:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(tmp),"server error: %s",reply+4); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ address.c:345:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ address.c:662:16: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"opening connection to finger://%s/%s",host,recipient); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ address.c:662:7: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"opening connection to finger://%s/%s",host,recipient); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here --- io.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' --- address.o --- __darwin_fd_set(int _fd, struct fd_set *const _p) ^ address.c:674:14: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"opening connection to saft://%s/%s",host,recipient); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- sendfile.o --- sendfile.c:799:6: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(pgpsign),"-u '%s",pop); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here --- address.o --- address.c:674:5: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"opening connection to saft://%s/%s",host,recipient); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ address.c:683:13: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"%s has no internet-address",host); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ --- io.o --- __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ io.c:135:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ io.c:150:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(tmp),"error opening '%s'",from); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- sendfile.o --- __darwin_fd_set(int _fd, struct fd_set *const _p) ^ sendfile.c:816:11: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"wrong pgp option, see 'man %s'",prg); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- address.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ address.c:683:4: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"%s has no internet-address",host); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- io.o --- io.c:150:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ io.c:161:7: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(tmp),"error creating '%s'",to); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ io.c:161:7: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] --- sendmsg.o --- clang -O2 -DDARWIN -c sendmsg.c --- address.o --- address.c:689:13: error: too many arguments provided to function-like macro invocation snprintf(MAXS(ahost),"saft.%s",host); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- io.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ io.c:183:2: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(tmp),"error writing '%s'",to); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ io.c:183:2: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ io.c:215:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(tmp),"error reading '%s'",from); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ io.c:215:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ io.c:223:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(tmp),"wrong byte count for '%s'",from); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ io.c:223:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- sendfile.o --- sendfile.c:816:2: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"wrong pgp option, see 'man %s'",prg); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ sendfile.c:824:12: error: too many arguments provided to function-like macro invocation snprintf(MAXS(userspool),SPOOL"/%s",pw_name); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ --- address.o --- address.c:689:4: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(ahost),"saft.%s",host); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ address.c:704:17: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"opening connection to %s@%s",recipient,host); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ --- io.o --- io.c:337:14: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"cannot create tmpdir %s",tmpdir); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ io.c:337:5: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"cannot create tmpdir %s",tmpdir); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- sendfile.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- address.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 10 warnings and 20 errors generated. --- io.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ io.c:342:14: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"directory for temporary files is: %s",tmpdir); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ io.c:342:5: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"directory for temporary files is: %s",tmpdir); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ io.c:337:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(tmp),"cannot create tmpdir %s",tmpdir); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ io.c:337:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ io.c:342:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(tmp),"directory for temporary files is: %s",tmpdir); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ io.c:342:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ io.c:381:16: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"cannot remove %s/%s",tmpdir,dire->d_name); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- sendfile.o --- sendfile.c:824:3: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(userspool),SPOOL"/%s",pw_name); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ sendfile.c:825:12: error: too many arguments provided to function-like macro invocation snprintf(MAXS(outlogtmp),"%s/.sendfile_%d.log",userspool,pid); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ --- io.o --- io.c:381:7: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"cannot remove %s/%s",tmpdir,dire->d_name); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ io.c:389:14: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"cannot remove %s",tmpdir); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ --- net.o --- net.c:461:16: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"network socket data overrun (read bytes: %d)",n); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ net.c:461:7: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"network socket data overrun (read bytes: %d)",n); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- sendfile.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- io.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 16 warnings and 20 errors generated. --- net.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ net.c:461:7: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(tmp),"network socket data overrun (read bytes: %d)",n); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ net.c:461:7: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- sendfile.o --- sendfile.c:825:3: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(outlogtmp),"%s/.sendfile_%d.log",userspool,pid); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- net.o --- net.c:533:23: error: too many arguments provided to function-like macro invocation if (*reply) snprintf(MAXS(msg),"%s, last data: \"%s\"",msg,reply); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- address.o --- *** [address.o] Error code 1 make[1]: stopped in /opt/work/net/sendfile/work/sendfile-2.1b/src --- sendfile.o --- sendfile.c:826:12: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tartmp),"%s/sendfile.tar",tmpdir); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- net.o --- net.c:533:14: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? if (*reply) snprintf(MAXS(msg),"%s, last data: \"%s\"",msg,reply); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- io.o --- *** [io.o] Error code 1 make[1]: stopped in /opt/work/net/sendfile/work/sendfile-2.1b/src --- net.o --- net.c:545:11: error: too many arguments provided to function-like macro invocation snprintf(MAXS(msg),"corrupt reply: \"%s\"",reply); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- sendfile.o --- sendfile.c:826:3: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tartmp),"%s/sendfile.tar",tmpdir); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ sendfile.c:827:12: error: too many arguments provided to function-like macro invocation snprintf(MAXS(ziptmp),"%s/sendfile.zip",tmpdir); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- net.o --- net.c:545:2: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(msg),"corrupt reply: \"%s\"",reply); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ net.c:568:14: error: too many arguments provided to function-like macro invocation snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- sendfile.o --- sendfile.c:827:3: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(ziptmp),"%s/sendfile.zip",tmpdir); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ sendfile.c:828:12: error: too many arguments provided to function-like macro invocation --- net.o --- net.c:568:5: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(msg),"server error: %s",&reply[4]); --- sendfile.o --- snprintf(MAXS(pgptmp),"%s/sendfile.pgp",tmpdir); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here --- net.o --- ^ --- sendfile.o --- #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- net.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ net.c:533:14: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] if (*reply) snprintf(MAXS(msg),"%s, last data: \"%s\"",msg,reply); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ net.c:533:14: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ net.c:545:2: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(msg),"corrupt reply: \"%s\"",reply); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- sendfile.o --- fatal error: too many errors emitted, stopping now [-ferror-limit=] --- net.o --- net.c:545:2: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ net.c:568:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ net.c:568:5: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ net.c:643:12: error: too many arguments provided to function-like macro invocation snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ net.c:643:3: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ net.c:643:3: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ net.c:643:3: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ net.c:728:15: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"server error: %s",&reply[4]); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ net.c:728:6: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"server error: %s",&reply[4]); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ net.c:745:16: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp), ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ net.c:745:7: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp), ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ net.c:754:11: error: too many arguments provided to function-like macro invocation --- sendfile.o --- 20 errors generated. --- net.o --- snprintf(MAXS(tmp),"corrupt server reply: %s",&reply[4]); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ net.c:754:2: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"corrupt server reply: %s",&reply[4]); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ net.c:767:11: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"error reading %s",iso_name); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- sendfile.o --- *** [sendfile.o] Error code 1 make[1]: stopped in /opt/work/net/sendfile/work/sendfile-2.1b/src --- net.o --- net.c:767:2: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"error reading %s",iso_name); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ net.c:778:14: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"resuming %s at byte %lld",iso_name,offset); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 10 warnings and 20 errors generated. *** [net.o] Error code 1 make[1]: stopped in /opt/work/net/sendfile/work/sendfile-2.1b/src --- spool.o --- spool.c:219:16: error: too many arguments provided to function-like macro invocation snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ spool.c:219:7: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ spool.c:227:13: error: too many arguments provided to function-like macro invocation snprintf(MAXS(msg),"cannot open spool file %s",file); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ spool.c:227:4: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(msg),"cannot open spool file %s",file); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ spool.c:249:16: error: too many arguments provided to function-like macro invocation snprintf(MAXS(file),"%s/%d.d",userspool,id); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ spool.c:249:7: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(file),"%s/%d.d",userspool,id); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ spool.c:251:11: error: too many arguments provided to function-like macro invocation snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ spool.c:251:2: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? --- sendmsg.o --- sendmsg.c:263:16: error: too many arguments provided to function-like macro invocation snprintf(MAXS(line),"FROM %s",login); ^ --- spool.o --- snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- sendmsg.o --- ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- spool.o --- spool.c:263:11: error: too many arguments provided to function-like macro invocation snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ spool.c:263:2: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here --- sendmsg.o --- sendmsg.c:263:7: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(line),"FROM %s",login); --- spool.o --- __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- sendmsg.o --- ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- spool.o --- spool.c:296:15: error: too many arguments provided to function-like macro invocation --- sendmsg.o --- sendmsg.c:266:16: error: too many arguments provided to function-like macro invocation snprintf(MAXS(line),"TO %s",login); --- spool.o --- snprintf(MAXS(tmp),"%s (%s)",arg,cp+1); ^ --- sendmsg.o --- ^ ./string.h:86:19: note: expanded from macro 'MAXS' --- spool.o --- ./string.h:86:19: note: expanded from macro 'MAXS' --- sendmsg.o --- #define MAXS(s) s,sizeof(s)-1 ^ --- spool.o --- #define MAXS(s) s,sizeof(s)-1 ^ --- sendmsg.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here --- spool.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here --- sendmsg.o --- #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- spool.o --- #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ spool.c:296:6: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"%s (%s)",arg,cp+1); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- sendmsg.o --- sendmsg.c:266:7: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(line),"TO %s",login); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ sendmsg.c:284:13: error: too many arguments provided to function-like macro invocation snprintf(MAXS(msgcf),"%s/%s/config/tty@%s",SPOOL,login,localhost); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- spool.o --- spool.c:375:18: error: too many arguments provided to function-like macro invocation snprintf(MAXS(file),"%s/%d.d",userspool,id); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- sendmsg.o --- sendmsg.c:284:4: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(msgcf),"%s/%s/config/tty@%s",SPOOL,login,localhost); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- spool.o --- spool.c:375:9: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? --- sendmsg.o --- sendmsg.c:296:14: error: too many arguments provided to function-like macro invocation --- spool.o --- snprintf(MAXS(file),"%s/%d.d",userspool,id); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- sendmsg.o --- snprintf(MAXS(tmp),"cannot open your tty %s for writing",tty); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here --- spool.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- sendmsg.o --- #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- spool.o --- spool.c:377:11: error: too many arguments provided to function-like macro invocation snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- sendmsg.o --- sendmsg.c:296:5: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"cannot open your tty %s for writing",tty); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- spool.o --- spool.c:377:2: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' --- sendmsg.o --- sendmsg.c:303:12: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"cannot configure your tty " --- spool.o --- __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- sendmsg.o --- ^ --- spool.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here --- sendmsg.o --- ./string.h:86:19: note: expanded from macro 'MAXS' --- spool.o --- __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- sendmsg.o --- #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- spool.o --- spool.c:219:7: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 256 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:219:7: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 256 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:227:4: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(msg),"cannot open spool file %s",file); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:227:4: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:249:7: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 256 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(file),"%s/%d.d",userspool,id); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:249:7: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 256 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:251:2: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 256 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ --- sendmsg.o --- sendmsg.c:303:3: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"cannot configure your tty " ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' --- spool.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' --- sendmsg.o --- __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- spool.o --- __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:251:2: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 256 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:263:2: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 256 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' --- sendmsg.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ --- spool.o --- __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:263:2: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 256 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:296:6: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(tmp),"%s (%s)",arg,cp+1); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' --- sendmsg.o --- sendmsg.c:321:17: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"your tty %s is write protected; " ^ ./string.h:86:19: note: expanded from macro 'MAXS' --- spool.o --- __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- sendmsg.o --- #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here --- spool.o --- spool.c:296:6: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 4095 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' --- sendmsg.o --- #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- spool.o --- __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:375:9: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 256 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(file),"%s/%d.d",userspool,id); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:375:9: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 256 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:377:2: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 256 [-Wbuiltin-memcpy-chk-size] snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:377:2: warning: 'snprintf' will always overflow; destination buffer has size 0, but size argument is 256 [-Wbuiltin-memcpy-chk-size] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ spool.c:564:14: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"%s*.h",sender); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- sendmsg.o --- sendmsg.c:321:8: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"your tty %s is write protected; " ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ sendmsg.c:404:16: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"MSG %s",utf_msg); ^ ./string.h:86:19: note: expanded from macro 'MAXS' --- spool.o --- spool.c:564:5: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? --- sendmsg.o --- #define MAXS(s) s,sizeof(s)-1 ^ --- spool.o --- snprintf(MAXS(tmp),"%s*.h",sender); ^ --- sendmsg.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here --- spool.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- sendmsg.o --- #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- spool.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ spool.c:568:14: error: too many arguments provided to function-like macro invocation snprintf(MAXS(hfn),OUTGOING"/%s",tmp); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- sendmsg.o --- sendmsg.c:404:7: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(tmp),"MSG %s",utf_msg); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here --- spool.o --- fatal error: too many errors emitted, stopping now [-ferror-limit=] --- sendmsg.o --- __darwin_fd_set(int _fd, struct fd_set *const _p) ^ sendmsg.c:436:16: error: too many arguments provided to function-like macro invocation snprintf(MAXS(line),"MSG %s",utf_msg); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ sendmsg.c:436:7: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? snprintf(MAXS(line),"MSG %s",utf_msg); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' --- spool.o --- 16 warnings and 20 errors generated. --- sendmsg.o --- __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ sendmsg.c:444:20: error: too many arguments provided to function-like macro invocation snprintf(MAXS(tmp),"server timeout"); ^ ./string.h:86:19: note: expanded from macro 'MAXS' #define MAXS(s) s,sizeof(s)-1 ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:9: note: macro '__darwin_obsz' defined here #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ sendmsg.c:444:11: error: expected expression snprintf(MAXS(tmp),"server timeout"); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:73: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ sendmsg.c:444:11: error: use of undeclared identifier '__darwin_obsz'; did you mean '__darwin_fd_set'? /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:42: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: '__darwin_fd_set' declared here __darwin_fd_set(int _fd, struct fd_set *const _p) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. --- spool.o --- *** [spool.o] Error code 1 make[1]: stopped in /opt/work/net/sendfile/work/sendfile-2.1b/src --- sendmsg.o --- *** [sendmsg.o] Error code 1 make[1]: stopped in /opt/work/net/sendfile/work/sendfile-2.1b/src 6 errors make[1]: stopped in /opt/work/net/sendfile/work/sendfile-2.1b/src *** [all] Error code 2 bmake: stopped in /opt/work/net/sendfile/work/sendfile-2.1b 1 error bmake: stopped in /opt/work/net/sendfile/work/sendfile-2.1b *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/sendfile *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/sendfile