Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/lcgdm.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-36a15752a70d576dbd0ecbd043fb64be15a7e434/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/lcgdm.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/lcgdm-1.9.0-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/lcgdm.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-36a15752a70d576dbd0ecbd043fb64be15a7e434/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/lcgdm.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t0usuR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lcgdm-1.9.0 + /usr/bin/mkdir -p lcgdm-1.9.0 + cd lcgdm-1.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf lcgdm-1.9.0/lfc-mysql + /usr/bin/mkdir -p lcgdm-1.9.0/lfc-mysql + cd lcgdm-1.9.0/lfc-mysql + /usr/bin/gzip -dc /builddir/build/SOURCES/lcgdm-1.9.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf lcgdm-1.9.0/dpm-mysql + /usr/bin/mkdir -p lcgdm-1.9.0/dpm-mysql + cd lcgdm-1.9.0/dpm-mysql + /usr/bin/gzip -dc /builddir/build/SOURCES/lcgdm-1.9.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd lcgdm-1.9.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/lcgdm-unitfiles.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd lcgdm-1.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ~/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0 ~/build/BUILD/lcgdm-1.9.0 Patch #0 (lcgdm-python-exception.patch): + for d in lfc-mysql dpm-mysql + pushd lfc-mysql/lcgdm-1.9.0 + echo 'Patch #0 (lcgdm-python-exception.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-python-exception.patch + /usr/bin/patch -p1 --fuzz=0 patching file ns/Cns-python_typemaps.i Patch #1 (lcgdm-dpm-listspaces-dav.patch): + echo 'Patch #1 (lcgdm-dpm-listspaces-dav.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-dpm-listspaces-dav.patch + /usr/bin/patch -p0 --fuzz=0 patching file dpm/dpm-listspaces Hunk #1 succeeded at 805 (offset 3 lines). + chmod 644 security/globus_gsi_gss_constants.h security/globus_i_gsi_credential.h security/gssapi_openssl.h + chmod 644 doc/lfc/INSTALL-client doc/lfc/INSTALL-server-mysql doc/lfc/INSTALL-server-oracle doc/lfc/INSTALL-server-postgres + sed 's:^CC +=:& -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink:' -i config/linux.cf + sed 's/i386/'\''i386'\''/' -i config/linux.cf ~/build/BUILD/lcgdm-1.9.0 ~/build/BUILD/lcgdm-1.9.0/dpm-mysql/lcgdm-1.9.0 ~/build/BUILD/lcgdm-1.9.0 Patch #0 (lcgdm-python-exception.patch): + popd + for d in lfc-mysql dpm-mysql + pushd dpm-mysql/lcgdm-1.9.0 + echo 'Patch #0 (lcgdm-python-exception.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-python-exception.patch + /usr/bin/patch -p1 --fuzz=0 patching file ns/Cns-python_typemaps.i + echo 'Patch #1 (lcgdm-dpm-listspaces-dav.patch):' Patch #1 (lcgdm-dpm-listspaces-dav.patch): + /usr/bin/cat /builddir/build/SOURCES/lcgdm-dpm-listspaces-dav.patch + /usr/bin/patch -p0 --fuzz=0 patching file dpm/dpm-listspaces Hunk #1 succeeded at 805 (offset 3 lines). + chmod 644 security/globus_gsi_gss_constants.h security/globus_i_gsi_credential.h security/gssapi_openssl.h + chmod 644 doc/lfc/INSTALL-client doc/lfc/INSTALL-server-mysql doc/lfc/INSTALL-server-oracle doc/lfc/INSTALL-server-postgres + sed 's:^CC +=:& -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink:' -i config/linux.cf + sed 's/i386/'\''i386'\''/' -i config/linux.cf ~/build/BUILD/lcgdm-1.9.0 + popd + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rD6Gee + umask 022 + cd /builddir/build/BUILD + cd lcgdm-1.9.0 ++ soapcpp2 -v ++ grep C++ ++ sed 's/.* //' ~/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0 ~/build/BUILD/lcgdm-1.9.0 + gsoapversion=2.8.16 + pushd lfc-mysql/lcgdm-1.9.0 + ./configure lfc --without-argus --with-mysql --libdir=lib --with-gsoap-version=2.8.16 --with-id-map-file=/etc/lcgdm-mapfile --with-ns-config-file=/etc/NSCONFIG '--with-etc-dir=$(prefix)/../etc' --with-emi make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0' h: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/h' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/h' lib: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/lib' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/lib' shlib: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/shlib' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/shlib' common: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/common' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/common' ns: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/ns' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/ns' security: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/security' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/security' dli: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/dli' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/dli' test: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/test' ns: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/test/ns' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/test/ns' make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/test' make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0' + make -f Makefile.ini Makefiles make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0' h: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/h' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/h' lib: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/lib' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/lib' shlib: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/shlib' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/shlib' common: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/common' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/common' ns: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/ns' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/ns' security: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/security' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/security' dli: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/dli' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/dli' test: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/test' ns: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/test/ns' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/test/ns' make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/test' make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0' ++ pkg-config --cflags gsoap + make -j4 'SOAPFLG=-DWITH_IPV6 -DWITH_NO_IPV6_V6ONLY -DWITH_DOM ' h: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/h' sed -e "s/__BASEVERSION__/\"1.9.0\"/" -e "s/__PATCHLEVEL__/1/" -e "s/__TIMESTAMP__/\"`date +%s`\"/" patchlevel.in > patchlevel.h make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/h' lib: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/lib' cd ../ns ; make libns.a cd ../common ; make libcommon.a cd ../security ; make libsecurity.a make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/common' g++ -g -fPIC -I../h -lstdc++ -ldl -c -o UtilsPthread.o UtilsPthread.cc g++ -g -fPIC -I../h -lstdc++ -ldl -c -o LcgdmDbPool.o LcgdmDbPool.cc make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/security' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -DLIBDIR='"/usr/lib"' -c -o Csec_api_loader.o Csec_api_loader.c Csec_api_loader.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Csec_api_loader.c,v $ $Revision: 6384 $ $Date: 2012-06-06 16:39:34 +0200 (Wed, 06 Jun 2012) $ CERN IT/ADC/CA Benjamin Couturier"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -c -o Csec_protocol_policy.o Csec_protocol_policy.c Csec_protocol_policy.c: In function 'Csec_initialize_protocols_from_list': Csec_protocol_policy.c:1049:7: warning: unused variable 'rc' [-Wunused-variable] int rc, i; ^ Csec_protocol_policy.c: At top level: Csec_protocol_policy.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Csec_protocol_policy.c,v $ $Revision: 9881 $ $Date: 2013-12-16 08:59:20 +0100 (Mon, 16 Dec 2013) $ IT/ADC/CA Benjamin Couturier"; ^ g++ -g -fPIC -I../h -lstdc++ -ldl -c -o LcgdmDbPool_C.o LcgdmDbPool_C.cc cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -c -o Csec_api.o Csec_api.c make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/ns' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_aborttrans.o Cns_aborttrans.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o getconfent.o getconfent.c Csec_api.c: In function 'Csec_server_reinitContext': Csec_api.c:182:9: warning: unused variable 'func' [-Wunused-variable] char *func="Csec_server_reinitContext"; ^ Csec_api.c: In function 'Csec_client_get_service_type': Csec_api.c:684:9: warning: unused variable 'func' [-Wunused-variable] char *func = "Csec_client_get_service_type"; ^ Cns_aborttrans.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_aborttrans.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ Csec_api.c: In function 'Csec_server_getClientId': Csec_api.c:1019:9: warning: unused variable 'func' [-Wunused-variable] char *func = "Csec_server_getClientId"; ^ Csec_api.c: At top level: Csec_api.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Csec_api.c,v $ $Revision: 6384 $ $Date: 2012-06-06 16:39:34 +0200 (Wed, 06 Jun 2012) $ CERN IT/ADC/CA Benjamin Couturier"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_access.o Cns_access.c getconfent.c:7:13: warning: 'cvsId' defined but not used [-Wunused-variable] static char cvsId[] = "@(#)$RCSfile: getconfent.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:19 $ CERN IT-PDP/DM Olof Barring"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o getfilep.o getfilep.c Cns_access.c: In function 'lfc_access': Cns_access.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ getfilep.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: getfilep.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:19 $ CERN/IT/PDP/DM Frederic Hemmer"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o getifnam.o getifnam.c Cns_access.c: At top level: Cns_access.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_access.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Csec_protocol_policy.c: In function 'Csec_client_negociate_protocol': Csec_protocol_policy.c:1030:8: warning: 'failure_reason' may be used uninitialized in this function [-Wmaybe-uninitialized] if (failure_reason == ESEC_PROTNOTSUPP) { ^ getifnam.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: getifnam.c,v $ $Revision: 1.5 $ $Date: 2008/02/15 07:40:39 $ CERN/IT/PDP/DM Frederic Hemmer"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_addreplica.o Cns_addreplica.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o getuser.o getuser.c Cns_addreplica.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_addreplica.c,v $ $Revision: 1.4 $ $Date: 2006/12/01 09:19:37 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ getuser.c: In function 'get_user': getuser.c:77:9: warning: variable 'counter' set but not used [-Wunused-but-set-variable] int counter ; ^ getuser.c: At top level: getuser.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: getuser.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:19 $ CERN IT/ADC/CA Jean-Damien Durand"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_apiinit.o Cns_apiinit.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o isTrustedHost.o isTrustedHost.c Cns_apiinit.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_apiinit.c,v $ $Revision: 1.1.1.1 $ $Date: 2004/08/18 14:55:23 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_auth.o Cns_auth.c isTrustedHost.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: isTrustedHost.c,v $ $Revision: 1.8 $ $Date: 2008/01/31 11:41:39 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ Cns_auth.c: In function 'lfc_client_setVOMS_data': Cns_auth.c:109:5: warning: implicit declaration of function 'Cglobals_get_dynamic' [-Wimplicit-function-declaration] if (Cglobals_get_dynamic(&voname_key, &thip->voname, ^ Cns_auth.c: At top level: Cns_auth.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_auth.c,v $ $Revision: 1.3 $ $Date: 2006/08/28 07:47:57 $ CERN IT-GD/SC Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o log.o log.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_chclass.o Cns_chclass.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_chdir.o Cns_chdir.c log.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: log.c,v $ $Revision: 1.4 $ $Date: 2008/01/29 15:04:42 $ CERN IT/ADC/CA Jean-Damien Durand"; ^ log.c: In function 'logit': log.c:181:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd,line,strlen(line)) ; ^ Cns_chclass.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_chclass.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_chdir.c: In function 'lfc_chdir': Cns_chdir.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_chdir.c: At top level: Cns_chdir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_chdir.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_chmod.o Cns_chmod.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o marshall.o marshall.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_chown.o Cns_chown.c marshall.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: marshall.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:19 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -c -o Csec_errmsg.o Csec_errmsg.c Cns_chmod.c: In function 'lfc_chmod': Cns_chmod.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_chmod.c: At top level: Cns_chmod.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_chmod.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o remote.o remote.c Cns_chown.c: In function 'lfc_chown': Cns_chown.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_chown.c: In function 'lfc_lchown': Cns_chown.c:98:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_chown.c: At top level: Cns_chown.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_chown.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_closedir.o Cns_closedir.c Csec_errmsg.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Csec_errmsg.c,v $ $Revision: 1.4 $ $Date: 2008/09/29 08:02:48 $ CERN IT/ADC/CA Benjamin Couturier"; ^ Cns_closedir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_closedir.c,v $ $Revision: 1.4 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ remote.c:7:13: warning: 'cvsId' defined but not used [-Wunused-variable] static char cvsId[] = "@(#)$RCSfile: remote.c,v $ $Revision: 1.8 $ $Date: 2008/10/29 10:08:53 $ CERN/IT/PDP/DM Olof Barring"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_creat.o Cns_creat.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delcomment.o Cns_delcomment.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -c -o Csec_apiinit.o Csec_apiinit.c Cns_creat.c: In function 'lfc_creatc': Cns_creat.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_creat.c: At top level: Cns_creat.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_creat.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_delcomment.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_delcomment.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -c -o Csec_common.o Csec_common.c Csec_apiinit.c: In function 'Csec_apiinit': Csec_apiinit.c:26:9: warning: unused variable 'envar' [-Wunused-variable] char *envar; ^ Csec_apiinit.c: At top level: Csec_apiinit.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Csec_apiinit.c,v $ $Revision: 1.2 $ $Date: 2008/01/10 08:28:00 $ CERN IT-ADC-CA Benjamin Couturier"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delete.o Cns_delete.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_deleteclass.o Cns_deleteclass.c Csec_common.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Csec_common.c,v $ $Revision: 1.10 $ $Date: 2008/09/29 08:02:48 $ CERN IT/ADC/CA Benjamin Couturier"; ^ Csec_common.c: In function 'Csec_trace': Csec_common.c:93:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, prtbuf, strlen(prtbuf)); ^ Cns_delete.c: In function 'lfc_delete': Cns_delete.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_delete.c: At top level: Cns_delete.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_delete.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_deleteclass.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_deleteclass.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delfilesbyguid.o Cns_delfilesbyguid.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delfilesbyname.o Cns_delfilesbyname.c Cns_delfilesbyguid.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_delfilesbyguid.c,v $ $Revision: 3814 $ $Date: 2010-09-21 15:54:34 +0200 (Tue, 21 Sep 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ Cns_delfilesbyname.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_delfilesbyname.c,v $ $Revision: 3814 $ $Date: 2010-09-21 15:54:34 +0200 (Tue, 21 Sep 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ ar rv libsecurity.a Csec_api_loader.o Csec_protocol_policy.o Csec_api.o Csec_errmsg.o Csec_apiinit.o Csec_common.o ar: creating libsecurity.a a - Csec_api_loader.o a - Csec_protocol_policy.o a - Csec_api.o a - Csec_errmsg.o a - Csec_apiinit.o a - Csec_common.o ranlib libsecurity.a cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delfilesbypattern.o Cns_delfilesbypattern.c make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/security' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o serror.o serror.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delreplica.o Cns_delreplica.c serror.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: serror.c,v $ $Revision: 1.6 $ $Date: 2008/01/29 15:04:42 $ CERN IT-PDP/DM Olof Barring"; ^ Cns_delfilesbypattern.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_delfilesbypattern.c,v $ $Revision: 1.1 $ $Date: 2007/12/13 11:59:47 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ Cns_delreplica.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_delreplica.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delreplicas.o Cns_delreplicas.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delreplicasbysfn.o Cns_delreplicasbysfn.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_du.o Cns_du.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o setnetio.o setnetio.c Cns_delreplicas.c: In function 'lfc_delreplicas': Cns_delreplicas.c:31:6: warning: unused variable 'argtype' [-Wunused-variable] int argtype = 0; ^ Cns_delreplicas.c: At top level: Cns_delreplicas.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_delreplicas.c,v $ $Revision: 3814 $ $Date: 2010-09-21 15:54:34 +0200 (Tue, 21 Sep 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ Cns_delreplicasbysfn.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_delreplicasbysfn.c,v $ $Revision: 3814 $ $Date: 2010-09-21 15:54:34 +0200 (Tue, 21 Sep 2010) $ CERN IT-GS Jean-Philippe Baud"; ^ setnetio.c:7:13: warning: 'cvsId' defined but not used [-Wunused-variable] static char cvsId[] = "@(#)$RCSfile: setnetio.c,v $ $Revision: 1.2 $ $Date: 2008/01/10 08:27:59 $ CERN/IT/PDP/DM Olof Barring"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o socket.o socket.c Cns_du.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_du.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o solveln.o solveln.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_endsess.o Cns_endsess.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o trace.o trace.c socket.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)socket.c,v 1.7 2000/05/31 10:33:54 CERN/IT/PDP/DM Olof Barring"; ^ solveln.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: solveln.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:19 $ CERN/IT/PDP/DM Felix Hassine"; ^ solveln.c: In function 'seelink': solveln.c:75:8: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(stordir); ^ Cns_endsess.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_endsess.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ trace.c:9:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)trace.c,v 1.7 2000/05/31 10:33:54 CERN IT-PDP/DM Olof Barring"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_endtrans.o Cns_endtrans.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o wsacct.o wsacct.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -g -O -c Cthread.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_enterclass.o Cns_enterclass.c wsacct.c:18:1: warning: return type defaults to 'int' [-Wreturn-type] wsacct(package, acctstruct, len) ^ wsacct.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: wsacct.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:19 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ wsacct.c: In function 'wsacct': wsacct.c:36:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd_acct, buf, sizeof(struct accthdr) + len); ^ wsacct.c:39:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Cns_endtrans.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_endtrans.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -g -O -c Csched.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cglobals.o Cglobals.c Cthread.c: In function '_Cthread_start_pthread': Cthread.c:358:22: warning: variable 'detached' set but not used [-Wunused-but-set-variable] int detached; ^ Cglobals.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cglobals.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:18 $ CERN/IT/PDP/DM Olof Barring"; ^ Cns_enterclass.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_enterclass.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cthread.c: In function '_Cthread_obtain_mtx_debug': Cthread.c:3290:20: warning: unused variable 'ts' [-Wunused-variable] struct timeval ts; ^ Cthread.c: In function '_Cthread_addcid': Cthread.c:3452:23: warning: unused variable 'ourthID' [-Wunused-variable] int ourthID; ^ Cthread.c: At top level: Cthread.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cthread.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:18 $ CERN IT-PDP/DM Olof Barring, Jean-Damien Durand"; ^ Csched.c: In function 'Csched_Getschedparam': Csched.c:104:11: warning: implicit declaration of function '_Cthread_self' [-Wimplicit-function-declaration] _Cthread_self(),cid,(unsigned long) policy,(unsigned long) Cparam,file, line); ^ Csched.c:109:3: warning: implicit declaration of function '_Cthread_init' [-Wimplicit-function-declaration] if ( _Cthread_once_status && _Cthread_init() ) return(-1); ^ Csched.c:124:3: warning: implicit declaration of function '_Cthread_release_mtx' [-Wimplicit-function-declaration] _Cthread_release_mtx(file,line,&(Cthread.mtx)); ^ Csched.c: At top level: Csched.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Csched.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:18 $ CERN IT-PDP/DM Olof Barring, Jean-Damien Durand"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_entergrpmap.o Cns_entergrpmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_enterusrmap.o Cns_enterusrmap.c Cns_entergrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_entergrpmap.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cgrp.o Cgrp.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -g -O -c Cmutex.c Cns_enterusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_enterusrmap.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_errmsg.o Cns_errmsg.c Cgrp.c: In function 'Cgetgrnam': Cgrp.c:49:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^ Cgrp.c: In function 'Cgetgrgid': Cgrp.c:127:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^ Cgrp.c: At top level: Cgrp.c:9:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cgrp.c,v $ $Revision: 1.3 $ $Date: 2008/01/29 15:04:41 $ CERN IT-PDP/DM Jean-Damien Durand"; ^ Cmutex.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cmutex.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:18 $ CERN/IT/PDP/DM Jean-Damien Durand"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getacl.o Cns_getacl.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getcomment.o Cns_getcomment.c Cns_errmsg.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_errmsg.c,v $ $Revision: 1.2 $ $Date: 2007/05/14 05:53:52 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getcwd.o Cns_getcwd.c Cns_getacl.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getacl.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-ADC/CA Jean-Philippe Baud"; ^ Cns_getcomment.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getcomment.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_getcwd.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getcwd.c,v $ $Revision: 1.1.1.1 $ $Date: 2001/06/03 06:59:41 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cdomainname.o Cdomainname.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cnetdb.o Cnetdb.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getgrpbygid.o Cns_getgrpbygid.c Cdomainname.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cdomainname.c,v $ $Revision: 1.4 $ $Date: 2008/02/15 07:40:38 $ CERN IT-DS/HSM Jean-Philippe Baud"; ^ Cnetdb.c:9:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cnetdb.c,v $ $Revision: 1.11 $ $Date: 2009/10/19 09:33:37 $ CERN IT-PDP/DM Olof Barring"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getgrpbygids.o Cns_getgrpbygids.c Cns_getgrpbygid.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getgrpbygid.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -g -O -c Cpool.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getgrpbynam.o Cns_getgrpbynam.c Cns_getgrpbygids.c: In function 'lfc_getgrpbygids': Cns_getgrpbygids.c:34:8: warning: unused variable 'rbp' [-Wunused-variable] char *rbp; ^ Cns_getgrpbygids.c: At top level: Cns_getgrpbygids.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getgrpbygids.c,v $ $Revision: 1.1 $ $Date: 2007/03/21 10:24:15 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cpwd.o Cpwd.c Cpool.c: In function 'Cpool_assign_ext': Cpool.c:1776:22: warning: variable 'previous' set but not used [-Wunused-but-set-variable] struct Cmalloc_t *previous = NULL; ^ Cpool.c: At top level: Cpool.c:10:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cpool.c,v $ $Revision: 10783 $ $Date: 2014-07-18 11:28:23 +0200 (Fri, 18 Jul 2014) $ CERN IT-ADC-CA/HSM Jean-Damien Durand"; ^ Cpwd.c: In function 'Cgetpwnam': Cpwd.c:49:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^ Cpwd.c: In function 'Cgetpwuid': Cpwd.c:127:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^ Cpwd.c: At top level: Cpwd.c:9:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cpwd.c,v $ $Revision: 1.3 $ $Date: 2008/01/29 15:04:42 $ CERN IT-PDP/DM Olof Barring"; ^ Cns_getgrpbynam.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getgrpbynam.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; ^ Cnetdb.c: In function 'Cgetnetaddress': Cnetdb.c:862:17: warning: 'namebuf' may be used uninitialized in this function [-Wmaybe-uninitialized] gaierrno = Cgetnameinfo((struct sockaddr *)sa, salen, namebuf, NI_MAXHOST, NULL, 0, flags|NI_NAMEREQD); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o socket_timeout.o socket_timeout.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getgrpmap.o Cns_getgrpmap.c socket_timeout.c: In function '_net_connectable': socket_timeout.c:510:2: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if ( getsockopt(fd, SOL_SOCKET, SO_ERROR, (char *)&errval, (int *)&errval_len) == -1 ) { ^ In file included from socket_timeout.c:30:0: /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^ socket_timeout.c: At top level: socket_timeout.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: socket_timeout.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:19 $ CERN IT-PDP/DM Jean-Damien Durand"; ^ Cns_getgrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getgrpmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 09:58:47 +0200 (Wed, 04 Aug 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getidmap.o Cns_getidmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getifcevers.o Cns_getifcevers.c Cns_getifcevers.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getifcevers.c,v $ $Revision: 1.1 $ $Date: 2007/05/09 06:42:05 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ Cns_getidmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getidmap.c,v $ $Revision: 3883 $ $Date: 2010-10-25 11:32:50 +0200 (Mon, 25 Oct 2010) $ CERN IT-GD/SC Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getlinks.o Cns_getlinks.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o u64subr.o u64subr.c u64subr.c: In function 'strutou64': u64subr.c:128:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (*p && ! *(p + 1)) ^ u64subr.c: In function 'u64tostru': u64subr.c:152:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ u64subr.c: In function 'strsitou64': u64subr.c:203:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (*p && ! *(p + 1)) ^ u64subr.c: In function 'u64tostrsi': u64subr.c:221:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ u64subr.c: At top level: u64subr.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: u64subr.c,v $ $Revision: 4235 $ $Date: 2011-04-04 08:49:00 +0200 (Mon, 04 Apr 2011) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cinitdaemon.o Cinitdaemon.c Cns_getlinks.c: In function 'lfc_getlinks': Cns_getlinks.c:35:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ Cns_getlinks.c: At top level: Cns_getlinks.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getlinks.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; ^ Cinitdaemon.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cinitdaemon.c,v $ $Revision: 3476 $ $Date: 2010-03-10 13:40:05 +0100 (Wed, 10 Mar 2010) $ CERN IT-PDP/DM Olof Barring"; ^ Cinitdaemon.c: In function 'Cinitdaemon': Cinitdaemon.c:52:16: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen( "/dev/null", "r", stdin); ^ Cinitdaemon.c:53:16: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen( "/dev/null", "w", stdout); ^ Cinitdaemon.c:54:16: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen( "/dev/null", "w", stderr); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getpath.o Cns_getpath.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getreplica.o Cns_getreplica.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getreplicas.o Cns_getreplicas.c Cns_getpath.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getpath.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_getreplica.c: In function 'lfc_getreplica': Cns_getreplica.c:35:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ Cns_getreplica.c: At top level: Cns_getreplica.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getreplica.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getreplicasl.o Cns_getreplicasl.c In file included from ../h/Cpool_api.h:14:0, from Cpool.c:13: Cpool.c: In function 'Cpool_assign_ext': ../h/Cthread_api.h:46:59: warning: 'lock_parent_cthread_structure' may be used uninitialized in this function [-Wmaybe-uninitialized] #define Cthread_lock_mtx_ext(a,b) Cthread_Lock_Mtx_ext(__FILE__,__LINE__,a,b) ^ Cpool.c:1956:10: note: 'lock_parent_cthread_structure' was declared here void *lock_parent_cthread_structure; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cgetopt.o Cgetopt.c Cns_getreplicas.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getreplicas.c,v $ $Revision: 3814 $ $Date: 2010-09-21 15:54:34 +0200 (Tue, 21 Sep 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ Cns_getreplicasl.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getreplicasl.c,v $ $Revision: 3814 $ $Date: 2010-09-21 15:54:34 +0200 (Tue, 21 Sep 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ Cgetopt.c:34:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cgetopt.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:18 $ CERN IT-PDP/DM Jean-Damien Durand"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cregexp.o Cregexp.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getreplicass.o Cns_getreplicass.c Cregexp.c: In function '_Cregexp_atom': Cregexp.c:958:7: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] char dummy; ^ Cregexp.c: At top level: Cregexp.c:6:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cregexp.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:18 $ CERN/IT/PDP/DM Jean-Damien Durand"; ^ In file included from ../h/Cpool_api.h:14:0, from Cpool.c:13: Cpool.c: In function 'Cpool_next_index_timeout_ext': ../h/Cthread_api.h:46:59: warning: 'lock_parent_cthread_structure' may be used uninitialized in this function [-Wmaybe-uninitialized] #define Cthread_lock_mtx_ext(a,b) Cthread_Lock_Mtx_ext(__FILE__,__LINE__,a,b) ^ Cpool.c:2668:10: note: 'lock_parent_cthread_structure' was declared here void *lock_parent_cthread_structure; ^ Cns_getreplicass.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getreplicass.c $ $Revision: 3814 $ $Date: 2010-09-21 15:54:34 +0200 (Tue, 21 Sep 2010) $ CERN IT-GT/DMS Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Csnprintf.o Csnprintf.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getreplicax.o Cns_getreplicax.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cgroupsubr.o Cgroupsubr.c Cregexp.c: In function '_Cregexp_reg': Cregexp.c:604:23: warning: 'parno' may be used uninitialized in this function [-Wmaybe-uninitialized] ender = _Cregexp_node((char) ((paren) ? CLOSE+parno : END), ^ Cgroupsubr.c:56:1: warning: return type defaults to 'int' [-Wreturn-type] Cgroupmatch(gid_t gid, int nbgids, gid_t *gids) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Clogit.o Clogit.c Cns_getreplicax.c: In function 'lfc_getreplicax': Cns_getreplicax.c:35:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ Cns_getreplicax.c: At top level: Cns_getreplicax.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getreplicax.c,v $ $Revision: 1.1 $ $Date: 2006/12/01 09:19:37 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cthread_env.o Cthread_env.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getusrbynam.o Cns_getusrbynam.c Clogit.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Clogit.c$ $Revision: 4489 $ $Date: 2011-06-20 09:00:04 +0200 (Mon, 20 Jun 2011) $ CERN IT-GT/DMS Jean-Philippe Baud"; ^ Clogit.c: In function 'Cvlogit': Clogit.c:130:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd_log, prtbuf, strlen(prtbuf)); ^ Cthread_env.c: In function 'Cthread_setenv': Cthread_env.c:31:3: warning: implicit declaration of function 'Cglobals_get' [-Wimplicit-function-declaration] if (Cglobals_get(&Cthread_env_key, ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getusrbyuid.o Cns_getusrbyuid.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_getusrmap.o Cns_getusrmap.c Cns_getusrbynam.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getusrbynam.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_listclass.o Cns_listclass.c Cns_getusrbyuid.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getusrbyuid.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_listlinks.o Cns_listlinks.c Cns_getusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_getusrmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 09:58:47 +0200 (Wed, 04 Aug 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_listrep4gc.o Cns_listrep4gc.c Cns_listclass.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_listclass.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_listlinks.c: In function 'lfc_listlinks': Cns_listlinks.c:39:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ Cns_listlinks.c: At top level: Cns_listlinks.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_listlinks.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ Cns_listrep4gc.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_listrep4gc.c,v $ $Revision: 1.4 $ $Date: 2006/12/01 09:19:37 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ Cregexp.c: In function '_Cregexp_prop': Cregexp.c:2034:5: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] if (p != NULL) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_listreplica.o Cns_listreplica.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_listreplicax.o Cns_listreplicax.c ar rv libcommon.a UtilsPthread.o LcgdmDbPool.o LcgdmDbPool_C.o getconfent.o getfilep.o getifnam.o getuser.o isTrustedHost.o log.o marshall.o remote.o serror.o setnetio.o socket.o solveln.o trace.o wsacct.o Cthread.o Csched.o Cglobals.o Cgrp.o Cmutex.o Cdomainname.o Cnetdb.o Cpool.o Cpwd.o socket_timeout.o u64subr.o Cinitdaemon.o Cgetopt.o Cregexp.o Csnprintf.o Cgroupsubr.o Clogit.o Cthread_env.o ar: creating libcommon.a a - UtilsPthread.o a - LcgdmDbPool.o a - LcgdmDbPool_C.o a - getconfent.o a - getfilep.o a - getifnam.o a - getuser.o a - isTrustedHost.o a - log.o a - marshall.o a - remote.o a - serror.o a - setnetio.o a - socket.o a - solveln.o a - trace.o a - wsacct.o a - Cthread.o a - Csched.o a - Cglobals.o a - Cgrp.o a - Cmutex.o a - Cdomainname.o a - Cnetdb.o a - Cpool.o a - Cpwd.o a - socket_timeout.o a - u64subr.o a - Cinitdaemon.o a - Cgetopt.o a - Cregexp.o a - Csnprintf.o a - Cgroupsubr.o a - Clogit.o a - Cthread_env.o ranlib libcommon.a make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/common' making liblcgdm.a in /builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/lib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_listrepset.o Cns_listrepset.c Cns_listreplica.c: In function 'lfc_listreplica': Cns_listreplica.c:39:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ Cns_listreplica.c: At top level: Cns_listreplica.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_listreplica.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ Cns_listreplicax.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_listreplicax.c,v $ $Revision: 1.4 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_mkdir.o Cns_mkdir.c Cns_listrepset.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_listrepset.c,v $ $Revision: 1.1 $ $Date: 2006/12/01 09:19:37 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ Cns_mkdir.c: In function 'lfc_mkdirg': Cns_mkdir.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_mkdir.c: At top level: Cns_mkdir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_mkdir.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_modifyclass.o Cns_modifyclass.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_modifygrpmap.o Cns_modifygrpmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_modifyusrmap.o Cns_modifyusrmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_modreplica.o Cns_modreplica.c Cns_modifyclass.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_modifyclass.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_modifygrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_modifygrpmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 09:58:47 +0200 (Wed, 04 Aug 2010) $ CERN IT-GD/SC Jean-Philippe Baud"; ^ Cns_modifyusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_modifyusrmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 09:58:47 +0200 (Wed, 04 Aug 2010) $ CERN IT-GD/SC Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_opendir.o Cns_opendir.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_ping.o Cns_ping.c Cns_modreplica.c: In function 'lfc_modreplicax': Cns_modreplica.c:45:13: warning: unused variable 'zero' [-Wunused-variable] u_signed64 zero = 0; ^ Cns_modreplica.c: At top level: Cns_modreplica.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_modreplica.c,v $ $Revision: 1.3 $ $Date: 2008/08/27 12:43:28 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_queryclass.o Cns_queryclass.c Cns_opendir.c: In function 'lfc_opendirxg': Cns_opendir.c:32:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_opendir.c: At top level: Cns_opendir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_opendir.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_ping.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_ping.c,v $ $Revision: 1.2 $ $Date: 2008/02/19 14:58:02 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readdir.o Cns_readdir.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readdirc.o Cns_readdirc.c Cns_queryclass.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_queryclass.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readdirg.o Cns_readdirg.c Cns_readdir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_readdir.c,v $ $Revision: 1.5 $ $Date: 2008/02/04 12:08:52 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_readdirc.c: In function 'lfc_readdirc': Cns_readdirc.c:38:6: warning: unused variable 'n' [-Wunused-variable] int n; ^ Cns_readdirc.c: At top level: Cns_readdirc.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_readdirc.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readdirx.o Cns_readdirx.c Cns_readdirg.c: In function 'lfc_readdirg': Cns_readdirg.c:37:6: warning: unused variable 'n' [-Wunused-variable] int n; ^ Cns_readdirg.c: At top level: Cns_readdirg.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_readdirg.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readdirxc.o Cns_readdirxc.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readdirxp.o Cns_readdirxp.c Cns_readdirx.c: In function 'lfc_readdirx': Cns_readdirx.c:37:6: warning: unused variable 'n' [-Wunused-variable] int n; ^ Cns_readdirx.c: At top level: Cns_readdirx.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_readdirx.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_readdirxc.c: In function 'lfc_readdirxc': Cns_readdirxc.c:37:6: warning: unused variable 'n' [-Wunused-variable] int n; ^ Cns_readdirxc.c: At top level: Cns_readdirxc.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_readdirxc.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_readdirxp.c: In function 'lfc_readdirxp': Cns_readdirxp.c:40:6: warning: unused variable 'n' [-Wunused-variable] int n; ^ Cns_readdirxp.c: At top level: Cns_readdirxp.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_readdirxp.c,v $ $Revision: 1.1 $ $Date: 2007/12/13 11:59:47 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readdirxr.o Cns_readdirxr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readlink.o Cns_readlink.c Cns_readdirxr.c: In function 'lfc_readdirxr': Cns_readdirxr.c:39:6: warning: unused variable 'n' [-Wunused-variable] int n; ^ Cns_readdirxr.c: At top level: Cns_readdirxr.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_readdirxr.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_registerfiles.o Cns_registerfiles.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_rename.o Cns_rename.c Cns_readlink.c: In function 'lfc_readlink': Cns_readlink.c:90:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = memchr (buf, '\0', bufsiz)) ^ Cns_readlink.c: At top level: Cns_readlink.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_readlink.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_rewinddir.o Cns_rewinddir.c Cns_registerfiles.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_registerfiles.c,v $ $Revision: 3814 $ $Date: 2010-09-21 15:54:34 +0200 (Tue, 21 Sep 2010) $ CERN IT-GS Jean-Philippe Baud"; ^ Cns_rename.c: In function 'lfc_rename': Cns_rename.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_rename.c: At top level: Cns_rename.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_rename.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_rewinddir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_rewinddir.c,v $ $Revision: 1.1.1.1 $ $Date: 2001/05/13 05:48:43 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_rmdir.o Cns_rmdir.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_rmgrpmap.o Cns_rmgrpmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_rmusrmap.o Cns_rmusrmap.c Cns_rmdir.c: In function 'lfc_rmdir': Cns_rmdir.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_rmdir.c: At top level: Cns_rmdir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_rmdir.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_rmgrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_rmgrpmap.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_selectsrvr.o Cns_selectsrvr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_setacl.o Cns_setacl.c Cns_rmusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_rmusrmap.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_setatime.o Cns_setatime.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_setcomment.o Cns_setcomment.c Cns_selectsrvr.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_selectsrvr.c,v $ $Revision: 1.2 $ $Date: 2005/11/24 09:57:14 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_setacl.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_setacl.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-ADC/CA Jean-Philippe Baud"; ^ Cns_setatime.c: In function 'lfc_setatime': Cns_setatime.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_setatime.c: At top level: Cns_setatime.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_setatime.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_setcomment.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_setcomment.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_setfsize.o Cns_setfsize.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_setptime.o Cns_setptime.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_setratime.o Cns_setratime.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_setrltime.o Cns_setrltime.c Cns_setfsize.c: In function 'lfc_setfsizec': Cns_setfsize.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_setfsize.c: In function 'lfc_setfsizeg': Cns_setfsize.c:131:13: warning: unused variable 'zero' [-Wunused-variable] u_signed64 zero = 0; ^ Cns_setfsize.c:122:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_setfsize.c: At top level: Cns_setfsize.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_setfsize.c,v $ $Revision: 1.3 $ $Date: 2008/09/19 11:32:26 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_setptime.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_setptime.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ Cns_setratime.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_setratime.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ Cns_setrltime.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_setrltime.c,v $ $Revision: 1.1 $ $Date: 2006/12/01 09:19:37 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_setrstatus.o Cns_setrstatus.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_setrtype.o Cns_setrtype.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_startsess.o Cns_startsess.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_starttrans.o Cns_starttrans.c Cns_setrstatus.c: In function 'lfc_setrstatus': Cns_setrstatus.c:38:13: warning: unused variable 'zero' [-Wunused-variable] u_signed64 zero = 0; ^ Cns_setrstatus.c: At top level: Cns_setrstatus.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_setrstatus.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ Cns_setrtype.c: In function 'lfc_setrtype': Cns_setrtype.c:38:13: warning: unused variable 'zero' [-Wunused-variable] u_signed64 zero = 0; ^ Cns_setrtype.c: At top level: Cns_setrtype.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_setrtype.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ Cns_startsess.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_startsess.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_stat.o Cns_stat.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_symlink.o Cns_symlink.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_thread_env.o Cns_thread_env.c Cns_starttrans.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_starttrans.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ Cns_thread_env.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_thread_env.c,v $ $Revision: 1.0 $ $Date: 2011/11/07 14:17:00 $ CERN IT-GT/DMS Alejandro ��lvarez Ayll��n"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_umask.o Cns_umask.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_undelete.o Cns_undelete.c Cns_symlink.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_symlink.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ Cns_stat.c: In function 'lfc_lstat': Cns_stat.c:33:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_stat.c: In function 'lfc_statx': Cns_stat.c:117:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_stat.c: In function 'lfc_statg': Cns_stat.c:223:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_umask.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_umask.c,v $ $Revision: 1.1.1.1 $ $Date: 2000/05/29 11:38:53 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_stat.c: In function 'lfc_statr': Cns_stat.c:321:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_stat.c: At top level: Cns_stat.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_stat.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_unlink.o Cns_unlink.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_utime.o Cns_utime.c Cns_undelete.c: In function 'lfc_undelete': Cns_undelete.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_undelete.c: At top level: Cns_undelete.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_undelete.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o send2nsd.o send2nsd.c Cns_unlink.c: In function 'lfc_unlink': Cns_unlink.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_unlink.c: At top level: Cns_unlink.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_unlink.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_utime.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_utime.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ In file included from ../h/Cns_api.h:23:0, from send2nsd.c:26: ../h/lfc_api.h:145:19: warning: return type defaults to 'int' [-Wreturn-type] #define send2nsdx send2lfcx ^ send2nsd.c:65:1: note: in expansion of macro 'send2nsdx' send2nsdx(socketp, host, reqp, reql, user_repbuf, user_repbuf_len, repbuf2, nbstruct) ^ send2nsd.c: In function 'send2lfcx': send2nsd.c:208:5: warning: implicit declaration of function 'netconnect_timeout' [-Wimplicit-function-declaration] if (netconnect_timeout (s, ai->ai_addr, ai->ai_addrlen, ^ In file included from ../h/Cns_api.h:23:0, from send2nsd.c:26: send2nsd.c: At top level: ../h/lfc_api.h:144:18: warning: return type defaults to 'int' [-Wreturn-type] #define send2nsd send2lfc ^ send2nsd.c:714:1: note: in expansion of macro 'send2nsd' send2nsd(socketp, host, reqp, reql, user_repbuf, user_repbuf_len) ^ send2nsd.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: send2nsd.c,v $ $Revision: 10222 $ $Date: 2014-03-05 22:37:15 +0100 (Wed, 05 Mar 2014) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ send2nsd.c: In function 'send2lfcx': send2nsd.c:392:37: warning: 'repbuf2sz' may be used uninitialized in this function [-Wmaybe-uninitialized] sizeof(struct Cns_linkinfo) > repbuf2sz) { ^ send2nsd.c:454:20: warning: 'ri' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)ri - (char *)(*repbuf2) + ^ send2nsd.c:492:20: warning: 'lx' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lx - (char *)(*repbuf2) + ^ send2nsd.c:678:21: warning: 'lui' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lui - (char *)(*repbuf2) + ^ send2nsd.c:588:20: warning: 'ls' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)ls - (char *)(*repbuf2) + ^ send2nsd.c:533:20: warning: 'lr' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lr - (char *)(*repbuf2) + ^ send2nsd.c:418:20: warning: 'lp' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lp - (char *)(*repbuf2) + ^ send2nsd.c:391:20: warning: 'li' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)li - (char *)(*repbuf2) + ^ send2nsd.c:645:21: warning: 'lgi' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lgi - (char *)(*repbuf2) + ^ send2nsd.c:616:20: warning: 'lf' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lf - (char *)(*repbuf2) + ^ ar rv libns.a Cns_aborttrans.o Cns_access.o Cns_addreplica.o Cns_apiinit.o Cns_auth.o Cns_chclass.o Cns_chdir.o Cns_chmod.o Cns_chown.o Cns_closedir.o Cns_creat.o Cns_delcomment.o Cns_delete.o Cns_deleteclass.o Cns_delfilesbyguid.o Cns_delfilesbyname.o Cns_delfilesbypattern.o Cns_delreplica.o Cns_delreplicas.o Cns_delreplicasbysfn.o Cns_du.o Cns_endsess.o Cns_endtrans.o Cns_enterclass.o Cns_entergrpmap.o Cns_enterusrmap.o Cns_errmsg.o Cns_getacl.o Cns_getcomment.o Cns_getcwd.o Cns_getgrpbygid.o Cns_getgrpbygids.o Cns_getgrpbynam.o Cns_getgrpmap.o Cns_getidmap.o Cns_getifcevers.o Cns_getlinks.o Cns_getpath.o Cns_getreplica.o Cns_getreplicas.o Cns_getreplicasl.o Cns_getreplicass.o Cns_getreplicax.o Cns_getusrbynam.o Cns_getusrbyuid.o Cns_getusrmap.o Cns_listclass.o Cns_listlinks.o Cns_listrep4gc.o Cns_listreplica.o Cns_listreplicax.o Cns_listrepset.o Cns_mkdir.o Cns_modifyclass.o Cns_modifygrpmap.o Cns_modifyusrmap.o Cns_modreplica.o Cns_opendir.o Cns_ping.o Cns_queryclass.o Cns_readdir.o Cns_readdirc.o Cns_readdirg.o Cns_readdirx.o Cns_readdirxc.o Cns_readdirxp.o Cns_readdirxr.o Cns_readlink.o Cns_registerfiles.o Cns_rename.o Cns_rewinddir.o Cns_rmdir.o Cns_rmgrpmap.o Cns_rmusrmap.o Cns_selectsrvr.o Cns_setacl.o Cns_setatime.o Cns_setcomment.o Cns_setfsize.o Cns_setptime.o Cns_setratime.o Cns_setrltime.o Cns_setrstatus.o Cns_setrtype.o Cns_startsess.o Cns_starttrans.o Cns_stat.o Cns_symlink.o Cns_thread_env.o Cns_umask.o Cns_undelete.o Cns_unlink.o Cns_utime.o send2nsd.o ar: creating libns.a a - Cns_aborttrans.o a - Cns_access.o a - Cns_addreplica.o a - Cns_apiinit.o a - Cns_auth.o a - Cns_chclass.o a - Cns_chdir.o a - Cns_chmod.o a - Cns_chown.o a - Cns_closedir.o a - Cns_creat.o a - Cns_delcomment.o a - Cns_delete.o a - Cns_deleteclass.o a - Cns_delfilesbyguid.o a - Cns_delfilesbyname.o a - Cns_delfilesbypattern.o a - Cns_delreplica.o a - Cns_delreplicas.o a - Cns_delreplicasbysfn.o a - Cns_du.o a - Cns_endsess.o a - Cns_endtrans.o a - Cns_enterclass.o a - Cns_entergrpmap.o a - Cns_enterusrmap.o a - Cns_errmsg.o a - Cns_getacl.o a - Cns_getcomment.o a - Cns_getcwd.o a - Cns_getgrpbygid.o a - Cns_getgrpbygids.o a - Cns_getgrpbynam.o a - Cns_getgrpmap.o a - Cns_getidmap.o a - Cns_getifcevers.o a - Cns_getlinks.o a - Cns_getpath.o a - Cns_getreplica.o a - Cns_getreplicas.o a - Cns_getreplicasl.o a - Cns_getreplicass.o a - Cns_getreplicax.o a - Cns_getusrbynam.o a - Cns_getusrbyuid.o a - Cns_getusrmap.o a - Cns_listclass.o a - Cns_listlinks.o a - Cns_listrep4gc.o a - Cns_listreplica.o a - Cns_listreplicax.o a - Cns_listrepset.o a - Cns_mkdir.o a - Cns_modifyclass.o a - Cns_modifygrpmap.o a - Cns_modifyusrmap.o a - Cns_modreplica.o a - Cns_opendir.o a - Cns_ping.o a - Cns_queryclass.o a - Cns_readdir.o a - Cns_readdirc.o a - Cns_readdirg.o a - Cns_readdirx.o a - Cns_readdirxc.o a - Cns_readdirxp.o a - Cns_readdirxr.o a - Cns_readlink.o a - Cns_registerfiles.o a - Cns_rename.o a - Cns_rewinddir.o a - Cns_rmdir.o a - Cns_rmgrpmap.o a - Cns_rmusrmap.o a - Cns_selectsrvr.o a - Cns_setacl.o a - Cns_setatime.o a - Cns_setcomment.o a - Cns_setfsize.o a - Cns_setptime.o a - Cns_setratime.o a - Cns_setrltime.o a - Cns_setrstatus.o a - Cns_setrtype.o a - Cns_startsess.o a - Cns_starttrans.o a - Cns_stat.o a - Cns_symlink.o a - Cns_thread_env.o a - Cns_umask.o a - Cns_undelete.o a - Cns_unlink.o a - Cns_utime.o a - send2nsd.o ranlib libns.a make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/ns' making liblfc.a in /builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/lib make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/lib' shlib: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/shlib' cd ../common ; make libcommon.a cd ../security ; make libsecurity.a cd ../ns ; make libns.a make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/security' make[2]: `libsecurity.a' is up to date. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/security' make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/common' make[2]: `libcommon.a' is up to date. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/common' making liblcgdm.so in /builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/shlib (cd tmp.liblcgdm.so; cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -shared -Wl,-soname,liblcgdm.so.`echo 1.9.0|cut -f1 -d.` -o ../liblcgdm.so *.o -lc -lpthread -ldl -lstdc++) make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/ns' make[2]: `libns.a' is up to date. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/ns' making liblfc.so in /builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/shlib (cd tmp.liblfc.so; cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -shared -Wl,-soname,liblfc.so.`echo 1.9.0|cut -f1 -d.` -o ../liblfc.so *.o -L.. -llcgdm ) make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/shlib' common: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/common' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/common' ns: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/ns' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nschgrp.o nschgrp.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nschmod.o nschmod.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nschown.o nschown.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsdelcomment.o nsdelcomment.c nschmod.c:25:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsdelcomment.c:24:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsdelcomment.c: In function 'main': nsdelcomment.c:28:6: warning: unused variable 'c' [-Wunused-variable] int c; ^ nsdelcomment.c: At top level: nsdelcomment.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsdelcomment.c,v $ $Revision: 9431 $ $Date: 2013-09-11 21:56:02 +0200 (Wed, 11 Sep 2013) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ nschmod.c: In function 'main': nschmod.c:30:6: warning: unused variable 'c' [-Wunused-variable] int c; ^ nschmod.c:29:6: warning: variable 'absmode' set but not used [-Wunused-but-set-variable] int absmode = 0; ^ nschmod.c: At top level: nschmod.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nschmod.c,v $ $Revision: 1.4 $ $Date: 2009/04/22 08:08:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ nschgrp.c:35:1: warning: return type defaults to 'int' [-Wreturn-type] chgrpdir (dir, newuid, newgid) ^ nschgrp.c: In function 'chgrpdir': nschgrp.c:40:6: warning: unused variable 'c' [-Wunused-variable] int c; ^ nschgrp.c: At top level: nschgrp.c:104:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nschown.c:36:1: warning: return type defaults to 'int' [-Wreturn-type] chowndir (dir, newuid, newgid) ^ nschgrp.c: In function 'main': nschgrp.c:112:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nschgrp.c: At top level: nschgrp.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nschgrp.c,v $ $Revision: 1.2 $ $Date: 2007/08/02 12:10:20 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ nschown.c: In function 'chowndir': nschown.c:41:6: warning: unused variable 'c' [-Wunused-variable] int c; ^ nschown.c: At top level: nschown.c:105:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nschown.c: In function 'main': nschown.c:119:17: warning: unused variable 'pwd' [-Wunused-variable] struct passwd *pwd; ^ nschown.c:113:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nschown.c: At top level: nschown.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nschown.c,v $ $Revision: 1.8 $ $Date: 2007/01/15 08:05:17 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsentergrpmap.o nsentergrpmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsenterusrmap.o nsenterusrmap.c nsentergrpmap.c:19:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsentergrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsentergrpmap.c,v $ $Revision: 1.1 $ $Date: 2006/01/12 16:46:48 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ nsenterusrmap.c:19:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsenterusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsenterusrmap.c,v $ $Revision: 1.1 $ $Date: 2006/01/12 16:46:48 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsgetacl.o nsgetacl.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nslistgrpmap.o nslistgrpmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nslistusrmap.o nslistusrmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsln.o nsln.c nsgetacl.c:35:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsgetacl.c: In function 'decode_group': nsgetacl.c:209:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nsgetacl.c: In function 'decode_user': nsgetacl.c:245:17: warning: unused variable 'pw' [-Wunused-variable] struct passwd *pw; ^ nsgetacl.c: At top level: nsgetacl.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsgetacl.c,v $ $Revision: 1.5 $ $Date: 2008/09/24 11:25:01 $ CERN IT-ADC/CA Jean-Philippe Baud"; ^ nslistgrpmap.c:21:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nslistgrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nslistgrpmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 09:58:47 +0200 (Wed, 04 Aug 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ nslistusrmap.c:21:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nslistusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nslistusrmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 09:58:47 +0200 (Wed, 04 Aug 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ nsln.c:28:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsln.c: In function 'main': nsln.c:81:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = strrchr (argv[0], '/')) ^ nsln.c:89:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = strrchr (argv[i], '/')) ^ nsln.c: At top level: nsln.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsln.c,v $ $Revision: 1.1.1.1 $ $Date: 2004/12/02 12:31:56 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsls.o nsls.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsmkdir.o nsmkdir.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsmodifygrpmap.o nsmodifygrpmap.c nsls.c: In function 'decode_group': nsls.c:59:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nsls.c: In function 'decode_user': nsls.c:83:17: warning: unused variable 'pw' [-Wunused-variable] struct passwd *pw; ^ nsls.c: At top level: nsls.c:103:1: warning: return type defaults to 'int' [-Wreturn-type] listentry(path, statbuf, slink, comment) ^ nsls.c:191:1: warning: return type defaults to 'int' [-Wreturn-type] listdir(dir) ^ nsls.c:312:1: warning: return type defaults to 'int' [-Wreturn-type] procpath(fullpath) ^ nsls.c:344:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsls.c: In function 'main': nsls.c:350:8: warning: unused variable 'endp' [-Wunused-variable] char *endp; ^ nsls.c:349:8: warning: unused variable 'dp' [-Wunused-variable] char *dp; ^ nsls.c: At top level: nsls.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsls.c,v $ $Revision: 9750 $ $Date: 2013-11-28 11:04:23 +0100 (Thu, 28 Nov 2013) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ nsmodifygrpmap.c:20:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsmkdir.c:30:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsmkdir.c: In function 'main': nsmkdir.c:163:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] if (Cns_chmod (Cnsdir, (mode | statbuf.filemode & S_ISGID)) < 0) { ^ nsmkdir.c: At top level: nsmkdir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsmkdir.c,v $ $Revision: 1.3 $ $Date: 2009/04/22 08:08:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ nsmodifygrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsmodifygrpmap.c,v $ $Revision: 9750 $ $Date: 2013-11-28 11:04:23 +0100 (Thu, 28 Nov 2013) $ CERN IT-GD/SC Jean-Philippe Baud"; ^ nsmkdir.c: In function 'main': nsmkdir.c:142:16: warning: 'mask' may be used uninitialized in this function [-Wmaybe-uninitialized] Cns_umask (mask); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsmodifyusrmap.o nsmodifyusrmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsping.o nsping.c nsls.c: In function 'listdir': nsls.c:267:17: warning: 'dll' may be used uninitialized in this function [-Wmaybe-uninitialized] dll->next = dlc; ^ nsmodifyusrmap.c:20:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsmodifyusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsmodifyusrmap.c,v $ $Revision: 9750 $ $Date: 2013-11-28 11:04:23 +0100 (Thu, 28 Nov 2013) $ CERN IT-GD/SC Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsrename.o nsrename.c nsping.c:24:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsping.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsping.c,v $ $Revision: 1.4 $ $Date: 2008/09/24 11:25:01 $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsrm.o nsrm.c nsrename.c:25:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsrmgrpmap.o nsrmgrpmap.c nsrename.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsrename.c,v $ $Revision: 1.2 $ $Date: 2008/01/29 07:56:56 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsrmusrmap.o nsrmusrmap.c nsrm.c:38:1: warning: return type defaults to 'int' [-Wreturn-type] isyes() ^ nsrm.c:49:1: warning: return type defaults to 'int' [-Wreturn-type] removedir (dir) ^ nsrm.c:138:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsrm.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsrm.c,v $ $Revision: 1.3 $ $Date: 2008/09/24 11:25:01 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ nsrmgrpmap.c:19:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsrmgrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsrmgrpmap.c,v $ $Revision: 1.2 $ $Date: 2005/11/22 09:26:38 $ CERN IT-GD/SC Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nssetacl.o nssetacl.c nsrmusrmap.c:19:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nssetcomment.o nssetcomment.c nsrmusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsrmusrmap.c,v $ $Revision: 1.2 $ $Date: 2005/11/22 09:26:38 $ CERN IT-GD/SC Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_main.o Cns_main.c nssetcomment.c:24:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nssetacl.c:35:1: warning: return type defaults to 'int' [-Wreturn-type] cvt_group(char *p) ^ nssetcomment.c: In function 'main': nssetcomment.c:28:6: warning: unused variable 'c' [-Wunused-variable] int c; ^ nssetcomment.c: At top level: nssetcomment.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nssetcomment.c,v $ $Revision: 9431 $ $Date: 2013-09-11 21:56:02 +0200 (Wed, 11 Sep 2013) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ nssetacl.c: In function 'cvt_group': nssetacl.c:39:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nssetacl.c: At top level: nssetacl.c:64:1: warning: return type defaults to 'int' [-Wreturn-type] cvt_perm(char *p) ^ nssetacl.c:105:1: warning: return type defaults to 'int' [-Wreturn-type] cvt_user(char *p) ^ nssetacl.c: In function 'cvt_user': nssetacl.c:108:17: warning: unused variable 'pwd' [-Wunused-variable] struct passwd *pwd; ^ nssetacl.c: In function 'parse_entries': nssetacl.c:145:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = strchr (entry, ',')) { ^ nssetacl.c: At top level: nssetacl.c:222:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nssetacl.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nssetacl.c,v $ $Revision: 1.3 $ $Date: 2005/10/19 05:45:37 $ CERN IT-ADC/CA Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_acl.o Cns_acl.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_chkperm.o Cns_chkperm.c Cns_main.c:69:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_main(main_args) ^ Cns_main.c: In function 'Cns_main': Cns_main.c:122:5: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, "Invalid logfile: %s\n", optarg); ^ Cns_main.c:318:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gaierrno=Cgetaddrinfo (NULL, strport, &hints, &aitop)) { ^ Cns_main.c:450:31: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] rqfd = accept (s, (struct sockaddr *) &from, &fromlen); ^ In file included from /usr/include/netinet/in.h:24:0, from /usr/include/netdb.h:27, from Cns_main.c:20: /usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^ Cns_main.c:455:7: warning: implicit declaration of function 'sendrep' [-Wimplicit-function-declaration] sendrep (rqfd, CNS_RC, serrno); ^ Cns_main.c: At top level: Cns_main.c:494:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ Cns_main.c: In function 'doit_dbpool': Cns_main.c:605:2: warning: implicit declaration of function 'getreq' [-Wimplicit-function-declaration] if ((c = getreq (thip->s, &magic, &req_type, &req_data, &req_datalen, &clienthost)) == 0) { ^ Cns_main.c:627:3: warning: implicit declaration of function 'procreq' [-Wimplicit-function-declaration] c = procreq (magic, req_type, req_data, req_datalen, clienthost, dbfdok); ^ Cns_main.c: At top level: Cns_main.c:780:1: warning: return type defaults to 'int' [-Wreturn-type] getreq(s, magic, req_type, req_data, req_datalen, clienthost) ^ Cns_main.c: In function 'getreq': Cns_main.c:788:18: warning: unused variable 'hp' [-Wunused-variable] struct hostent *hp; ^ Cns_main.c: At top level: Cns_main.c:839:1: warning: return type defaults to 'int' [-Wreturn-type] procdirreq(magic, req_type, req_data, req_datalen, clienthost, thip) ^ Cns_main.c: In function 'procdirreq': Cns_main.c:868:3: warning: implicit declaration of function 'Cns_srv_opendir' [-Wimplicit-function-declaration] if (c = Cns_srv_opendir (magic, req_data, req_datalen, clienthost, thip)) ^ Cns_main.c:868:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] Cns_main.c:872:3: warning: implicit declaration of function 'Cns_srv_listclass' [-Wimplicit-function-declaration] if (c = Cns_srv_listclass (magic, req_data, req_datalen, clienthost, thip, ^ Cns_main.c:873:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &class_entry, endlist, &dblistptr)) ^ Cns_main.c:877:3: warning: implicit declaration of function 'Cns_srv_listlinks' [-Wimplicit-function-declaration] if (c = Cns_srv_listlinks (magic, req_data, req_datalen, clienthost, thip, ^ Cns_main.c:878:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &lnk_entry, endlist, &dblistptr)) ^ Cns_main.c:882:3: warning: implicit declaration of function 'Cns_srv_listrep4gc' [-Wimplicit-function-declaration] if (c = Cns_srv_listrep4gc (magic, req_data, req_datalen, clienthost, thip, ^ Cns_main.c:883:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:887:3: warning: implicit declaration of function 'Cns_srv_listreplica' [-Wimplicit-function-declaration] if (c = Cns_srv_listreplica (magic, req_data, req_datalen, clienthost, thip, ^ Cns_main.c:888:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &fmd_entry, &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:892:3: warning: implicit declaration of function 'Cns_srv_listreplicax' [-Wimplicit-function-declaration] if (c = Cns_srv_listreplicax (magic, req_data, req_datalen, clienthost, thip, ^ Cns_main.c:893:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:897:3: warning: implicit declaration of function 'Cns_srv_listrepset' [-Wimplicit-function-declaration] if (c = Cns_srv_listrepset (magic, req_data, req_datalen, clienthost, thip, ^ Cns_main.c:898:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:902:3: warning: implicit declaration of function 'Cns_srv_listtape' [-Wimplicit-function-declaration] if (c = Cns_srv_listtape (magic, req_data, req_datalen, clienthost, thip, ^ Cns_main.c:903:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &fmd_entry, &smd_entry, endlist, &dblistptr)) ^ Cns_main.c:927:4: warning: implicit declaration of function 'Cns_srv_readdir' [-Wimplicit-function-declaration] c = Cns_srv_readdir (magic, req_data2, req_datalen2, clienthost, ^ Cns_main.c: At top level: Cns_main.c:976:1: warning: return type defaults to 'int' [-Wreturn-type] procreq(magic, req_type, req_data, req_datalen, clienthost, thip) ^ Cns_main.c: In function 'procreq': Cns_main.c:1023:3: warning: implicit declaration of function 'getidmap' [-Wimplicit-function-declaration] if ((c = getidmap (thip, thip->Csec_auth_id, user_ca, ^ Cns_main.c:1035:3: warning: implicit declaration of function 'Cns_srv_access' [-Wimplicit-function-declaration] c = Cns_srv_access (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1038:3: warning: implicit declaration of function 'Cns_srv_chclass' [-Wimplicit-function-declaration] c = Cns_srv_chclass (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1041:3: warning: implicit declaration of function 'Cns_srv_chdir' [-Wimplicit-function-declaration] c = Cns_srv_chdir (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1044:3: warning: implicit declaration of function 'Cns_srv_chmod' [-Wimplicit-function-declaration] c = Cns_srv_chmod (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1047:3: warning: implicit declaration of function 'Cns_srv_chown' [-Wimplicit-function-declaration] c = Cns_srv_chown (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1050:3: warning: implicit declaration of function 'Cns_srv_creat' [-Wimplicit-function-declaration] c = Cns_srv_creat (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1053:3: warning: implicit declaration of function 'Cns_srv_deleteclass' [-Wimplicit-function-declaration] c = Cns_srv_deleteclass (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1056:3: warning: implicit declaration of function 'Cns_srv_delcomment' [-Wimplicit-function-declaration] c = Cns_srv_delcomment (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1059:3: warning: implicit declaration of function 'Cns_srv_delete' [-Wimplicit-function-declaration] c = Cns_srv_delete (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1062:3: warning: implicit declaration of function 'Cns_srv_enterclass' [-Wimplicit-function-declaration] c = Cns_srv_enterclass (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1065:3: warning: implicit declaration of function 'Cns_srv_getacl' [-Wimplicit-function-declaration] c = Cns_srv_getacl (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1068:3: warning: implicit declaration of function 'Cns_srv_getcomment' [-Wimplicit-function-declaration] c = Cns_srv_getcomment (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1071:3: warning: implicit declaration of function 'Cns_srv_getpath' [-Wimplicit-function-declaration] c = Cns_srv_getpath (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1074:3: warning: implicit declaration of function 'Cns_srv_getsegattrs' [-Wimplicit-function-declaration] c = Cns_srv_getsegattrs (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1077:3: warning: implicit declaration of function 'Cns_srv_lchown' [-Wimplicit-function-declaration] c = Cns_srv_lchown (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1086:3: warning: implicit declaration of function 'Cns_srv_lstat' [-Wimplicit-function-declaration] c = Cns_srv_lstat (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1089:3: warning: implicit declaration of function 'Cns_srv_mkdir' [-Wimplicit-function-declaration] c = Cns_srv_mkdir (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1092:3: warning: implicit declaration of function 'Cns_srv_modifyclass' [-Wimplicit-function-declaration] c = Cns_srv_modifyclass (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1095:3: warning: implicit declaration of function 'Cns_srv_open' [-Wimplicit-function-declaration] c = Cns_srv_open (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1101:3: warning: implicit declaration of function 'Cns_srv_queryclass' [-Wimplicit-function-declaration] c = Cns_srv_queryclass (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1104:3: warning: implicit declaration of function 'Cns_srv_readlink' [-Wimplicit-function-declaration] c = Cns_srv_readlink (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1107:3: warning: implicit declaration of function 'Cns_srv_rename' [-Wimplicit-function-declaration] c = Cns_srv_rename (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1110:3: warning: implicit declaration of function 'Cns_srv_rmdir' [-Wimplicit-function-declaration] c = Cns_srv_rmdir (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1113:3: warning: implicit declaration of function 'Cns_srv_setacl' [-Wimplicit-function-declaration] c = Cns_srv_setacl (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1116:3: warning: implicit declaration of function 'Cns_srv_setatime' [-Wimplicit-function-declaration] c = Cns_srv_setatime (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1119:3: warning: implicit declaration of function 'Cns_srv_setcomment' [-Wimplicit-function-declaration] c = Cns_srv_setcomment (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1122:3: warning: implicit declaration of function 'Cns_srv_setfsize' [-Wimplicit-function-declaration] c = Cns_srv_setfsize (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1125:3: warning: implicit declaration of function 'Cns_srv_setsegattrs' [-Wimplicit-function-declaration] c = Cns_srv_setsegattrs (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1128:3: warning: implicit declaration of function 'Cns_srv_shutdown' [-Wimplicit-function-declaration] c = Cns_srv_shutdown (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1131:3: warning: implicit declaration of function 'Cns_srv_stat' [-Wimplicit-function-declaration] c = Cns_srv_stat (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1134:3: warning: implicit declaration of function 'Cns_srv_symlink' [-Wimplicit-function-declaration] c = Cns_srv_symlink (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1137:3: warning: implicit declaration of function 'Cns_srv_undelete' [-Wimplicit-function-declaration] c = Cns_srv_undelete (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1140:3: warning: implicit declaration of function 'Cns_srv_unlink' [-Wimplicit-function-declaration] c = Cns_srv_unlink (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1143:3: warning: implicit declaration of function 'Cns_srv_utime' [-Wimplicit-function-declaration] c = Cns_srv_utime (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1146:3: warning: implicit declaration of function 'Cns_srv_replaceseg' [-Wimplicit-function-declaration] c = Cns_srv_replaceseg (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1149:3: warning: implicit declaration of function 'Cns_srv_addreplica' [-Wimplicit-function-declaration] c = Cns_srv_addreplica (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1152:3: warning: implicit declaration of function 'Cns_srv_delreplica' [-Wimplicit-function-declaration] c = Cns_srv_delreplica (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1158:3: warning: implicit declaration of function 'proctransreq' [-Wimplicit-function-declaration] c = proctransreq (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1161:3: warning: implicit declaration of function 'Cns_srv_endtrans' [-Wimplicit-function-declaration] c = Cns_srv_endtrans (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1164:3: warning: implicit declaration of function 'Cns_srv_aborttrans' [-Wimplicit-function-declaration] c = Cns_srv_aborttrans (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1170:3: warning: implicit declaration of function 'Cns_srv_setfsizeg' [-Wimplicit-function-declaration] c = Cns_srv_setfsizeg (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1173:3: warning: implicit declaration of function 'Cns_srv_statg' [-Wimplicit-function-declaration] c = Cns_srv_statg (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1176:3: warning: implicit declaration of function 'Cns_srv_statr' [-Wimplicit-function-declaration] c = Cns_srv_statr (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1179:3: warning: implicit declaration of function 'Cns_srv_setptime' [-Wimplicit-function-declaration] c = Cns_srv_setptime (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1182:3: warning: implicit declaration of function 'Cns_srv_setratime' [-Wimplicit-function-declaration] c = Cns_srv_setratime (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1185:3: warning: implicit declaration of function 'Cns_srv_setrstatus' [-Wimplicit-function-declaration] c = Cns_srv_setrstatus (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1188:3: warning: implicit declaration of function 'Cns_srv_accessr' [-Wimplicit-function-declaration] c = Cns_srv_accessr (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1197:3: warning: implicit declaration of function 'procsessreq' [-Wimplicit-function-declaration] c = procsessreq (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1200:3: warning: implicit declaration of function 'Cns_srv_endsess' [-Wimplicit-function-declaration] c = Cns_srv_endsess (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1203:3: warning: implicit declaration of function 'Cns_srv_du' [-Wimplicit-function-declaration] c = Cns_srv_du (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1206:3: warning: implicit declaration of function 'Cns_srv_getgrpbynam' [-Wimplicit-function-declaration] c = Cns_srv_getgrpbynam (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1209:3: warning: implicit declaration of function 'Cns_srv_getgrpbygid' [-Wimplicit-function-declaration] c = Cns_srv_getgrpbygid (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1212:3: warning: implicit declaration of function 'Cns_srv_getidmap' [-Wimplicit-function-declaration] c = Cns_srv_getidmap (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1215:3: warning: implicit declaration of function 'Cns_srv_getusrbynam' [-Wimplicit-function-declaration] c = Cns_srv_getusrbynam (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1218:3: warning: implicit declaration of function 'Cns_srv_getusrbyuid' [-Wimplicit-function-declaration] c = Cns_srv_getusrbyuid (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1221:3: warning: implicit declaration of function 'Cns_srv_modgrpmap' [-Wimplicit-function-declaration] c = Cns_srv_modgrpmap (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1224:3: warning: implicit declaration of function 'Cns_srv_modusrmap' [-Wimplicit-function-declaration] c = Cns_srv_modusrmap (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1227:3: warning: implicit declaration of function 'Cns_srv_rmgrpmap' [-Wimplicit-function-declaration] c = Cns_srv_rmgrpmap (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1230:3: warning: implicit declaration of function 'Cns_srv_rmusrmap' [-Wimplicit-function-declaration] c = Cns_srv_rmusrmap (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1233:3: warning: implicit declaration of function 'Cns_srv_getlinks' [-Wimplicit-function-declaration] c = Cns_srv_getlinks (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1236:3: warning: implicit declaration of function 'Cns_srv_getreplica' [-Wimplicit-function-declaration] c = Cns_srv_getreplica (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1239:3: warning: implicit declaration of function 'Cns_srv_entergrpmap' [-Wimplicit-function-declaration] c = Cns_srv_entergrpmap (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1242:3: warning: implicit declaration of function 'Cns_srv_enterusrmap' [-Wimplicit-function-declaration] c = Cns_srv_enterusrmap (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1245:3: warning: implicit declaration of function 'Cns_srv_setrtype' [-Wimplicit-function-declaration] c = Cns_srv_setrtype (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1248:3: warning: implicit declaration of function 'Cns_srv_modreplica' [-Wimplicit-function-declaration] c = Cns_srv_modreplica (magic, req_type, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1251:3: warning: implicit declaration of function 'Cns_srv_getreplicax' [-Wimplicit-function-declaration] c = Cns_srv_getreplicax (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1257:3: warning: implicit declaration of function 'Cns_srv_setrltime' [-Wimplicit-function-declaration] c = Cns_srv_setrltime (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1260:3: warning: implicit declaration of function 'Cns_srv_getreplicas' [-Wimplicit-function-declaration] c = Cns_srv_getreplicas (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1263:3: warning: implicit declaration of function 'Cns_srv_getgrpbygids' [-Wimplicit-function-declaration] c = Cns_srv_getgrpbygids (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1266:3: warning: implicit declaration of function 'Cns_srv_ping' [-Wimplicit-function-declaration] c = Cns_srv_ping (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1269:3: warning: implicit declaration of function 'Cns_srv_delfiles' [-Wimplicit-function-declaration] c = Cns_srv_delfiles (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1272:3: warning: implicit declaration of function 'Cns_srv_delfilesbypattern' [-Wimplicit-function-declaration] c = Cns_srv_delfilesbypattern (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1275:3: warning: implicit declaration of function 'Cns_srv_delreplicas' [-Wimplicit-function-declaration] c = Cns_srv_delreplicas (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1278:3: warning: implicit declaration of function 'Cns_srv_getgrpmap' [-Wimplicit-function-declaration] c = Cns_srv_getgrpmap (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1281:3: warning: implicit declaration of function 'Cns_srv_getusrmap' [-Wimplicit-function-declaration] c = Cns_srv_getusrmap (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1284:3: warning: implicit declaration of function 'Cns_srv_getreplicasl' [-Wimplicit-function-declaration] c = Cns_srv_getreplicasl (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1290:3: warning: implicit declaration of function 'Cns_srv_delreplicasbysfn' [-Wimplicit-function-declaration] c = Cns_srv_delreplicasbysfn (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1293:3: warning: implicit declaration of function 'Cns_srv_registerfiles' [-Wimplicit-function-declaration] c = Cns_srv_registerfiles (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1296:3: warning: implicit declaration of function 'Cns_srv_getreplicass' [-Wimplicit-function-declaration] c = Cns_srv_getreplicass (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c: At top level: Cns_main.c:1305:1: warning: return type defaults to 'int' [-Wreturn-type] procsessreq(magic, req_data, req_datalen, clienthost, thip) ^ Cns_main.c: In function 'procsessreq': Cns_main.c:1319:2: warning: implicit declaration of function 'Cns_srv_startsess' [-Wimplicit-function-declaration] (void) Cns_srv_startsess (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1336:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rc = getreq (thip->s, &magic, &req_type, &req_data2, &req_datalen2, &clienthost)) { ^ Cns_main.c: At top level: Cns_main.c:1350:1: warning: return type defaults to 'int' [-Wreturn-type] proctransreq(magic, req_data, req_datalen, clienthost, thip) ^ Cns_main.c: In function 'proctransreq': Cns_main.c:1364:2: warning: implicit declaration of function 'Cns_srv_starttrans' [-Wimplicit-function-declaration] (void) Cns_srv_starttrans (magic, req_data, req_datalen, clienthost, thip); ^ Cns_main.c:1382:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rc = getreq (thip->s, &magic, &req_type, &req_data2, &req_datalen2, &clienthost)) { ^ Cns_main.c: At top level: Cns_main.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_main.c,v $ $Revision: 10224 $ $Date: 2014-03-06 08:24:35 +0100 (Thu, 06 Mar 2014) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_chkperm.c:26:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_chkbackperm(dbfd, fileid, mode, uid, nbgids, gids, clienthost) ^ Cns_chkperm.c:56:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_parsepath(dbfd, cwd, path, uid, nbgids, gids, clienthost, parent_dir, rec_addrp, base_entry, rec_addr, flags) ^ Cns_chkperm.c:239:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_chkentryperm(fmd_entry, mode, uid, nbgids, gids, clienthost) ^ Cns_acl.c:23:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_acl_chmod (struct Cns_file_metadata *fmd_entry) ^ Cns_chkperm.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_chkperm.c,v $ $Revision: 1.7 $ $Date: 2008/06/19 14:37:50 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_acl.c:68:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_acl_chown (struct Cns_file_metadata *fmd_entry) ^ Cns_acl.c:109:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_acl_compare (const void *acl1, const void *acl2) ^ Cns_acl.c:124:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_acl_inherit (struct Cns_file_metadata *parent_dir, struct Cns_file_metadata *fmd_entry, mode_t mode) ^ Cns_acl.c: In function 'Cns_acl_inherit': Cns_acl.c:140:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (iacl = strchr (pacl, CNS_ACL_DEFAULT|CNS_ACL_MASK|'@')) ^ Cns_acl.c:153:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry->filemode = fmd_entry->filemode & 0177077 | ^ Cns_acl.c:157:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry->filemode = fmd_entry->filemode & 0177707 | ^ Cns_acl.c:161:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry->filemode = fmd_entry->filemode & 0177770 | ^ Cns_acl.c:177:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry->filemode = fmd_entry->filemode & 0177077 | ^ Cns_acl.c:183:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry->filemode = fmd_entry->filemode & 0177707 | ^ Cns_acl.c:189:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry->filemode = fmd_entry->filemode & 0177707 | ^ Cns_acl.c:195:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry->filemode = fmd_entry->filemode & 0177770 | ^ Cns_acl.c: At top level: Cns_acl.c:225:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_acl_validate (struct Cns_acl *acl, int nentries, char *errbuf) ^ Cns_acl.c:336:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_chkaclperm (struct Cns_file_metadata *fmd_entry, int mode, uid_t uid, int nbgids, gid_t *gids) ^ Cns_acl.c: In function 'Cns_chkaclperm': Cns_acl.c:352:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (iacl = strchr (fmd_entry->acl, CNS_ACL_MASK|'@')) ^ Cns_acl.c: At top level: Cns_acl.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_acl.c,v $ $Revision: 3465 $ $Date: 2010-03-05 12:52:51 +0100 (Fri, 05 Mar 2010) $ CERN IT-ADC/CA Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_mysql_ifce.o Cns_mysql_ifce.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_procreq.o Cns_procreq.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cupv_check.o Cupv_check.c Cns_mysql_ifce.c: In function 'Cns_get_dbconf': Cns_mysql_ifce.c:81:4: warning: reading through null pointer (argument 4) [-Wformat=] sprintf (nsconfigfile, "%s%s", p, strchr (NSCONFIG, '\\')); ^ Cns_mysql_ifce.c:91:3: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, NS023, nsconfigfile); ^ Cns_mysql_ifce.c: At top level: Cns_mysql_ifce.c:124:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_init_dbpkg() ^ Cns_mysql_ifce.c:148:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_abort_tr(dbfd) ^ Cns_mysql_ifce.c:160:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_closedb(dbfd) ^ Cns_mysql_ifce.c:167:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_class_entry(row, lock, rec_addr, class_entry) ^ Cns_mysql_ifce.c:193:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_fmd_entry(row, lock, rec_addr, fmd_entry) ^ Cns_mysql_ifce.c:223:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_rep_entry (row, lock, rec_addr, rep_entry) ^ Cns_mysql_ifce.c:254:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_smd_entry(row, lock, rec_addr, smd_entry) ^ Cns_mysql_ifce.c:280:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_tppool_entry(row, lock, rec_addr, tppool_entry) ^ Cns_mysql_ifce.c:294:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_class_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:312:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_fmd_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:330:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_lnk_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:348:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_rep_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:366:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_smd_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:384:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_tppool_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:402:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_umd_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:420:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_end_tr(dbfd) ^ Cns_mysql_ifce.c:432:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_exec_query(func, dbfd, sql_stmt, res) ^ Cns_mysql_ifce.c:450:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_class_by_id(dbfd, classid, class_entry, lock, rec_addr) ^ Cns_mysql_ifce.c:494:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_class_by_name(dbfd, class_name, class_entry, lock, rec_addr) ^ Cns_mysql_ifce.c:541:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_fmd_by_fileid(dbfd, fileid, fmd_entry, lock, rec_addr) ^ Cns_mysql_ifce.c:584:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_fmd_by_fullid(dbfd, parent_fileid, name, fmd_entry, lock, rec_addr) ^ Cns_mysql_ifce.c:633:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_fmd_by_guid(dbfd, guid, fmd_entry, lock, rec_addr) ^ Cns_mysql_ifce.c:678:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_fmd_by_pfid(dbfd, bod, parent_fileid, pattern, fmd_entry, getattr, endlist, dblistptr) ^ Cns_mysql_ifce.c:745:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_lnk_by_fileid(dbfd, fileid, lnk_entry, lock, rec_addr) ^ Cns_mysql_ifce.c:787:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_max_copyno (dbfd, fileid, copyno) ^ Cns_mysql_ifce.c:818:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_rep_by_sfn(dbfd, sfn, rep_entry, lock, rec_addr) ^ Cns_mysql_ifce.c:861:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_smd_by_fullid(dbfd, fileid, copyno, fsec, smd_entry, lock, rec_addr) ^ Cns_mysql_ifce.c:906:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_smd_by_pfid(dbfd, bof, fileid, smd_entry, lock, rec_addr, endlist, dblistptr) ^ Cns_mysql_ifce.c:956:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_smd_by_vid(dbfd, bov, vid, smd_entry, endlist, dblistptr) ^ Cns_mysql_ifce.c:995:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_tppool_by_cid(dbfd, bol, classid, tppool_entry, lock, rec_addr, endlist, dblistptr) ^ Cns_mysql_ifce.c:1038:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_umd_by_fileid(dbfd, fileid, umd_entry, lock, rec_addr) ^ Cns_mysql_ifce.c:1080:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_class_entry(dbfd, class_entry) ^ Cns_mysql_ifce.c:1119:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_fmd_entry(dbfd, fmd_entry) ^ Cns_mysql_ifce.c:1195:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_lnk_entry(dbfd, lnk_entry) ^ Cns_mysql_ifce.c:1226:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_rep_entry(dbfd, rep_entry) ^ Cns_mysql_ifce.c:1354:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_smd_entry(dbfd, smd_entry) ^ Cns_mysql_ifce.c:1397:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_tppool_entry(dbfd, tppool_entry) ^ Cns_mysql_ifce.c:1427:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_umd_entry(dbfd, umd_entry) ^ Cns_mysql_ifce.c:1459:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_class_entry(dbfd, bol, class_entry, endlist, dblistptr) ^ Cns_mysql_ifce.c:1496:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_group_entry(dbfd, bol, group_entry, endlist, dblistptr) ^ Cns_mysql_ifce.c:1529:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_lnk_entry(dbfd, bol, linkname, lnk_entry, endlist, dblistptr) ^ Cns_mysql_ifce.c:1567:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep4admin(dbfd, bol, poolname, server, fs, rep_entry, endlist, dblistptr) ^ Cns_mysql_ifce.c:1645:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep4gc(dbfd, bol, poolname, rep_entry, endlist, dblistptr) ^ Cns_mysql_ifce.c:1685:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep_entry(dbfd, bol, fileid, rep_entry, lock, rec_addr, endlist, dblistptr) ^ Cns_mysql_ifce.c:1732:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep_set(dbfd, bol, setname, rep_entry, endlist, dblistptr) ^ Cns_mysql_ifce.c:1770:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_user_entry(dbfd, bol, user_entry, endlist, dblistptr) ^ Cns_mysql_ifce.c:1804:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_opendb(dbfd) ^ Cns_mysql_ifce.c:1825:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_pingdb(dbfd) ^ Cns_mysql_ifce.c:1839:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_start_tr(s, dbfd) ^ Cns_mysql_ifce.c:1850:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_unique_id(dbfd, unique_id) ^ Cns_mysql_ifce.c:1892:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_class_entry(dbfd, rec_addr, class_entry) ^ Cns_mysql_ifce.c:1928:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_fmd_entry(dbfd, rec_addr, fmd_entry) ^ Cns_mysql_ifce.c:1998:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_rep_entry(dbfd, rec_addr, rep_entry) ^ Cns_mysql_ifce.c:2100:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_smd_entry(dbfd, rec_addr, smd_entry) ^ Cns_mysql_ifce.c:2136:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_umd_entry(dbfd, rec_addr, umd_entry) ^ Cns_mysql_ifce.c:2164:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_group_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:2182:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_user_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:2200:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_grpinfo_by_gid(dbfd, gid, group_entry, lock, rec_addr) ^ Cns_mysql_ifce.c:2237:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_grpinfo_by_name(dbfd, name, group_entry, lock, rec_addr) ^ Cns_mysql_ifce.c:2278:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_usrinfo_by_name(dbfd, name, user_entry, lock, rec_addr) ^ Cns_mysql_ifce.c:2321:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_usrinfo_by_uid(dbfd, uid, user_entry, lock, rec_addr) ^ Cns_mysql_ifce.c:2360:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_group_entry(dbfd, group_entry) ^ Cns_mysql_ifce.c:2386:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_user_entry(dbfd, user_entry) ^ Cns_mysql_ifce.c:2416:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_unique_gid(dbfd, unique_id) ^ Cns_mysql_ifce.c:2462:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_unique_uid(dbfd, unique_id) ^ Cns_procreq.c:57:1: warning: return type defaults to 'int' [-Wreturn-type] get_client_actual_id (thip, uid, gid, nbgids, gids, user) ^ Cns_procreq.c:97:1: warning: return type defaults to 'int' [-Wreturn-type] getpath (thip, cur_fileid, path) ^ Cns_procreq.c: In function 'Cns_logreq': Cns_procreq.c:147:3: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, NS098, p); ^ Cns_mysql_ifce.c:2507:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_group_entry(dbfd, rec_addr, group_entry) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'fixup_parent_dirs_sz': Cns_mysql_ifce.c:2535:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_unique_gid(dbfd, unique_id) ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:208:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:238:6: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] sprintf (logbuf, " Cns_get_fmd_by_fileid: Ignoring error %s", serrno); ^ Cns_procreq.c:250:6: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] sprintf (logbuf, " Cns_update_fmd_entry: Ignoring error %s", serrno); ^ Cns_procreq.c: At top level: Cns_procreq.c:288:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRR (sbpp, magic, rep_entry) ^ Cns_mysql_ifce.c:2580:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_unique_uid(dbfd, unique_id) ^ Cns_procreq.c:311:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRX (sbpp, magic, fmd_entry) ^ Cns_mysql_ifce.c:2625:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_user_entry(dbfd, rec_addr, user_entry) ^ Cns_mysql_ifce.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_mysql_ifce.c,v $ $Revision: 10220 $ $Date: 2014-03-05 17:38:40 +0100 (Wed, 05 Mar 2014) $ CERN IT-DS/HSM Jean-Philippe Baud"; ^ Cns_mysql_ifce.c: In function 'Cns_decode_class_entry': Cns_mysql_ifce.c:191:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Cns_procreq.c:340:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRXR (sbpp, magic, fmd_entry) ^ Cns_mysql_ifce.c: In function 'Cns_decode_fmd_entry': Cns_mysql_ifce.c:221:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Cns_mysql_ifce.c: In function 'Cns_decode_rep_entry': Cns_mysql_ifce.c:252:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Cns_procreq.c:356:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRXT (sbpp, magic, fmd_entry, smd_entry) ^ Cns_mysql_ifce.c: In function 'Cns_decode_smd_entry': Cns_mysql_ifce.c:278:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Cns_mysql_ifce.c: In function 'Cns_decode_tppool_entry': Cns_mysql_ifce.c:292:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Cns_procreq.c:382:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_REPLICS (sbpp, magic, fmd_entry, rep_entry, errcode) ^ Cns_procreq.c:428:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_aborttrans(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_aborttrans': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:450:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_procreq.c:455:3: warning: implicit declaration of function 'sendrep' [-Wimplicit-function-declaration] sendrep (thip->s, MSG_ERR, "Too many FQANs in proxy\n"); ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:456:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:460:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:465:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_access(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:535:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_accessr(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:614:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_addreplica(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_addreplica': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:656:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:662:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:665:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:667:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:669:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:671:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:673:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:676:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:677:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:683:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:686:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:690:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:693:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:698:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:700:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:714:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:725:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:728:4: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:731:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:738:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:747:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:749:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:768:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:810:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c:648:7: warning: unused variable 'tmp_path' [-Wunused-variable] char tmp_path[CA_MAXPATHLEN+1]; ^ Cns_procreq.c:647:7: warning: unused variable 'status_str' [-Wunused-variable] char status_str[2]; ^ Cns_procreq.c:635:6: warning: unused variable 'nbfqans' [-Wunused-variable] int nbfqans = 0; ^ Cns_procreq.c:626:9: warning: unused variable 'fqan' [-Wunused-variable] char **fqan = NULL; ^ Cns_procreq.c:623:7: warning: unused variable 'f_type_str' [-Wunused-variable] char f_type_str[2]; ^ Cns_procreq.c:622:7: warning: unused variable 'authbuf' [-Wunused-variable] char authbuf[4096]; ^ Cns_procreq.c: At top level: Cns_procreq.c:815:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chclass(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chclass': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:848:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cupv_check.c:39:1: warning: return type defaults to 'int' [-Wreturn-type] Cupv_check(uid_t priv_uid, gid_t priv_gid, const char *src, const char *tgt, int priv) ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:854:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:857:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:860:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:861:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:864:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:866:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:879:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:888:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:890:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:884:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Cns_get_class_by_id (&thip->dbfd, classid, &new_class_entry, ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:892:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:898:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o sendrep.o sendrep.c ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:900:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:894:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Cns_get_class_by_name (&thip->dbfd, class_name, &new_class_entry, ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:907:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:909:3: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:917:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:921:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:926:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:930:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:932:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:937:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chdir(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chdir': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:965:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:971:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:974:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:977:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:978:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:988:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:991:3: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:993:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ Cupv_check.c: In function 'Cupv_check': Cupv_check.c:60:8: warning: unused variable 'uid' [-Wunused-variable] uid_t uid; ^ Cupv_check.c:59:31: warning: unused variable 'thip' [-Wunused-variable] struct Cupv_api_thread_info *thip; ^ Cupv_check.c:58:7: warning: unused variable 'sendbuf' [-Wunused-variable] char sendbuf[REQBUFSZ]; ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1000:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cupv_check.c:57:8: warning: unused variable 'sbp' [-Wunused-variable] char *sbp; ^ Cns_procreq.c: At top level: Cupv_check.c:54:6: warning: unused variable 'msglen' [-Wunused-variable] int msglen; ^ Cupv_check.c:45:8: warning: unused variable 'gid' [-Wunused-variable] gid_t gid; ^ Cupv_check.c:41:6: warning: unused variable 'c' [-Wunused-variable] int c; ^ Cns_procreq.c:1005:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chmod(magic, req_data, req_datalen, clienthost, thip) ^ Cupv_check.c: At top level: Cupv_check.c:174:1: warning: return type defaults to 'int' [-Wreturn-type] Cupv_seterrbuf(char *buffer, int buflen) ^ Cupv_check.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cupv_check.c,v $ $Revision: 1.11 $ $Date: 2008/01/29 10:09:39 $ CERN IT-DS/HSM Ben Couturier"; ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chmod': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1036:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1042:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1045:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1047:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1050:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1051:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1054:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1067:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1073:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1086:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1108:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c:1023:6: warning: unused variable 'nbfqans' [-Wunused-variable] int nbfqans = 0; ^ Cns_procreq.c:1015:9: warning: unused variable 'fqan' [-Wunused-variable] char **fqan = NULL; ^ Cns_procreq.c:1013:7: warning: unused variable 'authbuf' [-Wunused-variable] char authbuf[4096]; ^ Cns_procreq.c: At top level: Cns_procreq.c:1113:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chown(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chown': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1151:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1157:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1160:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1162:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1165:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1166:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1169:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1171:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1184:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1231:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1235:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1248:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1265:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c:1133:6: warning: unused variable 'nbfqans' [-Wunused-variable] int nbfqans = 0; ^ Cns_procreq.c:1131:9: warning: unused variable 'membername' [-Wunused-variable] char **membername; ^ Cns_procreq.c:1128:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ Cns_procreq.c:1124:6: warning: unused variable 'found' [-Wunused-variable] int found; ^ Cns_procreq.c:1123:9: warning: unused variable 'fqan' [-Wunused-variable] char **fqan = NULL; ^ Cns_procreq.c:1121:7: warning: unused variable 'authbuf' [-Wunused-variable] char authbuf[4096]; ^ Cns_procreq.c: At top level: Cns_procreq.c:1270:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_creat(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_creat': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1312:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1318:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1321:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1323:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1325:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1328:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1329:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1332:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1335:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1337:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1352:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1355:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1359:4: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1361:4: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1366:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1375:5: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1380:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1387:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1393:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1407:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1411:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1413:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); /* guid is mandatory for the LFC */ ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1415:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1439:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1447:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1453:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1458:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delcomment(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delcomment': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1486:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1492:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1495:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1497:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1500:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1501:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1515:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1521:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1527:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1529:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1530:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1535:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delete(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delete': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1573:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1579:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1582:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1584:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1586:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1589:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1590:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1604:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1607:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1610:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1619:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1628:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1653:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1662:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1668:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1675:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1682:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1683:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c:1555:6: warning: unused variable 'nbfqans' [-Wunused-variable] int nbfqans = 0; ^ Cns_procreq.c:1548:9: warning: unused variable 'fqan' [-Wunused-variable] char **fqan = NULL; ^ Cns_procreq.c:1543:7: warning: unused variable 'authbuf' [-Wunused-variable] char authbuf[4096]; ^ Cns_procreq.c: At top level: Cns_procreq.c:1688:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_deleteclass(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_deleteclass': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1719:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1725:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1728:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1730:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1735:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1744:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1746:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1750:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1753:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1757:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1763:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1764:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1771:1: warning: return type defaults to 'int' [-Wreturn-type] unlinkonefile (thip, uid, nbgids, gids, clienthost, parent_dir, rec_addrp, filentry, rec_addr, force) ^ Cns_procreq.c: In function 'unlinkonefile': Cns_procreq.c:1799:8: warning: unused variable 'tmp_pathp' [-Wunused-variable] char *tmp_pathp; ^ Cns_procreq.c:1798:7: warning: unused variable 'tmp_path' [-Wunused-variable] char tmp_path[CA_MAXPATHLEN+1]; ^ Cns_procreq.c:1790:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ Cns_procreq.c:1789:6: warning: unused variable 'nbfqans' [-Wunused-variable] int nbfqans = 0; ^ Cns_procreq.c:1787:9: warning: unused variable 'fqan' [-Wunused-variable] char **fqan = NULL; ^ Cns_procreq.c:1784:7: warning: unused variable 'authbuf' [-Wunused-variable] char authbuf[4096]; ^ Cns_procreq.c: At top level: Cns_procreq.c:1922:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delfiles(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delfiles': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1960:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1966:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1969:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1971:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1973:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1976:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1979:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1981:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2059:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:2067:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delfilesbypattern(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delfilesbypattern': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2105:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2111:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2114:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2116:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2119:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2120:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2123:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2125:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2131:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2134:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2186:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:2191:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delreplica(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delreplica': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2223:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2229:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2232:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2234:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2236:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2238:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2241:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2242:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2254:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2258:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2261:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2265:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2272:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2276:3: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2283:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2288:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2291:2: note: in expansion of macro 'RETURN' RETURN (rc); ^ Cns_procreq.c:2209:6: warning: unused variable 'nbfqans' [-Wunused-variable] int nbfqans = 0; ^ Cns_procreq.c:2201:9: warning: unused variable 'fqan' [-Wunused-variable] char **fqan = NULL; ^ Cns_procreq.c:2199:7: warning: unused variable 'authbuf' [-Wunused-variable] char authbuf[4096]; ^ Cns_procreq.c: At top level: Cns_procreq.c:2298:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delreplicas(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delreplicas': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2339:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2345:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2348:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2350:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2352:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2354:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2356:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2439:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c:2318:6: warning: unused variable 'nbfqans' [-Wunused-variable] int nbfqans = 0; ^ Cns_procreq.c:2310:9: warning: unused variable 'fqan' [-Wunused-variable] char **fqan = NULL; ^ Cns_procreq.c:2306:7: warning: unused variable 'authbuf' [-Wunused-variable] char authbuf[4096]; ^ Cns_procreq.c: At top level: Cns_procreq.c:2445:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delreplicasbysfn(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delreplicasbysfn': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2487:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2493:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2496:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2498:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2500:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2502:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_procreq.c:2576:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] &umd_entry, 1, &rec_addr) == 0 && ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2622:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c:2464:6: warning: unused variable 'nbfqans' [-Wunused-variable] int nbfqans = 0; ^ Cns_procreq.c:2456:9: warning: unused variable 'fqan' [-Wunused-variable] char **fqan = NULL; ^ Cns_procreq.c:2453:7: warning: unused variable 'authbuf' [-Wunused-variable] char authbuf[4096]; ^ Cns_procreq.c: At top level: Cns_procreq.c:2627:1: warning: return type defaults to 'int' [-Wreturn-type] compute_du4dir (thip, direntry, Lflag, uid, nbgids, gids, clienthost, nbbytes, nbentries) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nslogit.o nslogit.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsshutdown.o nsshutdown.c Cns_procreq.c:2688:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_du(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:2769:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_endsess(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_endsess': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2791:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2797:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2799:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:2804:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_endtrans(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_endtrans': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2826:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2832:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2836:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:2841:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_enterclass(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_enterclass': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2868:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2874:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2878:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2880:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2882:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2884:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2886:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2888:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2890:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2892:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2894:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2896:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2898:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2900:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2902:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2904:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2910:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2915:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2917:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2921:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2928:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2930:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2932:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:2937:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getacl(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getacl': Cns_procreq.c:3009:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = strchr (iacl, ',')) ^ Cns_procreq.c: At top level: Cns_procreq.c:3025:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getcomment(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:3099:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getlinks(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:3220:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getpath(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:3273:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplica(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:3398:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplicas(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:3535:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplicasl(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:3675:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplicass(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:3786:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplicax(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:3916:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getsegattrs(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_getsegattrs': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3952:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3958:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3961:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3963:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3966:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3967:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3978:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3984:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3991:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3997:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4021:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4026:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4031:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_lchown(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_lchown': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4066:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4072:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4075:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4077:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4080:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4081:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4084:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4086:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4099:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4146:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4150:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4163:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4164:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c:4047:9: warning: unused variable 'membername' [-Wunused-variable] char **membername; ^ Cns_procreq.c:4044:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ Cns_procreq.c:4040:6: warning: unused variable 'found' [-Wunused-variable] int found; ^ Cns_procreq.c: At top level: Cns_procreq.c:4167:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listclass(magic, req_data, req_datalen, clienthost, thip, class_entry, endlist, dblistptr) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_listclass': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4206:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4212:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4215:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4217:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4274:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4283:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4291:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4294:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listlinks(magic, req_data, req_datalen, clienthost, thip, lnk_entry, endlist, dblistptr) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_listlinks': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4333:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4339:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ sendrep.c:23:1: warning: return type defaults to 'int' [-Wreturn-type] sendrep(int rpfd, int rep_type, ...) ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4342:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4344:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ sendrep.c: In function 'sendrep': sendrep.c:48:3: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, "%s", prtbuf); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4347:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ sendrep.c:31:8: warning: unused variable 'q' [-Wunused-variable] char *q; ^ sendrep.c:29:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ sendrep.c: At top level: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4348:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ sendrep.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: sendrep.c,v $ $Revision: 9750 $ $Date: 2013-11-28 11:04:23 +0100 (Thu, 28 Nov 2013) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4351:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4353:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4369:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4372:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4376:5: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4381:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4391:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4396:6: note: in expansion of macro 'RETURN' RETURN (c); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4425:4: note: in expansion of macro 'RETURN' RETURN (c); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4434:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4441:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4444:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listrep4gc(magic, req_data, req_datalen, clienthost, thip, rep_entry, endlist, dblistptr) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_listrep4gc': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4480:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4486:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4489:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4491:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4493:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4547:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4554:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4557:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listreplica(magic, req_data, req_datalen, clienthost, thip, fmd_entry, rep_entry, endlist, dblistptr) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_listreplica': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4595:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4601:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4604:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4606:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4609:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4610:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4613:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4615:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4631:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4634:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4638:5: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4643:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4694:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4701:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4704:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listreplicax(magic, req_data, req_datalen, clienthost, thip, rep_entry, endlist, dblistptr) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_listreplicax': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4742:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4748:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4751:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4753:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4755:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4757:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4759:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4800:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4807:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4810:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listrepset(magic, req_data, req_datalen, clienthost, thip, rep_entry, endlist, dblistptr) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_listrepset': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4846:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4852:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4855:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4857:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4859:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4904:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4911:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4914:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listtape(magic, req_data, req_datalen, clienthost, thip, fmd_entry, smd_entry, endlist, dblistptr) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_listtape': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4950:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4956:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4959:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4961:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4963:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4996:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5004:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5012:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:5017:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_lstat(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_lstat': Cns_procreq.c:5035:6: warning: unused variable 'nbfqans' [-Wunused-variable] int nbfqans = 0; ^ Cns_procreq.c:5028:9: warning: unused variable 'fqan' [-Wunused-variable] char **fqan = NULL; ^ Cns_procreq.c:5025:7: warning: unused variable 'authbuf' [-Wunused-variable] char authbuf[4096]; ^ Cns_procreq.c: At top level: Cns_procreq.c:5168:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_mkdir(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_mkdir': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5202:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5208:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ nslogit.c:14:1: warning: return type defaults to 'int' [-Wreturn-type] nslogit(char *func, char *msg, ...) ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5211:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ nslogit.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nslogit.c,v $ $Revision: 4489 $ $Date: 2011-06-20 09:00:04 +0200 (Mon, 20 Jun 2011) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5213:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5215:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5218:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5219:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5222:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5225:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5227:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5242:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5245:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5250:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5255:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5277:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5285:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5292:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5295:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5297:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:5302:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_modifyclass(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_modifyclass': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5348:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5354:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5357:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5359:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5361:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5363:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5365:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5367:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5369:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5371:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5373:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5375:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5377:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5379:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5381:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5383:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5385:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5390:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5402:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5404:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5408:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5439:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5443:4: note: in expansion of macro 'RETURN' RETURN (ENOMEM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5448:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5465:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5483:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5490:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:5495:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_modreplica(magic, req_type, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_modreplica': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5528:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5534:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5537:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5539:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5542:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5543:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5546:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5548:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5550:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5553:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5555:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5569:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5572:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5578:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5584:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5600:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5601:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:5606:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_open(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_open': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5648:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5654:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5657:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5659:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5662:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5663:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5666:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5669:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5684:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5705:3: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5710:4: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5713:4: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5720:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5730:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5737:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5746:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5750:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5774:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5782:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5790:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c:5628:6: warning: unused variable 'nbfqans' [-Wunused-variable] int nbfqans = 0; ^ Cns_procreq.c:5615:9: warning: unused variable 'fqan' [-Wunused-variable] char **fqan = NULL; ^ Cns_procreq.c:5614:7: warning: unused variable 'authbuf' [-Wunused-variable] char authbuf[4096]; ^ Cns_procreq.c: At top level: Cns_procreq.c:5795:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_opendir(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_opendir': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5824:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5830:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5833:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5836:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5837:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5841:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5851:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5858:4: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5860:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5867:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5870:3: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5872:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5879:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:5884:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_ping(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:5916:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_queryclass(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_queryclass': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5950:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5956:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5959:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5961:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5969:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5971:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5975:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6006:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6010:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6015:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_readdir(magic, req_data, req_datalen, clienthost, thip, fmd_entry, smd_entry, umd_entry, endlist, dblistptr, smdlistptr, beginp) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_readdir': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6067:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6073:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6076:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6078:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6080:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6082:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6087:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6089:4: note: in expansion of macro 'RETURN' RETURN (SEOPNOTSUP); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6092:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_procreq.c:6093:69: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (((p = strchr (pattern, '%')) || (p = strchr (pattern, '*'))) && ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6095:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6101:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_procreq.c:6107:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (getattr == 1 || getattr == 4) ^ Cns_procreq.c:6140:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 0, smdlistptr)) break; ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6147:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:6165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 0, &replistptr)) break; ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6182:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:6207:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 0, smdlistptr)) break; ^ nsshutdown.c:26:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6218:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6223:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ nsshutdown.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsshutdown.c,v $ $Revision: 1.5 $ $Date: 2008/10/01 14:02:10 $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cp Cns_mysql_tbl.sql create_lfc_tables_mysql.sql cp NSCONFIG.mysql NSCONFIG.templ sed -e 's#NSCONFIGFILE=.*#NSCONFIGFILE=/etc/NSCONFIG#' -e 's#PREFIX=.*#PREFIX=/usr#' lfcdaemon.scripts.mysql > rc.lfcdaemon sed -e 's#NSCONFIGFILE=.*#NSCONFIGFILE="/etc/NSCONFIG"#' lfcdaemon.sysconfig.mysql > lfcdaemon.conf.templ rm -f -f lfc_perlwrap.o lfc_perlwrap.c SWIG_LIB=/usr/share/swig/2.0.10 /usr/bin/swig -perl -I../h -DNSTYPE_LFC -o lfc_perlwrap.c lfc.i rm -f -f lfc_wrap.o if test "x"YES"" = "xYES" ; then SWIG_LIB=/usr/share/swig/2.0.10 /usr/bin/swig -python -I../h -DNSTYPE_LFC lfc.i ; fi ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6234:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:6254:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 0, &replistptr)) break; ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6271:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6279:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6289:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6292:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6302:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6307:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_readlink(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:6384:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_registerfiles(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_registerfiles': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6436:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6442:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6445:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6447:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6449:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6451:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6453:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6455:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6739:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c:6426:7: warning: unused variable 'status_str' [-Wunused-variable] char status_str[2]; ^ Cns_procreq.c:6411:6: warning: unused variable 'nbfqans' [-Wunused-variable] int nbfqans = 0; ^ Cns_procreq.c:6398:7: warning: unused variable 'f_type_str' [-Wunused-variable] char f_type_str[2]; ^ Cns_procreq.c:6397:9: warning: unused variable 'fqan' [-Wunused-variable] char **fqan = NULL; ^ Cns_procreq.c:6393:7: warning: unused variable 'authbuf' [-Wunused-variable] char authbuf[4096]; ^ Cns_procreq.c: At top level: Cns_procreq.c:6744:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_rename(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_rename': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6791:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6797:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6800:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6802:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6805:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6806:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6810:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6811:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6826:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6834:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6837:3: note: in expansion of macro 'RETURN' RETURN (0); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6839:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6842:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6851:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6853:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6865:4: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6868:4: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6874:4: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6885:5: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6890:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6901:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6909:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6918:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6928:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6934:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6942:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6944:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6952:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6954:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6957:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6976:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6989:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6996:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6997:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7002:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_replaceseg(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_replaceseg': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7038:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7044:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7047:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7049:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7051:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7059:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7068:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7073:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7076:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7078:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7080:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7086:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7090:3: note: in expansion of macro 'RETURN' RETURN (SEENTRYNFND); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7106:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7109:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7111:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7113:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7117:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7130:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7132:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7137:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_rmdir(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_rmdir': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7170:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7176:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7179:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7181:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7184:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7185:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7199:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7202:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7205:3: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7207:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); /* cannot remove current working directory */ ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7209:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7218:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7225:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7227:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7232:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7240:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7247:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7250:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7252:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7257:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setacl(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setacl': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7302:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7308:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7311:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7313:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7316:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7317:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7323:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7325:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7328:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7330:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7332:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7344:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7350:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7360:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7368:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_procreq.c:7379:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177077 | ^ Cns_procreq.c:7383:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177707 | ^ Cns_procreq.c:7387:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177770 | ^ Cns_procreq.c:7401:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177077 | ^ Cns_procreq.c:7405:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177707 | ^ Cns_procreq.c:7413:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177770 | ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7421:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7507:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c:7295:22: warning: unused variable 'user_entry' [-Wunused-variable] struct Cns_userinfo user_entry; ^ Cns_procreq.c:7293:7: warning: unused variable 'uidgid' [-Wunused-variable] char uidgid[256]; ^ Cns_procreq.c:7288:7: warning: unused variable 'permbuf' [-Wunused-variable] char permbuf[2]; ^ Cns_procreq.c:7283:6: warning: unused variable 'nbfqans' [-Wunused-variable] int nbfqans = 0; ^ Cns_procreq.c:7281:6: warning: unused variable 'l' [-Wunused-variable] int l; ^ Cns_procreq.c:7277:23: warning: unused variable 'group_entry' [-Wunused-variable] struct Cns_groupinfo group_entry; ^ Cns_procreq.c:7273:9: warning: unused variable 'fqan' [-Wunused-variable] char **fqan = NULL; ^ Cns_procreq.c:7267:7: warning: unused variable 'authbuf' [-Wunused-variable] char authbuf[4096]; ^ Cns_procreq.c:7266:6: warning: unused variable 'aclstringlen' [-Wunused-variable] int aclstringlen; ^ Cns_procreq.c:7265:7: warning: unused variable 'aclstring' [-Wunused-variable] char aclstring[4096]; ^ Cns_procreq.c:7264:7: warning: unused variable 'aclbuf' [-Wunused-variable] char aclbuf[256]; ^ Cns_procreq.c: At top level: Cns_procreq.c:7512:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setatime(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setatime': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7541:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7547:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7550:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7552:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7554:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7557:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7558:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7572:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7578:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7585:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7592:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7595:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7602:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7603:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7608:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setcomment(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setcomment': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7638:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7644:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7647:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7649:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7652:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7653:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7656:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7669:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7675:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7686:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7692:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7694:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7696:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7701:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setfsize(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setfsize': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7734:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7740:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7743:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7745:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7747:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7749:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7752:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7753:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7756:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7758:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7761:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7763:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7766:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7784:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7790:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7797:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7804:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7807:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7818:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7819:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7824:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setfsizeg(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setfsizeg': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7854:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7860:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7863:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7865:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7867:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7869:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7871:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7873:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7875:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7878:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7889:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7895:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7901:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7904:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7915:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7916:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7921:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setptime(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setptime': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7949:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7955:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7958:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7960:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7963:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7964:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7967:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_procreq.c:7968:2: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' [-Wformat=] sprintf (logbuf, "setptime %s %d", sfn, ptime); ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7976:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7982:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7988:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7994:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8001:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8002:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:8007:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setratime(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setratime': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8034:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8040:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8043:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8045:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8048:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8049:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8059:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8065:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8071:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8077:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8085:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8086:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:8091:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setrltime(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setrltime': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8119:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8125:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8128:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8130:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8133:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8134:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8137:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_procreq.c:8138:2: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' [-Wformat=] sprintf (logbuf, "setrltime %s %d", sfn, ltime); ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8146:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8152:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8158:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8164:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8171:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8172:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:8177:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setrstatus(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setrstatus': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8206:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8212:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8215:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8217:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8220:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8221:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8224:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8233:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8239:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8245:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8253:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8261:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8270:4: note: in expansion of macro 'RETURN' RETURN (rc); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8276:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:8281:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setrtype(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setrtype': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8309:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8315:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8318:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8320:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8323:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8324:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8327:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8336:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8342:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8348:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8354:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8361:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8362:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:8367:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setsegattrs(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setsegattrs': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8404:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8410:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8413:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8415:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8418:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8419:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8422:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8436:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8442:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8449:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8455:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8461:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8463:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8465:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8467:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8469:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8471:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8474:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8477:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8481:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8490:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8512:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8522:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8529:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8531:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:8536:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_shutdown(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_shutdown': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8559:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8565:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8568:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8571:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8574:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:8579:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_startsess(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_startsess': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8603:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8609:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8612:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8615:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:8620:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_starttrans(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_starttrans': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8644:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8650:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8654:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8661:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:8666:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_stat(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_stat': Cns_procreq.c:8684:6: warning: unused variable 'nbfqans' [-Wunused-variable] int nbfqans = 0; ^ Cns_procreq.c:8677:9: warning: unused variable 'fqan' [-Wunused-variable] char **fqan = NULL; ^ Cns_procreq.c:8674:7: warning: unused variable 'authbuf' [-Wunused-variable] char authbuf[4096]; ^ Cns_procreq.c: At top level: Cns_procreq.c:8812:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_statg(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_statg': Cns_procreq.c:8830:6: warning: unused variable 'nbfqans' [-Wunused-variable] int nbfqans = 0; ^ Cns_procreq.c:8822:9: warning: unused variable 'fqan' [-Wunused-variable] char **fqan = NULL; ^ Cns_procreq.c:8820:7: warning: unused variable 'authbuf' [-Wunused-variable] char authbuf[4096]; ^ Cns_procreq.c: At top level: Cns_procreq.c:8928:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_statr(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:9002:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_symlink(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_symlink': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9032:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9038:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9041:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9043:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9046:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9047:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9051:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9052:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9066:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9071:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9076:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9098:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9100:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9108:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9109:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:9114:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_undelete(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_undelete': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9149:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9155:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9158:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9160:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9162:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9165:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9166:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9180:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9183:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9186:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9195:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9204:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9210:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9218:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9224:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9234:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9241:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9242:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:9247:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_unlink(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_unlink': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9277:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9283:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9286:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9288:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9291:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9292:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9306:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9310:2: note: in expansion of macro 'RETURN' RETURN (c); ^ Cns_procreq.c: At top level: Cns_procreq.c:9315:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_utime(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_utime': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9345:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9351:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9354:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9356:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9359:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9360:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9363:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9366:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9368:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9382:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9390:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9394:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9409:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9410:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:9417:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_vo_from_dn(const char *dn, char *vo) ^ Cns_procreq.c:9470:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_entergrpmap(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_entergrpmap': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9499:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9502:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9504:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9507:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9512:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9520:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9523:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9527:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9529:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9530:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:9535:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_enterusrmap(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_enterusrmap': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9564:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9567:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9569:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9572:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9577:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9585:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9588:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9592:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9594:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9595:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:9600:1: warning: return type defaults to 'int' [-Wreturn-type] getonegid(thip, groupname, gid) ^ Cns_procreq.c:9637:1: warning: return type defaults to 'int' [-Wreturn-type] getidmap(thip, username, user_ca, nbgroups, groupnames, userid, gids) ^ Cns_procreq.c:9739:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getidmap(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_getidmap': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9777:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9781:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9785:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9787:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9790:4: note: in expansion of macro 'RETURN' RETURN (ENOMEM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9793:4: note: in expansion of macro 'RETURN' RETURN (ENOMEM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9801:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9811:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9819:3: note: in expansion of macro 'RETURN' RETURN (ENOMEM); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9833:2: note: in expansion of macro 'RETURN' RETURN (c); ^ Cns_procreq.c: At top level: Cns_procreq.c:9838:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getgrpbygid(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getgrpbygid': Cns_procreq.c:9876:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Cns_get_grpinfo_by_gid (&thip->dbfd, reqgid, &group_entry, 0, NULL) < 0) ^ Cns_procreq.c: At top level: Cns_procreq.c:9890:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getgrpbygids(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getgrpbygids': Cns_procreq.c:9935:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] else if (Cns_get_grpinfo_by_gid (&thip->dbfd, reqgid, &group_entry, 0, NULL) < 0) ^ Cns_procreq.c: At top level: Cns_procreq.c:9955:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getgrpbynam(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getgrpbynam': Cns_procreq.c:9993:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Cns_get_grpinfo_by_name (&thip->dbfd, groupname, &group_entry, 0, ^ Cns_procreq.c: At top level: Cns_procreq.c:10008:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getgrpmap(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:10084:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getusrbynam(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getusrbynam': Cns_procreq.c:10122:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Cns_get_usrinfo_by_name (&thip->dbfd, username, &user_entry, 0, ^ Cns_procreq.c: At top level: Cns_procreq.c:10137:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getusrbyuid(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getusrbyuid': Cns_procreq.c:10175:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Cns_get_usrinfo_by_uid (&thip->dbfd, requid, &user_entry, 0, NULL) < 0) ^ Cns_procreq.c: At top level: Cns_procreq.c:10189:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getusrmap(magic, req_data, req_datalen, clienthost, thip) ^ Cns_procreq.c:10269:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_modgrpmap(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_modgrpmap': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10301:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10304:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10306:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10309:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10312:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10319:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10328:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10330:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:10325:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Cns_get_grpinfo_by_gid (&thip->dbfd, reqgid, &group_entry, 1, &rec_addr) < 0) ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10335:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10336:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:10341:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_modusrmap(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_modusrmap': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10373:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10376:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10378:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10381:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10384:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10391:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10400:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10402:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:10397:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Cns_get_usrinfo_by_uid (&thip->dbfd, requid, &user_entry, 1, &rec_addr) < 0) ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10407:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10408:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:10413:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_rmgrpmap(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_rmgrpmap': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10444:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10447:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10449:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10451:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10456:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10467:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10469:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:10463:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Cns_get_grpinfo_by_gid (&thip->dbfd, reqgid, &group_entry, ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10471:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10477:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10479:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:10473:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Cns_get_grpinfo_by_name (&thip->dbfd, groupname, &group_entry, ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10482:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10483:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:10488:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_rmusrmap(magic, req_data, req_datalen, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_rmusrmap': ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10519:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10522:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10524:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10526:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10531:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10542:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10544:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:10538:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Cns_get_usrinfo_by_uid (&thip->dbfd, requid, &user_entry, ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10546:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10552:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10554:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:10548:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Cns_get_usrinfo_by_name (&thip->dbfd, username, &user_entry, ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10557:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:10558:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_procreq.c,v $ $Revision: 12735 $ $Date: 2016-08-16 14:22:07 +0200 (Tue, 16 Aug 2016) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -c -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -I../h -DNSTYPE_LFC -I/usr/lib/perl5/CORE -Dbool=char -D_GNU_SOURCE lfc_perlwrap.c rm -f -f lfcthr_wrap.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -c -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -I../h -DNSTYPE_LFC -I/usr/include/python2.7 lfc_wrap.c if test "x"YES"" = "xYES" ; then SWIG_LIB=/usr/share/swig/2.0.10 /usr/bin/swig -python -I../h -DNSTYPE_LFC lfcthr.i ; fi lfc_wrap.c: In function 'init_lfc': lfc_wrap.c:21877:3: warning: implicit declaration of function 'Cthread_init' [-Wimplicit-function-declaration] Cthread_init(); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -c -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -I../h -DNSTYPE_LFC -I/usr/include/python2.7 lfcthr_wrap.c lfc_perlwrap.c: In function 'boot_lfc': lfc_perlwrap.c:22218:3: warning: implicit declaration of function 'Cthread_init' [-Wimplicit-function-declaration] Cthread_init(); ^ In file included from lfc_perlwrap.c:721:0: /usr/lib/perl5/CORE/XSUB.h:164:20: warning: unused variable 'items' [-Wunused-variable] #define dITEMS I32 items = (I32)(SP - MARK) ^ /usr/lib/perl5/CORE/XSUB.h:172:16: note: in expansion of macro 'dITEMS' dSP; dAXMARK; dITEMS ^ lfc_perlwrap.c:22164:3: note: in expansion of macro 'dXSARGS' dXSARGS; ^ lfcthr_wrap.c: In function 'init': lfcthr_wrap.c:3555:5: warning: implicit declaration of function 'Cthread_init' [-Wimplicit-function-declaration] return Cthread_init(); ^ Cns_procreq.c: In function 'Cns_srv_delfiles': Cns_procreq.c:2032:22: warning: 'cwd' may be used uninitialized in this function [-Wmaybe-uninitialized] if (Cns_parsepath (&thip->dbfd, cwd, path, uid, nbgids, gids, ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -shared -o _lfc.so lfc_wrap.o -L/usr/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -L../shlib -llfc -llcgdm -lnsl -lstdc++ rm -f -f lfc2_wrap.o if test "x"YES"" = "xYES" ; then SWIG_LIB=/usr/share/swig/2.0.10 /usr/bin/swig -python -I../h -DNSTYPE_LFC lfc2.i ; fi cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -c -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -I../h -DNSTYPE_LFC -I/usr/include/python2.7 lfc2_wrap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -shared -o _lfcthr.so lfcthr_wrap.o -L/usr/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -L../shlib -llfc -llcgdm -lnsl -lstdc++ rm -f -f lfc2thr_wrap.o if test "x"YES"" = "xYES" ; then SWIG_LIB=/usr/share/swig/2.0.10 /usr/bin/swig -python -I../h -DNSTYPE_LFC lfc2thr.i ; fi LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-chgrp nschgrp.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-chmod nschmod.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-chown nschown.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-delcomment nsdelcomment.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-entergrpmap nsentergrpmap.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-enterusrmap nsenterusrmap.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-getacl nsgetacl.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-listgrpmap nslistgrpmap.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-listusrmap nslistusrmap.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-ln nsln.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-ls nsls.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-mkdir nsmkdir.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -c -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -I../h -DNSTYPE_LFC -I/usr/include/python2.7 lfc2thr_wrap.c LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-modifygrpmap nsmodifygrpmap.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-modifyusrmap nsmodifyusrmap.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-ping nsping.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-rename nsrename.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-rm nsrm.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-rmgrpmap nsrmgrpmap.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-rmusrmap nsrmusrmap.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-setacl nssetacl.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-setcomment nssetcomment.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ lfc2thr_wrap.c: In function 'init_lfc2thr': lfc2thr_wrap.c:21679:3: warning: implicit declaration of function 'Cthread_init' [-Wimplicit-function-declaration] Cthread_init (); ^ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfcdaemon Cns_main.o Cns_acl.o Cns_chkperm.o Cns_mysql_ifce.o Cns_procreq.o Cupv_check.o sendrep.o nslogit.o -pthread -L../shlib -llcgdm -L/usr/lib/mysql -lmysqlclient -luuid LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-shutdown nsshutdown.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -shared -o lfc.so lfc_perlwrap.o -L/usr/lib/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -L../shlib -llfc -llcgdm -lnsl -lstdc++ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -shared -o _lfc2.so lfc2_wrap.o -L/usr/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -L../shlib -llfc -llcgdm -lnsl -lstdc++ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -shared -o _lfc2thr.so lfc2thr_wrap.o -L/usr/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -L../shlib -llfc -llcgdm -lnsl -lstdc++ make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/ns' security: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/security' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -o Csec_plugin_ID.o -c Csec_plugin_ID.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -DGSI -I/usr/include/globus -I/usr/lib/globus/include -I/usr/include/voms -DUSE_VOMS -o Csec_plugin_GSI.o -c Csec_plugin_GSS.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -DGSI -I/usr/include/globus -I/usr/lib/globus/include -I/usr/include/voms -DUSE_VOMS -o Csec_plugin_GSI_mapper.o -c Csec_plugin_GSS_mapper.c Csec_plugin_ID.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Csec_plugin_ID.c,v $ $Revision: 1.7 $ $Date: 2008/09/29 08:02:48 $ CERN IT/ADC/CA Benjamin Couturier"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -shared -o libCsec_plugin_ID.so Csec_plugin_ID.o -lc -lpthread Csec_plugin_GSS_mapper.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Csec_plugin_GSS_mapper.c,v $ $Revision: 1.2 $ $Date: 2005/06/10 23:44:10 $ CERN IT/ADC/CA Benjamin Couturier"; ^ In file included from Csec_plugin_GSS.c:63:0: gssapi_openssl.h:114:5: error: unknown type name 'STACK' STACK * group; ^ Csec_plugin_GSS.c: In function '_Csec_delete_deleg_creds': Csec_plugin_GSS.c:256:23: warning: unused variable 'min_stat' [-Wunused-variable] OM_uint32 maj_stat, min_stat; ^ Csec_plugin_GSS.c:256:13: warning: unused variable 'maj_stat' [-Wunused-variable] OM_uint32 maj_stat, min_stat; ^ Csec_plugin_GSS.c: In function '_Csec_display_status_1': Csec_plugin_GSS.c:999:13: warning: variable 'maj_stat' set but not used [-Wunused-but-set-variable] OM_uint32 maj_stat, min_stat; ^ Csec_plugin_GSS.c: At top level: Csec_plugin_GSS.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Csec_plugin_GSS.c,v $ $Revision: 10272 $ $Date: 2014-03-27 17:49:52 +0100 (Thu, 27 Mar 2014) $ CERN IT/ADC/CA Benjamin Couturier"; ^ make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/security' make[1]: *** [Csec_plugin_GSI.o] Error 1 dli: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/dli' /usr/bin/wsdl2h -z1 -c -t typemap.dat DataLocationInterface.wsdl cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -I/usr/include -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DLOGFILE=\"/usr/var/log/lfc-dli/log\" -DWITH_IPV6 -DWITH_NO_IPV6_V6ONLY -DWITH_DOM -c -o dlilogit.o dlilogit.c sed -e 's#DPMCONFIGFILE=.*#DPMCONFIGFILE=#' -e 's#PREFIX=.*#PREFIX=/usr#' lfc-dli.scripts > rc.lfc-dli cp lfc-dli.sysconfig lfc-dli.conf.templ ** The gSOAP WSDL/Schema processor for C and C++, wsdl2h release 2.8.16 ** Copyright (C) 2000-2013 Robert van Engelen, Genivia Inc. ** All Rights Reserved. This product is provided "as is", without any warranty. ** The wsdl2h tool is released under one of the following licenses: ** GPL or the commercial license by Genivia Inc. Use option -l for details. Saving DataLocationInterface.h Reading type definitions from type map file 'typemap.dat' dlilogit.c:14:1: warning: return type defaults to 'int' [-Wreturn-type] dlilogit(char *func, char *msg, ...) ^ dlilogit.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dlilogit.c,v $ $Revision: 4489 $ $Date: 2011-06-20 09:00:04 +0200 (Mon, 20 Jun 2011) $ CERN Jean-Philippe Baud"; ^ Reading file 'DataLocationInterface.wsdl'... Done reading 'DataLocationInterface.wsdl' To complete the process, compile with: > soapcpp2 DataLocationInterface.h /usr/bin/soapcpp2 -c -p dli DataLocationInterface.h ** The gSOAP code generator for C and C++, soapcpp2 release 2.8.16 ** Copyright (C) 2000-2013, Robert van Engelen, Genivia Inc. ** All Rights Reserved. This product is provided "as is", without any warranty. ** The soapcpp2 tool is released under one of the following licenses: ** GPL or the commercial license by Genivia Inc. Saving dliStub.h annotated copy of the source input Saving dliH.h interface declarations Compliance warning: array 'struct ArrayOfstring' is not compliant with WS-I Basic Profile 1.0a, reason: SOAP encoded array Using ns1 service name: DataLocationInterface Using ns1 service style: document Using ns1 service encoding: literal Using ns1 service location: http://localhost:8085 Using ns1 schema namespace: urn:DataLocationInterface Saving DataLocationInterface.listReplicas.req.xml sample SOAP/XML request Saving DataLocationInterface.listReplicas.res.xml sample SOAP/XML response Saving DataLocationInterface.nsmap namespace mapping table Saving dliClient.c client calling stubs Saving dliClientLib.c client stubs with serializers (use only for libs) Saving dliServer.c server request dispatcher Saving dliServerLib.c server request dispatcher with serializers (use only for libs) Saving dliC.c serializers Compilation successful cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -I/usr/include -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DLOGFILE=\"/usr/var/log/lfc-dli/log\" -DWITH_IPV6 -DWITH_NO_IPV6_V6ONLY -DWITH_DOM -c -o dli.o dli.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -I/usr/include -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DLOGFILE=\"/usr/var/log/lfc-dli/log\" -DWITH_IPV6 -DWITH_NO_IPV6_V6ONLY -DWITH_DOM -c -o dliC.o dliC.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -I/usr/include -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DLOGFILE=\"/usr/var/log/lfc-dli/log\" -DWITH_IPV6 -DWITH_NO_IPV6_V6ONLY -DWITH_DOM -c -o dliServer.o dliServer.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -I/usr/include -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DLOGFILE=\"/usr/var/log/lfc-dli/log\" -DWITH_IPV6 -DWITH_NO_IPV6_V6ONLY -DWITH_DOM -c -o lfc-dli-client.o lfc-dli-client.c lfc-dli-client.c:18:1: warning: return type defaults to 'int' [-Wreturn-type] main(int argc, char **argv) ^ dli.c:29:1: warning: return type defaults to 'int' [-Wreturn-type] dli_main(main_args) ^ dli.c: In function 'dli_main': dli.c:52:5: warning: implicit declaration of function 'dlilogit' [-Wimplicit-function-declaration] dlilogit (func, "Invalid logfile: %s\n", optarg); ^ dli.c: At top level: dli.c:121:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ dli.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dli.c,v $ $Revision: 4505 $ $Date: 2011-06-22 07:27:18 +0200 (Wed, 22 Jun 2011) $ CERN IT-GD/CT Jean-Philippe Baud"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -I/usr/include -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DLOGFILE=\"/usr/var/log/lfc-dli/log\" -DWITH_IPV6 -DWITH_NO_IPV6_V6ONLY -DWITH_DOM -c -o dliClient.o dliClient.c LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-dli dli.o dlilogit.o dliC.o dliServer.o -pthread -lgsoap -L../shlib -llfc -ldl -llcgdm -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-dli-client lfc-dli-client.o dliC.o dliClient.o -lgsoap make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/dli' make: *** [all] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.rD6Gee (%build) Bad exit status from /var/tmp/rpm-tmp.rD6Gee (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/lcgdm.spec