FreeBSD Bugzilla – Attachment 151660 Details for
Bug 196746
sysutils/bbcp new MASTER_SITES, new PORTVERSION, req MAINTAINER(ship)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
requisite QA session
bbcp-QA (text/plain), 91.98 KB, created by
Chris Hutchinson
on 2015-01-15 06:54:56 UTC
(
hide
)
Description:
requisite QA session
Filename:
MIME Type:
Creator:
Chris Hutchinson
Created:
2015-01-15 06:54:56 UTC
Size:
91.98 KB
patch
obsolete
>Script started on Wed Jan 14 19:04:04 2015 > ># make -DBATCH check-plist >===> License LGPL20 accepted by the user >===> bbcp-20150113 depends on file: /usr/local/sbin/pkg - found >=> bbcp-20150113.tar.xz doesn't seem to exist in /usr/ports/distfiles/. >=> Attempting to fetch http://BSDforge.com/projects/source/sysutils/bbcp/bbcp-20150113.tar.xz > bbcp-20150113.tar.xz 0% of 968 kB 0 Bps bbcp-20150113.tar.xz 4% of 968 kB 162 kBps bbcp-20150113.tar.xz 62% of 968 kB 671 kBps bbcp-20150113.tar.xz 100% of 968 kB 582 kBps 00m02s >===> Fetching all distfiles required by bbcp-20150113 for building >===> Extracting for bbcp-20150113 >=> SHA256 Checksum OK for bbcp-20150113.tar.xz. >===> Patching for bbcp-20150113 >===> Applying FreeBSD patches for bbcp-20150113 >===> Configuring for bbcp-20150113 >===> Building for bbcp-20150113 >--- all --- >--- FreeBSD --- >--- ../obj/FreeBSD/bbcp.o --- >--- ../obj/FreeBSD/bbcp_Args.o --- >--- ../obj/FreeBSD/bbcp.o --- >Compiling bbcp.C >--- ../obj/FreeBSD/bbcp_Args.o --- >Compiling bbcp_Args.C >In file included from bbcp_Args.C:33: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Args.C:33: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Args.C:33: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Args.C:33: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Args.C:33: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >bbcp_Args.C:61:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while(p = p->Optnext); > ~~^~~~~~~~~~~~ >bbcp_Args.C:61:21: note: place parentheses around the assignment to silence this warning > while(p = p->Optnext); > ^ > ( ) >bbcp_Args.C:61:21: note: use '==' to turn this assignment into an equality comparison > while(p = p->Optnext); > ^ > == >bbcp_Args.C:199:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] > else if (*argval != '-') return *optspec; > ^ >bbcp_Args.C:206:14: warning: add explicit braces to avoid dangling else [-Wdangling-else] > else Aloc--; > ^ >--- ../obj/FreeBSD/bbcp.o --- >In file included from bbcp.C:48: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp.C:48: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp.C:48: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp.C:48: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp.C:48: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >--- ../obj/FreeBSD/bbcp_Args.o --- >8 warnings generated. >--- ../obj/FreeBSD/bbcp_BuffPool.o --- >Compiling bbcp_BuffPool.C >--- ../obj/FreeBSD/bbcp.o --- >5 warnings generated. >--- ../obj/FreeBSD/bbcp_C32.o --- >Compiling bbcp_C32.C >--- ../obj/FreeBSD/bbcp_ChkSum.o --- >Compiling bbcp_ChkSum.C >--- ../obj/FreeBSD/bbcp_BuffPool.o --- >In file included from bbcp_BuffPool.C:46: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_BuffPool.C:46: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_BuffPool.C:46: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_BuffPool.C:46: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_BuffPool.C:46: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >bbcp_BuffPool.C:87:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while(currp = last_empty) > ~~~~~~^~~~~~~~~~~~ >bbcp_BuffPool.C:87:16: note: place parentheses around the assignment to silence this warning > while(currp = last_empty) > ^ > ( ) >bbcp_BuffPool.C:87:16: note: use '==' to turn this assignment into an equality comparison > while(currp = last_empty) > ^ > == >bbcp_BuffPool.C:94:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while(currp = next_full) > ~~~~~~^~~~~~~~~~~ >bbcp_BuffPool.C:94:16: note: place parentheses around the assignment to silence this warning > while(currp = next_full) > ^ > ( ) >bbcp_BuffPool.C:94:16: note: use '==' to turn this assignment into an equality comparison > while(currp = next_full) > ^ > == >--- ../obj/FreeBSD/bbcp_ChkSum.o --- >In file included from bbcp_ChkSum.C:29: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ChkSum.C:29: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ChkSum.C:29: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ChkSum.C:29: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ChkSum.C:29: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >--- ../obj/FreeBSD/bbcp_BuffPool.o --- >7 warnings generated. >--- ../obj/FreeBSD/bbcp_Config.o --- >Compiling bbcp_Config.C >--- ../obj/FreeBSD/bbcp_ChkSum.o --- >5 warnings generated. >--- ../obj/FreeBSD/bbcp_Emsg.o --- >Compiling bbcp_Emsg.C >In file included from bbcp_Emsg.C:33: >./bbcp_Platform.h:144:9: warning: 'EPROTO' macro redefined >#define EPROTO EPROTOTYPE > ^ >/usr/include/errno.h:174:9: note: previous definition is here >#define EPROTO 92 /* Protocol error */ > ^ >--- ../obj/FreeBSD/bbcp_Config.o --- >In file included from bbcp_Config.C:58: >./bbcp_Platform.h:51:9: warning: 'IOV_MAX' macro redefined >#define IOV_MAX 16 > ^ >/usr/include/sys/syslimits.h:65:9: note: previous definition is here >#define IOV_MAX 1024 /* max elements in i/o vector */ > ^ >In file included from bbcp_Config.C:58: >./bbcp_Platform.h:144:9: warning: 'EPROTO' macro redefined >#define EPROTO EPROTOTYPE > ^ >/usr/include/errno.h:174:9: note: previous definition is here >#define EPROTO 92 /* Protocol error */ > ^ >In file included from bbcp_Config.C:60: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Config.C:60: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Config.C:60: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Config.C:60: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Config.C:60: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >bbcp_Config.C:268:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (c=arglist.getopt()) > ~^~~~~~~~~~~~~~~~~ >bbcp_Config.C:268:12: note: place parentheses around the assignment to silence this warning > while (c=arglist.getopt()) > ^ > ( ) >bbcp_Config.C:268:12: note: use '==' to turn this assignment into an equality comparison > while (c=arglist.getopt()) > ^ > == >--- ../obj/FreeBSD/bbcp_Emsg.o --- >1 warning generated. >--- ../obj/FreeBSD/bbcp_File.o --- >Compiling bbcp_File.C >In file included from bbcp_File.C:36: >./bbcp_Platform.h:51:9: warning: 'IOV_MAX' macro redefined >#define IOV_MAX 16 > ^ >/usr/include/sys/syslimits.h:65:9: note: previous definition is here >#define IOV_MAX 1024 /* max elements in i/o vector */ > ^ >In file included from bbcp_File.C:36: >./bbcp_Platform.h:144:9: warning: 'EPROTO' macro redefined >#define EPROTO EPROTOTYPE > ^ >/usr/include/errno.h:174:9: note: previous definition is here >#define EPROTO 92 /* Protocol error */ > ^ >--- ../obj/FreeBSD/bbcp_Config.o --- >bbcp_Config.C:772:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] > else if (!strcmp(argv[1], SnkArg)) > ^ >bbcp_Config.C:778:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ConfigFN = getenv("bbcp_CONFIGFN")) > ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_Config.C:778:17: note: place parentheses around the assignment to silence this warning > if (ConfigFN = getenv("bbcp_CONFIGFN")) > ^ > ( ) >bbcp_Config.C:778:17: note: use '==' to turn this assignment into an equality comparison > if (ConfigFN = getenv("bbcp_CONFIGFN")) > ^ > == >bbcp_Config.C:779:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > {if (retc = Configure(ConfigFN)) return retc;} > ~~~~~^~~~~~~~~~~~~~~~~~~~~ >bbcp_Config.C:779:17: note: place parentheses around the assignment to silence this warning > {if (retc = Configure(ConfigFN)) return retc;} > ^ > ( ) >bbcp_Config.C:779:17: note: use '==' to turn this assignment into an equality comparison > {if (retc = Configure(ConfigFN)) return retc;} > ^ > == >bbcp_Config.C:789:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > else if (retc = Configure(ConfigFN)) return retc; > ~~~~~^~~~~~~~~~~~~~~~~~~~~ >bbcp_Config.C:789:24: note: place parentheses around the assignment to silence this warning > else if (retc = Configure(ConfigFN)) return retc; > ^ > ( ) >bbcp_Config.C:789:24: note: use '==' to turn this assignment into an equality comparison > else if (retc = Configure(ConfigFN)) return retc; > ^ > == >bbcp_Config.C:1364:19: warning: '&&' within '||' [-Wlogical-op-parentheses] > if (!pnum && errno || pnum > 65535) > ~~~~~~^~~~~~~~ ~~ >bbcp_Config.C:1364:19: note: place parentheses around the '&&' expression to silence this warning > if (!pnum && errno || pnum > 65535) > ~~~~~~^~~~~~~~ >bbcp_Config.C:1659:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] > else bbcp_Fmsg("Config", "Error occured processing config file", cfgfn); > ^ >14 warnings generated. >--- ../obj/FreeBSD/bbcp_FileSpec.o --- >Compiling bbcp_FileSpec.C >--- ../obj/FreeBSD/bbcp_File.o --- >In file included from bbcp_File.C:38: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_File.C:38: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_File.C:38: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_File.C:38: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_File.C:38: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >bbcp_File.C:156:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (bp = nextbuff) > ~~~^~~~~~~~~~ >bbcp_File.C:156:11: note: place parentheses around the assignment to silence this warning > if (bp = nextbuff) > ^ > ( ) >bbcp_File.C:156:11: note: use '==' to turn this assignment into an equality comparison > if (bp = nextbuff) > ^ > == >8 warnings generated. >--- ../obj/FreeBSD/bbcp_FileSystem.o --- >Compiling bbcp_FileSystem.C >--- ../obj/FreeBSD/bbcp_FileSpec.o --- >In file included from bbcp_FileSpec.C:39: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FileSpec.C:39: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FileSpec.C:39: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FileSpec.C:39: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FileSpec.C:39: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >bbcp_FileSpec.C:177:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (retc = FSp->Stat(targpath, &Targ)) targetsz = 0; > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_FileSpec.C:177:18: note: place parentheses around the assignment to silence this warning > if (retc = FSp->Stat(targpath, &Targ)) targetsz = 0; > ^ > ( ) >bbcp_FileSpec.C:177:18: note: use '==' to turn this assignment into an equality comparison > if (retc = FSp->Stat(targpath, &Targ)) targetsz = 0; > ^ > == >bbcp_FileSpec.C:214:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (retc = FSp->MKLnk(Info.SLink, targpath)) > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_FileSpec.C:214:13: note: place parentheses around the assignment to silence this warning > if (retc = FSp->MKLnk(Info.SLink, targpath)) > ^ > ( ) >bbcp_FileSpec.C:214:13: note: use '==' to turn this assignment into an equality comparison > if (retc = FSp->MKLnk(Info.SLink, targpath)) > ^ > == >bbcp_FileSpec.C:235:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (retc = FSp->MKDir(targpath, bbcp_Config.ModeDC)) > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_FileSpec.C:235:13: note: place parentheses around the assignment to silence this warning > if (retc = FSp->MKDir(targpath, bbcp_Config.ModeDC)) > ^ > ( ) >bbcp_FileSpec.C:235:13: note: use '==' to turn this assignment into an equality comparison > if (retc = FSp->MKDir(targpath, bbcp_Config.ModeDC)) > ^ > == >bbcp_FileSpec.C:237:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] > else return bbcp_Emsg("Create_Path", retc, "creating path", targpath); > ^ >bbcp_FileSpec.C:767:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (*cp = delim) cp++; > ~~~~^~~~~~~ >bbcp_FileSpec.C:767:18: note: place parentheses around the assignment to silence this warning > if (*cp = delim) cp++; > ^ > ( ) >bbcp_FileSpec.C:767:18: note: use '==' to turn this assignment into an equality comparison > if (*cp = delim) cp++; > ^ > == >10 warnings generated. >--- ../obj/FreeBSD/bbcp_FS_Null.o --- >Compiling bbcp_FS_Null.C >In file included from bbcp_FS_Null.C:34: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Null.C:34: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Null.C:34: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Null.C:34: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Null.C:34: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Null.C:37: >./bbcp_Platform.h:51:9: warning: 'IOV_MAX' macro redefined >#define IOV_MAX 16 > ^ >/usr/include/sys/syslimits.h:65:9: note: previous definition is here >#define IOV_MAX 1024 /* max elements in i/o vector */ > ^ >In file included from bbcp_FS_Null.C:37: >./bbcp_Platform.h:144:9: warning: 'EPROTO' macro redefined >#define EPROTO EPROTOTYPE > ^ >/usr/include/errno.h:174:9: note: previous definition is here >#define EPROTO 92 /* Protocol error */ > ^ >7 warnings generated. >--- ../obj/FreeBSD/bbcp_FS_Pipe.o --- >Compiling bbcp_FS_Pipe.C >In file included from bbcp_FS_Pipe.C:42: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Pipe.C:42: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Pipe.C:42: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Pipe.C:42: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Pipe.C:42: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Pipe.C:46: >./bbcp_Platform.h:144:9: warning: 'EPROTO' macro redefined >#define EPROTO EPROTOTYPE > ^ >/usr/include/errno.h:174:9: note: previous definition is here >#define EPROTO 92 /* Protocol error */ > ^ >--- ../obj/FreeBSD/bbcp_FS_Unix.o --- >Compiling bbcp_FS_Unix.C >In file included from bbcp_FS_Unix.C:46: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Unix.C:46: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Unix.C:46: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Unix.C:46: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Unix.C:46: >In file included from ./bbcp_File.h:33: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_FS_Unix.C:48: >./bbcp_Platform.h:51:9: warning: 'IOV_MAX' macro redefined >#define IOV_MAX 16 > ^ >/usr/include/sys/syslimits.h:65:9: note: previous definition is here >#define IOV_MAX 1024 /* max elements in i/o vector */ > ^ >In file included from bbcp_FS_Unix.C:48: >./bbcp_Platform.h:144:9: warning: 'EPROTO' macro redefined >#define EPROTO EPROTOTYPE > ^ >/usr/include/errno.h:174:9: note: previous definition is here >#define EPROTO 92 /* Protocol error */ > ^ >--- ../obj/FreeBSD/bbcp_FS_Pipe.o --- >6 warnings generated. >--- ../obj/FreeBSD/bbcp_IO.o --- >Compiling bbcp_IO.C >--- ../obj/FreeBSD/bbcp_FS_Unix.o --- >7 warnings generated. >--- ../obj/FreeBSD/bbcp_IO_Null.o --- >Compiling bbcp_IO_Null.C >--- ../obj/FreeBSD/bbcp_IO_Pipe.o --- >Compiling bbcp_IO_Pipe.C >--- ../obj/FreeBSD/bbcp_IO.o --- >bbcp_IO.C:77:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else { > ^ >bbcp_IO.C:89:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else { > ^ >2 warnings generated. >--- ../obj/FreeBSD/bbcp_Link.o --- >Compiling bbcp_Link.C >In file included from bbcp_Link.C:37: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Link.C:37: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Link.C:37: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Link.C:37: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Link.C:37: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >--- ../obj/FreeBSD/bbcp_IO_Pipe.o --- >In file included from bbcp_IO_Pipe.C:35: >In file included from ./bbcp_System.h:33: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_IO_Pipe.C:35: >In file included from ./bbcp_System.h:33: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_IO_Pipe.C:35: >In file included from ./bbcp_System.h:33: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_IO_Pipe.C:35: >In file included from ./bbcp_System.h:33: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_IO_Pipe.C:35: >In file included from ./bbcp_System.h:33: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >5 warnings generated. >--- ../obj/FreeBSD/bbcp_LogFile.o --- >Compiling bbcp_LogFile.C >--- ../obj/FreeBSD/bbcp_Link.o --- >In file included from bbcp_Link.C:43: >./bbcp_Platform.h:51:9: warning: 'IOV_MAX' macro redefined >#define IOV_MAX 16 > ^ >/usr/include/sys/syslimits.h:65:9: note: previous definition is here >#define IOV_MAX 1024 /* max elements in i/o vector */ > ^ >In file included from bbcp_Link.C:43: >./bbcp_Platform.h:144:9: warning: 'EPROTO' macro redefined >#define EPROTO EPROTOTYPE > ^ >/usr/include/errno.h:174:9: note: previous definition is here >#define EPROTO 92 /* Protocol error */ > ^ >In file included from bbcp_Link.C:43: >./bbcp_Platform.h:145:9: warning: 'ENOSR' macro redefined >#define ENOSR EILSEQ > ^ >/usr/include/c++/v1/cerrno:164:9: note: previous definition is here >#define ENOSR 9922 > ^ >8 warnings generated. >--- ../obj/FreeBSD/bbcp_MD5.o --- >Compiling bbcp_MD5.C >--- ../obj/FreeBSD/bbcp_LogFile.o --- >In file included from bbcp_LogFile.C:42: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_LogFile.C:42: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_LogFile.C:42: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_LogFile.C:42: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_LogFile.C:42: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_LogFile.C:43: >./bbcp_Platform.h:51:9: warning: 'IOV_MAX' macro redefined >#define IOV_MAX 16 > ^ >/usr/include/sys/syslimits.h:65:9: note: previous definition is here >#define IOV_MAX 1024 /* max elements in i/o vector */ > ^ >In file included from bbcp_LogFile.C:43: >./bbcp_Platform.h:144:9: warning: 'EPROTO' macro redefined >#define EPROTO EPROTOTYPE > ^ >/usr/include/errno.h:174:9: note: previous definition is here >#define EPROTO 92 /* Protocol error */ > ^ >In file included from bbcp_LogFile.C:43: >./bbcp_Platform.h:145:9: warning: 'ENOSR' macro redefined >#define ENOSR EILSEQ > ^ >/usr/include/c++/v1/cerrno:164:9: note: previous definition is here >#define ENOSR 9922 > ^ >8 warnings generated. >--- ../obj/FreeBSD/bbcp_NetLogger.o --- >Compiling bbcp_Netlogger.c >--- ../obj/FreeBSD/bbcp_NetAddr.o --- >Compiling bbcp_NetAddr.C >--- ../obj/FreeBSD/bbcp_NetAddrInfo.o --- >Compiling bbcp_NetAddrInfo.C >--- ../obj/FreeBSD/bbcp_Network.o --- >Compiling bbcp_Network.C >--- ../obj/FreeBSD/bbcp_Node.o --- >Compiling bbcp_Node.C >--- ../obj/FreeBSD/bbcp_Network.o --- >In file included from bbcp_Network.C:50: >In file included from ./bbcp_Network.h:34: >In file included from ./bbcp_Link.h:35: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Network.C:50: >In file included from ./bbcp_Network.h:34: >In file included from ./bbcp_Link.h:35: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Network.C:50: >In file included from ./bbcp_Network.h:34: >In file included from ./bbcp_Link.h:35: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Network.C:50: >In file included from ./bbcp_Network.h:34: >In file included from ./bbcp_Link.h:35: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Network.C:50: >In file included from ./bbcp_Network.h:34: >In file included from ./bbcp_Link.h:35: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Network.C:52: >./bbcp_Platform.h:51:9: warning: 'IOV_MAX' macro redefined >#define IOV_MAX 16 > ^ >/usr/include/sys/syslimits.h:65:9: note: previous definition is here >#define IOV_MAX 1024 /* max elements in i/o vector */ > ^ >In file included from bbcp_Network.C:52: >./bbcp_Platform.h:144:9: warning: 'EPROTO' macro redefined >#define EPROTO EPROTOTYPE > ^ >/usr/include/errno.h:174:9: note: previous definition is here >#define EPROTO 92 /* Protocol error */ > ^ >In file included from bbcp_Network.C:52: >./bbcp_Platform.h:145:9: warning: 'ENOSR' macro redefined >#define ENOSR EILSEQ > ^ >/usr/include/c++/v1/cerrno:164:9: note: previous definition is here >#define ENOSR 9922 > ^ >bbcp_Network.C:611:54: warning: expression result unused [-Wunused-value] > bbcp_Emsg(who,errno,"setting",(Sender?"sndbuf":"rcvbuf","size")); > ^~~~~~~~ >9 warnings generated. >--- ../obj/FreeBSD/bbcp_ProcMon.o --- >Compiling bbcp_ProcMon.C >--- ../obj/FreeBSD/bbcp_Node.o --- >In file included from bbcp_Node.C:35: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Node.C:35: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Node.C:35: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Node.C:35: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Node.C:35: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >bbcp_Node.C:97:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (link = bbcp_Net.Connect(bbcp_Config.CBhost, bbcp_Config.CBport)) > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_Node.C:97:15: note: place parentheses around the assignment to silence this warning > if (link = bbcp_Net.Connect(bbcp_Config.CBhost, bbcp_Config.CBport)) > ^ > ( ) >bbcp_Node.C:97:15: note: use '==' to turn this assignment into an equality comparison > if (link = bbcp_Net.Connect(bbcp_Config.CBhost, bbcp_Config.CBport)) > ^ > == >bbcp_Node.C:357:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > {if (retc = fp->WriteSigFile()) return retc; > ~~~~~^~~~~~~~~~~~~~~~~~~~ >bbcp_Node.C:357:22: note: place parentheses around the assignment to silence this warning > {if (retc = fp->WriteSigFile()) return retc; > ^ > ( ) >bbcp_Node.C:357:22: note: use '==' to turn this assignment into an equality comparison > {if (retc = fp->WriteSigFile()) return retc; > ^ > == >bbcp_Node.C:358:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (startoff = fp->targetsz) oflag = O_WRONLY; > ~~~~~~~~~^~~~~~~~~~~~~~ >bbcp_Node.C:358:26: note: place parentheses around the assignment to silence this warning > if (startoff = fp->targetsz) oflag = O_WRONLY; > ^ > ( ) >bbcp_Node.C:358:26: note: use '==' to turn this assignment into an equality comparison > if (startoff = fp->targetsz) oflag = O_WRONLY; > ^ > == >bbcp_Node.C:371:28: warning: '&' within '|' [-Wbitwise-op-parentheses] > if (bbcp_Config.Options & bbcp_BLAB | bbcp_Config.Progint) > ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~ >bbcp_Node.C:371:28: note: place parentheses around the '&' expression to silence this warning > if (bbcp_Config.Options & bbcp_BLAB | bbcp_Config.Progint) > ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ >bbcp_Node.C:467:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > {if (tretc = (long)bbcp_Thread_Wait(cxp->TID)) retc = 128; > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_Node.C:467:18: note: place parentheses around the assignment to silence this warning > {if (tretc = (long)bbcp_Thread_Wait(cxp->TID)) retc = 128; > ^ > ( ) >bbcp_Node.C:467:18: note: use '==' to turn this assignment into an equality comparison > {if (tretc = (long)bbcp_Thread_Wait(cxp->TID)) retc = 128; > ^ > == >bbcp_Node.C:481:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > {if (tretc = (long)bbcp_Thread_Wait(link_tid[i])) retc = 128; > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_Node.C:481:19: note: place parentheses around the assignment to silence this warning > {if (tretc = (long)bbcp_Thread_Wait(link_tid[i])) retc = 128; > ^ > ( ) >bbcp_Node.C:481:19: note: use '==' to turn this assignment into an equality comparison > {if (tretc = (long)bbcp_Thread_Wait(link_tid[i])) retc = 128; > ^ > == >bbcp_Node.C:621:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > {if (tretc = (long)bbcp_Thread_Wait(cxp->TID)) retc = 128; > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_Node.C:621:18: note: place parentheses around the assignment to silence this warning > {if (tretc = (long)bbcp_Thread_Wait(cxp->TID)) retc = 128; > ^ > ( ) >bbcp_Node.C:621:18: note: use '==' to turn this assignment into an equality comparison > {if (tretc = (long)bbcp_Thread_Wait(cxp->TID)) retc = 128; > ^ > == >bbcp_Node.C:629:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > {if (tretc = (long)bbcp_Thread_Wait(link_tid[i])) retc = 128; > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_Node.C:629:19: note: place parentheses around the assignment to silence this warning > {if (tretc = (long)bbcp_Thread_Wait(link_tid[i])) retc = 128; > ^ > ( ) >bbcp_Node.C:629:19: note: use '==' to turn this assignment into an equality comparison > {if (tretc = (long)bbcp_Thread_Wait(link_tid[i])) retc = 128; > ^ > == >bbcp_Node.C:738:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (link = bbcp_Net.Connect(bbcp_Config.CBhost, bbcp_Config.CBport, 3)) > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_Node.C:738:13: note: place parentheses around the assignment to silence this warning > if (link = bbcp_Net.Connect(bbcp_Config.CBhost, bbcp_Config.CBport, 3)) > ^ > ( ) >bbcp_Node.C:738:13: note: use '==' to turn this assignment into an equality comparison > if (link = bbcp_Net.Connect(bbcp_Config.CBhost, bbcp_Config.CBport, 3)) > ^ > == >14 warnings generated. >--- ../obj/FreeBSD/bbcp_ProgMon.o --- >Compiling bbcp_ProgMon.C >--- ../obj/FreeBSD/bbcp_ProcMon.o --- >In file included from bbcp_ProcMon.C:34: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ProcMon.C:34: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ProcMon.C:34: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ProcMon.C:34: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ProcMon.C:34: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >bbcp_ProcMon.C:135:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (retc = bbcp_Thread_Run(bbcp_MonProc, (void *)this, &mytid)) > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_ProcMon.C:135:13: note: place parentheses around the assignment to silence this warning > if (retc = bbcp_Thread_Run(bbcp_MonProc, (void *)this, &mytid)) > ^ > ( ) >bbcp_ProcMon.C:135:13: note: use '==' to turn this assignment into an equality comparison > if (retc = bbcp_Thread_Run(bbcp_MonProc, (void *)this, &mytid)) > ^ > == >bbcp_ProcMon.C:157:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (retc = bbcp_Thread_Run(bbcp_MonProc, (void *)this, &mytid)) > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_ProcMon.C:157:13: note: place parentheses around the assignment to silence this warning > if (retc = bbcp_Thread_Run(bbcp_MonProc, (void *)this, &mytid)) > ^ > ( ) >bbcp_ProcMon.C:157:13: note: use '==' to turn this assignment into an equality comparison > if (retc = bbcp_Thread_Run(bbcp_MonProc, (void *)this, &mytid)) > ^ > == >7 warnings generated. >--- ../obj/FreeBSD/bbcp_Protocol.o --- >Compiling bbcp_Protocol.C >--- ../obj/FreeBSD/bbcp_ProgMon.o --- >In file included from bbcp_ProgMon.C:33: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ProgMon.C:33: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ProgMon.C:33: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ProgMon.C:33: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ProgMon.C:33: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >bbcp_ProgMon.C:149:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (retc = bbcp_Thread_Run(bbcp_MonProg, (void *)this, &mytid)) > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_ProgMon.C:149:13: note: place parentheses around the assignment to silence this warning > if (retc = bbcp_Thread_Run(bbcp_MonProg, (void *)this, &mytid)) > ^ > ( ) >bbcp_ProgMon.C:149:13: note: use '==' to turn this assignment into an equality comparison > if (retc = bbcp_Thread_Run(bbcp_MonProg, (void *)this, &mytid)) > ^ > == >6 warnings generated. >--- ../obj/FreeBSD/bbcp_Pthread.o --- >Compiling bbcp_Pthread.C >--- ../obj/FreeBSD/bbcp_Protocol.o --- >In file included from bbcp_Protocol.C:35: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Protocol.C:35: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Protocol.C:35: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Protocol.C:35: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Protocol.C:35: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >bbcp_Protocol.C:89:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (retc = Fnode->Run(Ffs->username, Ffs->hostname, Fcmd, Ftype)) > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_Protocol.C:89:13: note: place parentheses around the assignment to silence this warning > if (retc = Fnode->Run(Ffs->username, Ffs->hostname, Fcmd, Ftype)) > ^ > ( ) >bbcp_Protocol.C:89:13: note: use '==' to turn this assignment into an equality comparison > if (retc = Fnode->Run(Ffs->username, Ffs->hostname, Fcmd, Ftype)) > ^ > == >bbcp_Protocol.C:104:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (retc = SendArgs(Fnode, Ffs, (char *)"none", 0, addOpt[0])) return retc; > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_Protocol.C:104:13: note: place parentheses around the assignment to silence this warning > if (retc = SendArgs(Fnode, Ffs, (char *)"none", 0, addOpt[0])) return retc; > ^ > ( ) >bbcp_Protocol.C:104:13: note: use '==' to turn this assignment into an equality comparison > if (retc = SendArgs(Fnode, Ffs, (char *)"none", 0, addOpt[0])) return retc; > ^ > == >bbcp_Protocol.C:108:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (retc = getCBPort(Fnode)) return retc; > ~~~~~^~~~~~~~~~~~~~~~~~ >bbcp_Protocol.C:108:13: note: place parentheses around the assignment to silence this warning > if (retc = getCBPort(Fnode)) return retc; > ^ > ( ) >bbcp_Protocol.C:108:13: note: use '==' to turn this assignment into an equality comparison > if (retc = getCBPort(Fnode)) return retc; > ^ > == >bbcp_Protocol.C:112:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (retc = Lnode->Run(Lfs->username, Lfs->hostname, Lcmd, Ltype)) > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_Protocol.C:112:13: note: place parentheses around the assignment to silence this warning > if (retc = Lnode->Run(Lfs->username, Lfs->hostname, Lcmd, Ltype)) > ^ > ( ) >bbcp_Protocol.C:112:13: note: use '==' to turn this assignment into an equality comparison > if (retc = Lnode->Run(Lfs->username, Lfs->hostname, Lcmd, Ltype)) > ^ > == >bbcp_Protocol.C:155:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (wp = Node->GetLine()) > ~~~^~~~~~~~~~~~~~~~~ >bbcp_Protocol.C:155:11: note: place parentheses around the assignment to silence this warning > if (wp = Node->GetLine()) > ^ > ( ) >bbcp_Protocol.C:155:11: note: use '==' to turn this assignment into an equality comparison > if (wp = Node->GetLine()) > ^ > == >bbcp_Protocol.C:411:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (wp = Remote->GetToken()) > ~~~^~~~~~~~~~~~~~~~~~~~ >bbcp_Protocol.C:411:11: note: place parentheses around the assignment to silence this warning > if (wp = Remote->GetToken()) > ^ > ( ) >bbcp_Protocol.C:411:11: note: use '==' to turn this assignment into an equality comparison > if (wp = Remote->GetToken()) > ^ > == >bbcp_Protocol.C:450:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > {if (retc = np->LastError()) > ~~~~~^~~~~~~~~~~~~~~~~ >bbcp_Protocol.C:450:17: note: place parentheses around the assignment to silence this warning > {if (retc = np->LastError()) > ^ > ( ) >bbcp_Protocol.C:450:17: note: use '==' to turn this assignment into an equality comparison > {if (retc = np->LastError()) > ^ > == >bbcp_Protocol.C:552:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (plen = bbcp_Config.snkSpec->filename - > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_Protocol.C:552:22: note: place parentheses around the assignment to silence this warning > if (plen = bbcp_Config.snkSpec->filename - > ^ >bbcp_Protocol.C:552:22: note: use '==' to turn this assignment into an equality comparison > if (plen = bbcp_Config.snkSpec->filename - > ^ > == >bbcp_Protocol.C:565:36: warning: '&&' within '||' [-Wlogical-op-parentheses] > && Tinfo.Otype != 'd') && outDir) retc = ENOTDIR; > ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ >bbcp_Protocol.C:565:36: note: place parentheses around the '&&' expression to silence this warning > && Tinfo.Otype != 'd') && outDir) retc = ENOTDIR; > ^ >14 warnings generated. >--- ../obj/FreeBSD/bbcp_RTCopy.o --- >Compiling bbcp_RTCopy.C >--- ../obj/FreeBSD/bbcp_Pthread.o --- >In file included from bbcp_Pthread.C:34: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Pthread.C:34: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Pthread.C:34: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Pthread.C:34: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Pthread.C:34: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >bbcp_Pthread.C:218:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (retc = pthread_join(tid, (void **)&tstat)) tstat = (void *)retc; > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_Pthread.C:218:15: note: place parentheses around the assignment to silence this warning > if (retc = pthread_join(tid, (void **)&tstat)) tstat = (void *)retc; > ^ > ( ) >bbcp_Pthread.C:218:15: note: use '==' to turn this assignment into an equality comparison > if (retc = pthread_join(tid, (void **)&tstat)) tstat = (void *)retc; > ^ > == >6 warnings generated. >--- ../obj/FreeBSD/bbcp_Set.o --- >Compiling bbcp_Set.C >--- ../obj/FreeBSD/bbcp_Stream.o --- >Compiling bbcp_Stream.C >--- ../obj/FreeBSD/bbcp_RTCopy.o --- >In file included from bbcp_RTCopy.C:36: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_RTCopy.C:36: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_RTCopy.C:36: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_RTCopy.C:36: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_RTCopy.C:36: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >5 warnings generated. >--- ../obj/FreeBSD/bbcp_System.o --- >Compiling bbcp_System.C >--- ../obj/FreeBSD/bbcp_Stream.o --- >In file included from bbcp_Stream.C:48: >In file included from ./bbcp_System.h:33: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Stream.C:48: >In file included from ./bbcp_System.h:33: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Stream.C:48: >In file included from ./bbcp_System.h:33: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Stream.C:48: >In file included from ./bbcp_System.h:33: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Stream.C:48: >In file included from ./bbcp_System.h:33: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >bbcp_Stream.C:209:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (retc = Attach(fildes_Out)) return retc; > ~~~~~^~~~~~~~~~~~~~~~~~~~ >bbcp_Stream.C:209:18: note: place parentheses around the assignment to silence this warning > if (retc = Attach(fildes_Out)) return retc; > ^ > ( ) >bbcp_Stream.C:209:18: note: use '==' to turn this assignment into an equality comparison > if (retc = Attach(fildes_Out)) return retc; > ^ > == >bbcp_Stream.C:439:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (wp = GetToken(lowcase)) return wp; > ~~~^~~~~~~~~~~~~~~~~~~ >bbcp_Stream.C:439:13: note: place parentheses around the assignment to silence this warning > if (wp = GetToken(lowcase)) return wp; > ^ > ( ) >bbcp_Stream.C:439:13: note: use '==' to turn this assignment into an equality comparison > if (wp = GetToken(lowcase)) return wp; > ^ > == >7 warnings generated. >--- ../obj/FreeBSD/bbcp_Timer.o --- >Compiling bbcp_Timer.C >--- ../obj/FreeBSD/bbcp_Version.o --- >Compiling bbcp_Version.C >--- ../obj/FreeBSD/bbcp_System.o --- >In file included from bbcp_System.C:43: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_System.C:43: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_System.C:43: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_System.C:43: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_System.C:43: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_System.C:46: >./bbcp_Platform.h:51:9: warning: 'IOV_MAX' macro redefined >#define IOV_MAX 16 > ^ >/usr/include/sys/syslimits.h:65:9: note: previous definition is here >#define IOV_MAX 1024 /* max elements in i/o vector */ > ^ >In file included from bbcp_System.C:46: >./bbcp_Platform.h:144:9: warning: 'EPROTO' macro redefined >#define EPROTO EPROTOTYPE > ^ >/usr/include/errno.h:174:9: note: previous definition is here >#define EPROTO 92 /* Protocol error */ > ^ >In file included from bbcp_System.C:46: >./bbcp_Platform.h:145:9: warning: 'ENOSR' macro redefined >#define ENOSR EILSEQ > ^ >/usr/include/c++/v1/cerrno:164:9: note: previous definition is here >#define ENOSR 9922 > ^ >bbcp_System.C:111:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (gp = getgrnam(group)) gid = gp->gr_gid; > ~~~^~~~~~~~~~~~~~~~~ >bbcp_System.C:111:11: note: place parentheses around the assignment to silence this warning > if (gp = getgrnam(group)) gid = gp->gr_gid; > ^ > ( ) >bbcp_System.C:111:11: note: use '==' to turn this assignment into an equality comparison > if (gp = getgrnam(group)) gid = gp->gr_gid; > ^ > == >bbcp_System.C:129:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (gp = getgrgid(gid)) gnmp = gp->gr_name; > ~~~^~~~~~~~~~~~~~~ >bbcp_System.C:129:11: note: place parentheses around the assignment to silence this warning > if (gp = getgrgid(gid)) gnmp = gp->gr_name; > ^ > ( ) >bbcp_System.C:129:11: note: use '==' to turn this assignment into an equality comparison > if (gp = getgrgid(gid)) gnmp = gp->gr_name; > ^ > == >bbcp_System.C:154:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (pwp = getpwuid(myuid)) homedir = pwp->pw_dir; > ~~~~^~~~~~~~~~~~~~~~~ >bbcp_System.C:154:12: note: place parentheses around the assignment to silence this warning > if (pwp = getpwuid(myuid)) homedir = pwp->pw_dir; > ^ > ( ) >bbcp_System.C:154:12: note: use '==' to turn this assignment into an equality comparison > if (pwp = getpwuid(myuid)) homedir = pwp->pw_dir; > ^ > == >bbcp_System.C:173:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = cmdstream.Exec(cmd)) rc = cmdstream.LastError(); > ~~~^~~~~~~~~~~~~~~~~~~~~ >bbcp_System.C:173:12: note: place parentheses around the assignment to silence this warning > if (rc = cmdstream.Exec(cmd)) rc = cmdstream.LastError(); > ^ > ( ) >bbcp_System.C:173:12: note: use '==' to turn this assignment into an equality comparison > if (rc = cmdstream.Exec(cmd)) rc = cmdstream.LastError(); > ^ > == >bbcp_System.C:221:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (pwp = getpwuid(myuid)) uname = pwp->pw_name; > ~~~~^~~~~~~~~~~~~~~~~ >bbcp_System.C:221:12: note: place parentheses around the assignment to silence this warning > if (pwp = getpwuid(myuid)) uname = pwp->pw_name; > ^ > ( ) >bbcp_System.C:221:12: note: use '==' to turn this assignment into an equality comparison > if (pwp = getpwuid(myuid)) uname = pwp->pw_name; > ^ > == >13 warnings generated. >--- ../obj/FreeBSD/bbcp_ZCX.o --- >Compiling bbcp_ZCX.C >In file included from bbcp_ZCX.C:34: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ZCX.C:34: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ZCX.C:34: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ZCX.C:34: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_ZCX.C:34: >In file included from ./bbcp_BuffPool.h:34: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >--- ../obj/FreeBSD/bbcp_Version.o --- >In file included from bbcp_Version.C:31: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:143:51: warning: expression result unused [-Wunused-value] > {throw "sem_CondWait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Version.C:31: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:149:52: warning: expression result unused [-Wunused-value] > {throw "sem_post() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Version.C:31: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:154:57: warning: expression result unused [-Wunused-value] > if (rc) {throw "sem_wait() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Version.C:31: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:158:64: warning: expression result unused [-Wunused-value] > {throw "sem_init() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >In file included from bbcp_Version.C:31: >In file included from ./bbcp_Config.h:34: >In file included from ./bbcp_LogFile.h:36: >./bbcp_Pthread.h:161:55: warning: expression result unused [-Wunused-value] > {throw "sem_destroy() failed", errno;} > ^~~~~ >/usr/include/errno.h:46:17: note: expanded from macro 'errno' >#define errno (* __error()) > ^ ~~~~~~~~~ >5 warnings generated. >--- ../obj/FreeBSD/NetLogger.o --- >Compiling NetLogger.c >--- ../obj/FreeBSD/bbcp_ZCX.o --- >In file included from bbcp_ZCX.C:38: >./bbcp_Platform.h:51:9: warning: 'IOV_MAX' macro redefined >#define IOV_MAX 16 > ^ >/usr/include/sys/syslimits.h:65:9: note: previous definition is here >#define IOV_MAX 1024 /* max elements in i/o vector */ > ^ >In file included from bbcp_ZCX.C:38: >./bbcp_Platform.h:144:9: warning: 'EPROTO' macro redefined >#define EPROTO EPROTOTYPE > ^ >/usr/include/errno.h:174:9: note: previous definition is here >#define EPROTO 92 /* Protocol error */ > ^ >In file included from bbcp_ZCX.C:38: >./bbcp_Platform.h:145:9: warning: 'ENOSR' macro redefined >#define ENOSR EILSEQ > ^ >/usr/include/c++/v1/cerrno:164:9: note: previous definition is here >#define ENOSR 9922 > ^ >bbcp_ZCX.C:147:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (obp->blen = outsz - ZStream.avail_out) > ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >bbcp_ZCX.C:147:18: note: place parentheses around the assignment to silence this warning > if (obp->blen = outsz - ZStream.avail_out) > ^ > ( ) >bbcp_ZCX.C:147:18: note: use '==' to turn this assignment into an equality comparison > if (obp->blen = outsz - ZStream.avail_out) > ^ > == >9 warnings generated. >--- ../bin/FreeBSD/bbcp --- >Creating executable ../bin/FreeBSD/bbcp ... >Make done. >===> Staging for bbcp-20150113 >===> Generating temporary packing list >install -s -o root -g wheel -m 555 /usr/ports/sysutils/bbcp/work/bbcp-20150113/bin/FreeBSD/bbcp /usr/ports/sysutils/bbcp/work/stage/usr/local/bin >install -o root -g wheel -m 0644 /usr/ports/sysutils/bbcp/work/bbcp-20150113/bbcp.pdf /usr/ports/sysutils/bbcp/work/stage/usr/local/share/doc/bbcp/bbcp.pdf >====> Compressing man pages (compress-man) >====> Running Q/A tests (stage-qa) >====> Checking for pkg-plist issues (check-plist) >===> Parsing plist >===> Checking for items in STAGEDIR missing from pkg-plist >===> Checking for items in pkg-plist which are not in STAGEDIR >===> No pkg-plist issues found (check-plist) > ># make stage-qa >====> Running Q/A tests (stage-qa) > ># make check-sanity >===> License LGPL20 accepted by the user > ># portlint >looks fine. > ># uname >FreeBSD dev.box 11.0-CURRENT FreeBSD 11.0-CURRENT #0 >root@dev.box:/usr/obj/usr/src/sys/DEVBOX amd64 > ># exit >exit > >Script done on Wed Jan 14 19:06:21 2015
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 196746
:
151654
|
151656
|
151657
|
151658
|
151659
| 151660