Mock Version: 1.1.38 Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/lcgdm.spec'], False, '/var/lib/mock/osg-3.2-el7-build-24270-26006/root/', None, 86400, True, False, 496, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/lcgdm.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: bogus date in %changelog: Wed Dec 1 2011 Alain Roy - 1.8.1.2-4 warning: bogus date in %changelog: Tue Apr 02 2008 Anders Wäänänen - 1.6.9.1-4ng Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/lcgdm-1.8.1.2-6.osg32.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/lcgdm.spec'], False, '/var/lib/mock/osg-3.2-el7-build-24270-26006/root/', None, 86400, True, False, 496, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/lcgdm.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: bogus date in %changelog: Wed Dec 1 2011 Alain Roy - 1.8.1.2-4 warning: bogus date in %changelog: Tue Apr 02 2008 Anders Wäänänen - 1.6.9.1-4ng Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Fdlu2d + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lcgdm-1.8.1.2 + /usr/bin/mkdir -p lcgdm-1.8.1.2 + cd lcgdm-1.8.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf lcgdm-1.8.1.2/lfc-mysql + /usr/bin/mkdir -p lcgdm-1.8.1.2/lfc-mysql + cd lcgdm-1.8.1.2/lfc-mysql + /usr/bin/gzip -dc /builddir/build/SOURCES/lcgdm-1.8.1.2.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.8.1.2/lfc-postgres + /usr/bin/mkdir -p lcgdm-1.8.1.2/lfc-postgres + cd lcgdm-1.8.1.2/lfc-postgres + /usr/bin/gzip -dc /builddir/build/SOURCES/lcgdm-1.8.1.2.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.8.1.2/dpm-mysql + /usr/bin/mkdir -p lcgdm-1.8.1.2/dpm-mysql + cd lcgdm-1.8.1.2/dpm-mysql + /usr/bin/gzip -dc /builddir/build/SOURCES/lcgdm-1.8.1.2.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.8.1.2/dpm-postgres + /usr/bin/mkdir -p lcgdm-1.8.1.2/dpm-postgres + cd lcgdm-1.8.1.2/dpm-postgres + /usr/bin/gzip -dc /builddir/build/SOURCES/lcgdm-1.8.1.2.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.8.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ~/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2 Patch #0 (lcgdm-shliblink.patch): + for d in lfc-mysql lfc-postgres dpm-mysql dpm-postgres + pushd lfc-mysql/lcgdm-1.8.1.2 + echo 'Patch #0 (lcgdm-shliblink.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-shliblink.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/Imake.rules patching file config/Imake.tmpl patching file dicomcopy/Imakefile patching file dli/Imakefile patching file dpm/Imakefile patching file dpmcopy/Imakefile patching file lib/Imakefile patching file ns/Imakefile patching file ns/Imakefile.dpns patching file ns/Imakefile.lfc patching file rfio/Imakefile patching file security/Imakefile patching file shlib/Imakefile patching file srmv1/Imakefile patching file srmv2/Imakefile patching file srmv2.2/Imakefile Patch #1 (lcgdm-porting.patch): + echo 'Patch #1 (lcgdm-porting.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-porting.patch + /usr/bin/patch -p1 --fuzz=0 patching file common/solveln.c patching file config/Imake.tmpl patching file config/linux.cf patching file dpm/dpm.i patching file ns/Cns.i Hunk #1 succeeded at 188 (offset 6 lines). patching file ns/Cns_readdir.c patching file ns/lfc.i Hunk #1 succeeded at 1360 (offset 21 lines). patching file rfio/popen.c patching file rfio/readdir.c patching file rfio/rename.c patching file rfio/rfio_call64.c patching file rfio/rfio_callhandlers.c patching file rfio/rfio_calls.c patching file rfio/rfio_fcalls.c patching file rfio/rfio_rdirfdt.c patching file rfio/rfio_rfilefdt.c patching file rfio/rfio_serv.c patching file rfio/xyopen.c Patch #2 (lcgdm-race.patch): + echo 'Patch #2 (lcgdm-race.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-race.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/Imake.rules patching file dli/Imakefile patching file dpmcopy/Imakefile patching file srmv1/Imakefile patching file srmv2/Imakefile patching file srmv2.2/Imakefile Patch #3 (lcgdm-python-exception.patch): + echo 'Patch #3 (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 #4 (lcgdm-condrestart.patch): + echo 'Patch #4 (lcgdm-condrestart.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-condrestart.patch + /usr/bin/patch -p1 --fuzz=0 patching file rfio/rfiod.scripts Patch #5 (lcgdm-start-deps.patch): + echo 'Patch #5 (lcgdm-start-deps.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-start-deps.patch + /usr/bin/patch -p1 --fuzz=0 patching file dicomcopy/dicomcopyd.scripts.mysql patching file dicomcopy/dicomcopyd.scripts.postgresql patching file dli/lfc-dli.scripts patching file dpm/dpm.scripts.mysql patching file dpm/dpm.scripts.postgresql patching file dpmcopy/dpmcopyd.scripts.mysql patching file dpmcopy/dpmcopyd.scripts.postgresql patching file ns/dpnsdaemon.scripts.mysql patching file ns/dpnsdaemon.scripts.postgresql patching file ns/lfcdaemon.scripts.mysql patching file ns/lfcdaemon.scripts.postgresql patching file rfio/rfiod.scripts patching file srmv1/srmv1.scripts.mysql patching file srmv1/srmv1.scripts.postgresql patching file srmv2/srmv2.scripts.mysql patching file srmv2/srmv2.scripts.postgresql patching file srmv2.2/srmv2.2.scripts.mysql patching file srmv2.2/srmv2.2.scripts.postgresql Patch #6 (lcgdm-usr.patch): + echo 'Patch #6 (lcgdm-usr.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-usr.patch + /usr/bin/patch -p1 --fuzz=0 patching file dicomcopy/Imakefile patching file dpm/Imakefile patching file dpmcopy/Imakefile patching file ns/Imakefile patching file security/Imakefile patching file srmv1/Imakefile patching file srmv2/Imakefile patching file srmv2.2/Imakefile Patch #7 (lcgdm-paths.patch): + echo 'Patch #7 (lcgdm-paths.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-paths.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/site.def patching file dpm/Imakefile patching file ns/Imakefile.lfc Patch #8 (lcgdm-dlopen.patch): + echo 'Patch #8 (lcgdm-dlopen.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-dlopen.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/Imake.rules patching file security/Csec_api_loader.c patching file security/Imakefile Patch #9 (lcgdm-imake.patch): + echo 'Patch #9 (lcgdm-imake.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-imake.patch + /usr/bin/patch -p1 --fuzz=0 patching file Imakefile patching file Makefile.ini patching file test/Imakefile + 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 -m64 -mtune=generic -fno-strict-aliasing/' -i config/linux.cf ~/build/BUILD/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2 Patch #0 (lcgdm-shliblink.patch): + popd + for d in lfc-mysql lfc-postgres dpm-mysql dpm-postgres + pushd lfc-postgres/lcgdm-1.8.1.2 + echo 'Patch #0 (lcgdm-shliblink.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-shliblink.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/Imake.rules patching file config/Imake.tmpl patching file dicomcopy/Imakefile patching file dli/Imakefile patching file dpm/Imakefile patching file dpmcopy/Imakefile patching file lib/Imakefile patching file ns/Imakefile patching file ns/Imakefile.dpns patching file ns/Imakefile.lfc patching file rfio/Imakefile patching file security/Imakefile patching file shlib/Imakefile patching file srmv1/Imakefile patching file srmv2/Imakefile patching file srmv2.2/Imakefile Patch #1 (lcgdm-porting.patch): + echo 'Patch #1 (lcgdm-porting.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-porting.patch + /usr/bin/patch -p1 --fuzz=0 patching file common/solveln.c patching file config/Imake.tmpl patching file config/linux.cf patching file dpm/dpm.i patching file ns/Cns.i Hunk #1 succeeded at 188 (offset 6 lines). patching file ns/Cns_readdir.c patching file ns/lfc.i Hunk #1 succeeded at 1360 (offset 21 lines). patching file rfio/popen.c patching file rfio/readdir.c patching file rfio/rename.c patching file rfio/rfio_call64.c patching file rfio/rfio_callhandlers.c patching file rfio/rfio_calls.c patching file rfio/rfio_fcalls.c patching file rfio/rfio_rdirfdt.c patching file rfio/rfio_rfilefdt.c patching file rfio/rfio_serv.c patching file rfio/xyopen.c Patch #2 (lcgdm-race.patch): + echo 'Patch #2 (lcgdm-race.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-race.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/Imake.rules patching file dli/Imakefile patching file dpmcopy/Imakefile patching file srmv1/Imakefile patching file srmv2/Imakefile patching file srmv2.2/Imakefile Patch #3 (lcgdm-python-exception.patch): + echo 'Patch #3 (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 #4 (lcgdm-condrestart.patch): + echo 'Patch #4 (lcgdm-condrestart.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-condrestart.patch + /usr/bin/patch -p1 --fuzz=0 patching file rfio/rfiod.scripts Patch #5 (lcgdm-start-deps.patch): + echo 'Patch #5 (lcgdm-start-deps.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-start-deps.patch + /usr/bin/patch -p1 --fuzz=0 patching file dicomcopy/dicomcopyd.scripts.mysql patching file dicomcopy/dicomcopyd.scripts.postgresql patching file dli/lfc-dli.scripts patching file dpm/dpm.scripts.mysql patching file dpm/dpm.scripts.postgresql patching file dpmcopy/dpmcopyd.scripts.mysql patching file dpmcopy/dpmcopyd.scripts.postgresql patching file ns/dpnsdaemon.scripts.mysql patching file ns/dpnsdaemon.scripts.postgresql patching file ns/lfcdaemon.scripts.mysql patching file ns/lfcdaemon.scripts.postgresql patching file rfio/rfiod.scripts patching file srmv1/srmv1.scripts.mysql patching file srmv1/srmv1.scripts.postgresql patching file srmv2/srmv2.scripts.mysql patching file srmv2/srmv2.scripts.postgresql patching file srmv2.2/srmv2.2.scripts.mysql patching file srmv2.2/srmv2.2.scripts.postgresql Patch #6 (lcgdm-usr.patch): + echo 'Patch #6 (lcgdm-usr.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-usr.patch + /usr/bin/patch -p1 --fuzz=0 patching file dicomcopy/Imakefile patching file dpm/Imakefile patching file dpmcopy/Imakefile patching file ns/Imakefile patching file security/Imakefile patching file srmv1/Imakefile patching file srmv2/Imakefile patching file srmv2.2/Imakefile Patch #7 (lcgdm-paths.patch): + echo 'Patch #7 (lcgdm-paths.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-paths.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/site.def patching file dpm/Imakefile patching file ns/Imakefile.lfc Patch #8 (lcgdm-dlopen.patch): + echo 'Patch #8 (lcgdm-dlopen.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-dlopen.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/Imake.rules patching file security/Csec_api_loader.c patching file security/Imakefile Patch #9 (lcgdm-imake.patch): + echo 'Patch #9 (lcgdm-imake.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-imake.patch + /usr/bin/patch -p1 --fuzz=0 patching file Imakefile patching file Makefile.ini patching file test/Imakefile + 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 -m64 -mtune=generic -fno-strict-aliasing/' -i config/linux.cf ~/build/BUILD/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2 + popd + for d in lfc-mysql lfc-postgres dpm-mysql dpm-postgres + pushd dpm-mysql/lcgdm-1.8.1.2 + echo 'Patch #0 (lcgdm-shliblink.patch):' Patch #0 (lcgdm-shliblink.patch): + /usr/bin/cat /builddir/build/SOURCES/lcgdm-shliblink.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/Imake.rules patching file config/Imake.tmpl patching file dicomcopy/Imakefile patching file dli/Imakefile patching file dpm/Imakefile patching file dpmcopy/Imakefile patching file lib/Imakefile patching file ns/Imakefile patching file ns/Imakefile.dpns patching file ns/Imakefile.lfc patching file rfio/Imakefile patching file security/Imakefile patching file shlib/Imakefile patching file srmv1/Imakefile patching file srmv2/Imakefile patching file srmv2.2/Imakefile Patch #1 (lcgdm-porting.patch): + echo 'Patch #1 (lcgdm-porting.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-porting.patch + /usr/bin/patch -p1 --fuzz=0 patching file common/solveln.c patching file config/Imake.tmpl patching file config/linux.cf patching file dpm/dpm.i patching file ns/Cns.i Hunk #1 succeeded at 188 (offset 6 lines). patching file ns/Cns_readdir.c patching file ns/lfc.i Hunk #1 succeeded at 1360 (offset 21 lines). patching file rfio/popen.c patching file rfio/readdir.c patching file rfio/rename.c patching file rfio/rfio_call64.c patching file rfio/rfio_callhandlers.c patching file rfio/rfio_calls.c patching file rfio/rfio_fcalls.c patching file rfio/rfio_rdirfdt.c patching file rfio/rfio_rfilefdt.c patching file rfio/rfio_serv.c patching file rfio/xyopen.c Patch #2 (lcgdm-race.patch): + echo 'Patch #2 (lcgdm-race.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-race.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/Imake.rules patching file dli/Imakefile patching file dpmcopy/Imakefile patching file srmv1/Imakefile patching file srmv2/Imakefile patching file srmv2.2/Imakefile Patch #3 (lcgdm-python-exception.patch): + echo 'Patch #3 (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 #4 (lcgdm-condrestart.patch): + echo 'Patch #4 (lcgdm-condrestart.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-condrestart.patch + /usr/bin/patch -p1 --fuzz=0 patching file rfio/rfiod.scripts Patch #5 (lcgdm-start-deps.patch): + echo 'Patch #5 (lcgdm-start-deps.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-start-deps.patch + /usr/bin/patch -p1 --fuzz=0 patching file dicomcopy/dicomcopyd.scripts.mysql patching file dicomcopy/dicomcopyd.scripts.postgresql patching file dli/lfc-dli.scripts patching file dpm/dpm.scripts.mysql patching file dpm/dpm.scripts.postgresql patching file dpmcopy/dpmcopyd.scripts.mysql patching file dpmcopy/dpmcopyd.scripts.postgresql patching file ns/dpnsdaemon.scripts.mysql patching file ns/dpnsdaemon.scripts.postgresql patching file ns/lfcdaemon.scripts.mysql patching file ns/lfcdaemon.scripts.postgresql patching file rfio/rfiod.scripts patching file srmv1/srmv1.scripts.mysql patching file srmv1/srmv1.scripts.postgresql patching file srmv2/srmv2.scripts.mysql patching file srmv2/srmv2.scripts.postgresql patching file srmv2.2/srmv2.2.scripts.mysql patching file srmv2.2/srmv2.2.scripts.postgresql Patch #6 (lcgdm-usr.patch): + echo 'Patch #6 (lcgdm-usr.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-usr.patch + /usr/bin/patch -p1 --fuzz=0 patching file dicomcopy/Imakefile patching file dpm/Imakefile patching file dpmcopy/Imakefile patching file ns/Imakefile patching file security/Imakefile patching file srmv1/Imakefile patching file srmv2/Imakefile patching file srmv2.2/Imakefile Patch #7 (lcgdm-paths.patch): + echo 'Patch #7 (lcgdm-paths.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-paths.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/site.def patching file dpm/Imakefile patching file ns/Imakefile.lfc Patch #8 (lcgdm-dlopen.patch): + echo 'Patch #8 (lcgdm-dlopen.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-dlopen.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/Imake.rules patching file security/Csec_api_loader.c patching file security/Imakefile Patch #9 (lcgdm-imake.patch): + echo 'Patch #9 (lcgdm-imake.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-imake.patch + /usr/bin/patch -p1 --fuzz=0 patching file Imakefile patching file Makefile.ini patching file test/Imakefile + 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 -m64 -mtune=generic -fno-strict-aliasing/' -i config/linux.cf ~/build/BUILD/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2/dpm-postgres/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2 Patch #0 (lcgdm-shliblink.patch): + popd + for d in lfc-mysql lfc-postgres dpm-mysql dpm-postgres + pushd dpm-postgres/lcgdm-1.8.1.2 + echo 'Patch #0 (lcgdm-shliblink.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-shliblink.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/Imake.rules patching file config/Imake.tmpl patching file dicomcopy/Imakefile patching file dli/Imakefile patching file dpm/Imakefile patching file dpmcopy/Imakefile patching file lib/Imakefile patching file ns/Imakefile patching file ns/Imakefile.dpns patching file ns/Imakefile.lfc patching file rfio/Imakefile patching file security/Imakefile patching file shlib/Imakefile patching file srmv1/Imakefile patching file srmv2/Imakefile patching file srmv2.2/Imakefile Patch #1 (lcgdm-porting.patch): + echo 'Patch #1 (lcgdm-porting.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-porting.patch + /usr/bin/patch -p1 --fuzz=0 patching file common/solveln.c patching file config/Imake.tmpl patching file config/linux.cf patching file dpm/dpm.i patching file ns/Cns.i Hunk #1 succeeded at 188 (offset 6 lines). patching file ns/Cns_readdir.c patching file ns/lfc.i Hunk #1 succeeded at 1360 (offset 21 lines). patching file rfio/popen.c patching file rfio/readdir.c patching file rfio/rename.c patching file rfio/rfio_call64.c patching file rfio/rfio_callhandlers.c patching file rfio/rfio_calls.c patching file rfio/rfio_fcalls.c patching file rfio/rfio_rdirfdt.c patching file rfio/rfio_rfilefdt.c patching file rfio/rfio_serv.c patching file rfio/xyopen.c Patch #2 (lcgdm-race.patch): + echo 'Patch #2 (lcgdm-race.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-race.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/Imake.rules patching file dli/Imakefile patching file dpmcopy/Imakefile patching file srmv1/Imakefile patching file srmv2/Imakefile patching file srmv2.2/Imakefile Patch #3 (lcgdm-python-exception.patch): + echo 'Patch #3 (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 #4 (lcgdm-condrestart.patch): + echo 'Patch #4 (lcgdm-condrestart.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-condrestart.patch + /usr/bin/patch -p1 --fuzz=0 patching file rfio/rfiod.scripts Patch #5 (lcgdm-start-deps.patch): + echo 'Patch #5 (lcgdm-start-deps.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-start-deps.patch + /usr/bin/patch -p1 --fuzz=0 patching file dicomcopy/dicomcopyd.scripts.mysql patching file dicomcopy/dicomcopyd.scripts.postgresql patching file dli/lfc-dli.scripts patching file dpm/dpm.scripts.mysql patching file dpm/dpm.scripts.postgresql patching file dpmcopy/dpmcopyd.scripts.mysql patching file dpmcopy/dpmcopyd.scripts.postgresql patching file ns/dpnsdaemon.scripts.mysql patching file ns/dpnsdaemon.scripts.postgresql patching file ns/lfcdaemon.scripts.mysql patching file ns/lfcdaemon.scripts.postgresql patching file rfio/rfiod.scripts patching file srmv1/srmv1.scripts.mysql patching file srmv1/srmv1.scripts.postgresql patching file srmv2/srmv2.scripts.mysql patching file srmv2/srmv2.scripts.postgresql patching file srmv2.2/srmv2.2.scripts.mysql patching file srmv2.2/srmv2.2.scripts.postgresql Patch #6 (lcgdm-usr.patch): + echo 'Patch #6 (lcgdm-usr.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-usr.patch + /usr/bin/patch -p1 --fuzz=0 patching file dicomcopy/Imakefile patching file dpm/Imakefile patching file dpmcopy/Imakefile patching file ns/Imakefile patching file security/Imakefile patching file srmv1/Imakefile patching file srmv2/Imakefile patching file srmv2.2/Imakefile Patch #7 (lcgdm-paths.patch): + echo 'Patch #7 (lcgdm-paths.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-paths.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/site.def patching file dpm/Imakefile patching file ns/Imakefile.lfc Patch #8 (lcgdm-dlopen.patch): + echo 'Patch #8 (lcgdm-dlopen.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-dlopen.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/Imake.rules patching file security/Csec_api_loader.c patching file security/Imakefile Patch #9 (lcgdm-imake.patch): + echo 'Patch #9 (lcgdm-imake.patch):' + /usr/bin/cat /builddir/build/SOURCES/lcgdm-imake.patch + /usr/bin/patch -p1 --fuzz=0 patching file Imakefile patching file Makefile.ini patching file test/Imakefile + 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 -m64 -mtune=generic -fno-strict-aliasing/' -i config/linux.cf ~/build/BUILD/lcgdm-1.8.1.2 + popd + install -m 644 -p /builddir/build/SOURCES/README.Fedora.lfc-mysql lfc-mysql/lcgdm-1.8.1.2/ns/README.Fedora + install -m 644 -p /builddir/build/SOURCES/README.Fedora.lfc-postgres lfc-postgres/lcgdm-1.8.1.2/ns/README.Fedora + install -m 644 -p /builddir/build/SOURCES/README.Fedora.dpm-mysql dpm-mysql/lcgdm-1.8.1.2/dpm/README.Fedora + install -m 644 -p /builddir/build/SOURCES/README.Fedora.dpns-mysql dpm-mysql/lcgdm-1.8.1.2/ns/README.Fedora + install -m 644 -p /builddir/build/SOURCES/README.Fedora.dpm-postgres dpm-postgres/lcgdm-1.8.1.2/dpm/README.Fedora + install -m 644 -p /builddir/build/SOURCES/README.Fedora.dpns-postgres dpm-postgres/lcgdm-1.8.1.2/ns/README.Fedora Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yTkj0h + exit 0 + umask 022 + cd /builddir/build/BUILD + cd lcgdm-1.8.1.2 ++ soapcpp2 -v ++ grep C++ ++ sed 's/.* //' + gsoapversion=2.8.16 + pushd lfc-mysql/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2 + ./configure lfc --with-mysql --libdir=lib64 --with-gsoap-version=2.8.16 --with-id-map-file=/etc/lcgdm-mapfile --with-ns-config-file=/etc/NSCONFIG --with-emi --without-argus imake -Ui386 -Iconfig make Makefiles make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2' for i in h lib shlib common ns security dli test ; do (echo " $i:" ; cd $i ; imake -Ui386 -I../config ; make -w Makefiles ) ; done ; h: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/h' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/h' lib: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/lib' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/lib' shlib: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/shlib' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/shlib' common: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/common' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/common' ns: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/ns' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/ns' security: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/security' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/security' dli: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/dli' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/dli' test: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/test' for i in ns ; do (if [ -d $i ] ; then (echo " $i:" ; cd $i ; imake -Ui386 -I../../config ; make -w Makefiles) ; else (echo "ERROR : No directory $i" ; exit 1) ; fi ) done ; ns: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/test/ns' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/test/ns' make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/test' make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2' + make -f Makefile.ini Makefiles imake -Ui386 -Iconfig make Makefiles make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2' for i in h lib shlib common ns security dli test ; do (echo " $i:" ; cd $i ; imake -Ui386 -I../config ; make -w Makefiles ) ; done ; h: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/h' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/h' lib: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/lib' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/lib' shlib: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/shlib' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/shlib' common: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/common' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/common' ns: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/ns' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/ns' security: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/security' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/security' dli: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/dli' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/dli' test: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/test' for i in ns ; do (if [ -d $i ] ; then (echo " $i:" ; cd $i ; imake -Ui386 -I../../config ; make -w Makefiles) ; else (echo "ERROR : No directory $i" ; exit 1) ; fi ) done ; ns: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/test/ns' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/test/ns' make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/test' make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2' ++ pkg-config --cflags gsoap + make -j8 'SOAPFLG=-DWITH_IPV6 -DWITH_NO_IPV6_V6ONLY -DWITH_DOM ' SYSCONFDIR=/etc 'LDFLAGS=-Wl,-z,relro ' h: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/h' sed -e "s/__BASEVERSION__/\"1.8.1\"/" -e "s/__PATCHLEVEL__/2/" -e "s/__TIMESTAMP__/\"`date +%s`\"/" patchlevel.in > patchlevel.h make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/h' lib: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/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.8.1.2/lfc-mysql/lcgdm-1.8.1.2/common' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o getconfent.o getconfent.c make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/security' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -DLIBDIR='"/usr/lib64/lcgdm"' -c -o Csec_api_loader.o Csec_api_loader.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o getfilep.o getfilep.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o getifnam.o getifnam.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o getuser.o getuser.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -c -o Csec_api.o Csec_api.c 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o isTrustedHost.o isTrustedHost.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"; ^ 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"; ^ 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"; ^ Csec_api.c: In function 'Csec_client_initContext': Csec_api.c:122:5: warning: implicit declaration of function 'Csec_initialize_protocols_from_list' [-Wimplicit-function-declaration] rc = Csec_initialize_protocols_from_list(ctx, protocol); ^ Csec_api.c: In function 'Csec_server_reinitContext': Csec_api.c:180:9: warning: unused variable 'func' [-Wunused-variable] char *func="Csec_server_reinitContext"; ^ 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"; ^ Csec_api.c: In function 'Csec_client_get_service_type': Csec_api.c:682:9: warning: unused variable 'func' [-Wunused-variable] char *func = "Csec_client_get_service_type"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o log.o log.c Csec_api.c: In function 'Csec_server_getClientId': Csec_api.c:1017:9: warning: unused variable 'func' [-Wunused-variable] char *func = "Csec_server_getClientId"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o marshall.o marshall.c Csec_protocol_policy.c: In function 'Csec_initialize_protocols_from_list': Csec_protocol_policy.c:1048: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: 3714 $ $Date: 2010-08-04 08:52:54 +0200 (Wed, 04 Aug 2010) $ IT/ADC/CA Benjamin Couturier"; ^ Csec_api_loader.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Csec_api_loader.c,v $ $Revision: 4272 $ $Date: 2011-04-14 07:56:49 +0200 (Thu, 14 Apr 2011) $ CERN IT/ADC/CA Benjamin Couturier"; ^ 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: 3715 $ $Date: 2010-08-04 09:17:39 +0200 (Wed, 04 Aug 2010) $ CERN IT/ADC/CA Benjamin Couturier"; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o remote.o remote.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -c -o Csec_errmsg.o Csec_errmsg.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -c -o Csec_apiinit.o Csec_apiinit.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)) ; ^ 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"; ^ 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"; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -c -o Csec_common.o Csec_common.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"; ^ 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:91:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, prtbuf, strlen(prtbuf)); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o setnetio.o setnetio.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o socket.o socket.c 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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o trace.o trace.c solveln.c: In function 'solveln': solveln.c:80:25: warning: implicit declaration of function 'seelink' [-Wimplicit-function-declaration] if ( (n=seelink(path, buffer, size)) > 0 ) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o wsacct.o wsacct.c solveln.c: At top level: 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:200:8: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(stordir); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -g -O -c Cthread.c wsacct.c:16:1: warning: return type defaults to 'int' [-Wreturn-type] wsacct(package, acctstruct, len) ^ wsacct.c: In function 'wsacct': wsacct.c:33:2: warning: implicit declaration of function 'chmod' [-Wimplicit-function-declaration] (void) chmod (ACCTFILE, 0666); ^ wsacct.c:34:2: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] write (fd_acct, buf, sizeof(struct accthdr) + len); ^ wsacct.c:35:9: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close (fd_acct); ^ 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"; ^ wsacct.c: At top level: 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:37:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/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; ^ 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': cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cgrp.o Cgrp.c 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': 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"; ^ 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"; ^ Csec_protocol_policy.c: In function 'Csec_client_negociate_protocol': Csec_protocol_policy.c:1029:8: warning: 'failure_reason' may be used uninitialized in this function [-Wmaybe-uninitialized] if (failure_reason == ESEC_PROTNOTSUPP) { ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -g -O -c Cmutex.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cnetdb.o Cnetdb.c 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cpwd.o Cpwd.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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o socket_timeout.o socket_timeout.c 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"; ^ 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"; ^ Cpool.c: In function 'Cpool_assign_ext': Cpool.c:1731: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: 3476 $ $Date: 2010-03-10 13:40:05 +0100 (Wed, 10 Mar 2010) $ CERN IT-ADC-CA/HSM 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o u64subr.o u64subr.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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cinitdaemon.o Cinitdaemon.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"; ^ 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 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); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cgetopt.o Cgetopt.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cregexp.o Cregexp.c make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/ns' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ 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: In function 'Cregexp_dump': 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"; ^ Cregexp.c:2072:3: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%2d%s", s-r->program, _Cregexp_prop(s)); /* Where, what. */ ^ Cregexp.c:2082:4: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("(%d)", (s-r->program)+(next-s)); ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cgroupsubr.o Cgroupsubr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 Cns_access.c: In function 'lfc_access': Cns_access.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ 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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 Cgroupsubr.c:55:1: warning: return type defaults to 'int' [-Wreturn-type] Cgroupmatch(gid_t gid, int nbgids, gid_t *gids) ^ Cns_apiinit.c: In function 'lfc_apiinit': Cns_apiinit.c:31:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask ((*thip)->mask = umask (0)); ^ Cns_apiinit.c: At top level: 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"; ^ 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), ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ 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:1911: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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ 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"; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ 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"; ^ 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:2634: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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/security' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 Cregexp.c: In function '_Cregexp_prop': Cregexp.c:2034:5: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] if (p != NULL) ^ 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"; ^ 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"; ^ Cns_delreplicas.c: In function 'lfc_delreplicas': Cns_delreplicas.c:31:6: warning: unused variable 'argtype' [-Wunused-variable] int argtype = 0; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 ar rv libcommon.a 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 ar: creating libcommon.a 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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 ranlib libcommon.a 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/common' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 making liblcgdm.a in /builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/lib 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ 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"; ^ 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_getreplicax.c: In function 'lfc_getreplicax': 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"; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_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"; ^ 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"; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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_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"; ^ 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_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"; ^ 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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_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"; ^ 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"; ^ Cns_opendir.c: In function 'lfc_opendirxg': Cns_opendir.c:32:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_opendir.c: At top level: cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_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"; ^ 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_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"; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_readdirg.c: In function 'lfc_readdirg': Cns_readdirg.c:37:6: warning: unused variable 'n' [-Wunused-variable] int n; ^ Cns_readdirx.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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_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"; ^ 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"; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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_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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_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_setfsize.c: In function 'lfc_setfsizec': Cns_setfsize.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 Cns_setfsize.c: In function 'lfc_setfsizeg': Cns_setfsize.c:131:13: warning: unused variable 'zero' [-Wunused-variable] u_signed64 zero = 0; ^ 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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 Cns_setrstatus.c: In function 'lfc_setrstatus': cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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_stat.c: In function 'lfc_lstat': Cns_stat.c:33: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_statx': Cns_stat.c:117:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ 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_stat.c: In function 'lfc_statg': Cns_stat.c:223:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o send2nsd.o send2nsd.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"; ^ 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:24: ../h/lfc_api.h:143:19: warning: return type defaults to 'int' [-Wreturn-type] #define send2nsdx send2lfcx ^ send2nsd.c:34: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:179:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep (retryint); ^ send2nsd.c:194: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:24: send2nsd.c: At top level: ../h/lfc_api.h:142:18: warning: return type defaults to 'int' [-Wreturn-type] #define send2nsd send2lfc ^ send2nsd.c:687: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: 3790 $ $Date: 2010-09-13 07:52:37 +0200 (Mon, 13 Sep 2010) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ send2nsd.c: In function 'send2lfcx': send2nsd.c:374:37: warning: 'repbuf2sz' may be used uninitialized in this function [-Wmaybe-uninitialized] sizeof(struct Cns_linkinfo) > repbuf2sz) { ^ send2nsd.c:436:20: warning: 'ri' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)ri - (char *)(*repbuf2) + ^ send2nsd.c:474:20: warning: 'lx' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lx - (char *)(*repbuf2) + ^ send2nsd.c:654:21: warning: 'lui' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lui - (char *)(*repbuf2) + ^ send2nsd.c:567:20: warning: 'ls' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)ls - (char *)(*repbuf2) + ^ send2nsd.c:515:20: warning: 'lr' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lr - (char *)(*repbuf2) + ^ send2nsd.c:400:20: warning: 'lp' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lp - (char *)(*repbuf2) + ^ send2nsd.c:373:20: warning: 'li' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)li - (char *)(*repbuf2) + ^ send2nsd.c:624:21: warning: 'lgi' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lgi - (char *)(*repbuf2) + ^ send2nsd.c:595: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_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_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.8.1.2/lfc-mysql/lcgdm-1.8.1.2/ns' making liblfc.a in /builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/lib make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/lib' shlib: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/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.8.1.2/lfc-mysql/lcgdm-1.8.1.2/security' make[2]: `libsecurity.a' is up to date. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/security' make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/common' make[2]: `libcommon.a' is up to date. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/common' making liblcgdm.so in /builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/shlib (cd tmp; cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -shared -Wl,-soname,liblcgdm.so.`echo 1.8.1|cut -f1 -d.` -o ../liblcgdm.so *.o -lc -lpthread -ldl) make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/ns' make[2]: `libns.a' is up to date. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/ns' making liblfc.so in /builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/shlib (cd tmp; cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -shared -Wl,-soname,liblfc.so.`echo 1.8.1|cut -f1 -d.` -o ../liblfc.so *.o -L.. -llcgdm ) make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/shlib' common: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/common' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/common' ns: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/ns' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsdelcomment.o nsdelcomment.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsenterusrmap.o nsenterusrmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nslistgrpmap.o nslistgrpmap.c nschmod.c:24: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; ^ nschgrp.c:31:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nschgrp.c: In function 'main': nschgrp.c:50:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "hR")) != EOF) { ^ 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: 3581 $ $Date: 2010-05-27 09:48:26 +0200 (Thu, 27 May 2010) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ nschgrp.c:71:2: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (isdigit (*p)) { ^ nschown.c:32:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nschown.c: In function 'main': nschown.c:52:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "hR")) != EOF) { ^ nschown.c:77:2: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] else if (isdigit (*argv[optind])) { ^ nschgrp.c:124:4: warning: implicit declaration of function 'chgrpdir' [-Wimplicit-function-declaration] if (chgrpdir (fullpath, newuid, newgid)) ^ nschgrp.c:39:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nschgrp.c: At top level: nschgrp.c:146:1: warning: return type defaults to 'int' [-Wreturn-type] chgrpdir (dir, newuid, newgid) ^ nschgrp.c: In function 'chgrpdir': nschgrp.c:151:6: warning: unused variable 'c' [-Wunused-variable] int c; ^ nschown.c:154:4: warning: implicit declaration of function 'chowndir' [-Wimplicit-function-declaration] if (chowndir (fullpath, newuid, newgid)) ^ 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:46:17: warning: unused variable 'pwd' [-Wunused-variable] struct passwd *pwd; ^ nschown.c:40:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nschown.c: At top level: nschown.c:176:1: warning: return type defaults to 'int' [-Wreturn-type] chowndir (dir, newuid, newgid) ^ nslistgrpmap.c:21:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nschown.c: In function 'chowndir': nschown.c:181:6: warning: unused variable 'c' [-Wunused-variable] int c; ^ 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"; ^ 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"; ^ nschmod.c: In function 'main': nschmod.c:48:2: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (isdigit (*mode_arg)) { /* absolute mode */ ^ nschmod.c:29:6: warning: unused variable 'c' [-Wunused-variable] int c; ^ nschmod.c:28: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"; ^ nsgetacl.c:33:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsgetacl.c: In function 'main': nsenterusrmap.c:19:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsgetacl.c:52:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "ad")) != EOF) { ^ 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"; ^ nsgetacl.c: In function 'decode_group': nsgetacl.c:207:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nsgetacl.c: In function 'decode_user': nsgetacl.c:243: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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsln.o nsln.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsmodifygrpmap.o nsmodifygrpmap.c 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:26:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsln.c: In function 'main': nsln.c:42:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "s")) != EOF) { ^ nsln.c:79:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = strrchr (argv[0], '/')) ^ nsln.c:87: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"; ^ 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:19:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsmodifygrpmap.c: In function 'main': nsmodifygrpmap.c:57:4: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (isdigit (*Coptarg)) { ^ nsls.c:55: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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsmodifyusrmap.o nsmodifyusrmap.c nsls.c: In function 'main': cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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:140:3: warning: implicit declaration of function 'procpath' [-Wimplicit-function-declaration] if (procpath (fullpath)) { ^ nsmodifygrpmap.c: At top level: nsmodifygrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsmodifygrpmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 09:58:47 +0200 (Wed, 04 Aug 2010) $ CERN IT-GD/SC Jean-Philippe Baud"; ^ nsls.c:61:8: warning: unused variable 'endp' [-Wunused-variable] char *endp; ^ nsls.c:60:8: warning: unused variable 'dp' [-Wunused-variable] char *dp; ^ nsls.c: At top level: nsls.c:177:1: warning: return type defaults to 'int' [-Wreturn-type] procpath(fullpath) ^ nsls.c: In function 'procpath': nsls.c:194:3: warning: implicit declaration of function 'listdir' [-Wimplicit-function-declaration] return (listdir (fullpath)); ^ nsls.c:205:3: warning: implicit declaration of function 'listentry' [-Wimplicit-function-declaration] return (listentry (fullpath, &statbuf, slink, comment)); ^ nsls.c: At top level: nsls.c:209:1: warning: return type defaults to 'int' [-Wreturn-type] listdir(dir) ^ nsls.c:330:1: warning: return type defaults to 'int' [-Wreturn-type] listentry(path, statbuf, slink, comment) ^ nsls.c: In function 'decode_group': nsls.c:421:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nsls.c: In function 'decode_user': nsls.c:445:17: warning: unused variable 'pw' [-Wunused-variable] struct passwd *pw; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsrename.o nsrename.c 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: 4193 $ $Date: 2011-03-15 07:41:09 +0100 (Tue, 15 Mar 2011) $ CERN IT-PDP/DM 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); ^ nsping.c:22:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsping.c: In function 'main': nsping.c:35:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "h:")) != EOF) { ^ nsping.c: At top level: 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"; ^ nsmodifyusrmap.c:19:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsmodifyusrmap.c: In function 'main': nsmodifyusrmap.c:57:4: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (isdigit (*Coptarg)) { ^ nsmodifyusrmap.c: At top level: nsmodifyusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsmodifyusrmap.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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsrm.o nsrm.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsrmgrpmap.o nsrmgrpmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsrmusrmap.o nsrmusrmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nssetacl.o nssetacl.c nsrename.c:25:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nssetcomment.o nssetcomment.c nsls.c: In function 'listdir': nsls.c:285:17: warning: 'dll' may be used uninitialized in this function [-Wmaybe-uninitialized] dll->next = dlc; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 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"; ^ nsrm.c:36:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsrm.c: In function 'main': nsrm.c:103:6: warning: implicit declaration of function 'removedir' [-Wimplicit-function-declaration] c = removedir (fullpath); ^ nsrm.c:113:6: warning: implicit declaration of function 'isyes' [-Wimplicit-function-declaration] if (! isyes()) ^ nsrm.c: At top level: nsrm.c:137:1: warning: return type defaults to 'int' [-Wreturn-type] isyes() ^ nsrm.c:148:1: warning: return type defaults to 'int' [-Wreturn-type] removedir (dir) ^ nssetacl.c:31: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"; ^ nssetacl.c: In function 'main': nssetacl.c:57:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "dms")) != EOF) { ^ nssetacl.c: In function 'parse_entries': nssetacl.c:185:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = strchr (entry, ',')) { ^ nssetacl.c:241:5: warning: implicit declaration of function 'cvt_user' [-Wimplicit-function-declaration] if ((acl->a_id = cvt_user (p_id)) < 0) ^ nssetacl.c:244:5: warning: implicit declaration of function 'cvt_group' [-Wimplicit-function-declaration] if ((acl->a_id = cvt_group (p_id)) < 0) ^ nssetacl.c:250:4: warning: implicit declaration of function 'cvt_perm' [-Wimplicit-function-declaration] if ((n = cvt_perm (q)) < 0) ^ nssetacl.c: At top level: nssetacl.c:262:1: warning: return type defaults to 'int' [-Wreturn-type] cvt_group(char *p) ^ nssetacl.c: In function 'cvt_group': nssetacl.c:268:2: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (isdigit (*p)) { ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 nssetacl.c:266:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nssetacl.c: At top level: nssetacl.c:291:1: warning: return type defaults to 'int' [-Wreturn-type] cvt_perm(char *p) ^ nssetacl.c:332:1: warning: return type defaults to 'int' [-Wreturn-type] cvt_user(char *p) ^ nssetacl.c: In function 'cvt_user': nssetacl.c:335:17: warning: unused variable 'pwd' [-Wunused-variable] struct passwd *pwd; ^ nssetcomment.c:24:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nssetacl.c: At top level: 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"; ^ 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: 3451 $ $Date: 2010-02-25 12:54:25 +0100 (Thu, 25 Feb 2010) $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 Cns_acl.c:23:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_acl_chmod (struct Cns_file_metadata *fmd_entry) ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 Cns_main.c:65:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_main(main_args) ^ Cns_main.c: In function 'Cns_main': Cns_main.c:139:5: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, "Invalid number of threads: %s\n", ^ Cns_chkperm.c:26:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_chkbackperm(dbfd, fileid, mode, uid, nbgids, gids, clienthost) ^ Cns_main.c:169:4: warning: reading through null pointer (argument 4) [-Wformat=] sprintf (nsconfigfile, "%s%s", p, strchr (NSCONFIG, '\\')); ^ Cns_main.c:193:2: warning: implicit declaration of function 'Cns_init_dbpkg' [-Wimplicit-function-declaration] (void) Cns_init_dbpkg (); ^ 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_main.c:265:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gaierrno=Cgetaddrinfo (NULL, strport, &hints, &aitop)) { ^ Cns_main.c:362: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:367:7: warning: implicit declaration of function 'sendrep' [-Wimplicit-function-declaration] sendrep (rqfd, CNS_RC, serrno); ^ Cns_main.c: At top level: Cns_main.c:390:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ Cns_chkperm.c:239:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_chkentryperm(fmd_entry, mode, uid, nbgids, gids, clienthost) ^ 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_main.c: In function 'doit': Cns_main.c:488:2: warning: implicit declaration of function 'getreq' [-Wimplicit-function-declaration] if ((c = getreq (thip->s, &magic, &req_type, &req_data, &clienthost)) == 0) { ^ Cns_main.c:489:3: warning: implicit declaration of function 'procreq' [-Wimplicit-function-declaration] c = procreq (magic, req_type, req_data, clienthost, thip); ^ Cns_main.c: At top level: Cns_main.c:507:1: warning: return type defaults to 'int' [-Wreturn-type] getreq(s, magic, req_type, req_data, clienthost) ^ Cns_main.c: In function 'getreq': Cns_main.c:514:18: warning: unused variable 'hp' [-Wunused-variable] struct hostent *hp; ^ Cns_main.c: At top level: Cns_main.c:564:1: warning: return type defaults to 'int' [-Wreturn-type] procdirreq(magic, req_type, req_data, clienthost, thip) ^ Cns_main.c: In function 'procdirreq': Cns_main.c:591:3: warning: implicit declaration of function 'Cns_srv_opendir' [-Wimplicit-function-declaration] if (c = Cns_srv_opendir (magic, req_data, clienthost, thip)) ^ Cns_main.c:591:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] Cns_main.c:595:3: warning: implicit declaration of function 'Cns_srv_listclass' [-Wimplicit-function-declaration] if (c = Cns_srv_listclass (magic, req_data, clienthost, thip, ^ Cns_main.c:596:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &class_entry, endlist, &dblistptr)) ^ Cns_main.c:600:3: warning: implicit declaration of function 'Cns_srv_listlinks' [-Wimplicit-function-declaration] if (c = Cns_srv_listlinks (magic, req_data, clienthost, thip, ^ Cns_main.c:601:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &lnk_entry, endlist, &dblistptr)) ^ Cns_main.c:605:3: warning: implicit declaration of function 'Cns_srv_listrep4gc' [-Wimplicit-function-declaration] if (c = Cns_srv_listrep4gc (magic, req_data, clienthost, thip, ^ Cns_main.c:606:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:610:3: warning: implicit declaration of function 'Cns_srv_listreplica' [-Wimplicit-function-declaration] if (c = Cns_srv_listreplica (magic, req_data, clienthost, thip, ^ Cns_main.c:611:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &fmd_entry, &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:615:3: warning: implicit declaration of function 'Cns_srv_listreplicax' [-Wimplicit-function-declaration] if (c = Cns_srv_listreplicax (magic, req_data, clienthost, thip, ^ Cns_main.c:616:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:620:3: warning: implicit declaration of function 'Cns_srv_listrepset' [-Wimplicit-function-declaration] if (c = Cns_srv_listrepset (magic, req_data, clienthost, thip, ^ Cns_main.c:621:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:625:3: warning: implicit declaration of function 'Cns_srv_listtape' [-Wimplicit-function-declaration] if (c = Cns_srv_listtape (magic, req_data, clienthost, thip, ^ Cns_main.c:626:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &fmd_entry, &smd_entry, endlist, &dblistptr)) ^ Cns_main.c:650:4: warning: implicit declaration of function 'Cns_srv_readdir' [-Wimplicit-function-declaration] c = Cns_srv_readdir (magic, req_data2, clienthost, thip, ^ Cns_main.c: At top level: Cns_main.c:699:1: warning: return type defaults to 'int' [-Wreturn-type] procreq(magic, req_type, req_data, clienthost, thip) ^ Cns_main.c: In function 'procreq': Cns_main.c:746:3: warning: implicit declaration of function 'getidmap' [-Wimplicit-function-declaration] if ((c = getidmap (thip, thip->Csec_auth_id, user_ca, ^ Cns_main.c:758:3: warning: implicit declaration of function 'Cns_srv_access' [-Wimplicit-function-declaration] c = Cns_srv_access (magic, req_data, clienthost, thip); ^ Cns_main.c:761:3: warning: implicit declaration of function 'Cns_srv_chclass' [-Wimplicit-function-declaration] c = Cns_srv_chclass (magic, req_data, clienthost, thip); ^ Cns_main.c:764:3: warning: implicit declaration of function 'Cns_srv_chdir' [-Wimplicit-function-declaration] c = Cns_srv_chdir (magic, req_data, clienthost, thip); ^ Cns_main.c:767:3: warning: implicit declaration of function 'Cns_srv_chmod' [-Wimplicit-function-declaration] c = Cns_srv_chmod (magic, req_data, clienthost, thip); ^ Cns_main.c:770:3: warning: implicit declaration of function 'Cns_srv_chown' [-Wimplicit-function-declaration] c = Cns_srv_chown (magic, req_data, clienthost, thip); ^ Cns_main.c:773:3: warning: implicit declaration of function 'Cns_srv_creat' [-Wimplicit-function-declaration] c = Cns_srv_creat (magic, req_data, clienthost, thip); ^ Cns_main.c:776:3: warning: implicit declaration of function 'Cns_srv_deleteclass' [-Wimplicit-function-declaration] c = Cns_srv_deleteclass (magic, req_data, clienthost, thip); ^ Cns_main.c:779:3: warning: implicit declaration of function 'Cns_srv_delcomment' [-Wimplicit-function-declaration] c = Cns_srv_delcomment (magic, req_data, clienthost, thip); ^ Cns_main.c:782:3: warning: implicit declaration of function 'Cns_srv_delete' [-Wimplicit-function-declaration] c = Cns_srv_delete (magic, req_data, clienthost, thip); ^ Cns_main.c:785:3: warning: implicit declaration of function 'Cns_srv_enterclass' [-Wimplicit-function-declaration] c = Cns_srv_enterclass (magic, req_data, clienthost, thip); ^ Cns_main.c:788:3: warning: implicit declaration of function 'Cns_srv_getacl' [-Wimplicit-function-declaration] c = Cns_srv_getacl (magic, req_data, clienthost, thip); ^ Cns_main.c:791:3: warning: implicit declaration of function 'Cns_srv_getcomment' [-Wimplicit-function-declaration] c = Cns_srv_getcomment (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:22:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_init_dbpkg() ^ Cns_mysql_ifce.c: In function 'Cns_init_dbpkg': Cns_mysql_ifce.c:24:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ Cns_mysql_ifce.c: In function 'Cns_mysql_error': Cns_mysql_ifce.c:41:2: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, "%s error: %s\n", sql_method, mysql_error (&dbfd->mysql)); ^ Cns_mysql_ifce.c: At top level: Cns_mysql_ifce.c:51:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_abort_tr(dbfd) ^ Cns_mysql_ifce.c:60:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_closedb(dbfd) ^ Cns_mysql_ifce.c:67:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_class_entry(row, lock, rec_addr, class_entry) ^ Cns_mysql_ifce.c:93:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_fmd_entry(row, lock, rec_addr, fmd_entry) ^ Cns_mysql_ifce.c:123:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_rep_entry (row, lock, rec_addr, rep_entry) ^ Cns_mysql_ifce.c:154:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_smd_entry(row, lock, rec_addr, smd_entry) ^ Cns_mysql_ifce.c:180:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_tppool_entry(row, lock, rec_addr, tppool_entry) ^ Cns_mysql_ifce.c:194:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_class_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:212:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_fmd_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:230:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_lnk_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:248:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_rep_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:266:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_smd_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:284:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_tppool_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:302:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_umd_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:320:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_end_tr(dbfd) ^ Cns_mysql_ifce.c:329:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_exec_query(func, dbfd, sql_stmt, res) ^ Cns_mysql_ifce.c:346: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:389: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:432: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:475: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:524: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:565: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:627:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_lnk_by_fileid(dbfd, fileid, lnk_entry, lock, rec_addr) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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:669:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_max_copyno (dbfd, fileid, copyno) ^ Cns_mysql_ifce.c:699: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:741: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:786: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:836: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:872: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:914:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_umd_by_fileid(dbfd, fileid, umd_entry, lock, rec_addr) ^ Cns_main.c:794:3: warning: implicit declaration of function 'Cns_srv_getpath' [-Wimplicit-function-declaration] c = Cns_srv_getpath (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:956:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_class_entry(dbfd, class_entry) ^ Cns_main.c:797:3: warning: implicit declaration of function 'Cns_srv_getsegattrs' [-Wimplicit-function-declaration] c = Cns_srv_getsegattrs (magic, req_data, clienthost, thip); ^ Cns_main.c:800:3: warning: implicit declaration of function 'Cns_srv_lchown' [-Wimplicit-function-declaration] c = Cns_srv_lchown (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:992:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_fmd_entry(dbfd, fmd_entry) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o sendrep.o sendrep.c Cns_main.c:809:3: warning: implicit declaration of function 'Cns_srv_lstat' [-Wimplicit-function-declaration] c = Cns_srv_lstat (magic, req_data, clienthost, thip); ^ Cns_main.c:812:3: warning: implicit declaration of function 'Cns_srv_mkdir' [-Wimplicit-function-declaration] c = Cns_srv_mkdir (magic, req_data, clienthost, thip); ^ Cns_main.c:815:3: warning: implicit declaration of function 'Cns_srv_modifyclass' [-Wimplicit-function-declaration] c = Cns_srv_modifyclass (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1053:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_lnk_entry(dbfd, lnk_entry) ^ Cns_main.c:818:3: warning: implicit declaration of function 'Cns_srv_open' [-Wimplicit-function-declaration] c = Cns_srv_open (magic, req_data, clienthost, thip); ^ Cns_main.c:824:3: warning: implicit declaration of function 'Cns_srv_queryclass' [-Wimplicit-function-declaration] c = Cns_srv_queryclass (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1084:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_rep_entry(dbfd, rep_entry) ^ Cns_main.c:827:3: warning: implicit declaration of function 'Cns_srv_readlink' [-Wimplicit-function-declaration] c = Cns_srv_readlink (magic, req_data, clienthost, thip); ^ Cns_main.c:830:3: warning: implicit declaration of function 'Cns_srv_rename' [-Wimplicit-function-declaration] c = Cns_srv_rename (magic, req_data, clienthost, thip); ^ Cns_main.c:833:3: warning: implicit declaration of function 'Cns_srv_rmdir' [-Wimplicit-function-declaration] c = Cns_srv_rmdir (magic, req_data, clienthost, thip); ^ Cns_main.c:836:3: warning: implicit declaration of function 'Cns_srv_setacl' [-Wimplicit-function-declaration] c = Cns_srv_setacl (magic, req_data, clienthost, thip); ^ Cns_main.c:839:3: warning: implicit declaration of function 'Cns_srv_setatime' [-Wimplicit-function-declaration] c = Cns_srv_setatime (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1189:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_smd_entry(dbfd, smd_entry) ^ Cns_main.c:842:3: warning: implicit declaration of function 'Cns_srv_setcomment' [-Wimplicit-function-declaration] c = Cns_srv_setcomment (magic, req_data, clienthost, thip); ^ Cns_main.c:845:3: warning: implicit declaration of function 'Cns_srv_setfsize' [-Wimplicit-function-declaration] c = Cns_srv_setfsize (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1226:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_tppool_entry(dbfd, tppool_entry) ^ Cns_main.c:848:3: warning: implicit declaration of function 'Cns_srv_setsegattrs' [-Wimplicit-function-declaration] c = Cns_srv_setsegattrs (magic, req_data, clienthost, thip); ^ Cns_main.c:851:3: warning: implicit declaration of function 'Cns_srv_shutdown' [-Wimplicit-function-declaration] c = Cns_srv_shutdown (magic, req_data, clienthost, thip); ^ Cns_main.c:854:3: warning: implicit declaration of function 'Cns_srv_stat' [-Wimplicit-function-declaration] c = Cns_srv_stat (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1253:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_umd_entry(dbfd, umd_entry) ^ Cns_main.c:857:3: warning: implicit declaration of function 'Cns_srv_symlink' [-Wimplicit-function-declaration] c = Cns_srv_symlink (magic, req_data, clienthost, thip); ^ Cns_main.c:860:3: warning: implicit declaration of function 'Cns_srv_undelete' [-Wimplicit-function-declaration] c = Cns_srv_undelete (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1282:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_class_entry(dbfd, bol, class_entry, endlist, dblistptr) ^ Cns_main.c:863:3: warning: implicit declaration of function 'Cns_srv_unlink' [-Wimplicit-function-declaration] c = Cns_srv_unlink (magic, req_data, clienthost, thip); ^ Cns_main.c:866:3: warning: implicit declaration of function 'Cns_srv_utime' [-Wimplicit-function-declaration] c = Cns_srv_utime (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1319:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_group_entry(dbfd, bol, group_entry, endlist, dblistptr) ^ Cns_main.c:869:3: warning: implicit declaration of function 'Cns_srv_replaceseg' [-Wimplicit-function-declaration] c = Cns_srv_replaceseg (magic, req_data, clienthost, thip); ^ Cns_main.c:872:3: warning: implicit declaration of function 'Cns_srv_addreplica' [-Wimplicit-function-declaration] c = Cns_srv_addreplica (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1352:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_lnk_entry(dbfd, bol, linkname, lnk_entry, endlist, dblistptr) ^ Cns_main.c:875:3: warning: implicit declaration of function 'Cns_srv_delreplica' [-Wimplicit-function-declaration] c = Cns_srv_delreplica (magic, req_data, clienthost, thip); ^ Cns_main.c:881:3: warning: implicit declaration of function 'proctransreq' [-Wimplicit-function-declaration] c = proctransreq (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c: In function 'Cns_list_lnk_entry': Cns_main.c:884:3: warning: implicit declaration of function 'Cns_srv_endtrans' [-Wimplicit-function-declaration] c = Cns_srv_endtrans (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1361:7: warning: unused variable 'fileid_str' [-Wunused-variable] char fileid_str[21]; ^ Cns_mysql_ifce.c: At top level: Cns_main.c:887:3: warning: implicit declaration of function 'Cns_srv_aborttrans' [-Wimplicit-function-declaration] c = Cns_srv_aborttrans (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1391:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep4admin(dbfd, bol, poolname, server, fs, rep_entry, endlist, dblistptr) ^ Cns_main.c:893:3: warning: implicit declaration of function 'Cns_srv_setfsizeg' [-Wimplicit-function-declaration] c = Cns_srv_setfsizeg (magic, req_data, clienthost, thip); ^ Cns_main.c:896:3: warning: implicit declaration of function 'Cns_srv_statg' [-Wimplicit-function-declaration] c = Cns_srv_statg (magic, req_data, clienthost, thip); ^ Cns_main.c:899:3: warning: implicit declaration of function 'Cns_srv_statr' [-Wimplicit-function-declaration] c = Cns_srv_statr (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1453:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep4gc(dbfd, bol, poolname, rep_entry, endlist, dblistptr) ^ Cns_main.c:902:3: warning: implicit declaration of function 'Cns_srv_setptime' [-Wimplicit-function-declaration] c = Cns_srv_setptime (magic, req_data, clienthost, thip); ^ Cns_main.c:905:3: warning: implicit declaration of function 'Cns_srv_setratime' [-Wimplicit-function-declaration] c = Cns_srv_setratime (magic, req_data, clienthost, thip); ^ Cns_main.c:908:3: warning: implicit declaration of function 'Cns_srv_setrstatus' [-Wimplicit-function-declaration] c = Cns_srv_setrstatus (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1489:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep_entry(dbfd, bol, fileid, rep_entry, lock, rec_addr, endlist, dblistptr) ^ Cns_main.c:911:3: warning: implicit declaration of function 'Cns_srv_accessr' [-Wimplicit-function-declaration] c = Cns_srv_accessr (magic, req_data, clienthost, thip); ^ Cns_main.c:920:3: warning: implicit declaration of function 'procsessreq' [-Wimplicit-function-declaration] c = procsessreq (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1536:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep_set(dbfd, bol, setname, rep_entry, endlist, dblistptr) ^ Cns_main.c:923:3: warning: implicit declaration of function 'Cns_srv_endsess' [-Wimplicit-function-declaration] c = Cns_srv_endsess (magic, req_data, clienthost, thip); ^ Cns_main.c:926:3: warning: implicit declaration of function 'Cns_srv_du' [-Wimplicit-function-declaration] c = Cns_srv_du (magic, req_data, clienthost, thip); ^ Cns_main.c:929:3: warning: implicit declaration of function 'Cns_srv_getgrpbynam' [-Wimplicit-function-declaration] c = Cns_srv_getgrpbynam (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1571:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_user_entry(dbfd, bol, user_entry, endlist, dblistptr) ^ Cns_main.c:932:3: warning: implicit declaration of function 'Cns_srv_getgrpbygid' [-Wimplicit-function-declaration] c = Cns_srv_getgrpbygid (magic, req_data, clienthost, thip); ^ Cns_main.c:935:3: warning: implicit declaration of function 'Cns_srv_getidmap' [-Wimplicit-function-declaration] c = Cns_srv_getidmap (magic, req_data, clienthost, thip); ^ Cns_main.c:938:3: warning: implicit declaration of function 'Cns_srv_getusrbynam' [-Wimplicit-function-declaration] c = Cns_srv_getusrbynam (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1605:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_opendb(db_srvr, db_user, db_pwd, db_name, dbfd) ^ Cns_main.c:941:3: warning: implicit declaration of function 'Cns_srv_getusrbyuid' [-Wimplicit-function-declaration] c = Cns_srv_getusrbyuid (magic, req_data, clienthost, thip); ^ Cns_main.c:944:3: warning: implicit declaration of function 'Cns_srv_modgrpmap' [-Wimplicit-function-declaration] c = Cns_srv_modgrpmap (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1628:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_pingdb(dbfd) ^ Cns_main.c:947:3: warning: implicit declaration of function 'Cns_srv_modusrmap' [-Wimplicit-function-declaration] c = Cns_srv_modusrmap (magic, req_data, clienthost, thip); ^ Cns_main.c:950:3: warning: implicit declaration of function 'Cns_srv_rmgrpmap' [-Wimplicit-function-declaration] c = Cns_srv_rmgrpmap (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1642:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_start_tr(s, dbfd) ^ Cns_main.c:953:3: warning: implicit declaration of function 'Cns_srv_rmusrmap' [-Wimplicit-function-declaration] c = Cns_srv_rmusrmap (magic, req_data, clienthost, thip); ^ Cns_main.c:956:3: warning: implicit declaration of function 'Cns_srv_getlinks' [-Wimplicit-function-declaration] c = Cns_srv_getlinks (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1653:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_unique_id(dbfd, unique_id) ^ Cns_main.c:959:3: warning: implicit declaration of function 'Cns_srv_getreplica' [-Wimplicit-function-declaration] c = Cns_srv_getreplica (magic, req_data, clienthost, thip); ^ Cns_main.c:962:3: warning: implicit declaration of function 'Cns_srv_entergrpmap' [-Wimplicit-function-declaration] c = Cns_srv_entergrpmap (magic, req_data, clienthost, thip); ^ Cns_main.c:965:3: warning: implicit declaration of function 'Cns_srv_enterusrmap' [-Wimplicit-function-declaration] c = Cns_srv_enterusrmap (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1694:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_class_entry(dbfd, rec_addr, class_entry) ^ Cns_main.c:968:3: warning: implicit declaration of function 'Cns_srv_setrtype' [-Wimplicit-function-declaration] c = Cns_srv_setrtype (magic, req_data, clienthost, thip); ^ Cns_main.c:971:3: warning: implicit declaration of function 'Cns_srv_modreplica' [-Wimplicit-function-declaration] c = Cns_srv_modreplica (magic, req_type, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1727:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_fmd_entry(dbfd, rec_addr, fmd_entry) ^ Cns_main.c:974:3: warning: implicit declaration of function 'Cns_srv_getreplicax' [-Wimplicit-function-declaration] c = Cns_srv_getreplicax (magic, req_data, clienthost, thip); ^ Cns_main.c:980:3: warning: implicit declaration of function 'Cns_srv_setrltime' [-Wimplicit-function-declaration] c = Cns_srv_setrltime (magic, req_data, clienthost, thip); ^ Cns_main.c:983:3: warning: implicit declaration of function 'Cns_srv_getreplicas' [-Wimplicit-function-declaration] c = Cns_srv_getreplicas (magic, req_data, clienthost, thip); ^ Cns_main.c:986:3: warning: implicit declaration of function 'Cns_srv_getgrpbygids' [-Wimplicit-function-declaration] c = Cns_srv_getgrpbygids (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1782:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_rep_entry(dbfd, rec_addr, rep_entry) ^ Cns_main.c:989:3: warning: implicit declaration of function 'Cns_srv_ping' [-Wimplicit-function-declaration] c = Cns_srv_ping (magic, req_data, clienthost, thip); ^ Cns_main.c:992:3: warning: implicit declaration of function 'Cns_srv_delfiles' [-Wimplicit-function-declaration] c = Cns_srv_delfiles (magic, req_data, clienthost, thip); ^ Cns_main.c:995:3: warning: implicit declaration of function 'Cns_srv_delfilesbypattern' [-Wimplicit-function-declaration] c = Cns_srv_delfilesbypattern (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1862:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_smd_entry(dbfd, rec_addr, smd_entry) ^ Cns_main.c:998:3: warning: implicit declaration of function 'Cns_srv_delreplicas' [-Wimplicit-function-declaration] c = Cns_srv_delreplicas (magic, req_data, clienthost, thip); ^ Cns_main.c:1001:3: warning: implicit declaration of function 'Cns_srv_getgrpmap' [-Wimplicit-function-declaration] c = Cns_srv_getgrpmap (magic, req_data, clienthost, thip); ^ Cns_main.c:1004:3: warning: implicit declaration of function 'Cns_srv_getusrmap' [-Wimplicit-function-declaration] c = Cns_srv_getusrmap (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1892:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_umd_entry(dbfd, rec_addr, umd_entry) ^ Cns_main.c:1007:3: warning: implicit declaration of function 'Cns_srv_getreplicasl' [-Wimplicit-function-declaration] c = Cns_srv_getreplicasl (magic, req_data, clienthost, thip); ^ Cns_main.c:1013:3: warning: implicit declaration of function 'Cns_srv_delreplicasbysfn' [-Wimplicit-function-declaration] c = Cns_srv_delreplicasbysfn (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:1917:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_group_entry(dbfd, rec_addr) ^ Cns_main.c:1016:3: warning: implicit declaration of function 'Cns_srv_registerfiles' [-Wimplicit-function-declaration] c = Cns_srv_registerfiles (magic, req_data, clienthost, thip); ^ Cns_main.c:1019:3: warning: implicit declaration of function 'Cns_srv_getreplicass' [-Wimplicit-function-declaration] c = Cns_srv_getreplicass (magic, req_data, clienthost, thip); ^ Cns_main.c: At top level: Cns_mysql_ifce.c:1935:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_user_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:1953: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:1990: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:2027:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_usrinfo_by_name(dbfd, name, user_entry, lock, rec_addr) ^ Cns_main.c:1028:1: warning: return type defaults to 'int' [-Wreturn-type] procsessreq(magic, req_data, clienthost, thip) ^ Cns_main.c: In function 'procsessreq': Cns_main.c:1040:2: warning: implicit declaration of function 'Cns_srv_startsess' [-Wimplicit-function-declaration] (void) Cns_srv_startsess (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:2069:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_usrinfo_by_uid(dbfd, uid, user_entry, lock, rec_addr) ^ Cns_main.c:1057:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rc = getreq (thip->s, &magic, &req_type, &req_data2, &clienthost)) { ^ Cns_main.c: At top level: Cns_mysql_ifce.c:2108:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_group_entry(dbfd, group_entry) ^ Cns_main.c:1071:1: warning: return type defaults to 'int' [-Wreturn-type] proctransreq(magic, req_data, clienthost, thip) ^ Cns_main.c: In function 'proctransreq': Cns_main.c:1083:2: warning: implicit declaration of function 'Cns_srv_starttrans' [-Wimplicit-function-declaration] (void) Cns_srv_starttrans (magic, req_data, clienthost, thip); ^ Cns_mysql_ifce.c:2131:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_user_entry(dbfd, user_entry) ^ Cns_main.c:1101:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rc = getreq (thip->s, &magic, &req_type, &req_data2, &clienthost)) { ^ Cns_mysql_ifce.c:2161:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_unique_gid(dbfd, unique_id) ^ Cns_mysql_ifce.c:2207:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_unique_uid(dbfd, unique_id) ^ 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: 3958 $ $Date: 2010-11-10 12:59:45 +0100 (Wed, 10 Nov 2010) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_mysql_ifce.c:2252:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_group_entry(dbfd, rec_addr, group_entry) ^ Cns_mysql_ifce.c:2277:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_unique_gid(dbfd, unique_id) ^ Cns_mysql_ifce.c:2321:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_unique_uid(dbfd, unique_id) ^ Cns_mysql_ifce.c:2365: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: 3958 $ $Date: 2010-11-10 12:59:45 +0100 (Wed, 10 Nov 2010) $ CERN IT-DS/HSM Jean-Philippe Baud"; ^ Cns_mysql_ifce.c: In function 'Cns_decode_class_entry': Cns_mysql_ifce.c:91:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Cns_procreq.c:50:1: warning: return type defaults to 'int' [-Wreturn-type] get_client_actual_id (thip, uid, gid, nbgids, gids, user) ^ Cns_procreq.c:83:1: warning: return type defaults to 'int' [-Wreturn-type] getpath (thip, cur_fileid, path) ^ Cns_mysql_ifce.c: In function 'Cns_decode_fmd_entry': Cns_mysql_ifce.c:121:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Cns_procreq.c: In function 'Cns_logreq': Cns_procreq.c:133:3: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, NS098, p); ^ Cns_procreq.c: At top level: Cns_procreq.c:154:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRR (sbpp, magic, rep_entry) ^ Cns_mysql_ifce.c: In function 'Cns_decode_rep_entry': Cns_mysql_ifce.c:152:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Cns_procreq.c:177:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRX (sbpp, magic, fmd_entry) ^ Cns_mysql_ifce.c: In function 'Cns_decode_smd_entry': Cns_mysql_ifce.c:178: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:192:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Cns_procreq.c:206:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRXR (sbpp, magic, fmd_entry) ^ Cns_procreq.c:222:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRXT (sbpp, magic, fmd_entry, smd_entry) ^ Cns_procreq.c:248:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_REPLICS (sbpp, magic, fmd_entry, rep_entry, errcode) ^ Cns_procreq.c:294:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_aborttrans(magic, req_data, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_aborttrans': Cns_procreq.c:318: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:319:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:323:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:328:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_access(magic, req_data, clienthost, thip) ^ Cns_procreq.c:390:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_accessr(magic, req_data, clienthost, thip) ^ Cns_procreq.c:462:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_addreplica(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_addreplica': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:501:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:504:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:507:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:509:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:511:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:521:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:524:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:530:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:544:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:555:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:558:4: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:561:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:568:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:577:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:579:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:598:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:599:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:604:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chclass(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chclass': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:640:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:644:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:647:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:660:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:669:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:671:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:665: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:673:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:679:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:681:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:675: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:688:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:690:3: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:43: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 (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:702:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:707:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:711:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:713:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:718:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chdir(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chdir': ../h/Cns_server.h:43: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 (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:753:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:762:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:765:3: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:767:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:774:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:779:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chmod(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chmod': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:810:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:813:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:816:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:830:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:836:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:849:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:850:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:855:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chown(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chown': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:893:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cupv_check.c: In function 'Cupv_check': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:896:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ 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]; ^ Cupv_check.c:57:8: warning: unused variable 'sbp' [-Wunused-variable] char *sbp; ^ 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; ^ 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) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:899:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:914:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:961:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:965:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43: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 (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:979:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c:870:9: warning: unused variable 'membername' [-Wunused-variable] char **membername; ^ Cns_procreq.c:867:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ Cns_procreq.c:863:6: warning: unused variable 'found' [-Wunused-variable] int found; ^ Cns_procreq.c: At top level: Cns_procreq.c:984:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_creat(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_creat': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1029:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1032:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43: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 (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1040:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1042:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1057:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1060:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1064:4: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1066:4: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1071:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1080:5: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1085:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1092:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1098:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1112:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1116:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1118:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); /* guid is mandatory for the LFC */ ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1120:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1144:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1152:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1158:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1163:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delcomment(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delcomment': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1194:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1197:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1200:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1213:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1219:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1225:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1227:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1228:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1233:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delete(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delete': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1271:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1274:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1277:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1290:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1293:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1296:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsshutdown.o nsshutdown.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1305:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1314:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1320:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1329:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43: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 (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1342:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1349:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1350:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1355:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_deleteclass(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_deleteclass': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1389:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1393:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1398:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1409:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43: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 (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1416:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1420:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1426:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1427:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1434: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:1541:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delfiles(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delfiles': ../h/Cns_server.h:43: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 (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1585:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1592:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1667:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1675:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delfilesbypattern(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delfilesbypattern': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1716:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43: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 (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1722:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1724:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1731:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1734:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1786:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1791:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delreplica(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delreplica': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1823:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1826:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1829:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1831:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1842:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1846:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1849:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1853:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1860:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1864:3: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1871:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1876:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1877:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1883:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delreplicas(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delreplicas': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1924:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1927:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1929:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1932:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2011:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:2017:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delreplicasbysfn(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delreplicasbysfn': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2059:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2062:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ sendrep.c:22:1: warning: return type defaults to 'int' [-Wreturn-type] sendrep(int rpfd, int rep_type, ...) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2065:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ sendrep.c: In function 'sendrep': sendrep.c:44:3: warning: implicit declaration of function 'vsprintf' [-Wimplicit-function-declaration] vsprintf (prtbuf, msg, args); ^ Cns_procreq.c:2133:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] &umd_entry, 1, &rec_addr) == 0 && ^ sendrep.c:47:3: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, "%s", prtbuf); ^ sendrep.c:30:8: warning: unused variable 'q' [-Wunused-variable] char *q; ^ sendrep.c:28:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2179:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:2184:1: warning: return type defaults to 'int' [-Wreturn-type] compute_du4dir (thip, direntry, Lflag, uid, nbgids, gids, clienthost, nbbytes, nbentries) ^ sendrep.c: At top level: sendrep.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: sendrep.c,v $ $Revision: 3722 $ $Date: 2010-08-04 09:58:47 +0200 (Wed, 04 Aug 2010) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_procreq.c:2245:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_du(magic, req_data, clienthost, thip) ^ 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 Cns_procreq.c:2318:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_endsess(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_endsess': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2343:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2345:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:2350:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_endtrans(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_endtrans': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2375:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2379:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:2384:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_enterclass(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_enterclass': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2414:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2419:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2437:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2442:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2444:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2448:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2455:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2457:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2459:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:2464:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getacl(magic, req_data, clienthost, thip) ^ nslogit.c:21:1: warning: return type defaults to 'int' [-Wreturn-type] nslogit(char *func, char *msg, ...) ^ nslogit.c: In function 'nslogit': nslogit.c:36:2: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] (void) gettimeofday (&tv, NULL); ^ nslogit.c:45:3: warning: implicit declaration of function 'Csnprintf' [-Wimplicit-function-declaration] Csnprintf (prtbuf, LOGBUFSZ, "%02d/%02d %02d:%02d:%02d.%03d %5d %s: ", ^ nslogit.c:52:2: warning: implicit declaration of function 'Cvsnprintf' [-Wimplicit-function-declaration] Cvsnprintf (prtbuf+strlen(prtbuf), LOGBUFSZ-strlen(prtbuf), msg, args); ^ Cns_procreq.c: In function 'Cns_srv_getacl': nslogit.c:63:2: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] write (fd_log, prtbuf, strlen(prtbuf)); ^ nslogit.c:64:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close (fd_log); ^ nslogit.c: At top level: nslogit.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nslogit.c,v $ $Revision: 3886 $ $Date: 2010-10-25 12:29:55 +0200 (Mon, 25 Oct 2010) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_procreq.c:2529:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = strchr (iacl, ',')) ^ Cns_procreq.c: At top level: Cns_procreq.c:2545:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getcomment(magic, req_data, clienthost, thip) ^ Cns_procreq.c:2612:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getlinks(magic, req_data, clienthost, thip) ^ Cns_procreq.c:2720:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getpath(magic, req_data, clienthost, thip) ^ Cns_procreq.c:2769:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplica(magic, req_data, clienthost, thip) ^ Cns_procreq.c:2884:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplicas(magic, req_data, clienthost, thip) ^ Cns_procreq.c:3007:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplicasl(magic, req_data, clienthost, thip) ^ Cns_procreq.c:3132:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplicass(magic, req_data, clienthost, thip) ^ Cns_procreq.c:3233:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplicax(magic, req_data, clienthost, thip) ^ Cns_procreq.c:3353:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getsegattrs(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_getsegattrs': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3392:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3397:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ sed -e 's#NSCONFIGFILE=.*#NSCONFIGFILE="/etc/NSCONFIG"#' lfcdaemon.sysconfig.mysql > lfcdaemon.conf.templ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3407:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3413:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3420:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3426:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ nsshutdown.c:25:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsshutdown.c: In function 'main': nsshutdown.c:41:2: warning: implicit declaration of function 'geteuid' [-Wimplicit-function-declaration] uid = geteuid(); ^ nsshutdown.c:42:2: warning: implicit declaration of function 'getegid' [-Wimplicit-function-declaration] gid = getegid(); ^ nsshutdown.c:49:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "fh:")) != EOF) { ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3450:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ nsshutdown.c: At top level: 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3455:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:3460:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_lchown(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_lchown': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3498:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3501:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3504:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3519:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3566:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3570:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3583:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3584:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c:3475:9: warning: unused variable 'membername' [-Wunused-variable] char **membername; ^ Cns_procreq.c:3472:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ Cns_procreq.c:3468:6: warning: unused variable 'found' [-Wunused-variable] int found; ^ Cns_procreq.c: At top level: Cns_procreq.c:3587:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listclass(magic, req_data, 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3629:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3689:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3698:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3706:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:3709:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listlinks(magic, req_data, 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3751:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3756:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3758:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3775:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3778:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ rm -f -f lfc_perlwrap.o lfc_perlwrap.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3782:5: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3787:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3797:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3802:6: note: in expansion of macro 'RETURN' RETURN (c); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3831:4: note: in expansion of macro 'RETURN' RETURN (c); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3840:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3847:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:3850:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listrep4gc(magic, req_data, 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3889:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3893:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3948:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3955:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:3958:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listreplica(magic, req_data, 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3999:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4004:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4006:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4023:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4026:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4030:5: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4035:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43: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 (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4093:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4096:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listreplicax(magic, req_data, 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4137:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4141:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4143:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ SWIG_LIB=/usr/share/swig/2.0.10 /usr/bin/swig -perl -I../h -DNSTYPE_LFC -o lfc_perlwrap.c lfc.i ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4145:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4187:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4194:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4197:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listrepset(magic, req_data, 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4236:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4240:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4286:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4293:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4296:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listtape(magic, req_data, 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4335:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43: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); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4373:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4381:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4389:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4394:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_lstat(magic, req_data, clienthost, thip) ^ rm -f -f lfc_wrap.o lfc_wrap.c Cns_procreq.c:4475:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_mkdir(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_mkdir': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4512:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4515:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ SWIG_LIB=/usr/share/swig/2.0.10 /usr/bin/swig -python -I../h -DNSTYPE_LFC lfc.i ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4519:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4523:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4525:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4540:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4543:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4548:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4553:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4575:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4583:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4590:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4593:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4595:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4600:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_modifyclass(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_modifyclass': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4649:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4653:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4655:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4672:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4684:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4686:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4690:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4721:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4725:4: note: in expansion of macro 'RETURN' RETURN (ENOMEM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4730:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4747:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4765:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4772:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4777:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_modreplica(magic, req_type, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_modreplica': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4813:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4816:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4818:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4820:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4822:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4824:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4827:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4842:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ rm -f -f lfcthr_wrap.o lfcthr_wrap.c SWIG_LIB=/usr/share/swig/2.0.10 /usr/bin/swig -python -I../h -DNSTYPE_LFC lfcthr.i ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4845:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4851:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43: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 (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4873:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4874:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4879:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_open(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_open': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4921:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4926:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4944:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4949:3: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4953:4: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4956:4: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4963:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4973:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4980:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4989:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4993:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5017:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5025:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5033:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:5038:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_opendir(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_opendir': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5070:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5074:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5077:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5087:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5094:4: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5096:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5103:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ rm -f -f lfc2_wrap.o lfc2_wrap.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5106:3: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ SWIG_LIB=/usr/share/swig/2.0.10 /usr/bin/swig -python -I../h -DNSTYPE_LFC lfc2.i ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5108:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5115:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:5120:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_ping(magic, req_data, clienthost, thip) ^ Cns_procreq.c:5149:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_queryclass(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_queryclass': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5186:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5190:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5198:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5200:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5204:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5235:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5239:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:5244:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_readdir(magic, req_data, 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5299:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5309:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5311:4: note: in expansion of macro 'RETURN' RETURN (SEOPNOTSUP); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5314:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_procreq.c:5315: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5317:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5323:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_procreq.c:5329:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (getattr == 1 || getattr == 4) ^ Cns_procreq.c:5362: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5369:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:5387: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5401:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:5426:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 0, smdlistptr)) break; ^ rm -f -f lfc2thr_wrap.o lfc2thr_wrap.c In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5437:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ SWIG_LIB=/usr/share/swig/2.0.10 /usr/bin/swig -python -I../h -DNSTYPE_LFC lfc2thr.i ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5442:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5453:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:5473: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5487:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5495:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5505:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5508:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5518:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:5523:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_readlink(magic, req_data, clienthost, thip) ^ Cns_procreq.c:5593:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_registerfiles(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_registerfiles': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5643:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5646:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5651:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5870:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:5875:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_rename(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_rename': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5925:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5928:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5931:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5933:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5947:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5955:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5958:3: note: in expansion of macro 'RETURN' RETURN (0); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5960:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5963:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5972:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5974:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5986:4: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5989:4: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5995:4: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6006:5: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6011:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6022:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6030:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6039:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6049:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6055:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6063:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6065:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6073:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6075:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6078:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6097:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6110:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6117:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6118:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6123:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_replaceseg(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_replaceseg': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6162:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6174:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6183:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6188:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6191:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6199:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6203:3: note: in expansion of macro 'RETURN' RETURN (SEENTRYNFND); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6221:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6237:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6239:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6244:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_rmdir(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_rmdir': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6280:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6283:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6286:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6299:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-chgrp -Wl,-z,relro nschgrp.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6302:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6305:3: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6307:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); /* cannot remove current working directory */ ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6309:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6318:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6325:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6327:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6332:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6340:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6347:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6350:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6352:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6357:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setacl(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setacl': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6392:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6395:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6398:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-chmod -Wl,-z,relro nschmod.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6404:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6420:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6426:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6436:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6444:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_procreq.c:6455:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177077 | ^ Cns_procreq.c:6459:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177707 | ^ Cns_procreq.c:6463:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177770 | ^ Cns_procreq.c:6477:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177077 | ^ Cns_procreq.c:6481:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177707 | ^ Cns_procreq.c:6489: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6497:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6498:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6503:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setatime(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setatime': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6535:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-chown -Wl,-z,relro nschown.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6538:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6542:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6555:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6561:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6568:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6575:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6578:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6585:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6586:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6591:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setcomment(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setcomment': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6624:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6627:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6630:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6632:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-delcomment -Wl,-z,relro nsdelcomment.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6645:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6651:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6662:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6668:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6670:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6672:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6677:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setfsize(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setfsize': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6713:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6716:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6720:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6723:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6726:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6728:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6731:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-entergrpmap -Wl,-z,relro nsentergrpmap.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6749:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6755:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6762:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6769:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6772:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6783:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6784:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6789:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setfsizeg(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setfsizeg': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6822:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6825:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6827:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6830:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6832:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43: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 (EINVAL); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-enterusrmap -Wl,-z,relro nsenterusrmap.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43: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 (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6848:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6854:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6860:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6863:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6874:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6875:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6880:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setptime(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setptime': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6911:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6914:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6916:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ Cns_procreq.c:6918: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6926:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-getacl -Wl,-z,relro nsgetacl.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6932:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6938:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6944:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6951:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6952:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6957:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setratime(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setratime': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6987:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6990:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6992:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7001:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7007:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7013:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7019:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7027:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-listgrpmap -Wl,-z,relro nslistgrpmap.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7028:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7033:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setrltime(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setrltime': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7064:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7067:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7069:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ Cns_procreq.c:7071: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7079:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7085:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7091:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7097:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7104:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7105:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7110:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setrstatus(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setrstatus': 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-listusrmap -Wl,-z,relro nslistusrmap.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7141:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7144:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7146:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7156:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7162:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7168:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43: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 (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7183:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7184:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7189:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setrtype(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setrtype': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7220:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7223:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7225:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7235:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-ln -Wl,-z,relro nsln.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7241:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7247:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7253:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7260:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7261:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7266:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setsegattrs(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setsegattrs': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7306:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43: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 (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7326:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43: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 (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7339:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7345:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-ls -Wl,-z,relro nsls.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7356:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7369:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7391:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7401:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7408:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7410:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7415:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_shutdown(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_shutdown': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7441:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7446:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7449:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7454:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_startsess(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_startsess': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7481:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7484:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-mkdir -Wl,-z,relro nsmkdir.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7487:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7492:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_starttrans(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_starttrans': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7519:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7523:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7530:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7535:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_stat(magic, req_data, clienthost, thip) ^ Cns_procreq.c:7615:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_statg(magic, req_data, clienthost, thip) ^ Cns_procreq.c:7701:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_statr(magic, req_data, clienthost, thip) ^ Cns_procreq.c:7769:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_symlink(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_symlink': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7802:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7805:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-modifygrpmap -Wl,-z,relro nsmodifygrpmap.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7808:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7810:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7823:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7828:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7833:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7855:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7857:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43: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 (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7866:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7871:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_undelete(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_undelete': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7909:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7912:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43: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 (SENAMETOOLONG); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-modifyusrmap -Wl,-z,relro nsmodifyusrmap.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7928:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7931:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7934:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7943:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7952:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7958:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7966:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7972:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7989:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7990:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7995:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_unlink(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_unlink': 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-ping -Wl,-z,relro nsping.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8028:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8031:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43: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 (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8047:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8051:2: note: in expansion of macro 'RETURN' RETURN (c); ^ Cns_procreq.c: At top level: Cns_procreq.c:8056:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_utime(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_utime': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8089:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8092:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8095:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8113:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8121:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8125:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8140:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8141:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:8148:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_vo_from_dn(const char *dn, char *vo) ^ Cns_procreq.c:8201:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_entergrpmap(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_entergrpmap': 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-rename -Wl,-z,relro nsrename.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8227:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8232:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8237:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8245:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8248:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8252:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8254:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8255:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:8260:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_enterusrmap(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_enterusrmap': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8286:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8291:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8296:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8304:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-rm -Wl,-z,relro nsrm.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8307:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8311:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8313:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8314:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:8319:1: warning: return type defaults to 'int' [-Wreturn-type] getonegid(thip, groupname, gid) ^ Cns_procreq.c:8356:1: warning: return type defaults to 'int' [-Wreturn-type] getidmap(thip, username, user_ca, nbgroups, groupnames, userid, gids) ^ Cns_procreq.c:8457:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getidmap(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_getidmap': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8492:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8496:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8501:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8504:4: note: in expansion of macro 'RETURN' RETURN (ENOMEM); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-rmgrpmap -Wl,-z,relro nsrmgrpmap.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8507:4: note: in expansion of macro 'RETURN' RETURN (ENOMEM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8515:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-rmusrmap -Wl,-z,relro nsrmusrmap.o -L../shlib -llfc -llcgdm ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8523:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8530:3: note: in expansion of macro 'RETURN' RETURN (ENOMEM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8544:2: note: in expansion of macro 'RETURN' RETURN (c); ^ Cns_procreq.c: At top level: Cns_procreq.c:8549:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getgrpbygid(magic, req_data, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getgrpbygid': Cns_procreq.c:8583: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:8597:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getgrpbygids(magic, req_data, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getgrpbygids': Cns_procreq.c:8637: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:8656:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getgrpbynam(magic, req_data, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getgrpbynam': Cns_procreq.c:8691: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:8706:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getgrpmap(magic, req_data, clienthost, thip) ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-setacl -Wl,-z,relro nssetacl.o -L../shlib -llfc -llcgdm Cns_procreq.c:8776:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getusrbynam(magic, req_data, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getusrbynam': 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-setcomment -Wl,-z,relro nssetcomment.o -L../shlib -llfc -llcgdm Cns_procreq.c:8811: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:8826:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getusrbyuid(magic, req_data, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getusrbyuid': Cns_procreq.c:8860: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:8874:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getusrmap(magic, req_data, clienthost, thip) ^ Cns_procreq.c:8948:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_modgrpmap(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_modgrpmap': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8977:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8982:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8991:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9000:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9002:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-shutdown -Wl,-z,relro nsshutdown.o -L../shlib -llfc -llcgdm Cns_procreq.c:8997: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9007:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9008:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:9013:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_modusrmap(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_modusrmap': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9042:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43: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 (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9056:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9065:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9067:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:9062: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9072:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9073:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:9078:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_rmgrpmap(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_rmgrpmap': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9106:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9110:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9115:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9126:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9128:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:9122: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9130:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9136:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9138:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:9132: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9141:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9142:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:9147:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_rmusrmap(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_rmusrmap': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9175:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9179:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9184:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9195:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9197:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:9191: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9199:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9205:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9207:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:9201: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9210:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9211: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: 3932 $ $Date: 2010-11-03 08:21:43 +0100 (Wed, 03 Nov 2010) $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -c -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -I../h -DNSTYPE_LFC -I/usr/lib64/perl5/CORE -Dbool=char -D_GNU_SOURCE lfc_perlwrap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -c -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -I../h -DNSTYPE_LFC -I/usr/include/python2.7 lfc_wrap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -c -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -I../h -DNSTYPE_LFC -I/usr/include/python2.7 lfcthr_wrap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -c -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -I../h -DNSTYPE_LFC -I/usr/include/python2.7 lfc2thr_wrap.c Cns_procreq.c: In function 'Cns_srv_delfiles': Cns_procreq.c:1640:22: warning: 'cwd' may be used uninitialized in this function [-Wmaybe-uninitialized] if (Cns_parsepath (&thip->dbfd, cwd, path, uid, nbgids, gids, ^ In file included from ../h/Cns_api.h:27:0, from ../h/lfc_api.h:160, from lfc_perlwrap.c:1557: ../h/osdep.h:25:0: warning: "LONGSIZE" redefined [enabled by default] #define LONGSIZE 4 ^ In file included from /usr/lib64/perl5/CORE/perl.h:38:0, from lfc_perlwrap.c:720: /usr/lib64/perl5/CORE/config.h:980:0: note: this is the location of the previous definition #define LONGSIZE 8 /**/ ^ lfcthr_wrap.c: In function 'init': lfcthr_wrap.c:3555:5: warning: implicit declaration of function 'Cthread_init' [-Wimplicit-function-declaration] return Cthread_init(); ^ In file included from lfc_perlwrap.c:721:0: lfc_perlwrap.c: In function 'boot_lfc': /usr/lib64/perl5/CORE/XSUB.h:164:20: warning: unused variable 'items' [-Wunused-variable] #define dITEMS I32 items = (I32)(SP - MARK) ^ /usr/lib64/perl5/CORE/XSUB.h:172:16: note: in expansion of macro 'dITEMS' dSP; dAXMARK; dITEMS ^ lfc_perlwrap.c:21890:3: note: in expansion of macro 'dXSARGS' dXSARGS; ^ lfc2thr_wrap.c: In function 'init_lfc2thr': lfc2thr_wrap.c:21469: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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfcdaemon -Wl,-z,relro 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/lib64/mysql -lmysqlclient -luuid cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -shared -o _lfc2.so lfc2_wrap.o -L/usr/lib64/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -L../shlib -llfc -llcgdm cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -shared -o _lfc.so lfc_wrap.o -L/usr/lib64/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -L../shlib -llfc -llcgdm cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -shared -o _lfc2thr.so lfc2thr_wrap.o -L/usr/lib64/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -L../shlib -llfc -llcgdm cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -shared -o _lfcthr.so lfcthr_wrap.o -L/usr/lib64/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -L../shlib -llfc -llcgdm cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -shared -o lfc.so lfc_perlwrap.o -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -L../shlib -llfc -llcgdm make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/ns' security: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/security' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -DGSI -I/usr/include/globus -I/usr/lib64/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -DGSI -I/usr/include/globus -I/usr/lib64/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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"; ^ Csec_plugin_GSS.c: In function '_Csec_delete_deleg_creds': Csec_plugin_GSS.c:255:23: warning: unused variable 'min_stat' [-Wunused-variable] OM_uint32 maj_stat, min_stat; ^ Csec_plugin_GSS.c:255: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:998: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: 4104 $ $Date: 2011-02-11 10:15:02 +0100 (Fri, 11 Feb 2011) $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -shared -o libCsec_plugin_GSI.so Csec_plugin_GSI.o Csec_plugin_GSI_mapper.o -lglobus_gssapi_gsi -lglobus_gss_assist -lglobus_gsi_credential -lglobus_gsi_callback -lglobus_gsi_cert_utils -lglobus_common -lvomsapi -lssl -lcrypto -lc -lpthread make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/security' dli: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -I/usr/include -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DLOGFILE=\"/var/log/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' Reading file 'DataLocationInterface.wsdl'... dlilogit.c:22:1: warning: return type defaults to 'int' [-Wreturn-type] dlilogit(char *func, char *msg, ...) ^ dlilogit.c: In function 'dlilogit': dlilogit.c:37:2: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] (void) gettimeofday (&tv, NULL); ^ dlilogit.c:48:7: warning: format '%d' expects argument of type 'int', but argument 8 has type '__suseconds_t' [-Wformat=] tv.tv_usec / 1000, jid, func); ^ dlilogit.c:52:7: warning: format '%d' expects argument of type 'int', but argument 8 has type '__suseconds_t' [-Wformat=] tv.tv_usec / 1000, jid, Tid, func); ^ dlilogit.c:60:2: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] write (fd_log, prtbuf, strlen(prtbuf)); ^ dlilogit.c:61:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close (fd_log); ^ dlilogit.c: At top level: dlilogit.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dlilogit.c,v $ $Revision: 4292 $ $Date: 2011-04-26 15:06:44 +0200 (Tue, 26 Apr 2011) $ CERN Jean-Philippe Baud"; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -I/usr/include -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DLOGFILE=\"/var/log/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -I/usr/include -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DLOGFILE=\"/var/log/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -I/usr/include -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DLOGFILE=\"/var/log/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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -I/usr/include -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DLOGFILE=\"/var/log/dli/log\" -DWITH_IPV6 -DWITH_NO_IPV6_V6ONLY -DWITH_DOM -c -o lfc-dli-client.o lfc-dli-client.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -I/usr/include -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DLOGFILE=\"/var/log/dli/log\" -DWITH_IPV6 -DWITH_NO_IPV6_V6ONLY -DWITH_DOM -c -o dliClient.o dliClient.c lfc-dli-client.c:18:1: warning: return type defaults to 'int' [-Wreturn-type] main(int argc, char **argv) ^ dli.c:30:1: warning: return type defaults to 'int' [-Wreturn-type] dli_main(main_args) ^ dli.c: In function 'dli_main': dli.c:59:2: warning: implicit declaration of function 'dlilogit' [-Wimplicit-function-declaration] dlilogit (func, "started\n"); ^ 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: 1.12 $ $Date: 2008/02/14 09:06:17 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-dli -Wl,-z,relro dli.o dlilogit.o dliC.o dliServer.o -pthread -lgsoap -L../shlib -llfc -llcgdm 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-dli-client -Wl,-z,relro lfc-dli-client.o dliC.o dliClient.o -lgsoap make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-mysql/lcgdm-1.8.1.2/dli' ~/build/BUILD/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2 + popd + pushd lfc-postgres/lcgdm-1.8.1.2 + ./configure lfc --with-postgres --libdir=lib64 --with-gsoap-version=2.8.16 --with-id-map-file=/etc/lcgdm-mapfile --with-ns-config-file=/etc/NSCONFIG --with-emi --without-argus imake -Ui386 -Iconfig make Makefiles make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2' for i in h lib shlib common ns security dli test ; do (echo " $i:" ; cd $i ; imake -Ui386 -I../config ; make -w Makefiles ) ; done ; h: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/h' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/h' lib: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/lib' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/lib' shlib: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/shlib' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/shlib' common: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/common' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/common' ns: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/ns' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/ns' security: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/security' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/security' dli: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/dli' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/dli' test: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/test' for i in ns ; do (if [ -d $i ] ; then (echo " $i:" ; cd $i ; imake -Ui386 -I../../config ; make -w Makefiles) ; else (echo "ERROR : No directory $i" ; exit 1) ; fi ) done ; ns: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/test/ns' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/test/ns' make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/test' make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2' + sed -e 's/\(BuildDLI *\)YES/\1NO/' -e 's/\(BuildInterfaces *\)YES/\1NO/' -e 's/\(BuildNameServerClient *\)YES/\1NO/' -e 's/\(BuildNameServerLibrary *\)YES/\1NO/' -i config/site.def + sed '/^\#define.*YES/d' -i config/Project.tmpl config/Library.tmpl + sed '/^SECURITYDIR =/d' -i config/Project.tmpl + make -f Makefile.ini Makefiles imake -Ui386 -Iconfig make Makefiles make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2' for i in h ns test ; do (echo " $i:" ; cd $i ; imake -Ui386 -I../config ; make -w Makefiles ) ; done ; h: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/h' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/h' ns: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/ns' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/ns' test: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/test' for i in ns ; do (if [ -d $i ] ; then (echo " $i:" ; cd $i ; imake -Ui386 -I../../config ; make -w Makefiles) ; else (echo "ERROR : No directory $i" ; exit 1) ; fi ) done ; ns: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/test/ns' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/test/ns' make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/test' make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2' ~/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/shlib ~/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2 + pushd shlib + ln -s ../../../lfc-mysql/lcgdm-1.8.1.2/shlib/liblcgdm.so . + ln -s ../../../lfc-mysql/lcgdm-1.8.1.2/shlib/liblfc.so . ~/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2 + popd ++ pkg-config --cflags gsoap + make -j8 'SOAPFLG=-DWITH_IPV6 -DWITH_NO_IPV6_V6ONLY -DWITH_DOM ' SYSCONFDIR=/etc 'LDFLAGS=-Wl,-z,relro ' h: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/h' sed -e "s/__BASEVERSION__/\"1.8.1\"/" -e "s/__PATCHLEVEL__/2/" -e "s/__TIMESTAMP__/\"`date +%s`\"/" patchlevel.in > patchlevel.h make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/h' ns: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/ns' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_main.o Cns_main.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_chkperm.o Cns_chkperm.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_libpq_ifce.o Cns_libpq_ifce.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cupv_check.o Cupv_check.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o sendrep.o sendrep.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o nslogit.o nslogit.c nslogit.c:21:1: warning: return type defaults to 'int' [-Wreturn-type] nslogit(char *func, char *msg, ...) ^ nslogit.c: In function 'nslogit': nslogit.c:36:2: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] (void) gettimeofday (&tv, NULL); ^ nslogit.c:45:3: warning: implicit declaration of function 'Csnprintf' [-Wimplicit-function-declaration] Csnprintf (prtbuf, LOGBUFSZ, "%02d/%02d %02d:%02d:%02d.%03d %5d %s: ", ^ nslogit.c:52:2: warning: implicit declaration of function 'Cvsnprintf' [-Wimplicit-function-declaration] Cvsnprintf (prtbuf+strlen(prtbuf), LOGBUFSZ-strlen(prtbuf), msg, args); ^ nslogit.c:63:2: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] write (fd_log, prtbuf, strlen(prtbuf)); ^ nslogit.c:64:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close (fd_log); ^ nslogit.c: At top level: nslogit.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nslogit.c,v $ $Revision: 3886 $ $Date: 2010-10-25 12:29:55 +0200 (Mon, 25 Oct 2010) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ sendrep.c:22:1: warning: return type defaults to 'int' [-Wreturn-type] sendrep(int rpfd, int rep_type, ...) ^ sendrep.c: In function 'sendrep': sendrep.c:44:3: warning: implicit declaration of function 'vsprintf' [-Wimplicit-function-declaration] vsprintf (prtbuf, msg, args); ^ sendrep.c:47:3: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, "%s", prtbuf); ^ 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) ^ sendrep.c:30:8: warning: unused variable 'q' [-Wunused-variable] char *q; ^ sendrep.c:28:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ Cns_acl.c:23:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_acl_chmod (struct Cns_file_metadata *fmd_entry) ^ sendrep.c: At top level: sendrep.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: sendrep.c,v $ $Revision: 3722 $ $Date: 2010-08-04 09:58:47 +0200 (Wed, 04 Aug 2010) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ Cns_chkperm.c:239:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_chkentryperm(fmd_entry, mode, uid, nbgids, gids, clienthost) ^ 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"; ^ Cns_procreq.c:50:1: warning: return type defaults to 'int' [-Wreturn-type] get_client_actual_id (thip, uid, gid, nbgids, gids, user) ^ Cns_procreq.c:83:1: warning: return type defaults to 'int' [-Wreturn-type] getpath (thip, cur_fileid, path) ^ Cns_procreq.c: In function 'Cns_logreq': 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) ^ Cns_procreq.c:133:3: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, NS098, p); ^ Cns_procreq.c: At top level: Cns_procreq.c:154:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRR (sbpp, magic, rep_entry) ^ Cns_libpq_ifce.c:20:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_init_dbpkg() ^ Cns_procreq.c:177:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRX (sbpp, magic, fmd_entry) ^ Cns_libpq_ifce.c: In function 'Cns_init_dbpkg': Cns_libpq_ifce.c:22:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ Cns_libpq_ifce.c: In function 'Cns_libpq_error': Cns_libpq_ifce.c:40:2: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, "%s error: %s\n", sql_method, PQresultErrorMessage (res)); ^ Cns_libpq_ifce.c: At top level: Cns_libpq_ifce.c:51:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_abort_tr(dbfd) ^ Cns_libpq_ifce.c:63:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_closedb(dbfd) ^ Cns_libpq_ifce.c:70:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_class_entry(res, row, lock, rec_addr, class_entry) ^ Cns_libpq_ifce.c:97:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_fmd_entry(res, row, lock, rec_addr, fmd_entry) ^ Cns_libpq_ifce.c:127:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_rep_entry (res, row, lock, rec_addr, rep_entry) ^ Cns_libpq_ifce.c:154:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_smd_entry(res, row, lock, rec_addr, smd_entry) ^ Cns_libpq_ifce.c:181:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_tppool_entry(res, row, lock, rec_addr, tppool_entry) ^ Cns_libpq_ifce.c:196:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_class_entry(dbfd, rec_addr) ^ Cns_libpq_ifce.c:217:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_fmd_entry(dbfd, rec_addr) ^ 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; ^ Cns_libpq_ifce.c:238:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_lnk_entry(dbfd, rec_addr) ^ Cupv_check.c:58:7: warning: unused variable 'sendbuf' [-Wunused-variable] char sendbuf[REQBUFSZ]; ^ Cupv_check.c:57:8: warning: unused variable 'sbp' [-Wunused-variable] char *sbp; ^ 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; ^ Cns_libpq_ifce.c:259:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_rep_entry(dbfd, rec_addr) ^ Cupv_check.c:41:6: warning: unused variable 'c' [-Wunused-variable] int c; ^ 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) ^ Cns_libpq_ifce.c:280:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_smd_entry(dbfd, rec_addr) ^ Cns_libpq_ifce.c:301:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_tppool_entry(dbfd, rec_addr) ^ Cns_libpq_ifce.c:322:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_umd_entry(dbfd, rec_addr) ^ Cns_libpq_ifce.c:343:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_end_tr(dbfd) ^ Cns_libpq_ifce.c:355:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_class_by_id(dbfd, classid, class_entry, lock, rec_addr) ^ Cns_libpq_ifce.c:400:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_class_by_name(dbfd, class_name, class_entry, lock, rec_addr) ^ 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"; ^ Cns_libpq_ifce.c:445:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_fmd_by_fileid(dbfd, fileid, fmd_entry, lock, rec_addr) ^ Cns_libpq_ifce.c:490:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_fmd_by_fullid(dbfd, parent_fileid, name, fmd_entry, lock, rec_addr) ^ Cns_libpq_ifce.c:540:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_fmd_by_guid(dbfd, guid, fmd_entry, lock, rec_addr) ^ Cns_libpq_ifce.c:583: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_libpq_ifce.c:652:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_lnk_by_fileid(dbfd, fileid, lnk_entry, lock, rec_addr) ^ Cns_libpq_ifce.c:696:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_max_copyno (dbfd, fileid, copyno) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o nsshutdown.o nsshutdown.c Cns_libpq_ifce.c:728:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_rep_by_sfn(dbfd, sfn, rep_entry, lock, rec_addr) ^ Cns_libpq_ifce.c:771:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_smd_by_fullid(dbfd, fileid, copyno, fsec, smd_entry, lock, rec_addr) ^ Cns_libpq_ifce.c:818: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_libpq_ifce.c:875:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_smd_by_vid(dbfd, bov, vid, smd_entry, endlist, dblistptr) ^ Cns_libpq_ifce.c:916: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_procreq.c:206:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRXR (sbpp, magic, fmd_entry) ^ Cns_libpq_ifce.c:964:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_umd_by_fileid(dbfd, fileid, umd_entry, lock, rec_addr) ^ Cns_procreq.c:222:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRXT (sbpp, magic, fmd_entry, smd_entry) ^ Cns_libpq_ifce.c:1008:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_class_entry(dbfd, class_entry) ^ Cns_libpq_ifce.c:1047:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_fmd_entry(dbfd, fmd_entry) ^ Cns_libpq_ifce.c:1111:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_lnk_entry(dbfd, lnk_entry) ^ Cns_procreq.c:248:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_REPLICS (sbpp, magic, fmd_entry, rep_entry, errcode) ^ Cns_libpq_ifce.c:1145:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_rep_entry(dbfd, rep_entry) ^ Cns_libpq_ifce.c: In function 'Cns_insert_rep_entry': Cns_libpq_ifce.c:1177:14: warning: unused variable 'query_stmt' [-Wunused-variable] static char query_stmt[] = ^ Cns_libpq_ifce.c: At top level: Cns_procreq.c:294:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_aborttrans(magic, req_data, clienthost, thip) ^ Cns_libpq_ifce.c:1239:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_smd_entry(dbfd, smd_entry) ^ Cns_procreq.c: In function 'Cns_srv_aborttrans': Cns_procreq.c:318:3: warning: implicit declaration of function 'sendrep' [-Wimplicit-function-declaration] sendrep (thip->s, MSG_ERR, "Too many FQANs in proxy\n"); ^ Cns_libpq_ifce.c:1279:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_tppool_entry(dbfd, tppool_entry) ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:319:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:323:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_libpq_ifce.c:1309:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_umd_entry(dbfd, umd_entry) ^ Cns_procreq.c:328:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_access(magic, req_data, clienthost, thip) ^ Cns_libpq_ifce.c:1341:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_class_entry(dbfd, bol, class_entry, endlist, dblistptr) ^ Cns_libpq_ifce.c:1384:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_group_entry(dbfd, bol, group_entry, endlist, dblistptr) ^ Cns_procreq.c:390:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_accessr(magic, req_data, clienthost, thip) ^ Cns_libpq_ifce.c:1422:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_lnk_entry(dbfd, bol, linkname, lnk_entry, endlist, dblistptr) ^ Cns_libpq_ifce.c: In function 'Cns_list_lnk_entry': Cns_libpq_ifce.c:1431:7: warning: unused variable 'fileid_str' [-Wunused-variable] char fileid_str[21]; ^ Cns_libpq_ifce.c: At top level: Cns_libpq_ifce.c:1466:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep4admin(dbfd, bol, poolname, server, fs, rep_entry, endlist, dblistptr) ^ Cns_procreq.c:462:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_addreplica(magic, req_data, clienthost, thip) ^ Cns_libpq_ifce.c:1533:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep4gc(dbfd, bol, poolname, rep_entry, endlist, dblistptr) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_addreplica': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:501:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:504:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ Cns_libpq_ifce.c:1574:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep_entry(dbfd, bol, fileid, rep_entry, lock, rec_addr, endlist, dblistptr) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:507:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:509:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_libpq_ifce.c:1626:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep_set(dbfd, bol, setname, rep_entry, endlist, dblistptr) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:511:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ Cns_libpq_ifce.c:1666:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_user_entry(dbfd, bol, user_entry, endlist, dblistptr) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:521:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:524:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_libpq_ifce.c:1705:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_opendb(db_srvr, db_user, db_pwd, db_name, dbfd) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:530:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:544:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_libpq_ifce.c:1730:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_pingdb(dbfd) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:555:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:558:4: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ Cns_libpq_ifce.c:1747:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_start_tr(s, dbfd) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:561:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_libpq_ifce.c:1761:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_unique_id(dbfd, unique_id) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:568:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:577:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ Cns_libpq_ifce.c:1781:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_class_entry(dbfd, rec_addr, class_entry) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:579:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:598:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_libpq_ifce.c:1817:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_fmd_entry(dbfd, rec_addr, fmd_entry) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_aborttrans.o Cns_aborttrans.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:599:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:604:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chclass(magic, req_data, clienthost, thip) ^ Cns_libpq_ifce.c:1875:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_rep_entry(dbfd, rec_addr, rep_entry) ^ Cns_libpq_ifce.c:1958:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_smd_entry(dbfd, rec_addr, smd_entry) ^ Cns_libpq_ifce.c:1991:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_umd_entry(dbfd, rec_addr, umd_entry) ^ Cns_libpq_ifce.c:2019:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_group_entry(dbfd, rec_addr) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chclass': Cns_libpq_ifce.c:2040:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_user_entry(dbfd, rec_addr) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:640:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:644:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ Cns_libpq_ifce.c:2061:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_grpinfo_by_gid(dbfd, gid, group_entry, lock, rec_addr) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:647:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_libpq_ifce.c:2100:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_grpinfo_by_name(dbfd, name, group_entry, lock, rec_addr) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:660:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:669:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:671:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_libpq_ifce.c:2139:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_usrinfo_by_name(dbfd, name, user_entry, lock, rec_addr) ^ Cns_procreq.c:665:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Cns_get_class_by_id (&thip->dbfd, classid, &new_class_entry, ^ Cns_libpq_ifce.c:2181:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_usrinfo_by_uid(dbfd, uid, user_entry, lock, rec_addr) ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:673:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_libpq_ifce.c:2221:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_group_entry(dbfd, group_entry) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:679:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:681:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:675:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Cns_get_class_by_name (&thip->dbfd, class_name, &new_class_entry, ^ Cns_libpq_ifce.c:2247:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_user_entry(dbfd, user_entry) ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:688:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:690:3: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ Cns_libpq_ifce.c:2280:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_unique_gid(dbfd, unique_id) ^ ../h/Cns_server.h:43: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 (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:702:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:707:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_libpq_ifce.c:2330:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_unique_uid(dbfd, unique_id) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:711:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:713:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:718:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chdir(magic, req_data, clienthost, thip) ^ Cns_libpq_ifce.c:2379: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 'Cns_srv_chdir': ../h/Cns_server.h:43: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 (EINVAL); ^ Cns_libpq_ifce.c:2407:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_unique_gid(dbfd, unique_id) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:753:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:762:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_libpq_ifce.c:2455:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_unique_uid(dbfd, unique_id) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:765:3: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:767:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:774:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_libpq_ifce.c:2503:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_user_entry(dbfd, rec_addr, user_entry) ^ Cns_procreq.c:779:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chmod(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chmod': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:810:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_libpq_ifce.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: Cns_libpq_ifce.c,v $ $Revision: 3958 $ $Date: 2010-11-10 12:59:45 +0100 (Wed, 10 Nov 2010) $ CERN IT-DS/HSM Jean-Philippe Baud"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:813:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:816:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:830:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_libpq_ifce.c: In function 'Cns_decode_class_entry': Cns_libpq_ifce.c:95:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:836:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:849:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_libpq_ifce.c: In function 'Cns_decode_fmd_entry': Cns_libpq_ifce.c:125:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:850:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:855:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chown(magic, req_data, clienthost, thip) ^ Cns_libpq_ifce.c: In function 'Cns_decode_rep_entry': Cns_libpq_ifce.c:152:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chown': Cns_libpq_ifce.c: In function 'Cns_decode_smd_entry': cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_access.o Cns_access.c Cns_libpq_ifce.c:179:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:893:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_libpq_ifce.c: In function 'Cns_decode_tppool_entry': Cns_libpq_ifce.c:194:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:896:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:899:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:914:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:961:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:965:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43: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 (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:979:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c:870:9: warning: unused variable 'membername' [-Wunused-variable] char **membername; ^ Cns_procreq.c:867:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ Cns_procreq.c:863:6: warning: unused variable 'found' [-Wunused-variable] int found; ^ Cns_procreq.c: At top level: Cns_procreq.c:984:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_creat(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_creat': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1029:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1032:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43: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 (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1040:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1042:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1057:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1060:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1064:4: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1066:4: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1071:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ Cns_main.c:65:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_main(main_args) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1080:5: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ Cns_main.c: In function 'Cns_main': Cns_main.c:139:5: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, "Invalid number of threads: %s\n", ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1085:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1092:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1098:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1112:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_main.c:169:4: warning: reading through null pointer (argument 4) [-Wformat=] sprintf (nsconfigfile, "%s%s", p, strchr (NSCONFIG, '\\')); ^ Cns_main.c:193:2: warning: implicit declaration of function 'Cns_init_dbpkg' [-Wimplicit-function-declaration] (void) Cns_init_dbpkg (); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1116:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_main.c:265:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gaierrno=Cgetaddrinfo (NULL, strport, &hints, &aitop)) { ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1118:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); /* guid is mandatory for the LFC */ ^ Cns_main.c:362: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, ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1120:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_main.c:367:7: warning: implicit declaration of function 'sendrep' [-Wimplicit-function-declaration] sendrep (rqfd, CNS_RC, serrno); ^ Cns_main.c: At top level: Cns_main.c:390:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1144:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1152:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1158:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1163:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delcomment(magic, req_data, clienthost, thip) ^ Cns_main.c: In function 'doit': Cns_main.c:488:2: warning: implicit declaration of function 'getreq' [-Wimplicit-function-declaration] if ((c = getreq (thip->s, &magic, &req_type, &req_data, &clienthost)) == 0) { ^ Cns_main.c:489:3: warning: implicit declaration of function 'procreq' [-Wimplicit-function-declaration] c = procreq (magic, req_type, req_data, clienthost, thip); ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delcomment': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1194:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1197:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1200:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1213:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1219:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1225:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1227:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1228:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1233:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delete(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delete': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1271:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1274:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1277:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1290:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1293:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1296:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ Cns_main.c: At top level: Cns_main.c:507:1: warning: return type defaults to 'int' [-Wreturn-type] getreq(s, magic, req_type, req_data, clienthost) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1305:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ Cns_main.c: In function 'getreq': Cns_main.c:514:18: warning: unused variable 'hp' [-Wunused-variable] struct hostent *hp; ^ Cns_main.c: At top level: Cns_main.c:564:1: warning: return type defaults to 'int' [-Wreturn-type] procdirreq(magic, req_type, req_data, clienthost, thip) ^ Cns_main.c: In function 'procdirreq': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1314:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_main.c:591:3: warning: implicit declaration of function 'Cns_srv_opendir' [-Wimplicit-function-declaration] if (c = Cns_srv_opendir (magic, req_data, clienthost, thip)) ^ Cns_main.c:591:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] Cns_main.c:595:3: warning: implicit declaration of function 'Cns_srv_listclass' [-Wimplicit-function-declaration] if (c = Cns_srv_listclass (magic, req_data, clienthost, thip, ^ Cns_main.c:596:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &class_entry, endlist, &dblistptr)) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1320:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_main.c:600:3: warning: implicit declaration of function 'Cns_srv_listlinks' [-Wimplicit-function-declaration] if (c = Cns_srv_listlinks (magic, req_data, clienthost, thip, ^ Cns_main.c:601:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &lnk_entry, endlist, &dblistptr)) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1329:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_main.c:605:3: warning: implicit declaration of function 'Cns_srv_listrep4gc' [-Wimplicit-function-declaration] if (c = Cns_srv_listrep4gc (magic, req_data, clienthost, thip, ^ Cns_main.c:606:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:610:3: warning: implicit declaration of function 'Cns_srv_listreplica' [-Wimplicit-function-declaration] if (c = Cns_srv_listreplica (magic, req_data, clienthost, thip, ^ ../h/Cns_server.h:43: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 (serrno); ^ Cns_main.c:611:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &fmd_entry, &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:615:3: warning: implicit declaration of function 'Cns_srv_listreplicax' [-Wimplicit-function-declaration] if (c = Cns_srv_listreplicax (magic, req_data, clienthost, thip, ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1342:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_main.c:616:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:620:3: warning: implicit declaration of function 'Cns_srv_listrepset' [-Wimplicit-function-declaration] if (c = Cns_srv_listrepset (magic, req_data, clienthost, thip, ^ Cns_main.c:621:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &rep_entry, endlist, &dblistptr)) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1349:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_main.c:625:3: warning: implicit declaration of function 'Cns_srv_listtape' [-Wimplicit-function-declaration] if (c = Cns_srv_listtape (magic, req_data, clienthost, thip, ^ Cns_main.c:626:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &fmd_entry, &smd_entry, endlist, &dblistptr)) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1350:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1355:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_deleteclass(magic, req_data, clienthost, thip) ^ Cns_main.c:650:4: warning: implicit declaration of function 'Cns_srv_readdir' [-Wimplicit-function-declaration] c = Cns_srv_readdir (magic, req_data2, clienthost, thip, ^ Cns_main.c: At top level: In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_deleteclass': Cns_main.c:699:1: warning: return type defaults to 'int' [-Wreturn-type] procreq(magic, req_type, req_data, clienthost, thip) ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1389:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_main.c: In function 'procreq': Cns_main.c:746:3: warning: implicit declaration of function 'getidmap' [-Wimplicit-function-declaration] if ((c = getidmap (thip, thip->Csec_auth_id, user_ca, ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1393:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_main.c:758:3: warning: implicit declaration of function 'Cns_srv_access' [-Wimplicit-function-declaration] c = Cns_srv_access (magic, req_data, clienthost, thip); ^ Cns_main.c:761:3: warning: implicit declaration of function 'Cns_srv_chclass' [-Wimplicit-function-declaration] c = Cns_srv_chclass (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1398:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_main.c:764:3: warning: implicit declaration of function 'Cns_srv_chdir' [-Wimplicit-function-declaration] c = Cns_srv_chdir (magic, req_data, clienthost, thip); ^ Cns_main.c:767:3: warning: implicit declaration of function 'Cns_srv_chmod' [-Wimplicit-function-declaration] c = Cns_srv_chmod (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43: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); ^ Cns_main.c:770:3: warning: implicit declaration of function 'Cns_srv_chown' [-Wimplicit-function-declaration] c = Cns_srv_chown (magic, req_data, clienthost, thip); ^ Cns_main.c:773:3: warning: implicit declaration of function 'Cns_srv_creat' [-Wimplicit-function-declaration] c = Cns_srv_creat (magic, req_data, clienthost, thip); ^ Cns_main.c:776:3: warning: implicit declaration of function 'Cns_srv_deleteclass' [-Wimplicit-function-declaration] c = Cns_srv_deleteclass (magic, req_data, clienthost, thip); ^ Cns_main.c:779:3: warning: implicit declaration of function 'Cns_srv_delcomment' [-Wimplicit-function-declaration] c = Cns_srv_delcomment (magic, req_data, clienthost, thip); ^ Cns_main.c:782:3: warning: implicit declaration of function 'Cns_srv_delete' [-Wimplicit-function-declaration] c = Cns_srv_delete (magic, req_data, clienthost, thip); ^ Cns_main.c:785:3: warning: implicit declaration of function 'Cns_srv_enterclass' [-Wimplicit-function-declaration] c = Cns_srv_enterclass (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1409:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_main.c:788:3: warning: implicit declaration of function 'Cns_srv_getacl' [-Wimplicit-function-declaration] c = Cns_srv_getacl (magic, req_data, clienthost, thip); ^ Cns_main.c:791:3: warning: implicit declaration of function 'Cns_srv_getcomment' [-Wimplicit-function-declaration] c = Cns_srv_getcomment (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43: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 (serrno); ^ Cns_main.c:794:3: warning: implicit declaration of function 'Cns_srv_getpath' [-Wimplicit-function-declaration] c = Cns_srv_getpath (magic, req_data, clienthost, thip); ^ Cns_main.c:797:3: warning: implicit declaration of function 'Cns_srv_getsegattrs' [-Wimplicit-function-declaration] c = Cns_srv_getsegattrs (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1416:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ Cns_main.c:800:3: warning: implicit declaration of function 'Cns_srv_lchown' [-Wimplicit-function-declaration] c = Cns_srv_lchown (magic, req_data, clienthost, thip); ^ Cns_main.c:809:3: warning: implicit declaration of function 'Cns_srv_lstat' [-Wimplicit-function-declaration] c = Cns_srv_lstat (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1420:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_main.c:812:3: warning: implicit declaration of function 'Cns_srv_mkdir' [-Wimplicit-function-declaration] c = Cns_srv_mkdir (magic, req_data, clienthost, thip); ^ Cns_main.c:815:3: warning: implicit declaration of function 'Cns_srv_modifyclass' [-Wimplicit-function-declaration] c = Cns_srv_modifyclass (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1426:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_main.c:818:3: warning: implicit declaration of function 'Cns_srv_open' [-Wimplicit-function-declaration] c = Cns_srv_open (magic, req_data, clienthost, thip); ^ Cns_main.c:824:3: warning: implicit declaration of function 'Cns_srv_queryclass' [-Wimplicit-function-declaration] c = Cns_srv_queryclass (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1427:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_main.c:827:3: warning: implicit declaration of function 'Cns_srv_readlink' [-Wimplicit-function-declaration] c = Cns_srv_readlink (magic, req_data, clienthost, thip); ^ Cns_procreq.c: At top level: Cns_main.c:830:3: warning: implicit declaration of function 'Cns_srv_rename' [-Wimplicit-function-declaration] c = Cns_srv_rename (magic, req_data, clienthost, thip); ^ Cns_procreq.c:1434:1: warning: return type defaults to 'int' [-Wreturn-type] unlinkonefile (thip, uid, nbgids, gids, clienthost, parent_dir, rec_addrp, filentry, rec_addr, force) ^ Cns_main.c:833:3: warning: implicit declaration of function 'Cns_srv_rmdir' [-Wimplicit-function-declaration] c = Cns_srv_rmdir (magic, req_data, clienthost, thip); ^ Cns_main.c:836:3: warning: implicit declaration of function 'Cns_srv_setacl' [-Wimplicit-function-declaration] c = Cns_srv_setacl (magic, req_data, clienthost, thip); ^ Cns_main.c:839:3: warning: implicit declaration of function 'Cns_srv_setatime' [-Wimplicit-function-declaration] c = Cns_srv_setatime (magic, req_data, clienthost, thip); ^ Cns_main.c:842:3: warning: implicit declaration of function 'Cns_srv_setcomment' [-Wimplicit-function-declaration] c = Cns_srv_setcomment (magic, req_data, clienthost, thip); ^ Cns_main.c:845:3: warning: implicit declaration of function 'Cns_srv_setfsize' [-Wimplicit-function-declaration] c = Cns_srv_setfsize (magic, req_data, clienthost, thip); ^ Cns_main.c:848:3: warning: implicit declaration of function 'Cns_srv_setsegattrs' [-Wimplicit-function-declaration] c = Cns_srv_setsegattrs (magic, req_data, clienthost, thip); ^ Cns_main.c:851:3: warning: implicit declaration of function 'Cns_srv_shutdown' [-Wimplicit-function-declaration] c = Cns_srv_shutdown (magic, req_data, clienthost, thip); ^ Cns_main.c:854:3: warning: implicit declaration of function 'Cns_srv_stat' [-Wimplicit-function-declaration] c = Cns_srv_stat (magic, req_data, clienthost, thip); ^ Cns_main.c:857:3: warning: implicit declaration of function 'Cns_srv_symlink' [-Wimplicit-function-declaration] c = Cns_srv_symlink (magic, req_data, clienthost, thip); ^ Cns_procreq.c:1541:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delfiles(magic, req_data, clienthost, thip) ^ Cns_main.c:860:3: warning: implicit declaration of function 'Cns_srv_undelete' [-Wimplicit-function-declaration] c = Cns_srv_undelete (magic, req_data, clienthost, thip); ^ Cns_main.c:863:3: warning: implicit declaration of function 'Cns_srv_unlink' [-Wimplicit-function-declaration] c = Cns_srv_unlink (magic, req_data, clienthost, thip); ^ Cns_main.c:866:3: warning: implicit declaration of function 'Cns_srv_utime' [-Wimplicit-function-declaration] c = Cns_srv_utime (magic, req_data, clienthost, thip); ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delfiles': Cns_main.c:869:3: warning: implicit declaration of function 'Cns_srv_replaceseg' [-Wimplicit-function-declaration] c = Cns_srv_replaceseg (magic, req_data, clienthost, thip); ^ Cns_main.c:872:3: warning: implicit declaration of function 'Cns_srv_addreplica' [-Wimplicit-function-declaration] c = Cns_srv_addreplica (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43: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 (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1585:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1592:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1667:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1675:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delfilesbypattern(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delfilesbypattern': nsshutdown.c:25:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsshutdown.c: In function 'main': nsshutdown.c:41:2: warning: implicit declaration of function 'geteuid' [-Wimplicit-function-declaration] uid = geteuid(); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1716:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ nsshutdown.c:42:2: warning: implicit declaration of function 'getegid' [-Wimplicit-function-declaration] gid = getegid(); ^ nsshutdown.c:49:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "fh:")) != EOF) { ^ ../h/Cns_server.h:43: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 (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1722:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1724:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ nsshutdown.c: At top level: 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1731:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1734:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1786:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:1791:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delreplica(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delreplica': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1823:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1826:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1829:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1831:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1842:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1846:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1849:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1853:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1860:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1864:3: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1871:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ Cns_main.c:875:3: warning: implicit declaration of function 'Cns_srv_delreplica' [-Wimplicit-function-declaration] c = Cns_srv_delreplica (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1876:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_main.c:881:3: warning: implicit declaration of function 'proctransreq' [-Wimplicit-function-declaration] c = proctransreq (magic, req_data, clienthost, thip); ^ Cns_main.c:884:3: warning: implicit declaration of function 'Cns_srv_endtrans' [-Wimplicit-function-declaration] c = Cns_srv_endtrans (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1877:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_main.c:887:3: warning: implicit declaration of function 'Cns_srv_aborttrans' [-Wimplicit-function-declaration] c = Cns_srv_aborttrans (magic, req_data, clienthost, thip); ^ Cns_main.c:893:3: warning: implicit declaration of function 'Cns_srv_setfsizeg' [-Wimplicit-function-declaration] c = Cns_srv_setfsizeg (magic, req_data, clienthost, thip); ^ Cns_procreq.c:1883:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delreplicas(magic, req_data, clienthost, thip) ^ Cns_main.c:896:3: warning: implicit declaration of function 'Cns_srv_statg' [-Wimplicit-function-declaration] c = Cns_srv_statg (magic, req_data, clienthost, thip); ^ Cns_main.c:899:3: warning: implicit declaration of function 'Cns_srv_statr' [-Wimplicit-function-declaration] c = Cns_srv_statr (magic, req_data, clienthost, thip); ^ Cns_main.c:902:3: warning: implicit declaration of function 'Cns_srv_setptime' [-Wimplicit-function-declaration] c = Cns_srv_setptime (magic, req_data, clienthost, thip); ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delreplicas': Cns_main.c:905:3: warning: implicit declaration of function 'Cns_srv_setratime' [-Wimplicit-function-declaration] c = Cns_srv_setratime (magic, req_data, clienthost, thip); ^ Cns_main.c:908:3: warning: implicit declaration of function 'Cns_srv_setrstatus' [-Wimplicit-function-declaration] c = Cns_srv_setrstatus (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1924:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_main.c:911:3: warning: implicit declaration of function 'Cns_srv_accessr' [-Wimplicit-function-declaration] c = Cns_srv_accessr (magic, req_data, clienthost, thip); ^ Cns_main.c:920:3: warning: implicit declaration of function 'procsessreq' [-Wimplicit-function-declaration] c = procsessreq (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1927:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ Cns_main.c:923:3: warning: implicit declaration of function 'Cns_srv_endsess' [-Wimplicit-function-declaration] c = Cns_srv_endsess (magic, req_data, clienthost, thip); ^ Cns_main.c:926:3: warning: implicit declaration of function 'Cns_srv_du' [-Wimplicit-function-declaration] c = Cns_srv_du (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1929:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_main.c:929:3: warning: implicit declaration of function 'Cns_srv_getgrpbynam' [-Wimplicit-function-declaration] c = Cns_srv_getgrpbynam (magic, req_data, clienthost, thip); ^ Cns_main.c:932:3: warning: implicit declaration of function 'Cns_srv_getgrpbygid' [-Wimplicit-function-declaration] c = Cns_srv_getgrpbygid (magic, req_data, clienthost, thip); ^ Cns_main.c:935:3: warning: implicit declaration of function 'Cns_srv_getidmap' [-Wimplicit-function-declaration] c = Cns_srv_getidmap (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1932:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_main.c:938:3: warning: implicit declaration of function 'Cns_srv_getusrbynam' [-Wimplicit-function-declaration] c = Cns_srv_getusrbynam (magic, req_data, clienthost, thip); ^ Cns_main.c:941:3: warning: implicit declaration of function 'Cns_srv_getusrbyuid' [-Wimplicit-function-declaration] c = Cns_srv_getusrbyuid (magic, req_data, clienthost, thip); ^ Cns_main.c:944:3: warning: implicit declaration of function 'Cns_srv_modgrpmap' [-Wimplicit-function-declaration] c = Cns_srv_modgrpmap (magic, req_data, clienthost, thip); ^ Cns_main.c:947:3: warning: implicit declaration of function 'Cns_srv_modusrmap' [-Wimplicit-function-declaration] c = Cns_srv_modusrmap (magic, req_data, clienthost, thip); ^ Cns_main.c:950:3: warning: implicit declaration of function 'Cns_srv_rmgrpmap' [-Wimplicit-function-declaration] c = Cns_srv_rmgrpmap (magic, req_data, clienthost, thip); ^ Cns_main.c:953:3: warning: implicit declaration of function 'Cns_srv_rmusrmap' [-Wimplicit-function-declaration] c = Cns_srv_rmusrmap (magic, req_data, clienthost, thip); ^ Cns_main.c:956:3: warning: implicit declaration of function 'Cns_srv_getlinks' [-Wimplicit-function-declaration] c = Cns_srv_getlinks (magic, req_data, clienthost, thip); ^ Cns_main.c:959:3: warning: implicit declaration of function 'Cns_srv_getreplica' [-Wimplicit-function-declaration] c = Cns_srv_getreplica (magic, req_data, clienthost, thip); ^ Cns_main.c:962:3: warning: implicit declaration of function 'Cns_srv_entergrpmap' [-Wimplicit-function-declaration] c = Cns_srv_entergrpmap (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2011:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_main.c:965:3: warning: implicit declaration of function 'Cns_srv_enterusrmap' [-Wimplicit-function-declaration] c = Cns_srv_enterusrmap (magic, req_data, clienthost, thip); ^ Cns_main.c:968:3: warning: implicit declaration of function 'Cns_srv_setrtype' [-Wimplicit-function-declaration] c = Cns_srv_setrtype (magic, req_data, clienthost, thip); ^ Cns_procreq.c:2017:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_delreplicasbysfn(magic, req_data, clienthost, thip) ^ Cns_main.c:971:3: warning: implicit declaration of function 'Cns_srv_modreplica' [-Wimplicit-function-declaration] c = Cns_srv_modreplica (magic, req_type, req_data, clienthost, thip); ^ Cns_main.c:974:3: warning: implicit declaration of function 'Cns_srv_getreplicax' [-Wimplicit-function-declaration] c = Cns_srv_getreplicax (magic, req_data, clienthost, thip); ^ Cns_main.c:980:3: warning: implicit declaration of function 'Cns_srv_setrltime' [-Wimplicit-function-declaration] c = Cns_srv_setrltime (magic, req_data, clienthost, thip); ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_delreplicasbysfn': Cns_main.c:983:3: warning: implicit declaration of function 'Cns_srv_getreplicas' [-Wimplicit-function-declaration] c = Cns_srv_getreplicas (magic, req_data, clienthost, thip); ^ Cns_main.c:986:3: warning: implicit declaration of function 'Cns_srv_getgrpbygids' [-Wimplicit-function-declaration] c = Cns_srv_getgrpbygids (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2059:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_main.c:989:3: warning: implicit declaration of function 'Cns_srv_ping' [-Wimplicit-function-declaration] c = Cns_srv_ping (magic, req_data, clienthost, thip); ^ Cns_main.c:992:3: warning: implicit declaration of function 'Cns_srv_delfiles' [-Wimplicit-function-declaration] c = Cns_srv_delfiles (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2062:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ Cns_main.c:995:3: warning: implicit declaration of function 'Cns_srv_delfilesbypattern' [-Wimplicit-function-declaration] c = Cns_srv_delfilesbypattern (magic, req_data, clienthost, thip); ^ Cns_main.c:998:3: warning: implicit declaration of function 'Cns_srv_delreplicas' [-Wimplicit-function-declaration] c = Cns_srv_delreplicas (magic, req_data, clienthost, thip); ^ Cns_main.c:1001:3: warning: implicit declaration of function 'Cns_srv_getgrpmap' [-Wimplicit-function-declaration] c = Cns_srv_getgrpmap (magic, req_data, clienthost, thip); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2065:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_main.c:1004:3: warning: implicit declaration of function 'Cns_srv_getusrmap' [-Wimplicit-function-declaration] c = Cns_srv_getusrmap (magic, req_data, clienthost, thip); ^ Cns_main.c:1007:3: warning: implicit declaration of function 'Cns_srv_getreplicasl' [-Wimplicit-function-declaration] c = Cns_srv_getreplicasl (magic, req_data, clienthost, thip); ^ Cns_main.c:1013:3: warning: implicit declaration of function 'Cns_srv_delreplicasbysfn' [-Wimplicit-function-declaration] c = Cns_srv_delreplicasbysfn (magic, req_data, clienthost, thip); ^ Cns_procreq.c:2133:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] &umd_entry, 1, &rec_addr) == 0 && ^ Cns_main.c:1016:3: warning: implicit declaration of function 'Cns_srv_registerfiles' [-Wimplicit-function-declaration] c = Cns_srv_registerfiles (magic, req_data, clienthost, thip); ^ Cns_main.c:1019:3: warning: implicit declaration of function 'Cns_srv_getreplicass' [-Wimplicit-function-declaration] c = Cns_srv_getreplicass (magic, req_data, clienthost, thip); ^ Cns_main.c: At top level: Cns_main.c:1028:1: warning: return type defaults to 'int' [-Wreturn-type] procsessreq(magic, req_data, clienthost, thip) ^ Cns_main.c: In function 'procsessreq': Cns_main.c:1040:2: warning: implicit declaration of function 'Cns_srv_startsess' [-Wimplicit-function-declaration] (void) Cns_srv_startsess (magic, req_data, clienthost, thip); ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2179:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:2184:1: warning: return type defaults to 'int' [-Wreturn-type] compute_du4dir (thip, direntry, Lflag, uid, nbgids, gids, clienthost, nbbytes, nbentries) ^ Cns_main.c:1057:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rc = getreq (thip->s, &magic, &req_type, &req_data2, &clienthost)) { ^ Cns_main.c: At top level: Cns_main.c:1071:1: warning: return type defaults to 'int' [-Wreturn-type] proctransreq(magic, req_data, clienthost, thip) ^ Cns_main.c: In function 'proctransreq': Cns_main.c:1083:2: warning: implicit declaration of function 'Cns_srv_starttrans' [-Wimplicit-function-declaration] (void) Cns_srv_starttrans (magic, req_data, clienthost, thip); ^ Cns_procreq.c:2245:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_du(magic, req_data, clienthost, thip) ^ Cns_main.c:1101:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rc = getreq (thip->s, &magic, &req_type, &req_data2, &clienthost)) { ^ Cns_procreq.c:2318:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_endsess(magic, req_data, clienthost, thip) ^ 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: 3958 $ $Date: 2010-11-10 12:59:45 +0100 (Wed, 10 Nov 2010) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_endsess': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2343:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2345:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:2350:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_endtrans(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_endtrans': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2375:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2379:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:2384:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_enterclass(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_enterclass': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2414:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2419:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2437:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2442:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2444:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2448:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2455:4: 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_auth.o Cns_auth.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_chdir.o Cns_chdir.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_chmod.o Cns_chmod.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2457:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:2459:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_access.c: In function 'lfc_access': Cns_access.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_procreq.c:2464:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getacl(magic, req_data, clienthost, thip) ^ 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"; ^ Cns_procreq.c: In function 'Cns_srv_getacl': Cns_procreq.c:2529:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = strchr (iacl, ',')) ^ Cns_procreq.c: At top level: Cns_procreq.c:2545:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getcomment(magic, req_data, clienthost, thip) ^ Cns_procreq.c:2612:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getlinks(magic, req_data, clienthost, thip) ^ Cns_procreq.c:2720:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getpath(magic, req_data, clienthost, thip) ^ Cns_procreq.c:2769:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplica(magic, req_data, clienthost, thip) ^ Cns_procreq.c:2884:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplicas(magic, req_data, clienthost, thip) ^ Cns_procreq.c:3007:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplicasl(magic, req_data, clienthost, thip) ^ Cns_procreq.c:3132:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplicass(magic, req_data, clienthost, thip) ^ Cns_procreq.c:3233:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getreplicax(magic, req_data, clienthost, thip) ^ Cns_procreq.c:3353:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getsegattrs(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_getsegattrs': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3392:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3397:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3407:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3413:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3420:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3426:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3450:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3455:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:3460:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_lchown(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_lchown': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3498:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3501:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3504:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3519:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3566:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3570:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3583:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3584:2: note: in expansion of macro 'RETURN' RETURN (0); ^ 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"; ^ Cns_procreq.c:3475:9: warning: unused variable 'membername' [-Wunused-variable] char **membername; ^ Cns_procreq.c:3472:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ Cns_procreq.c:3468:6: warning: unused variable 'found' [-Wunused-variable] int found; ^ Cns_procreq.c: At top level: Cns_procreq.c:3587:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listclass(magic, req_data, 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3629:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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"; ^ Cns_apiinit.c: In function 'lfc_apiinit': Cns_apiinit.c:31:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask ((*thip)->mask = umask (0)); ^ Cns_apiinit.c: At top level: 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3689:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3698:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3706:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:3709:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listlinks(magic, req_data, 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3751:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3756:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3758:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3775:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3778:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3782:5: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3787:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3797:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3802:6: note: in expansion of macro 'RETURN' RETURN (c); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3831:4: note: in expansion of macro 'RETURN' RETURN (c); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3840:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3847:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:3850:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listrep4gc(magic, req_data, 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3889:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3893:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3948:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3955:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:3958:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listreplica(magic, req_data, 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:3999:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4004:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4006:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4023:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4026:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4030:5: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4035:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43: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 (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4093:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4096:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listreplicax(magic, req_data, 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4137:3: 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_chown.o Cns_chown.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4141:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4143:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4145:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4187:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4194:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4197:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listrepset(magic, req_data, clienthost, thip, rep_entry, endlist, dblistptr) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_listrepset': 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4236:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4240:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4286:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4293:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4296:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_listtape(magic, req_data, 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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4335:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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"; ^ ../h/Cns_server.h:43: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); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4373:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4381:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4389:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4394:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_lstat(magic, req_data, clienthost, thip) ^ Cns_procreq.c:4475:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_mkdir(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_mkdir': Cns_chdir.c: In function 'lfc_chdir': Cns_chdir.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4512:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4515:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4519:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4523:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4525:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4540:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4543:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4548:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4553:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4575:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4583:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4590:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4593:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4595:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4600:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_modifyclass(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_modifyclass': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4649:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4653:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4655:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4672:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4684:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4686:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4690:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4721:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4725:4: note: in expansion of macro 'RETURN' RETURN (ENOMEM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4730:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4747:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4765:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4772:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_closedir.o Cns_closedir.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_creat.o Cns_creat.c Cns_procreq.c:4777:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_modreplica(magic, req_type, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_modreplica': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4813:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4816:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4818:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4820:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4822:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_chmod.c: In function 'lfc_chmod': Cns_chmod.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4824:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4827:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4842:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4845:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_delcomment.o Cns_delcomment.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4851:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43: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 (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4873:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4874:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:4879:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_open(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_open': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4921:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4926:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4944:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4949:3: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4953:4: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4956:4: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4963:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4973:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4980:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4989:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:4993:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5017:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5025:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5033:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:5038:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_opendir(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_opendir': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5070:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5074:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5077:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5087:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5094:4: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5096:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5103:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5106:3: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5108:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5115:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:5120:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_ping(magic, req_data, clienthost, thip) ^ Cns_procreq.c:5149:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_queryclass(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_queryclass': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5186:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5190:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5198:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5200:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5204:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_delete.o Cns_delete.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5235:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5239:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_chown.c: In function 'lfc_chown': Cns_procreq.c: At top level: Cns_chown.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_procreq.c:5244:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_readdir(magic, req_data, clienthost, thip, fmd_entry, smd_entry, umd_entry, endlist, dblistptr, smdlistptr, beginp) ^ Cns_chown.c: In function 'lfc_lchown': Cns_chown.c:98:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_readdir': 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5299:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5309:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5311:4: note: in expansion of macro 'RETURN' RETURN (SEOPNOTSUP); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5314:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_creat.c: In function 'lfc_creatc': Cns_creat.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_procreq.c:5315:69: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (((p = strchr (pattern, '%')) || (p = strchr (pattern, '*'))) && ^ 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"; ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5317:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5323:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_procreq.c:5329:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (getattr == 1 || getattr == 4) ^ Cns_procreq.c:5362:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 0, smdlistptr)) break; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_deleteclass.o Cns_deleteclass.c 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"; ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5369:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:5387: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5401:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:5426: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5437:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5442:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5453:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:5473: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5487:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5495:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5505:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5508:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5518:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:5523:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_readlink(magic, req_data, clienthost, thip) ^ Cns_procreq.c:5593:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_registerfiles(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_registerfiles': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5643:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5646:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5651:3: 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_delfilesbyguid.o Cns_delfilesbyguid.c 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5870:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:5875:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_rename(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_rename': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5925:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5928:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5931:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5933:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5947:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5955:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_delfilesbyname.o Cns_delfilesbyname.c 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5958:3: note: in expansion of macro 'RETURN' RETURN (0); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5960:3: 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_delfilesbypattern.o Cns_delfilesbypattern.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5963:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5972:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5974:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5986:4: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5989:4: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:5995:4: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6006:5: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_delreplica.o Cns_delreplica.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6011:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6022:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6030:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6039:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6049:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_delreplicas.o Cns_delreplicas.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6055:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6063:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6065:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6073:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6075:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6078:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6097:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6110:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6117:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6118:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6123:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_replaceseg(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_replaceseg': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6162:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6174:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6183:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6188:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6191:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6199:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6203:3: note: in expansion of macro 'RETURN' RETURN (SEENTRYNFND); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6221:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6237:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6239:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: 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"; ^ Cns_procreq.c:6244:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_rmdir(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_rmdir': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6280:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6283:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_delreplicasbysfn.o Cns_delreplicasbysfn.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6286:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6299:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6302:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6305:3: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6307:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); /* cannot remove current working directory */ ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6309:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6318:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6325:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6327:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6332:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6340:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6347:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6350:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6352:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6357:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setacl(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setacl': cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_du.o Cns_du.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6392:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6395:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_endsess.o Cns_endsess.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6398:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6404:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6420:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6426:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_endtrans.o Cns_endtrans.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6436:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6444:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_procreq.c:6455:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177077 | ^ Cns_procreq.c:6459:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177707 | ^ Cns_procreq.c:6463:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177770 | ^ 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"; ^ Cns_procreq.c:6477:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177077 | ^ Cns_procreq.c:6481:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fmd_entry.filemode = fmd_entry.filemode & 0177707 | ^ Cns_procreq.c:6489: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6497:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6498:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6503:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setatime(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setatime': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6535:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6538:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_enterclass.o Cns_enterclass.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6542:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6555:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6561:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6568:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6575:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6578:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6585:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6586:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6591:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setcomment(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setcomment': 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6624:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6627:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6630:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6632:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6645:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6651:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6662:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6668:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6670:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6672:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6677:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setfsize(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setfsize': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6713:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6716:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6720:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_entergrpmap.o Cns_entergrpmap.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6723:3: 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_enterusrmap.o Cns_enterusrmap.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6726:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6728:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6731:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6749:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_errmsg.o Cns_errmsg.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6755:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6762:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6769:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6772:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6783:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6784:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6789:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setfsizeg(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setfsizeg': cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getacl.o Cns_getacl.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6822:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6825:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6827:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6830:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6832:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43: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 (EINVAL); ^ ../h/Cns_server.h:43: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 (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6848:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6854:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6860:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6863:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6874:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6875:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:6880:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setptime(magic, req_data, clienthost, thip) ^ 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"; ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setptime': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6911:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6914:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6916:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ Cns_procreq.c:6918:2: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' [-Wformat=] sprintf (logbuf, "setptime %s %d", sfn, ptime); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getcomment.o Cns_getcomment.c In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6926:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6932:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6938:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6944:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6951:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6952:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getcwd.o Cns_getcwd.c Cns_procreq.c:6957:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setratime(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setratime': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6987:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6990:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:6992:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7001:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7007:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7013:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getgrpbygid.o Cns_getgrpbygid.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7019:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7027:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getgrpbygids.o Cns_getgrpbygids.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7028:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7033:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setrltime(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setrltime': cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getgrpbynam.o Cns_getgrpbynam.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7064:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7067:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7069:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ Cns_procreq.c:7071: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7079:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7085:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7091:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7097:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7104:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7105:2: note: in expansion of macro 'RETURN' RETURN (0); ^ 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"; ^ Cns_procreq.c: At top level: Cns_procreq.c:7110:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setrstatus(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setrstatus': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7141:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7144:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7146:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7156:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7162:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7168:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getgrpmap.o Cns_getgrpmap.c ../h/Cns_server.h:43: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 (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7183:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7184:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: 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"; ^ Cns_procreq.c:7189:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setrtype(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setrtype': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7220:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7223:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getifcevers.o Cns_getifcevers.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7225:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7235:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7241:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7247:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7253:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7260:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7261:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7266:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_setsegattrs(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_setsegattrs': cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getlinks.o Cns_getlinks.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7306:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43: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 (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7326:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43: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 (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getpath.o Cns_getpath.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7339:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getreplica.o Cns_getreplica.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7345:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7356:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7369:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7391:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7401:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7408:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7410:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7415:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_shutdown(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_shutdown': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7441:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7446:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7449:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: 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"; ^ Cns_procreq.c:7454:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_startsess(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_startsess': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7481:3: 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getreplicas.o Cns_getreplicas.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7484:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7487:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:7492:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_starttrans(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_starttrans': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7519:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7523:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7530:2: note: in expansion of macro 'RETURN' RETURN (0); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getreplicasl.o Cns_getreplicasl.c Cns_procreq.c: At top level: Cns_procreq.c:7535:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_stat(magic, req_data, clienthost, thip) ^ Cns_procreq.c:7615:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_statg(magic, req_data, clienthost, thip) ^ 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"; ^ 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_procreq.c:7701:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_statr(magic, req_data, clienthost, thip) ^ Cns_procreq.c:7769:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_symlink(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_symlink': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7802:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7805:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7808:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ Cns_getreplica.c: In function 'lfc_getreplica': Cns_getreplica.c:35:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7810:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7823:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7828:3: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7833:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7855:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7857:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43: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 (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getreplicass.o Cns_getreplicass.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7866:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getreplicax.o Cns_getreplicax.c Cns_procreq.c:7871:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_undelete(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_undelete': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7909:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7912:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43: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 (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7928:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7931:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7934:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getusrbynam.o Cns_getusrbynam.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7943:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7952:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7958:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7966:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7972:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7989:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:7990:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getusrbyuid.o Cns_getusrbyuid.c Cns_procreq.c:7995:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_unlink(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_unlink': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8028:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8031:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43: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 (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8047:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8051:2: note: in expansion of macro 'RETURN' RETURN (c); ^ Cns_procreq.c: At top level: Cns_procreq.c:8056:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_utime(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_utime': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8089:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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"; ^ Cns_getreplicax.c: In function 'lfc_getreplicax': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8092:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_getusrmap.o Cns_getusrmap.c Cns_getreplicax.c:35:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8095:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ 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"; ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8113:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8121:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_listclass.o Cns_listclass.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8125:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8140:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8141:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:8148:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_vo_from_dn(const char *dn, char *vo) ^ Cns_procreq.c:8201:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_entergrpmap(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_entergrpmap': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8227:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8232:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8237:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8245:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8248:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8252:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8254:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8255:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_listlinks.o Cns_listlinks.c Cns_procreq.c:8260:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_enterusrmap(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_enterusrmap': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8286:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8291:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8296:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8304:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_listrep4gc.o Cns_listrep4gc.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8307:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8311:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_listreplica.o Cns_listreplica.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8313:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_listreplicax.o Cns_listreplicax.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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8314:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:8319:1: warning: return type defaults to 'int' [-Wreturn-type] getonegid(thip, groupname, gid) ^ Cns_procreq.c:8356:1: warning: return type defaults to 'int' [-Wreturn-type] getidmap(thip, username, user_ca, nbgroups, groupnames, userid, gids) ^ 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_procreq.c:8457:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getidmap(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_getidmap': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8492:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8496:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8501:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8504:4: note: in expansion of macro 'RETURN' RETURN (ENOMEM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8507:4: note: in expansion of macro 'RETURN' RETURN (ENOMEM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8515:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8523:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8530:3: note: in expansion of macro 'RETURN' RETURN (ENOMEM); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_listrepset.o Cns_listrepset.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8544:2: note: in expansion of macro 'RETURN' RETURN (c); ^ Cns_procreq.c: At top level: Cns_procreq.c:8549:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getgrpbygid(magic, req_data, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getgrpbygid': Cns_procreq.c:8583: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:8597:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getgrpbygids(magic, req_data, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getgrpbygids': Cns_procreq.c:8637: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:8656:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getgrpbynam(magic, req_data, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getgrpbynam': Cns_procreq.c:8691: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_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_procreq.c:8706:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getgrpmap(magic, req_data, clienthost, thip) ^ Cns_procreq.c:8776:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getusrbynam(magic, req_data, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_getusrbynam': Cns_procreq.c:8811: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:8826:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getusrbyuid(magic, req_data, clienthost, thip) ^ 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"; ^ Cns_procreq.c: In function 'Cns_srv_getusrbyuid': Cns_procreq.c:8860: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:8874:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_getusrmap(magic, req_data, clienthost, thip) ^ 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_procreq.c:8948:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_modgrpmap(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_modgrpmap': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8977:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8982:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:8991:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9000:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9002:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:8997: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9007:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9008:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:9013:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_modusrmap(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_modusrmap': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9042:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43: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 (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9056:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9065:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9067:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_mkdir.o Cns_mkdir.c Cns_procreq.c:9062: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) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_modifyclass.o Cns_modifyclass.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"; ^ In file included from Cns_procreq.c:35:0: ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9072:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9073:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:9078:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_rmgrpmap(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_rmgrpmap': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9106:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9110:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9115:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9126:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9128:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:9122: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9130:4: 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_modifygrpmap.o Cns_modifygrpmap.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9136:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9138:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:9132: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9141:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9142:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:9147:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_rmusrmap(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_rmusrmap': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9175:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9179:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9184:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9195:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ 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"; ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9197:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_modifyusrmap.o Cns_modifyusrmap.c Cns_procreq.c:9191: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9199:4: 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_modreplica.o Cns_modreplica.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_opendir.o Cns_opendir.c ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9205:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9207:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:9201: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9210:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:9211: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: 3932 $ $Date: 2010-11-03 08:21:43 +0100 (Wed, 03 Nov 2010) $ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_ping.o Cns_ping.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_queryclass.o Cns_queryclass.c 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_readdirc.o Cns_readdirc.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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_readdirg.o Cns_readdirg.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"; ^ 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"; ^ 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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_readdirx.o Cns_readdirx.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_readdirxc.o Cns_readdirxc.c Cns_readdirg.c: In function 'lfc_readdirg': Cns_readdirg.c:37:6: warning: unused variable 'n' [-Wunused-variable] int n; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_readdirxp.o Cns_readdirxp.c 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_readlink.o Cns_readlink.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_registerfiles.o Cns_registerfiles.c 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_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_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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_rename.o Cns_rename.c Cns_readdirxr.c: In function 'lfc_readdirxr': Cns_readdirxr.c:39:6: warning: unused variable 'n' [-Wunused-variable] int n; ^ Cns_readlink.c: In function 'lfc_readlink': 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"; ^ 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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_rewinddir.o Cns_rewinddir.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_rmdir.o Cns_rmdir.c Cns_rename.c: In function 'lfc_rename': Cns_rename.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_rmgrpmap.o Cns_rmgrpmap.c 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_rmusrmap.o Cns_rmusrmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_setacl.o Cns_setacl.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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_setcomment.o Cns_setcomment.c 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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_setfsize.o Cns_setfsize.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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_setptime.o Cns_setptime.c 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_setratime.o Cns_setratime.c 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_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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_setrltime.o Cns_setrltime.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_startsess.o Cns_startsess.c 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_starttrans.o Cns_starttrans.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_stat.o Cns_stat.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_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"; ^ 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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_undelete.o Cns_undelete.c 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; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o Cns_utime.o Cns_utime.c Cns_stat.c: In function 'lfc_statg': Cns_stat.c:223:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -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=\"/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_POSTGRES -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o send2nsd.o send2nsd.c 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_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"; ^ cp Cns_postgresql_tbl.sql create_lfc_tables_postgres.sql cp NSCONFIG.postgresql NSCONFIG.templ sed -e 's#NSCONFIGFILE=.*#NSCONFIGFILE=/etc/NSCONFIG#' -e 's#PREFIX=.*#PREFIX=/usr#' lfcdaemon.scripts.postgresql > rc.lfcdaemon sed -e 's#NSCONFIGFILE=.*#NSCONFIGFILE="/etc/NSCONFIG"#' lfcdaemon.sysconfig.postgresql > lfcdaemon.conf.templ 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"; ^ Cns_undelete.c: In function 'lfc_undelete': Cns_undelete.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ 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_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"; ^ In file included from ../h/Cns_api.h:23:0, from send2nsd.c:24: ../h/lfc_api.h:143:19: warning: return type defaults to 'int' [-Wreturn-type] #define send2nsdx send2lfcx ^ send2nsd.c:34: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:179:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep (retryint); ^ send2nsd.c:194: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:24: send2nsd.c: At top level: ../h/lfc_api.h:142:18: warning: return type defaults to 'int' [-Wreturn-type] #define send2nsd send2lfc ^ send2nsd.c:687: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: 3790 $ $Date: 2010-09-13 07:52:37 +0200 (Mon, 13 Sep 2010) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ send2nsd.c: In function 'send2lfcx': send2nsd.c:374:37: warning: 'repbuf2sz' may be used uninitialized in this function [-Wmaybe-uninitialized] sizeof(struct Cns_linkinfo) > repbuf2sz) { ^ send2nsd.c:436:20: warning: 'ri' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)ri - (char *)(*repbuf2) + ^ send2nsd.c:474:20: warning: 'lx' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lx - (char *)(*repbuf2) + ^ send2nsd.c:654:21: warning: 'lui' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lui - (char *)(*repbuf2) + ^ send2nsd.c:567:20: warning: 'ls' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)ls - (char *)(*repbuf2) + ^ send2nsd.c:515:20: warning: 'lr' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lr - (char *)(*repbuf2) + ^ send2nsd.c:400:20: warning: 'lp' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lp - (char *)(*repbuf2) + ^ send2nsd.c:373:20: warning: 'li' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)li - (char *)(*repbuf2) + ^ send2nsd.c:624:21: warning: 'lgi' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lgi - (char *)(*repbuf2) + ^ send2nsd.c:595: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_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_umask.o a - Cns_undelete.o a - Cns_unlink.o a - Cns_utime.o a - send2nsd.o ranlib libns.a 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfc-shutdown -Wl,-z,relro nsshutdown.o -L../shlib -llfc -llcgdm Cns_procreq.c: In function 'Cns_srv_delfiles': Cns_procreq.c:1640:22: warning: 'cwd' may be used uninitialized in this function [-Wmaybe-uninitialized] if (Cns_parsepath (&thip->dbfd, cwd, path, uid, nbgids, gids, ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -o lfcdaemon -Wl,-z,relro Cns_main.o Cns_acl.o Cns_chkperm.o Cns_libpq_ifce.o Cns_procreq.o Cupv_check.o sendrep.o nslogit.o -pthread -L../shlib -llcgdm -lpq -luuid make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/lfc-postgres/lcgdm-1.8.1.2/ns' ~/build/BUILD/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2 + popd + pushd dpm-mysql/lcgdm-1.8.1.2 + ./configure dpm --with-mysql --libdir=lib64 --with-gsoap-version=2.8.16 --with-dpm-config-file=/etc/DPMCONFIG --with-id-map-file=/etc/lcgdm-mapfile --with-ns-config-file=/etc/DPNSCONFIG --with-emi --without-argus imake -Ui386 -Iconfig make Makefiles make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2' for i in h lib shlib common ns rfio dpm srmv1 srmv2 srmv2.2 security dpmcopy test ; do (echo " $i:" ; cd $i ; imake -Ui386 -I../config ; make -w Makefiles ) ; done ; h: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/h' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/h' lib: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/lib' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/lib' shlib: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/shlib' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/shlib' common: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/common' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/common' ns: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/ns' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/ns' rfio: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/rfio' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/rfio' dpm: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/dpm' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/dpm' srmv1: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/srmv1' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/srmv1' srmv2: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/srmv2' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/srmv2' srmv2.2: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/srmv2.2' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/srmv2.2' security: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/security' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/security' dpmcopy: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/dpmcopy' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/dpmcopy' test: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test' for i in ns dpm srmv1 srmv2 srmv2.2 ; do (if [ -d $i ] ; then (echo " $i:" ; cd $i ; imake -Ui386 -I../../config ; make -w Makefiles) ; else (echo "ERROR : No directory $i" ; exit 1) ; fi ) done ; ns: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/ns' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/ns' dpm: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/dpm' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/dpm' srmv1: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/srmv1' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/srmv1' srmv2: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/srmv2' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/srmv2' srmv2.2: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/srmv2.2' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/srmv2.2' make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test' make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2' + sed -e '/^SECURITYDIR =/d' -e '/^COMMONDIR =/d' -i config/Project.tmpl + sed -e 's/:.*(lcgdm).*/:/' -i lib/Imakefile + sed -e 's/:.*(lcgdm).*/:/' -i shlib/Imakefile + make -f Makefile.ini Makefiles imake -Ui386 -Iconfig make Makefiles make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2' for i in h lib shlib ns rfio dpm srmv1 srmv2 srmv2.2 dpmcopy test ; do (echo " $i:" ; cd $i ; imake -Ui386 -I../config ; make -w Makefiles ) ; done ; h: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/h' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/h' lib: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/lib' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/lib' shlib: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/shlib' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/shlib' ns: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/ns' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/ns' rfio: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/rfio' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/rfio' dpm: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/dpm' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/dpm' srmv1: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/srmv1' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/srmv1' srmv2: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/srmv2' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/srmv2' srmv2.2: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/srmv2.2' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/srmv2.2' dpmcopy: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/dpmcopy' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/dpmcopy' test: make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test' for i in ns dpm srmv1 srmv2 srmv2.2 ; do (if [ -d $i ] ; then (echo " $i:" ; cd $i ; imake -Ui386 -I../../config ; make -w Makefiles) ; else (echo "ERROR : No directory $i" ; exit 1) ; fi ) done ; ns: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/ns' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/ns' dpm: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/dpm' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/dpm' srmv1: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/srmv1' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/srmv1' srmv2: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/srmv2' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/srmv2' srmv2.2: make[3]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/srmv2.2' make[3]: Nothing to be done for `Makefiles'. make[3]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test/srmv2.2' make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/test' make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2' ~/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/shlib ~/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2 + pushd shlib + ln -s ../../../lfc-mysql/lcgdm-1.8.1.2/shlib/liblcgdm.so . ~/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2 ~/build/BUILD/lcgdm-1.8.1.2 + popd ++ pkg-config --cflags gsoap + make -j8 'SOAPFLG=-DWITH_IPV6 -DWITH_NO_IPV6_V6ONLY -DWITH_DOM ' SYSCONFDIR=/etc 'LDFLAGS=-Wl,-z,relro ' h: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/h' sed -e "s/__BASEVERSION__/\"1.8.1\"/" -e "s/__PATCHLEVEL__/2/" -e "s/__TIMESTAMP__/\"`date +%s`\"/" patchlevel.in > patchlevel.h make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/h' lib: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/lib' cd ../rfio ; make librfio.a cd ../ns ; make libns.a cd ../dpm ; make libdpm.a make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/rfio' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o access.o access.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o alrm.o alrm.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o chdir.o chdir.c make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/ns' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o checkkey.o checkkey.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o chmod.o chmod.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o chown.o chown.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_aborttrans.o Cns_aborttrans.c alrm.c: In function 'rfio_alrm': alrm.c:57:2: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] if ( ( (n=atoi(p)) > 0 && n==rcode ) || n==0 ) { ^ alrm.c:79:4: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] write (fd,banner,strlen(banner)); ^ alrm.c:82:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^ alrm.c: At top level: alrm.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: alrm.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:12:59 $ CERN/IT/PDP/DM Felix Hassine"; ^ checkkey.c: In function 'connecttpread': checkkey.c:98:25: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] (void) close(sock); ^ checkkey.c:123:9: warning: implicit declaration of function 'setnetio' [-Wimplicit-function-declaration] if ( setnetio(sock) == -1 ) { ^ 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"; ^ checkkey.c: At top level: checkkey.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: checkkey.c,v $ $Revision: 3172 $ $Date: 2010-02-15 09:51:54 +0100 (Mon, 15 Feb 2010) $ CERN/IT/PDP/DM Felix Hassine"; ^ chdir.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: chdir.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:12:59 $ CERN/IT/PDP/DM Jean-Philippe Baud"; ^ chmod.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: chmod.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:00 $ CERN/IT/PDP/DM Olof Barring"; ^ access.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: access.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:12:59 $ CERN/IT/PDP/DM Felix Hassine"; ^ chown.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: chown.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:00 $ CERN/IT/PDP/DM Felix Hassine"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o close.o close.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_access.o Cns_access.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o closedir.o closedir.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o connect.o connect.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o error.o error.c Cns_access.c: In function 'dpns_access': Cns_access.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o fchmod.o fchmod.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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o fchown.o fchown.c close.c: In function 'rfio_close': close.c:41:3: warning: implicit declaration of function 'rfio_close_v2' [-Wimplicit-function-declaration] return(rfio_close_v2(s)); ^ close.c:29:13: warning: unused variable 'rfio_buf' [-Wunused-variable] char rfio_buf[BUFSIZ]; ^ close.c: In function 'rfio_close_v2': close.c:133:7: warning: implicit declaration of function 'rfio_cleanup' [-Wimplicit-function-declaration] (void) rfio_cleanup(s) ; ^ close.c:58:6: warning: unused variable 'iostatbuf' [-Wunused-variable] } iostatbuf ; ^ close.c: At top level: close.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: close.c,v $ $Revision: 1.3 $ $Date: 2005/04/08 05:42:35 $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy, F. Hassine"; ^ closedir.c: In function 'rfio_closedir': closedir.c:50:7: warning: implicit declaration of function 'rfio_HsmIf_IsHsmDirEntry' [-Wimplicit-function-declaration] if ( rfio_HsmIf_IsHsmDirEntry((DIR *)dirp) != -1 ) { ^ closedir.c:85:7: warning: implicit declaration of function 'rfio_dircleanup' [-Wimplicit-function-declaration] (void) rfio_dircleanup(s) ; ^ closedir.c: At top level: closedir.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: closedir.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:00 $ CERN/IT/PDP/DM Olof Barring"; ^ close.c: In function 'rfio_close_v2': close.c:189:24: warning: 'trp' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( netread_timeout(s,trp,msgsiz,RFIO_DATA_TIMEOUT) != msgsiz ) { ^ connect.c: In function 'rfio_connect': connect.c:112:7: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] port = atoi (p+1); ^ connect.c:301:7: warning: implicit declaration of function 'netconnect_timeout' [-Wimplicit-function-declaration] if (netconnect_timeout(s, ai->ai_addr, ai->ai_addrlen, timeout) < 0) { ^ connect.c:386:4: warning: implicit declaration of function 'setnetio' [-Wimplicit-function-declaration] if (setnetio(s) < 0) { ^ connect.c:53:20: warning: unused variable 'test6_addr' [-Wunused-variable] struct in6_addr test6_addr; /* used for checking for port number */ ^ connect.c: At top level: connect.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: connect.c,v $ $Revision: 1.11 $ $Date: 2009/01/07 09:49:55 $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_addreplica.o Cns_addreplica.c fchmod.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: fchmod.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:00 $ CERN/IT/DS/HSM Jean-Philippe Baud"; ^ error.c: In function 'rfio_serrno': error.c:162:10: warning: unused variable 'rt' [-Wunused-variable] int rt ; /* Request is from other network? */ ^ error.c:158:17: warning: unused variable 's' [-Wunused-variable] int s; ^ error.c: At top level: error.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: error.c,v $ $Revision: 3764 $ $Date: 2010-08-30 08:37:38 +0200 (Mon, 30 Aug 2010) $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o fclose.o fclose.c fchown.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: fchown.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:00 $ CERN/IT/DS/HSM Jean-Philippe Baud"; ^ fchmod.c: In function 'rfio_fchmod': fchmod.c:122:24: warning: 'trp' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( netread_timeout(s,trp,msgsiz,RFIO_DATA_TIMEOUT) != msgsiz ) { ^ fchown.c: In function 'rfio_fchown': fchown.c:124:24: warning: 'trp' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( netread_timeout(s,trp,msgsiz,RFIO_DATA_TIMEOUT) != msgsiz ) { ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o feof.o feof.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o ferror.o ferror.c fclose.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: fclose.c,v $ $Revision: 4148 $ $Date: 2011-03-02 09:36:31 +0100 (Wed, 02 Mar 2011) $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o fflush.o fflush.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o fileno.o fileno.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o fio.o fio.c feof.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: feof.c,v $ $Revision: 4148 $ $Date: 2011-03-02 09:36:31 +0100 (Wed, 02 Mar 2011) $ CERN/IT/PDP/DM Antoine Trannoy"; ^ ferror.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: ferror.c,v $ $Revision: 4148 $ $Date: 2011-03-02 09:36:31 +0100 (Wed, 02 Mar 2011) $ CERN/IT/PDP/DM Antoine Trannoy"; ^ Cns_apiinit.c: In function 'dpns_apiinit': Cns_apiinit.c:31:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask ((*thip)->mask = umask (0)); ^ Cns_apiinit.c: At top level: 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o fopen.o fopen.c fio.c: In function 'uf_cread': fio.c:403:7: warning: implicit declaration of function 'is_usf' [-Wimplicit-function-declaration] if ( (rrc = is_usf(fd)) == 0 || rrc == 3 ) { ^ fio.c: At top level: fio.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: fio.c,v $ $Revision: 3172 $ $Date: 2010-02-15 09:51:54 +0100 (Mon, 15 Feb 2010) $ CERN/IT/PDP/DM Felix Hassine"; ^ fio.c: In function 'usf_write': fio.c:170:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( fd, nwrit , sizeof(int) ); ^ fio.c:175:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( fd, nwrit , sizeof(int) ); ^ fio.c: In function 'udf_write': fio.c:205:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write ( fd , &zero , 1); ^ fileno.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: fileno.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:00 $ CERN/IT/DS/HSM Jean-Philippe Baud"; ^ fflush.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: fflush.c,v $ $Revision: 4148 $ $Date: 2011-03-02 09:36:31 +0100 (Wed, 02 Mar 2011) $ CERN/IT/PDP/DM Antoine Trannoy"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_auth.o Cns_auth.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o fread.o fread.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o fseek.o fseek.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o fstat.o fstat.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o ftell.o ftell.c 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"; ^ fopen.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: fopen.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:00 $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy"; ^ fread.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: fread.c,v $ $Revision: 4203 $ $Date: 2011-03-17 13:45:04 +0100 (Thu, 17 Mar 2011) $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o fwrite.o fwrite.c fseek.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: fseek.c,v $ $Revision: 4148 $ $Date: 2011-03-02 09:36:31 +0100 (Wed, 02 Mar 2011) $ CERN/IT/PDP/DM Fabien Collin"; ^ make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/dpm' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_abortfiles.o dpm_abortfiles.c ftell.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: ftell.c,v $ $Revision: 4148 $ $Date: 2011-03-02 09:36:31 +0100 (Wed, 02 Mar 2011) $ IN2P3 CC Philippe Gaillardon"; ^ fstat.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: fstat.c,v $ $Revision: 1.2 $ $Date: 2005/04/08 05:42:35 $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_abortreq.o dpm_abortreq.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_addfs.o dpm_addfs.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o getc.o getc.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o getcwd.o getcwd.c 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_addpool.o dpm_addpool.c fwrite.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: fwrite.c,v $ $Revision: 4148 $ $Date: 2011-03-02 09:36:31 +0100 (Wed, 02 Mar 2011) $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy"; ^ dpm_abortfiles.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_abortfiles.c,v $ $Revision: 3444 $ $Date: 2010-02-24 08:53:25 +0100 (Wed, 24 Feb 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; ^ dpm_addfs.c: In function 'dpm_addfs': dpm_addfs.c:34:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ dpm_addfs.c:32:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ dpm_addfs.c: At top level: dpm_addfs.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_addfs.c,v $ $Revision: 3444 $ $Date: 2010-02-24 08:53:25 +0100 (Wed, 24 Feb 2010) $ CERN IT-GD/CT Jean-Philippe Baud"; ^ dpm_abortreq.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_abortreq.c,v $ $Revision: 3444 $ $Date: 2010-02-24 08:53:25 +0100 (Wed, 24 Feb 2010) $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_chdir.o Cns_chdir.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_apiinit.o dpm_apiinit.c getc.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: getc.c,v $ $Revision: 4148 $ $Date: 2011-03-02 09:36:31 +0100 (Wed, 02 Mar 2011) $ CERN/IT/PDP/DM Jean-Philippe Baud"; ^ getcwd.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: getcwd.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:00 $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_chown.o Cns_chown.c dpm_apiinit.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_apiinit.c,v $ $Revision: 1.2 $ $Date: 2005/11/24 07:20:25 $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_auth.o dpm_auth.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_closedir.o Cns_closedir.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o lockf.o lockf.c dpm_addpool.c: In function 'dpm_addpool': dpm_addpool.c:34:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ dpm_addpool.c: At top level: dpm_addpool.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_addpool.c,v $ $Revision: 3444 $ $Date: 2010-02-24 08:53:25 +0100 (Wed, 24 Feb 2010) $ CERN IT-GD/CT Jean-Philippe Baud"; ^ Cns_chdir.c: In function 'dpns_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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_creat.o Cns_creat.c Cns_chmod.c: In function 'dpns_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"; ^ dpm_auth.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_auth.c,v $ $Revision: 1.3 $ $Date: 2009/09/03 13:38:46 $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_copy.o dpm_copy.c Cns_chown.c: In function 'dpns_chown': Cns_chown.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_chown.c: In function 'dpns_lchown': Cns_chown.c:98:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ 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"; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_delreplica.o dpm_delreplica.c lockf.c: In function 'rfio_lockf': lockf.c:31:10: warning: unused variable 'rt' [-Wunused-variable] int rt ; ^ lockf.c: At top level: lockf.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: lockf.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:00 $ CERN/IT/PDP/DM Antony Simmins"; ^ Cns_creat.c: In function 'dpns_creatc': Cns_creat.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_creat.c: At top level: cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delcomment.o Cns_delcomment.c 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_errmsg.o dpm_errmsg.c dpm_copy.c: In function 'dpm_copy': dpm_copy.c:41:7: warning: unused variable 'surl' [-Wunused-variable] char surl[CA_MAXSFNLEN+1]; ^ dpm_copy.c: At top level: dpm_copy.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_copy.c,v $ $Revision: 3444 $ $Date: 2010-02-24 08:53:25 +0100 (Wed, 24 Feb 2010) $ CERN IT-GD/CT Jean-Philippe Baud"; ^ dpm_delreplica.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_delreplica.c,v $ $Revision: 3444 $ $Date: 2010-02-24 08:53:25 +0100 (Wed, 24 Feb 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o lseek.o lseek.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_extendfilelife.o dpm_extendfilelife.c Cns_delete.c: In function 'dpns_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_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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_freefilestatuses.o dpm_freefilestatuses.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o lstat.o lstat.c dpm_errmsg.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_errmsg.c,v $ $Revision: 1.4 $ $Date: 2008/03/25 14:36:26 $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o lun2fn.o lun2fn.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_deleteclass.o Cns_deleteclass.c dpm_freefilestatuses.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_freefilestatuses.c,v $ $Revision: 1.2 $ $Date: 2005/11/24 07:20:25 $ CERN IT-GD/CT Jean-Philippe Baud"; ^ dpm_extendfilelife.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_extendfilelife.c,v $ $Revision: 3444 $ $Date: 2010-02-24 08:53:25 +0100 (Wed, 24 Feb 2010) $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o misc.o misc.c lseek.c: In function 'rfio_lseek': lseek.c:119:7: warning: implicit declaration of function 'rfio_lseek_v3' [-Wimplicit-function-declaration] status= rfio_lseek_v3(s,offset,how); ^ lseek.c:168:5: warning: implicit declaration of function 'rfio_filbuf' [-Wimplicit-function-declaration] status= rfio_filbuf(s,rfilefdt[s_index]->_iobuf.base,rfilefdt[s_index]->_iobuf.dsize) ; ^ lseek.c:44:13: warning: unused variable 'rfio_buf' [-Wunused-variable] char rfio_buf[BUFSIZ]; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_get.o dpm_get.c lseek.c: At top level: lseek.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: lseek.c,v $ $Revision: 4204 $ $Date: 2011-03-17 14:09:53 +0100 (Thu, 17 Mar 2011) $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy"; ^ lstat.c: In function 'rfio_lstat64': lstat.c:201:11: warning: implicit declaration of function 'rfio_HsmIf_stat64' [-Wimplicit-function-declaration] return(rfio_HsmIf_stat64(filename,statbuf)); ^ lstat.c:228:4: warning: implicit declaration of function 'rfio_smstat64' [-Wimplicit-function-declaration] status = rfio_smstat64(s, filename, statbuf, RQST_LSTAT64) ; ^ lstat.c: At top level: lstat.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: lstat.c,v $ $Revision: 1.2 $ $Date: 2007/12/04 11:25:43 $ CERN/IT/PDP/DM Felix Hassine"; ^ lstat.c:22:12: warning: 'pw_key' defined but not used [-Wunused-variable] static int pw_key = -1; ^ lstat.c:23:12: warning: 'old_uid_key' defined but not used [-Wunused-variable] static int old_uid_key = -1; ^ 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"; ^ misc.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: misc.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:01 $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_getifcevers.o dpm_getifcevers.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delreplica.o Cns_delreplica.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o mkdir.o mkdir.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o mstat.o mstat.c dpm_get.c: In function 'dpm_get': dpm_get.c:40:7: warning: unused variable 'surl' [-Wunused-variable] char surl[CA_MAXSFNLEN+1]; ^ dpm_get.c: At top level: dpm_get.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_get.c,v $ $Revision: 3444 $ $Date: 2010-02-24 08:53:25 +0100 (Wed, 24 Feb 2010) $ CERN IT-GD/CT Jean-Philippe Baud"; ^ lun2fn.c: In function 'lun2fn': cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delreplicasbysfn.o Cns_delreplicasbysfn.c lun2fn.c:84:7: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] clun = atoi(p+1); ^ lun2fn.c: At top level: lun2fn.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: lun2fn.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:01 $ CERN/IT/PDP/DM Frederic Hemmer"; ^ In file included from /usr/include/stdio.h:937:0, from ../h/rfio.h:23, from lun2fn.c:29: In function 'fgets', inlined from 'lun2fn' at lun2fn.c:80:4: /usr/include/bits/stdio2.h:261:2: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^ 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"; ^ dpm_getifcevers.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_getifcevers.c,v $ $Revision: 1.1 $ $Date: 2007/05/09 06:42:05 $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_du.o Cns_du.c mkdir.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: mkdir.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:01 $ CERN/IT/PDP/DM Antony Simmins"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_endsess.o Cns_endsess.c mstat.c: In function 'rfio_mstat': mstat.c:50:18: warning: unused variable 'parserc' [-Wunused-variable] int rc, parserc ; ^ mstat.c: In function 'rfio_smstat': mstat.c:213:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (rc == 0 || (rc<0 && errno == ECONNRESET)) ^ 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"; ^ mstat.c: In function 'rfio_mstat64': mstat.c:507:11: warning: implicit declaration of function 'rfio_HsmIf_stat64' [-Wimplicit-function-declaration] rc = rfio_HsmIf_stat64(filename,statb); ^ mstat.c:528:10: warning: implicit declaration of function 'rfio_smstat64' [-Wimplicit-function-declaration] rc = rfio_smstat64( mstat_tab[rfindex].s, filename, statb, RQST_MSTAT64 ) ; ^ mstat.c:492:16: warning: unused variable 'fitreqst' [-Wunused-variable] int fitreqst; /*Fitted request */ ^ mstat.c:490:16: warning: unused variable 'i' [-Wunused-variable] int rt ,rc ,i ,fd, rfindex, Tid; ^ mstat.c: In function 'rfio_smstat64': mstat.c:673:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (rc == 0 || (rc<0 && errno == ECONNRESET)) ^ mstat.c:576:16: warning: unused variable 'i32' [-Wunused-variable] long i32 ; ^ mstat.c: At top level: mstat.c:12:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: mstat.c,v $ $Revision: 1.4 $ $Date: 2007/12/04 11:25:43 $ CERN/IT/PDP/DM Felix Hassine"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_getpoolfs.o dpm_getpoolfs.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o msymlink.o msymlink.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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o munlink.o munlink.c dpm_getpoolfs.c: In function 'dpm_getpoolfs': dpm_getpoolfs.c:36:8: warning: unused variable 'rbp' [-Wunused-variable] char *rbp; ^ dpm_getpoolfs.c:34:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ dpm_getpoolfs.c:32:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ dpm_getpoolfs.c: At top level: dpm_getpoolfs.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_getpoolfs.c,v $ $Revision: 3444 $ $Date: 2010-02-24 08:53:25 +0100 (Wed, 24 Feb 2010) $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o open.o open.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_getpools.o dpm_getpools.c msymlink.c: In function 'rfio_smsymlink': msymlink.c:119:11: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^ msymlink.c: At top level: msymlink.c:12:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: msymlink.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:01 $ CERN/IT/PDP/DM Jean-Damien Durand"; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o opendir.o opendir.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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o parse.o parse.c munlink.c: In function 'rfio_smunlink': munlink.c:111:11: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^ dpm_getpools.c: In function 'dpm_getpools': dpm_getpools.c:36:8: warning: unused variable 'rbp' [-Wunused-variable] char *rbp; ^ dpm_getpools.c:34:8: warning: unused variable 'p' [-Wunused-variable] char *p; ^ dpm_getpools.c:32:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ dpm_getpools.c: At top level: dpm_getpools.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_getpools.c,v $ $Revision: 3444 $ $Date: 2010-02-24 08:53:25 +0100 (Wed, 24 Feb 2010) $ CERN IT-GD/CT Jean-Philippe Baud"; ^ munlink.c: At top level: munlink.c:12:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: munlink.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:01 $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_enterusrmap.o Cns_enterusrmap.c open.c: In function 'rfio_setup_ext': open.c:48:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( cp= getenv("RFIO_READOPT") ) { ^ open.c:46:13: warning: unused variable 'rfio_buf' [-Wunused-variable] char rfio_buf[BUFSIZ] ; ^ open.c: In function 'rfio_open': open.c:149:8: warning: unused variable 'fd_index' [-Wunused-variable] int fd_index; ^ open.c:148:8: warning: unused variable 'fd' [-Wunused-variable] int fd; ^ open.c:147:8: warning: unused variable 'old' [-Wunused-variable] int old; ^ open.c:146:8: warning: unused variable 'n_index' [-Wunused-variable] int n_index; ^ open.c:145:8: warning: unused variable 'n' [-Wunused-variable] int n; ^ open.c: In function 'rfio_open_v2': open.c:202:4: warning: implicit declaration of function 'rfio_open_ext' [-Wimplicit-function-declaration] return(rfio_open_ext(filepath, flags, mode,(uid_t)0,(gid_t)0,0,rh,rh)); ^ open.c: In function 'rfio_open_ext': open.c:260:7: warning: implicit declaration of function 'rfio_open_ext_v3' [-Wimplicit-function-declaration] if ((n = rfio_open_ext_v3(filepath,flags,mode,uid,gid,passwd,reqhost,vmstr)) < 0) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DDPMCONFIG=\"/etc/DPMCONFIG\" -DLOGFILE=\"/var/log/dpm/log\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o dpm_getprotocols.o dpm_getprotocols.c open.c: At top level: open.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: open.c,v $ $Revision: 3172 $ $Date: 2010-02-15 09:51:54 +0100 (Mon, 15 Feb 2010) $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy, F. Hassine"; ^ opendir.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: opendir.c,v $ $Revision: 1.2 $ $Date: 2008/01/10 08:27:59 $ CERN/IT/PDP/DM Olof Barring"; ^ 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"; ^ parse.c: In function 'rfio_parseln': parse.c:102:13: warning: implicit declaration of function 'strtol' [-Wimplicit-function-declaration] if (strtol (cp2+1, &dp, 10) < 0 || *dp != '\0') { ^ parse.c:215:7: warning: implicit declaration of function 'rfio_HsmIf_IsCnsFile' [-Wimplicit-function-declaration] if ( rfio_HsmIf_IsCnsFile(name_1) > 0 ) { ^ parse.c: At top level: parse.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: parse.c,v $ $Revision: 3172 $ $Date: 2010-02-15 09:51:54 +0100 (Mon, 15 Feb 2010) $ CERN/IT/PDP/DM Frederic Hemmer"; ^ dpm_getprotocols.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: dpm_getprotocols.c,v $ $Revision: 3444 $ $Date: 2010-02-24 08:53:25 +0100 (Wed, 24 Feb 2010) $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_enterclass.o Cns_enterclass.c parse.c: In function 'rfio_parseln': parse.c:304:61: warning: 'cp5' may be used uninitialized in this function [-Wmaybe-uninitialized] if( cp3 && cp1 == cp3+2 && (cp2 == NULL || (cp5 && cp5ai_addr, ai->ai_addrlen, ^ 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"; ^ send2dpm.c: At top level: send2dpm.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: send2dpm.c,v $ $Revision: 3444 $ $Date: 2010-02-24 08:53:25 +0100 (Wed, 24 Feb 2010) $ CERN IT-GD/CT Jean-Philippe Baud"; ^ setopt.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: setopt.c,v $ $Revision: 3174 $ $Date: 2010-02-15 10:01:40 +0100 (Mon, 15 Feb 2010) $ CERN/IT/PDP/DM Felix Hassine"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_listrepset.o Cns_listrepset.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o statfs.o statfs.c stat.c: In function 'rfio_stat64': stat.c:105:21: warning: implicit declaration of function 'rfio_HsmIf_stat64' [-Wimplicit-function-declaration] return(rfio_HsmIf_stat64(filename,statbuf)); ^ stat.c:127:2: warning: implicit declaration of function 'rfio_smstat64' [-Wimplicit-function-declaration] status = rfio_smstat64(s,filename,statbuf,RQST_STAT64) ; ^ stat.c: At top level: stat.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: stat.c,v $ $Revision: 1.3 $ $Date: 2008/01/10 08:27:59 $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o stream.o stream.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_mkdir.o Cns_mkdir.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_modifyclass.o Cns_modifyclass.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"; ^ statfs.c: In function 'rfio_statfs64': statfs.c:168:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (rc == 0 || (rc<0 && errno == ECONNRESET)) ^ statfs.c:117:20: warning: unused variable 'statfsb32' [-Wunused-variable] struct rfstatfs statfsb32; ^ statfs.c: At top level: statfs.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: statfs.c,v $ $Revision: 1.3 $ $Date: 2007/12/04 11:25:43 $ CERN/IT/PDP/DM Felix Hassine"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o switch_req.o switch_req.c Cns_mkdir.c: In function 'dpns_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"; ^ stream.c: In function 'rfio_setup_ext_v3': stream.c:85:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( cp= getenv("RFIO_READOPT") ) { ^ stream.c: In function 'rfio_open_v3': stream.c:182:4: warning: implicit declaration of function 'rfio_open_ext_v3' [-Wimplicit-function-declaration] return(rfio_open_ext_v3(filepath, flags, mode,(uid_t)0,(gid_t)0,0,rh,rh)); ^ stream.c: In function 'rfio_open_ext_v3': stream.c:294:35: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername(rfp->s,(struct sockaddr *)&to, &tolen)<0) { ^ In file included from ../h/rfio.h:45:0, from stream.c:24: /usr/include/sys/socket.h:142:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^ stream.c:427:14: warning: format '%X' expects argument of type 'unsigned int', but argument 11 has type 'char *' [-Wformat=] RQSTSIZE+len); ^ stream.c:459:17: warning: format '%X' expects argument of type 'unsigned int', but argument 11 has type 'char *' [-Wformat=] RQSTSIZE); ^ stream.c:449:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (rb == 0 || (rb<0 && errno == ECONNRESET)) ^ 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"; ^ stream.c: In function 'rfio_read_v3': stream.c:681:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n == 0) ^ stream.c:721:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n == 0) ^ stream.c:740:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n == 0) ^ stream.c:781:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n == 0) ^ stream.c:820:6: warning: implicit declaration of function 's_nrecv' [-Wimplicit-function-declaration] if ((n = s_nrecv(rfilefdt[ctrl_sock_index]->lseekhow, iobuffer, size-byte_in_buffer)) <= 0) { ^ stream.c:821:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n == 0) ^ stream.c: In function 'rfio_write_v3': stream.c:970:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n == 0) ^ stream.c:981:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (cause == REP_ERROR) ^ stream.c: In function 'rfio_close_v3': stream.c:1144:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n == 0) ^ stream.c:1156:14: warning: implicit declaration of function 's_close' [-Wimplicit-function-declaration] s_close(rfilefdt[s_index]->lseekhow) < 0) ^ stream.c:1026:6: warning: unused variable 'iostatbuf' [-Wunused-variable] } iostatbuf ; ^ send2dpm.c: In function 'send2dpm': send2dpm.c:566:27: warning: 'tokeninfo' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)tokeninfo - (char *)(*repbuf2) + ^ send2dpm.c:659:17: warning: 's_tokens' may be used uninitialized in this function [-Wmaybe-uninitialized] if((s_tokens[*nbstruct] = strdup (s_token)) == NULL) { ^ send2dpm.c:567:38: warning: 'repbuf2sz' may be used uninitialized in this function [-Wmaybe-uninitialized] sizeof(struct dpm_tokeninfo) > repbuf2sz) { ^ send2dpm.c:76:19: warning: 'poolp' may be used uninitialized in this function [-Wmaybe-uninitialized] struct dpm_pool *poolp; ^ send2dpm.c:392:34: warning: 'pfr_entry' may be used uninitialized in this function [-Wmaybe-uninitialized] else if ((pfr_entry->to_surl = strdup (surl)) == NULL) ^ send2dpm.c:359:36: warning: 'gfr_entry' may be used uninitialized in this function [-Wmaybe-uninitialized] else if ((gfr_entry->from_surl = strdup (surl)) == NULL) ^ send2dpm.c:467:15: warning: 'filestatus' may be used uninitialized in this function [-Wmaybe-uninitialized] filestatus++; ^ stream.c: In function 'data_rfio_connect': send2dpm.c:58:17: warning: 'elemp' may be used uninitialized in this function [-Wmaybe-uninitialized] struct dpm_fs *elemp; ^ send2dpm.c:56:29: warning: 'spacemd' may be used uninitialized in this function [-Wmaybe-uninitialized] struct dpm_space_metadata *spacemd; ^ stream.c:1553:4: warning: implicit declaration of function 'setnetio' [-Wimplicit-function-declaration] if (setnetio(s) < 0) { ^ send2dpm.c:426:36: warning: 'cpr_entry' may be used uninitialized in this function [-Wmaybe-uninitialized] else if ((cpr_entry->from_surl = strdup (surl)) == NULL) ^ stream.c:1371:15: warning: unused variable 'maxseg' [-Wunused-variable] int optlen,maxseg; ^ stream.c:1371:8: warning: unused variable 'optlen' [-Wunused-variable] int optlen,maxseg; ^ stream.c:1360:20: warning: variable 'crtycnts' set but not used [-Wunused-but-set-variable] register int crtycnts = 0 ; ^ stream.c:1352:10: warning: unused variable 'last' [-Wunused-variable] char *last = NULL; ^ stream.c: At top level: stream.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: stream.c,v $ $Revision: 3764 $ $Date: 2010-08-30 08:37:38 +0200 (Mon, 30 Aug 2010) $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy, F. Hassine"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o symlink.o symlink.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_modifyusrmap.o Cns_modifyusrmap.c switch_req.c: In function 'switch_open': switch_req.c:45:33: warning: implicit declaration of function 'usf_open' [-Wimplicit-function-declaration] status=usf_open(lun, filename, append,trunc); ^ switch_req.c:58:33: warning: implicit declaration of function 'udf_open' [-Wimplicit-function-declaration] status=udf_open(lun, filename, lrecl,trunc); ^ switch_req.c: In function 'switch_write': switch_req.c:93:25: warning: implicit declaration of function 'usf_write' [-Wimplicit-function-declaration] status=usf_write(lun, ptr, nwrit); ^ switch_req.c:105:25: warning: implicit declaration of function 'udf_write' [-Wimplicit-function-declaration] status=udf_write(lun, ptr, nrec, nwrit); ^ switch_req.c: In function 'switch_read': switch_req.c:142:33: warning: implicit declaration of function 'uf_cread' [-Wimplicit-function-declaration] (void) uf_cread(ptlun, buffer1, nrec, nwant, ngot, &status); ^ switch_req.c:156:33: warning: implicit declaration of function 'usf_read' [-Wimplicit-function-declaration] status=usf_read(ptlun, buffer1, nwant); ^ switch_req.c:169:33: warning: implicit declaration of function 'udf_read' [-Wimplicit-function-declaration] status =udf_read(ptlun, buffer1, nrec, nwant); ^ switch_req.c: In function 'switch_close': switch_req.c:194:9: warning: implicit declaration of function 'uf_close' [-Wimplicit-function-declaration] irc=uf_close(lun); ^ switch_req.c: At top level: switch_req.c:18:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: switch_req.c,v $ $Revision: 3172 $ $Date: 2010-02-15 09:51:54 +0100 (Mon, 15 Feb 2010) $ CERN/IT/PDP/DM Felix Hassine"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o unlink.o unlink.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_modreplica.o Cns_modreplica.c 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"; ^ symlink.c:12:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: symlink.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:04 $ CERN/IT/PDP/DM Felix Hassine"; ^ Cns_modreplica.c: In function 'dpns_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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o write.o write.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o xyclose.o xyclose.c unlink.c:12:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: unlink.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:04 $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o xyopen.o xyopen.c Cns_opendir.c: In function 'dpns_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"; ^ write.c: In function 'rfio_write': write.c:43:3: warning: implicit declaration of function 'rfio_write_v2' [-Wimplicit-function-declaration] return(rfio_write_v2(s,(char *)ptr,size)); ^ write.c: In function 'rfio_write_v2': write.c:120:7: warning: implicit declaration of function 'rfio_write64_v2' [-Wimplicit-function-declaration] status = rfio_write64_v2(s, ptr, size); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_ping.o Cns_ping.c write.c: At top level: write.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: write.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:04 $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy, F. Hassine"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o xyread.o xyread.c xyclose.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: xyclose.c,v $ $Revision: 3172 $ $Date: 2010-02-15 09:51:54 +0100 (Mon, 15 Feb 2010) $ CERN/IT/PDP/DM Frederic Hemmer"; ^ write.c: In function 'rfio_write_v2': write.c:228:24: warning: 'trp' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( netread_timeout(s,trp,msgsiz,RFIO_DATA_TIMEOUT) != msgsiz ) { ^ xyopen.c: In function 'rfio_xyopen': cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o xywrite.o xywrite.c xyopen.c:69:4: warning: implicit declaration of function 'rfio_xyopen_ext' [-Wimplicit-function-declaration] return( rfio_xyopen_ext(name,node,lun,lrecl,chopt,irc,(uid_t)0,(gid_t)0,0,rh) ); ^ 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"; ^ xyopen.c: At top level: xyopen.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: xyopen.c,v $ $Revision: 3172 $ $Date: 2010-02-15 09:51:54 +0100 (Mon, 15 Feb 2010) $ CERN/IT/PDP/DM Frederic Hemmer, F. Hassine"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_queryclass.o Cns_queryclass.c xyread.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: xyread.c,v $ $Revision: 3172 $ $Date: 2010-02-15 09:51:54 +0100 (Mon, 15 Feb 2010) $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readdir.o Cns_readdir.c xywrite.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: xywrite.c,v $ $Revision: 3172 $ $Date: 2010-02-15 09:51:54 +0100 (Mon, 15 Feb 2010) $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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"; ^ 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 'dpns_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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o fopen64.o fopen64.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readdirg.o Cns_readdirg.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o fseeko64.o fseeko64.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readdirx.o Cns_readdirx.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readdirxc.o Cns_readdirxc.c fopen64.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: fopen64.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:00 $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy"; ^ Cns_readdirg.c: In function 'dpns_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"; ^ ar rv libdpm.a dpm_abortfiles.o dpm_abortreq.o dpm_addfs.o dpm_addpool.o dpm_apiinit.o dpm_auth.o dpm_copy.o dpm_delreplica.o dpm_errmsg.o dpm_extendfilelife.o dpm_freefilestatuses.o dpm_get.o dpm_getifcevers.o dpm_getpoolfs.o dpm_getpools.o dpm_getprotocols.o dpm_getreqid.o dpm_getreqsummary.o dpm_getspacemd.o dpm_getspacetoken.o dpm_getstatus_copyreq.o dpm_getstatus_getreq.o dpm_getstatus_putreq.o dpm_getturl.o dpm_inc_reqctr.o dpm_modifyfs.o dpm_modifypool.o dpm_ping.o dpm_put.o dpm_putdone.o dpm_register.o dpm_releasespace.o dpm_relfiles.o dpm_reservespace.o dpm_rm.o dpm_rmfs.o dpm_rmpool.o dpm_updatefilestatus.o dpm_updatespace.o send2dpm.o ar: creating libdpm.a a - dpm_abortfiles.o a - dpm_abortreq.o a - dpm_addfs.o a - dpm_addpool.o a - dpm_apiinit.o a - dpm_auth.o a - dpm_copy.o a - dpm_delreplica.o a - dpm_errmsg.o a - dpm_extendfilelife.o a - dpm_freefilestatuses.o a - dpm_get.o a - dpm_getifcevers.o a - dpm_getpoolfs.o a - dpm_getpools.o a - dpm_getprotocols.o a - dpm_getreqid.o a - dpm_getreqsummary.o a - dpm_getspacemd.o a - dpm_getspacetoken.o a - dpm_getstatus_copyreq.o a - dpm_getstatus_getreq.o a - dpm_getstatus_putreq.o a - dpm_getturl.o a - dpm_inc_reqctr.o a - dpm_modifyfs.o a - dpm_modifypool.o a - dpm_ping.o a - dpm_put.o a - dpm_putdone.o a - dpm_register.o a - dpm_releasespace.o a - dpm_relfiles.o a - dpm_reservespace.o a - dpm_rm.o a - dpm_rmfs.o a - dpm_rmpool.o a - dpm_updatefilestatus.o a - dpm_updatespace.o a - send2dpm.o Cns_readdirx.c: In function 'dpns_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"; ^ ranlib libdpm.a fseeko64.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: fseeko64.c,v $ $Revision: 4148 $ $Date: 2011-03-02 09:36:31 +0100 (Wed, 02 Mar 2011) $ CERN/IT/PDP/DM Fabien Collin, Philippe Gaillardon"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o fstat64.o fstat64.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o ftello64.o ftello64.c Cns_readdirxc.c: In function 'dpns_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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o lockf64.o lockf64.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readdirxp.o Cns_readdirxp.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readdirxr.o Cns_readdirxr.c ftello64.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: ftello64.c,v $ $Revision: 4148 $ $Date: 2011-03-02 09:36:31 +0100 (Wed, 02 Mar 2011) $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy, P. Gaillardon"; ^ fstat64.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: fstat64.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:00 $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy, P. Gaillardon"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_readlink.o Cns_readlink.c lockf64.c: In function 'rfio_lockf64': lockf64.c:33:13: warning: unused variable 'rt' [-Wunused-variable] int rt ; ^ lockf64.c: At top level: lockf64.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: lockf64.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:00 $ CERN/IT/PDP/DM Antony Simmins, P. Gaillardon"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o lseek64.o lseek64.c Cns_readdirxp.c: In function 'dpns_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"; ^ fstat64.c: In function 'rfio_fstat64': fstat64.c:152:33: warning: 'trp' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( netread_timeout(s,trp,msgsiz,RFIO_DATA_TIMEOUT) != msgsiz ) { ^ Cns_readdirxr.c: In function 'dpns_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"; ^ Cns_readlink.c: In function 'dpns_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"; ^ make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/dpm' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o open64.o open64.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_registerfiles.o Cns_registerfiles.c lseek64.c: In function 'rfio_lseek64': lseek64.c:161:5: warning: implicit declaration of function 'rfio_filbuf64' [-Wimplicit-function-declaration] status= rfio_filbuf64(s,rfilefdt[s_index]->_iobuf.base,rfilefdt[s_index]->_iobuf.dsize) ; ^ lseek64.c: At top level: lseek64.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: lseek64.c,v $ $Revision: 4202 $ $Date: 2011-03-17 11:45:08 +0100 (Thu, 17 Mar 2011) $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy, P. Gaillardon"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o preseek64.o preseek64.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o read64.o read64.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_rename.o Cns_rename.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_rewinddir.o Cns_rewinddir.c lseek64.c: In function 'rfio_forcelseek64': lseek64.c:431:24: warning: 'trp' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( netread_timeout(s,trp,msgsiz,RFIO_DATA_TIMEOUT) != msgsiz ) { ^ 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"; ^ open64.c: In function 'rfio_setup64_ext': open64.c:48:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( cp= getenv("RFIO_READOPT") ) { ^ open64.c:46:13: warning: unused variable 'rfio_buf' [-Wunused-variable] char rfio_buf[BUFSIZ] ; ^ open64.c: In function 'rfio_open64': open64.c:118:7: warning: implicit declaration of function 'rfio_open64_v2' [-Wimplicit-function-declaration] n = rfio_open64_v2(filepath,flags,mode); ^ open64.c: In function 'rfio_open64_v2': open64.c:129:4: warning: implicit declaration of function 'rfio_open64_ext' [-Wimplicit-function-declaration] return(rfio_open64_ext(filepath, flags, mode,(uid_t)0,(gid_t)0,0,rh)); ^ open64.c: In function 'rfio_open64_ext': open64.c:183:7: warning: implicit declaration of function 'rfio_open64_ext_v3' [-Wimplicit-function-declaration] n = rfio_open64_ext_v3(filepath,flags,mode,uid,gid,passwd,reqhost); ^ open64.c:317:10: warning: implicit declaration of function 'rfio_cleanup' [-Wimplicit-function-declaration] rfio_cleanup(rfp->s); ^ open64.c:365:7: warning: format '%X' expects argument of type 'unsigned int', but argument 10 has type 'char *' [-Wformat=] strerror(errno), errno, rfp->host, rfp->uid, rfp->gid, getpid(), rfp->s, rfio_buf, RQSTSIZE+len); ^ open64.c:388:13: warning: format '%X' expects argument of type 'unsigned int', but argument 10 has type 'char *' [-Wformat=] strerror(errno), errno, rfp->host, rfp->uid, rfp->gid, getpid(), rfp->s, rfio_buf, replen); ^ open64.c:165:12: warning: unused variable 'n_index' [-Wunused-variable] int n_index; ^ open64.c: At top level: open64.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: open64.c,v $ $Revision: 4143 $ $Date: 2011-02-26 11:13:35 +0100 (Sat, 26 Feb 2011) $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy, F. Hassine, P. Gaillardon"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o stream64.o stream64.c 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"; ^ Cns_rename.c: In function 'dpns_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"; ^ preseek64.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: preseek64.c,v $ $Revision: 4218 $ $Date: 2011-03-28 17:07:12 +0200 (Mon, 28 Mar 2011) $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_rmdir.o Cns_rmdir.c read64.c: In function 'rfio_read64': read64.c:52:3: warning: implicit declaration of function 'rfio_read64_v2' [-Wimplicit-function-declaration] return(rfio_read64_v2(s,(char *)ptr,size)); ^ read64.c: In function 'rfio_read64_v2': read64.c:133:7: warning: implicit declaration of function 'rfio_read_v2' [-Wimplicit-function-declaration] status = rfio_read_v2(s, ptr, size); ^ read64.c:148:3: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] if ((bufsize = atoi(p)) <= 0) { ^ read64.c:225:7: warning: implicit declaration of function 'rfio_filbuf64' [-Wimplicit-function-declaration] if ( (status= rfio_filbuf64(s,ptr,size)) < 0 ) { ^ read64.c: At top level: read64.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: read64.c,v $ $Revision: 3750 $ $Date: 2010-08-19 08:03:50 +0200 (Thu, 19 Aug 2010) $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy, F. Hassine, P. Gaillardon"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_rmusrmap.o Cns_rmusrmap.c Cns_rmdir.c: In function 'dpns_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"; ^ stream64.c: In function 'rfio_setup64_ext_v3': stream64.c:77:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( cp= getenv("RFIO_READOPT") ) { ^ stream64.c: In function 'rfio_open64_v3': stream64.c:132:4: warning: implicit declaration of function 'rfio_open64_ext_v3' [-Wimplicit-function-declaration] return(rfio_open64_ext_v3(filepath, flags, mode,(uid_t)0,(gid_t)0,0,rh)); ^ stream64.c: In function 'rfio_open64_ext_v3': stream64.c:247:35: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername(rfp->s,(struct sockaddr *)&to, &tolen)<0) { ^ In file included from ../h/rfio.h:45:0, from stream64.c:24: /usr/include/sys/socket.h:142:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^ stream64.c:338:7: warning: implicit declaration of function 'rfio_cleanup_v3' [-Wimplicit-function-declaration] rfio_cleanup_v3(rfp->s); ^ stream64.c:381:10: warning: format '%X' expects argument of type 'unsigned int', but argument 11 has type 'char *' [-Wformat=] RQSTSIZE+len); ^ stream64.c:416:13: warning: format '%X' expects argument of type 'unsigned int', but argument 11 has type 'char *' [-Wformat=] rlen); ^ stream64.c: In function 'rfio_read64_v3': stream64.c:648:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n == 0) ^ stream64.c:756:10: warning: implicit declaration of function 's_nrecv' [-Wimplicit-function-declaration] n = s_nrecv(rfilefdt[ctrl_sock_index]->lseekhow, iobuffer, size-byte_in_buffer); ^ stream64.c: In function 'rfio_write64_v3': stream64.c:925:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n == 0) ^ stream64.c:936:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (cause == REP_ERROR) ^ stream64.c: In function 'rfio_close64_v3': stream64.c:1103:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n == 0) ^ stream64.c:1116:13: warning: implicit declaration of function 's_close' [-Wimplicit-function-declaration] s_close(rfilefdt[s_index]->lseekhow) < 0) ^ stream64.c:982:6: warning: unused variable 'iostatbuf' [-Wunused-variable] } iostatbuf ; ^ stream64.c: In function 'rfio_lseek64_v3': stream64.c:1238:7: warning: implicit declaration of function 'rfio_lseek_v3' [-Wimplicit-function-declaration] offsetout = rfio_lseek_v3(s, offsetin, how ); ^ stream64.c:1206:8: warning: unused variable 'status' [-Wunused-variable] int status,rcode; ^ stream64.c: At top level: stream64.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: stream64.c,v $ $Revision: 3172 $ $Date: 2010-02-15 09:51:54 +0100 (Mon, 15 Feb 2010) $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy, F. Hassine, P. Gaillardon"; ^ 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"; ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DNOMORERFIO=\"/etc/operator/nomorerfio\" -DLOGFILE=\"/var/log/rfio/rfiod.log\" -DRFIO_ALRM=\"\" -DCNS_ROOT=\""/dpm"\" -DSTAGERSUPERUSER=\"dpmmgr\" -DSTAGERSUPERGROUP=\"dpmmgr\" -DSACCT -DFORTRAN -DNFSROOT=\"/shift\" -DCSEC -DVIRTUAL_ID -DUSE_VOMS -c -o write64.o write64.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_setacl.o Cns_setacl.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 'dpns_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"; ^ write64.c: In function 'rfio_write64': write64.c:43:3: warning: implicit declaration of function 'rfio_write64_v2' [-Wimplicit-function-declaration] return(rfio_write64_v2(s,(char *)ptr,size)); ^ write64.c: In function 'rfio_write64_v2': write64.c:127:7: warning: implicit declaration of function 'rfio_write_v2' [-Wimplicit-function-declaration] status = rfio_write_v2(s, ptr, size); ^ 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"; ^ write64.c: At top level: write64.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: write64.c,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:05 $ CERN/IT/PDP/DM F. Hemmer, A. Trannoy, F. Hassine, Philippe Gaillardon"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_setptime.o Cns_setptime.c write64.c: In function 'rfio_write64_v2': write64.c:241:24: warning: 'trp' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( netread_timeout(s,trp,msgsiz,RFIO_DATA_TIMEOUT) != msgsiz ) { ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_setrltime.o Cns_setrltime.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_setrstatus.o Cns_setrstatus.c Cns_setfsize.c: In function 'dpns_setfsizec': Cns_setfsize.c:30:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_setfsize.c: In function 'dpns_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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_setrtype.o Cns_setrtype.c Cns_setrstatus.c: In function 'dpns_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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_starttrans.o Cns_starttrans.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_umask.o Cns_umask.c Cns_setrtype.c: In function 'dpns_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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_undelete.o Cns_undelete.c 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"; ^ 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_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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_utime.o Cns_utime.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o send2nsd.o send2nsd.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 'dpns_lstat': Cns_stat.c:33:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_stat.c: In function 'dpns_statx': Cns_stat.c:117:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_stat.c: In function 'dpns_statg': Cns_stat.c:223:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_stat.c: In function 'dpns_statr': Cns_stat.c:321:9: warning: unused variable 'n' [-Wunused-variable] int c, n; ^ Cns_undelete.c: In function 'dpns_undelete': Cns_undelete.c:30: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"; ^ 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"; ^ 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"; ^ Cns_unlink.c: In function 'dpns_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"; ^ In file included from ../h/Cns_api.h:25:0, from send2nsd.c:24: ../h/dpns_api.h:134:19: warning: return type defaults to 'int' [-Wreturn-type] #define send2nsdx send2dpnsx ^ send2nsd.c:34:1: note: in expansion of macro 'send2nsdx' send2nsdx(socketp, host, reqp, reql, user_repbuf, user_repbuf_len, repbuf2, nbstruct) ^ send2nsd.c: In function 'send2dpnsx': send2nsd.c:179:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep (retryint); ^ send2nsd.c:194:5: warning: implicit declaration of function 'netconnect_timeout' [-Wimplicit-function-declaration] if (netconnect_timeout (s, ai->ai_addr, ai->ai_addrlen, ^ send2nsd.c:59:25: warning: unused variable 'lf' [-Wunused-variable] struct Cns_filestatus *lf; ^ In file included from ../h/Cns_api.h:25:0, from send2nsd.c:24: send2nsd.c: At top level: ../h/dpns_api.h:133:18: warning: return type defaults to 'int' [-Wreturn-type] #define send2nsd send2dpns ^ send2nsd.c:687: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: 3790 $ $Date: 2010-09-13 07:52:37 +0200 (Mon, 13 Sep 2010) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ send2nsd.c: In function 'send2dpnsx': send2nsd.c:374:37: warning: 'repbuf2sz' may be used uninitialized in this function [-Wmaybe-uninitialized] sizeof(struct Cns_linkinfo) > repbuf2sz) { ^ send2nsd.c:436:20: warning: 'ri' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)ri - (char *)(*repbuf2) + ^ send2nsd.c:474:20: warning: 'lx' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lx - (char *)(*repbuf2) + ^ send2nsd.c:654:21: warning: 'lui' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lui - (char *)(*repbuf2) + ^ send2nsd.c:567:20: warning: 'ls' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)ls - (char *)(*repbuf2) + ^ send2nsd.c:400:20: warning: 'lp' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lp - (char *)(*repbuf2) + ^ send2nsd.c:373:20: warning: 'li' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)li - (char *)(*repbuf2) + ^ send2nsd.c:624:21: warning: 'lgi' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((char *)lgi - (char *)(*repbuf2) + ^ ar rv librfio.a access.o alrm.o chdir.o checkkey.o chmod.o chown.o close.o closedir.o connect.o error.o fchmod.o fchown.o fclose.o feof.o ferror.o fflush.o fileno.o fio.o fopen.o fread.o fseek.o fstat.o ftell.o fwrite.o getc.o getcwd.o lockf.o lseek.o lstat.o lun2fn.o misc.o mkdir.o mstat.o msymlink.o munlink.o open.o opendir.o parse.o pclose.o popen.o pread.o preseek.o pwrite.o rcp.o read.o readdir.o readlink.o rename.o rewinddir.o rfio_apiinit.o rfio_auth.o rfio_HsmIf.o rfio_rdirfdt.o rfio_rfilefdt.o rfstatfs.o rmdir.o setopt.o stat.o statfs.o stream.o switch_req.o symlink.o unlink.o write.o xyclose.o xyopen.o xyread.o xywrite.o fopen64.o fseeko64.o fstat64.o ftello64.o lockf64.o lseek64.o open64.o preseek64.o read64.o stream64.o write64.o ar: creating librfio.a a - access.o a - alrm.o a - chdir.o a - checkkey.o a - chmod.o a - chown.o a - close.o a - closedir.o a - connect.o a - error.o a - fchmod.o a - fchown.o a - fclose.o a - feof.o a - ferror.o a - fflush.o a - fileno.o a - fio.o a - fopen.o a - fread.o a - fseek.o a - fstat.o a - ftell.o a - fwrite.o a - getc.o a - getcwd.o a - lockf.o a - lseek.o a - lstat.o a - lun2fn.o a - misc.o a - mkdir.o a - mstat.o a - msymlink.o a - munlink.o a - open.o a - opendir.o a - parse.o a - pclose.o a - popen.o a - pread.o a - preseek.o a - pwrite.o a - rcp.o a - read.o a - readdir.o a - readlink.o a - rename.o a - rewinddir.o a - rfio_apiinit.o a - rfio_auth.o a - rfio_HsmIf.o a - rfio_rdirfdt.o a - rfio_rfilefdt.o a - rfstatfs.o a - rmdir.o a - setopt.o a - stat.o a - statfs.o a - stream.o a - switch_req.o a - symlink.o a - unlink.o a - write.o a - xyclose.o a - xyopen.o a - xyread.o a - xywrite.o a - fopen64.o a - fseeko64.o a - fstat64.o a - ftello64.o a - lockf64.o a - lseek64.o a - open64.o a - preseek64.o a - read64.o a - stream64.o a - write64.o ranlib librfio.a 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_delreplica.o Cns_delreplicasbysfn.o Cns_du.o Cns_endsess.o Cns_endtrans.o Cns_entergrpmap.o Cns_enterusrmap.o Cns_enterclass.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_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_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_delreplica.o a - Cns_delreplicasbysfn.o a - Cns_du.o a - Cns_endsess.o a - Cns_endtrans.o a - Cns_entergrpmap.o a - Cns_enterusrmap.o a - Cns_enterclass.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_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_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.8.1.2/dpm-mysql/lcgdm-1.8.1.2/rfio' make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/ns' making libdpm.a in /builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/lib make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/lib' shlib: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/shlib' cd ../rfio ; make librfio.a cd ../ns ; make libns.a cd ../dpm ; make libdpm.a make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/rfio' make[2]: `librfio.a' is up to date. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/rfio' make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/ns' make[2]: `libns.a' is up to date. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/ns' make[2]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/dpm' make[2]: `libdpm.a' is up to date. make[2]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/dpm' making libdpm.so in /builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/shlib (cd tmp; cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -shared -Wl,-soname,libdpm.so.`echo 1.8.1|cut -f1 -d.` -o ../libdpm.so *.o -L.. -llcgdm ) make[1]: Leaving directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/shlib' ns: make[1]: Entering directory `/builddir/build/BUILD/lcgdm-1.8.1.2/dpm-mysql/lcgdm-1.8.1.2/ns' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsenterusrmap.o nsenterusrmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nslistusrmap.o nslistusrmap.c nschgrp.c:31:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsenterusrmap.c:19:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nschgrp.c: In function 'main': nschgrp.c:50:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "hR")) != EOF) { ^ 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"; ^ nsentergrpmap.c:19:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nschgrp.c:71:2: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (isdigit (*p)) { ^ nschgrp.c:124:4: warning: implicit declaration of function 'chgrpdir' [-Wimplicit-function-declaration] if (chgrpdir (fullpath, newuid, newgid)) ^ 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"; ^ nschgrp.c:39:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nschgrp.c: At top level: nschgrp.c:146:1: warning: return type defaults to 'int' [-Wreturn-type] chgrpdir (dir, newuid, newgid) ^ nschgrp.c: In function 'chgrpdir': nschgrp.c:151:6: warning: unused variable 'c' [-Wunused-variable] int c; ^ 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"; ^ nschmod.c:24:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nschmod.c: In function 'main': nschmod.c:48:2: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (isdigit (*mode_arg)) { /* absolute mode */ ^ nschmod.c:29:6: warning: unused variable 'c' [-Wunused-variable] int c; ^ nschmod.c:28:6: warning: variable 'absmode' set but not used [-Wunused-but-set-variable] int absmode = 0; ^ nsgetacl.c:33:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ 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"; ^ nsgetacl.c: In function 'main': nsgetacl.c:52:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "ad")) != EOF) { ^ nsgetacl.c: In function 'decode_group': nsgetacl.c:207:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nschown.c:32:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nschown.c: In function 'main': nschown.c:52:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "hR")) != EOF) { ^ nschown.c:77:2: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] else if (isdigit (*argv[optind])) { ^ nsgetacl.c: In function 'decode_user': nsgetacl.c:243:17: warning: unused variable 'pw' [-Wunused-variable] struct passwd *pw; ^ nschown.c:154:4: warning: implicit declaration of function 'chowndir' [-Wimplicit-function-declaration] if (chowndir (fullpath, newuid, newgid)) ^ 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"; ^ nschown.c:46:17: warning: unused variable 'pwd' [-Wunused-variable] struct passwd *pwd; ^ nschown.c:40:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nschown.c: At top level: nschown.c:176:1: warning: return type defaults to 'int' [-Wreturn-type] chowndir (dir, newuid, newgid) ^ nslistusrmap.c:21:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nschown.c: In function 'chowndir': 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"; ^ nschown.c:181:6: warning: unused variable 'c' [-Wunused-variable] int c; ^ 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"; ^ 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"; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsln.o nsln.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsmodifygrpmap.o nsmodifygrpmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsmodifyusrmap.o nsmodifyusrmap.c nsln.c:26:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsln.c: In function 'main': nsln.c:42:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "s")) != EOF) { ^ nsln.c:79:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = strrchr (argv[0], '/')) ^ nsln.c:87: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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsping.o nsping.c nsls.c:55:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsls.c: In function 'main': nsls.c:140:3: warning: implicit declaration of function 'procpath' [-Wimplicit-function-declaration] if (procpath (fullpath)) { ^ nsls.c:61:8: warning: unused variable 'endp' [-Wunused-variable] char *endp; ^ nsls.c:60:8: warning: unused variable 'dp' [-Wunused-variable] char *dp; ^ nsls.c: At top level: nsls.c:177:1: warning: return type defaults to 'int' [-Wreturn-type] procpath(fullpath) ^ nsls.c: In function 'procpath': nsls.c:194:3: warning: implicit declaration of function 'listdir' [-Wimplicit-function-declaration] return (listdir (fullpath)); ^ nsmkdir.c:30:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsls.c:205:3: warning: implicit declaration of function 'listentry' [-Wimplicit-function-declaration] return (listentry (fullpath, &statbuf, slink, comment)); ^ nsls.c: At top level: nsls.c:209:1: warning: return type defaults to 'int' [-Wreturn-type] listdir(dir) ^ nsmkdir.c: In function 'main': nsls.c:330:1: warning: return type defaults to 'int' [-Wreturn-type] listentry(path, statbuf, slink, comment) ^ 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"; ^ nsls.c: In function 'decode_group': nsls.c:421:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nsls.c: In function 'decode_user': nsls.c:445:17: warning: unused variable 'pw' [-Wunused-variable] struct passwd *pw; ^ 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: 4193 $ $Date: 2011-03-15 07:41:09 +0100 (Tue, 15 Mar 2011) $ CERN IT-PDP/DM Jean-Philippe Baud"; ^ nsmodifygrpmap.c:19:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsmodifygrpmap.c: In function 'main': nsmodifygrpmap.c:57:4: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (isdigit (*Coptarg)) { ^ nsmodifygrpmap.c: At top level: nsmodifygrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsmodifygrpmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 09:58:47 +0200 (Wed, 04 Aug 2010) $ CERN IT-GD/SC Jean-Philippe Baud"; ^ nsmodifyusrmap.c:19:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsmodifyusrmap.c: In function 'main': nsmodifyusrmap.c:57:4: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (isdigit (*Coptarg)) { ^ nsmodifyusrmap.c: At top level: nsmodifyusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)$RCSfile: nsmodifyusrmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 09:58:47 +0200 (Wed, 04 Aug 2010) $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsrename.o nsrename.c nsping.c:22:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsping.c: In function 'main': nsping.c:35:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "h:")) != EOF) { ^ nsping.c: At top level: 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsrm.o nsrm.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsrmgrpmap.o nsrmgrpmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nsrmusrmap.o nsrmusrmap.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o nssetacl.o nssetacl.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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_main.o Cns_main.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"; ^ nsls.c: In function 'listdir': nsls.c:285:17: warning: 'dll' may be used uninitialized in this function [-Wmaybe-uninitialized] dll->next = dlc; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_acl.o Cns_acl.c 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"; ^ nsrm.c:36:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nsrm.c: In function 'main': nsrm.c:103:6: warning: implicit declaration of function 'removedir' [-Wimplicit-function-declaration] c = removedir (fullpath); ^ nsrm.c:113:6: warning: implicit declaration of function 'isyes' [-Wimplicit-function-declaration] if (! isyes()) ^ nsrm.c: At top level: nsrm.c:137:1: warning: return type defaults to 'int' [-Wreturn-type] isyes() ^ nsrm.c:148:1: warning: return type defaults to 'int' [-Wreturn-type] removedir (dir) ^ 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"; ^ nsrmusrmap.c:19:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_chkperm.o Cns_chkperm.c nssetacl.c:31:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ nssetacl.c: In function 'main': nssetacl.c:57:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "dms")) != EOF) { ^ nssetacl.c: In function 'parse_entries': nssetacl.c:185:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = strchr (entry, ',')) { ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_mysql_ifce.o Cns_mysql_ifce.c nssetacl.c:241:5: warning: implicit declaration of function 'cvt_user' [-Wimplicit-function-declaration] if ((acl->a_id = cvt_user (p_id)) < 0) ^ nssetacl.c:244:5: warning: implicit declaration of function 'cvt_group' [-Wimplicit-function-declaration] if ((acl->a_id = cvt_group (p_id)) < 0) ^ nssetacl.c:250:4: warning: implicit declaration of function 'cvt_perm' [-Wimplicit-function-declaration] if ((n = cvt_perm (q)) < 0) ^ nssetacl.c: At top level: nssetacl.c:262:1: warning: return type defaults to 'int' [-Wreturn-type] cvt_group(char *p) ^ nssetacl.c: In function 'cvt_group': nssetacl.c:268:2: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (isdigit (*p)) { ^ nssetacl.c:266:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ nssetacl.c: At top level: nssetacl.c:291:1: warning: return type defaults to 'int' [-Wreturn-type] cvt_perm(char *p) ^ nssetacl.c:332:1: warning: return type defaults to 'int' [-Wreturn-type] cvt_user(char *p) ^ nssetacl.c: In function 'cvt_user': nssetacl.c:335:17: warning: unused variable 'pwd' [-Wunused-variable] struct passwd *pwd; ^ nssetacl.c: At top level: 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"; ^ Cns_acl.c:23:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_acl_chmod (struct Cns_file_metadata *fmd_entry) ^ 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': cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_procreq.o Cns_procreq.c 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"; ^ Cns_main.c:65:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_main(main_args) ^ Cns_main.c: In function 'Cns_main': Cns_main.c:139:5: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, "Invalid number of threads: %s\n", ^ Cns_main.c:169:4: warning: reading through null pointer (argument 4) [-Wformat=] sprintf (nsconfigfile, "%s%s", p, strchr (NSCONFIG, '\\')); ^ Cns_main.c:193:2: warning: implicit declaration of function 'Cns_init_dbpkg' [-Wimplicit-function-declaration] (void) Cns_init_dbpkg (); ^ Cns_main.c:265:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gaierrno=Cgetaddrinfo (NULL, strport, &hints, &aitop)) { ^ Cns_main.c:362: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:367:7: warning: implicit declaration of function 'sendrep' [-Wimplicit-function-declaration] sendrep (rqfd, CNS_RC, serrno); ^ Cns_main.c: At top level: Cns_main.c:390:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc, argv) ^ 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_main.c: In function 'doit': Cns_main.c:488:2: warning: implicit declaration of function 'getreq' [-Wimplicit-function-declaration] if ((c = getreq (thip->s, &magic, &req_type, &req_data, &clienthost)) == 0) { ^ Cns_main.c:489:3: warning: implicit declaration of function 'procreq' [-Wimplicit-function-declaration] c = procreq (magic, req_type, req_data, clienthost, thip); ^ Cns_main.c: At top level: Cns_main.c:507:1: warning: return type defaults to 'int' [-Wreturn-type] getreq(s, magic, req_type, req_data, clienthost) ^ Cns_main.c: In function 'getreq': Cns_chkperm.c:239:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_chkentryperm(fmd_entry, mode, uid, nbgids, gids, clienthost) ^ Cns_main.c:514:18: warning: unused variable 'hp' [-Wunused-variable] struct hostent *hp; ^ Cns_main.c: At top level: Cns_main.c:564:1: warning: return type defaults to 'int' [-Wreturn-type] procdirreq(magic, req_type, req_data, clienthost, thip) ^ Cns_main.c: In function 'procdirreq': Cns_main.c:591:3: warning: implicit declaration of function 'Cns_srv_opendir' [-Wimplicit-function-declaration] if (c = Cns_srv_opendir (magic, req_data, clienthost, thip)) ^ Cns_main.c:591:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] Cns_main.c:595:3: warning: implicit declaration of function 'Cns_srv_listclass' [-Wimplicit-function-declaration] if (c = Cns_srv_listclass (magic, req_data, clienthost, thip, ^ Cns_main.c:596:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &class_entry, endlist, &dblistptr)) ^ Cns_main.c:600:3: warning: implicit declaration of function 'Cns_srv_listlinks' [-Wimplicit-function-declaration] if (c = Cns_srv_listlinks (magic, req_data, clienthost, thip, ^ Cns_main.c:601:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &lnk_entry, endlist, &dblistptr)) ^ Cns_main.c:605:3: warning: implicit declaration of function 'Cns_srv_listrep4gc' [-Wimplicit-function-declaration] if (c = Cns_srv_listrep4gc (magic, req_data, clienthost, thip, ^ Cns_main.c:606:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:610:3: warning: implicit declaration of function 'Cns_srv_listreplica' [-Wimplicit-function-declaration] if (c = Cns_srv_listreplica (magic, req_data, clienthost, thip, ^ Cns_main.c:611:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &fmd_entry, &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:615:3: warning: implicit declaration of function 'Cns_srv_listreplicax' [-Wimplicit-function-declaration] if (c = Cns_srv_listreplicax (magic, req_data, clienthost, thip, ^ Cns_main.c:616:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:620:3: warning: implicit declaration of function 'Cns_srv_listrepset' [-Wimplicit-function-declaration] if (c = Cns_srv_listrepset (magic, req_data, clienthost, thip, ^ Cns_main.c:621:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &rep_entry, endlist, &dblistptr)) ^ Cns_main.c:625:3: warning: implicit declaration of function 'Cns_srv_listtape' [-Wimplicit-function-declaration] if (c = Cns_srv_listtape (magic, req_data, clienthost, thip, ^ Cns_main.c:626:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &fmd_entry, &smd_entry, endlist, &dblistptr)) ^ Cns_main.c:650:4: warning: implicit declaration of function 'Cns_srv_readdir' [-Wimplicit-function-declaration] c = Cns_srv_readdir (magic, req_data2, clienthost, thip, ^ Cns_main.c: At top level: Cns_main.c:699:1: warning: return type defaults to 'int' [-Wreturn-type] procreq(magic, req_type, req_data, clienthost, thip) ^ Cns_main.c: In function 'procreq': Cns_main.c:746:3: warning: implicit declaration of function 'getidmap' [-Wimplicit-function-declaration] if ((c = getidmap (thip, thip->Csec_auth_id, user_ca, ^ Cns_main.c:758:3: warning: implicit declaration of function 'Cns_srv_access' [-Wimplicit-function-declaration] c = Cns_srv_access (magic, req_data, clienthost, thip); ^ Cns_main.c:761:3: warning: implicit declaration of function 'Cns_srv_chclass' [-Wimplicit-function-declaration] c = Cns_srv_chclass (magic, req_data, clienthost, thip); ^ Cns_main.c:764:3: warning: implicit declaration of function 'Cns_srv_chdir' [-Wimplicit-function-declaration] c = Cns_srv_chdir (magic, req_data, clienthost, thip); ^ Cns_main.c:767:3: warning: implicit declaration of function 'Cns_srv_chmod' [-Wimplicit-function-declaration] c = Cns_srv_chmod (magic, req_data, clienthost, thip); ^ Cns_main.c:770:3: warning: implicit declaration of function 'Cns_srv_chown' [-Wimplicit-function-declaration] c = Cns_srv_chown (magic, req_data, clienthost, thip); ^ Cns_main.c:773:3: warning: implicit declaration of function 'Cns_srv_creat' [-Wimplicit-function-declaration] c = Cns_srv_creat (magic, req_data, clienthost, thip); ^ Cns_main.c:776:3: warning: implicit declaration of function 'Cns_srv_deleteclass' [-Wimplicit-function-declaration] c = Cns_srv_deleteclass (magic, req_data, clienthost, thip); ^ Cns_main.c:779:3: warning: implicit declaration of function 'Cns_srv_delcomment' [-Wimplicit-function-declaration] c = Cns_srv_delcomment (magic, req_data, clienthost, thip); ^ Cns_main.c:782:3: warning: implicit declaration of function 'Cns_srv_delete' [-Wimplicit-function-declaration] c = Cns_srv_delete (magic, req_data, clienthost, thip); ^ Cns_main.c:785:3: warning: implicit declaration of function 'Cns_srv_enterclass' [-Wimplicit-function-declaration] c = Cns_srv_enterclass (magic, req_data, clienthost, thip); ^ Cns_main.c:788:3: warning: implicit declaration of function 'Cns_srv_getacl' [-Wimplicit-function-declaration] c = Cns_srv_getacl (magic, req_data, clienthost, thip); ^ Cns_main.c:791:3: warning: implicit declaration of function 'Cns_srv_getcomment' [-Wimplicit-function-declaration] c = Cns_srv_getcomment (magic, req_data, clienthost, thip); ^ Cns_main.c:794:3: warning: implicit declaration of function 'Cns_srv_getpath' [-Wimplicit-function-declaration] c = Cns_srv_getpath (magic, req_data, clienthost, thip); ^ Cns_main.c:797:3: warning: implicit declaration of function 'Cns_srv_getsegattrs' [-Wimplicit-function-declaration] c = Cns_srv_getsegattrs (magic, req_data, clienthost, thip); ^ Cns_main.c:800:3: warning: implicit declaration of function 'Cns_srv_lchown' [-Wimplicit-function-declaration] c = Cns_srv_lchown (magic, req_data, clienthost, thip); ^ Cns_main.c:809:3: warning: implicit declaration of function 'Cns_srv_lstat' [-Wimplicit-function-declaration] c = Cns_srv_lstat (magic, req_data, clienthost, thip); ^ Cns_main.c:812:3: warning: implicit declaration of function 'Cns_srv_mkdir' [-Wimplicit-function-declaration] c = Cns_srv_mkdir (magic, req_data, clienthost, thip); ^ Cns_main.c:815:3: warning: implicit declaration of function 'Cns_srv_modifyclass' [-Wimplicit-function-declaration] c = Cns_srv_modifyclass (magic, req_data, clienthost, thip); ^ Cns_main.c:818:3: warning: implicit declaration of function 'Cns_srv_open' [-Wimplicit-function-declaration] c = Cns_srv_open (magic, req_data, clienthost, thip); ^ Cns_main.c:824:3: warning: implicit declaration of function 'Cns_srv_queryclass' [-Wimplicit-function-declaration] c = Cns_srv_queryclass (magic, req_data, clienthost, thip); ^ Cns_main.c:827:3: warning: implicit declaration of function 'Cns_srv_readlink' [-Wimplicit-function-declaration] c = Cns_srv_readlink (magic, req_data, clienthost, thip); ^ Cns_main.c:830:3: warning: implicit declaration of function 'Cns_srv_rename' [-Wimplicit-function-declaration] c = Cns_srv_rename (magic, req_data, clienthost, thip); ^ Cns_main.c:833:3: warning: implicit declaration of function 'Cns_srv_rmdir' [-Wimplicit-function-declaration] c = Cns_srv_rmdir (magic, req_data, clienthost, thip); ^ Cns_main.c:836:3: warning: implicit declaration of function 'Cns_srv_setacl' [-Wimplicit-function-declaration] c = Cns_srv_setacl (magic, req_data, clienthost, thip); ^ Cns_main.c:839:3: warning: implicit declaration of function 'Cns_srv_setatime' [-Wimplicit-function-declaration] c = Cns_srv_setatime (magic, req_data, clienthost, thip); ^ Cns_main.c:842:3: warning: implicit declaration of function 'Cns_srv_setcomment' [-Wimplicit-function-declaration] c = Cns_srv_setcomment (magic, req_data, clienthost, thip); ^ Cns_main.c:845:3: warning: implicit declaration of function 'Cns_srv_setfsize' [-Wimplicit-function-declaration] c = Cns_srv_setfsize (magic, req_data, clienthost, thip); ^ Cns_main.c:848:3: warning: implicit declaration of function 'Cns_srv_setsegattrs' [-Wimplicit-function-declaration] c = Cns_srv_setsegattrs (magic, req_data, clienthost, thip); ^ Cns_main.c:851:3: warning: implicit declaration of function 'Cns_srv_shutdown' [-Wimplicit-function-declaration] c = Cns_srv_shutdown (magic, req_data, clienthost, thip); ^ Cns_main.c:854:3: warning: implicit declaration of function 'Cns_srv_stat' [-Wimplicit-function-declaration] c = Cns_srv_stat (magic, req_data, clienthost, thip); ^ Cns_main.c:857:3: warning: implicit declaration of function 'Cns_srv_symlink' [-Wimplicit-function-declaration] c = Cns_srv_symlink (magic, req_data, clienthost, thip); ^ Cns_main.c:860:3: warning: implicit declaration of function 'Cns_srv_undelete' [-Wimplicit-function-declaration] c = Cns_srv_undelete (magic, req_data, clienthost, thip); ^ Cns_main.c:863:3: warning: implicit declaration of function 'Cns_srv_unlink' [-Wimplicit-function-declaration] c = Cns_srv_unlink (magic, req_data, clienthost, thip); ^ Cns_main.c:866:3: warning: implicit declaration of function 'Cns_srv_utime' [-Wimplicit-function-declaration] c = Cns_srv_utime (magic, req_data, clienthost, thip); ^ Cns_main.c:869:3: warning: implicit declaration of function 'Cns_srv_replaceseg' [-Wimplicit-function-declaration] c = Cns_srv_replaceseg (magic, req_data, clienthost, thip); ^ Cns_main.c:872:3: warning: implicit declaration of function 'Cns_srv_addreplica' [-Wimplicit-function-declaration] c = Cns_srv_addreplica (magic, req_data, clienthost, thip); ^ Cns_main.c:875:3: warning: implicit declaration of function 'Cns_srv_delreplica' [-Wimplicit-function-declaration] c = Cns_srv_delreplica (magic, req_data, clienthost, thip); ^ Cns_main.c:881:3: warning: implicit declaration of function 'proctransreq' [-Wimplicit-function-declaration] c = proctransreq (magic, req_data, clienthost, thip); ^ Cns_main.c:884:3: warning: implicit declaration of function 'Cns_srv_endtrans' [-Wimplicit-function-declaration] c = Cns_srv_endtrans (magic, req_data, clienthost, thip); ^ Cns_main.c:887:3: warning: implicit declaration of function 'Cns_srv_aborttrans' [-Wimplicit-function-declaration] c = Cns_srv_aborttrans (magic, req_data, clienthost, thip); ^ Cns_main.c:893:3: warning: implicit declaration of function 'Cns_srv_setfsizeg' [-Wimplicit-function-declaration] c = Cns_srv_setfsizeg (magic, req_data, clienthost, thip); ^ Cns_main.c:896:3: warning: implicit declaration of function 'Cns_srv_statg' [-Wimplicit-function-declaration] c = Cns_srv_statg (magic, req_data, clienthost, thip); ^ Cns_main.c:899:3: warning: implicit declaration of function 'Cns_srv_statr' [-Wimplicit-function-declaration] c = Cns_srv_statr (magic, req_data, clienthost, thip); ^ Cns_main.c:902:3: warning: implicit declaration of function 'Cns_srv_setptime' [-Wimplicit-function-declaration] c = Cns_srv_setptime (magic, req_data, clienthost, thip); ^ Cns_main.c:905:3: warning: implicit declaration of function 'Cns_srv_setratime' [-Wimplicit-function-declaration] c = Cns_srv_setratime (magic, req_data, clienthost, thip); ^ Cns_main.c:908:3: warning: implicit declaration of function 'Cns_srv_setrstatus' [-Wimplicit-function-declaration] c = Cns_srv_setrstatus (magic, req_data, clienthost, thip); ^ Cns_main.c:911:3: warning: implicit declaration of function 'Cns_srv_accessr' [-Wimplicit-function-declaration] c = Cns_srv_accessr (magic, req_data, clienthost, thip); ^ Cns_main.c:920:3: warning: implicit declaration of function 'procsessreq' [-Wimplicit-function-declaration] c = procsessreq (magic, req_data, clienthost, thip); ^ Cns_main.c:923:3: warning: implicit declaration of function 'Cns_srv_endsess' [-Wimplicit-function-declaration] c = Cns_srv_endsess (magic, req_data, clienthost, thip); ^ 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_main.c:926:3: warning: implicit declaration of function 'Cns_srv_du' [-Wimplicit-function-declaration] c = Cns_srv_du (magic, req_data, clienthost, thip); ^ Cns_main.c:929:3: warning: implicit declaration of function 'Cns_srv_getgrpbynam' [-Wimplicit-function-declaration] c = Cns_srv_getgrpbynam (magic, req_data, clienthost, thip); ^ Cns_main.c:932:3: warning: implicit declaration of function 'Cns_srv_getgrpbygid' [-Wimplicit-function-declaration] c = Cns_srv_getgrpbygid (magic, req_data, clienthost, thip); ^ Cns_main.c:935:3: warning: implicit declaration of function 'Cns_srv_getidmap' [-Wimplicit-function-declaration] c = Cns_srv_getidmap (magic, req_data, clienthost, thip); ^ Cns_main.c:938:3: warning: implicit declaration of function 'Cns_srv_getusrbynam' [-Wimplicit-function-declaration] c = Cns_srv_getusrbynam (magic, req_data, clienthost, thip); ^ Cns_main.c:941:3: warning: implicit declaration of function 'Cns_srv_getusrbyuid' [-Wimplicit-function-declaration] c = Cns_srv_getusrbyuid (magic, req_data, clienthost, thip); ^ Cns_main.c:944:3: warning: implicit declaration of function 'Cns_srv_modgrpmap' [-Wimplicit-function-declaration] c = Cns_srv_modgrpmap (magic, req_data, clienthost, thip); ^ Cns_main.c:947:3: warning: implicit declaration of function 'Cns_srv_modusrmap' [-Wimplicit-function-declaration] c = Cns_srv_modusrmap (magic, req_data, clienthost, thip); ^ Cns_main.c:950:3: warning: implicit declaration of function 'Cns_srv_rmgrpmap' [-Wimplicit-function-declaration] c = Cns_srv_rmgrpmap (magic, req_data, clienthost, thip); ^ Cns_main.c:953:3: warning: implicit declaration of function 'Cns_srv_rmusrmap' [-Wimplicit-function-declaration] c = Cns_srv_rmusrmap (magic, req_data, clienthost, thip); ^ Cns_main.c:956:3: warning: implicit declaration of function 'Cns_srv_getlinks' [-Wimplicit-function-declaration] c = Cns_srv_getlinks (magic, req_data, clienthost, thip); ^ Cns_main.c:959:3: warning: implicit declaration of function 'Cns_srv_getreplica' [-Wimplicit-function-declaration] c = Cns_srv_getreplica (magic, req_data, clienthost, thip); ^ Cns_main.c:962:3: warning: implicit declaration of function 'Cns_srv_entergrpmap' [-Wimplicit-function-declaration] c = Cns_srv_entergrpmap (magic, req_data, clienthost, thip); ^ Cns_main.c:965:3: warning: implicit declaration of function 'Cns_srv_enterusrmap' [-Wimplicit-function-declaration] c = Cns_srv_enterusrmap (magic, req_data, clienthost, thip); ^ Cns_main.c:968:3: warning: implicit declaration of function 'Cns_srv_setrtype' [-Wimplicit-function-declaration] c = Cns_srv_setrtype (magic, req_data, clienthost, thip); ^ Cns_main.c:971:3: warning: implicit declaration of function 'Cns_srv_modreplica' [-Wimplicit-function-declaration] c = Cns_srv_modreplica (magic, req_type, req_data, clienthost, thip); ^ Cns_main.c:974:3: warning: implicit declaration of function 'Cns_srv_getreplicax' [-Wimplicit-function-declaration] c = Cns_srv_getreplicax (magic, req_data, clienthost, thip); ^ Cns_main.c:980:3: warning: implicit declaration of function 'Cns_srv_setrltime' [-Wimplicit-function-declaration] c = Cns_srv_setrltime (magic, req_data, clienthost, thip); ^ Cns_main.c:983:3: warning: implicit declaration of function 'Cns_srv_getreplicas' [-Wimplicit-function-declaration] c = Cns_srv_getreplicas (magic, req_data, clienthost, thip); ^ Cns_main.c:986:3: warning: implicit declaration of function 'Cns_srv_getgrpbygids' [-Wimplicit-function-declaration] c = Cns_srv_getgrpbygids (magic, req_data, clienthost, thip); ^ Cns_main.c:989:3: warning: implicit declaration of function 'Cns_srv_ping' [-Wimplicit-function-declaration] c = Cns_srv_ping (magic, req_data, clienthost, thip); ^ Cns_main.c:992:3: warning: implicit declaration of function 'Cns_srv_delfiles' [-Wimplicit-function-declaration] c = Cns_srv_delfiles (magic, req_data, clienthost, thip); ^ Cns_main.c:995:3: warning: implicit declaration of function 'Cns_srv_delfilesbypattern' [-Wimplicit-function-declaration] c = Cns_srv_delfilesbypattern (magic, req_data, clienthost, thip); ^ Cns_main.c:998:3: warning: implicit declaration of function 'Cns_srv_delreplicas' [-Wimplicit-function-declaration] c = Cns_srv_delreplicas (magic, req_data, clienthost, thip); ^ Cns_main.c:1001:3: warning: implicit declaration of function 'Cns_srv_getgrpmap' [-Wimplicit-function-declaration] c = Cns_srv_getgrpmap (magic, req_data, clienthost, thip); ^ Cns_main.c:1004:3: warning: implicit declaration of function 'Cns_srv_getusrmap' [-Wimplicit-function-declaration] c = Cns_srv_getusrmap (magic, req_data, clienthost, thip); ^ Cns_main.c:1007:3: warning: implicit declaration of function 'Cns_srv_getreplicasl' [-Wimplicit-function-declaration] c = Cns_srv_getreplicasl (magic, req_data, clienthost, thip); ^ Cns_main.c:1013:3: warning: implicit declaration of function 'Cns_srv_delreplicasbysfn' [-Wimplicit-function-declaration] c = Cns_srv_delreplicasbysfn (magic, req_data, clienthost, thip); ^ Cns_main.c:1016:3: warning: implicit declaration of function 'Cns_srv_registerfiles' [-Wimplicit-function-declaration] c = Cns_srv_registerfiles (magic, req_data, clienthost, thip); ^ Cns_main.c:1019:3: warning: implicit declaration of function 'Cns_srv_getreplicass' [-Wimplicit-function-declaration] c = Cns_srv_getreplicass (magic, req_data, clienthost, thip); ^ Cns_main.c: At top level: Cns_main.c:1028:1: warning: return type defaults to 'int' [-Wreturn-type] procsessreq(magic, req_data, clienthost, thip) ^ Cns_main.c: In function 'procsessreq': Cns_main.c:1040:2: warning: implicit declaration of function 'Cns_srv_startsess' [-Wimplicit-function-declaration] (void) Cns_srv_startsess (magic, req_data, clienthost, thip); ^ Cns_main.c:1057:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rc = getreq (thip->s, &magic, &req_type, &req_data2, &clienthost)) { ^ Cns_main.c: At top level: Cns_main.c:1071:1: warning: return type defaults to 'int' [-Wreturn-type] proctransreq(magic, req_data, clienthost, thip) ^ Cns_main.c: In function 'proctransreq': Cns_main.c:1083:2: warning: implicit declaration of function 'Cns_srv_starttrans' [-Wimplicit-function-declaration] (void) Cns_srv_starttrans (magic, req_data, clienthost, thip); ^ Cns_main.c:1101:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rc = getreq (thip->s, &magic, &req_type, &req_data2, &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: 3958 $ $Date: 2010-11-10 12:59:45 +0100 (Wed, 10 Nov 2010) $ 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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cupv_check.o Cupv_check.c Cns_mysql_ifce.c:22:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_init_dbpkg() ^ Cns_mysql_ifce.c: In function 'Cns_init_dbpkg': Cns_mysql_ifce.c:24:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ Cns_mysql_ifce.c: In function 'Cns_mysql_error': Cns_mysql_ifce.c:41:2: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, "%s error: %s\n", sql_method, mysql_error (&dbfd->mysql)); ^ Cns_mysql_ifce.c: At top level: Cns_mysql_ifce.c:51:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_abort_tr(dbfd) ^ Cns_mysql_ifce.c:60:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_closedb(dbfd) ^ Cns_mysql_ifce.c:67:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_class_entry(row, lock, rec_addr, class_entry) ^ Cns_mysql_ifce.c:93:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_fmd_entry(row, lock, rec_addr, fmd_entry) ^ Cns_mysql_ifce.c:123:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_rep_entry (row, lock, rec_addr, rep_entry) ^ Cns_mysql_ifce.c:154:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_smd_entry(row, lock, rec_addr, smd_entry) ^ Cns_mysql_ifce.c:180:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_decode_tppool_entry(row, lock, rec_addr, tppool_entry) ^ Cns_mysql_ifce.c:194:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_class_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:212:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_fmd_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:230:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_lnk_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:248:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_rep_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:266:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_smd_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:284:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_tppool_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:302:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_umd_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:320:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_end_tr(dbfd) ^ Cns_mysql_ifce.c:329:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_exec_query(func, dbfd, sql_stmt, res) ^ Cns_mysql_ifce.c:346: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:389: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:432: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:475: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:524: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:565: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:627: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:669:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_max_copyno (dbfd, fileid, copyno) ^ Cns_mysql_ifce.c:699: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:741: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:786: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:836: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:872: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:914: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:956:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_class_entry(dbfd, class_entry) ^ Cns_mysql_ifce.c:992:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_fmd_entry(dbfd, fmd_entry) ^ Cns_mysql_ifce.c:1053:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_lnk_entry(dbfd, lnk_entry) ^ Cns_mysql_ifce.c:1084:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_rep_entry(dbfd, rep_entry) ^ Cns_mysql_ifce.c:1189:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_smd_entry(dbfd, smd_entry) ^ Cns_mysql_ifce.c:1226:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_tppool_entry(dbfd, tppool_entry) ^ Cns_mysql_ifce.c:1253:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_umd_entry(dbfd, umd_entry) ^ Cns_mysql_ifce.c:1282:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_class_entry(dbfd, bol, class_entry, endlist, dblistptr) ^ Cns_mysql_ifce.c:1319:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_group_entry(dbfd, bol, group_entry, endlist, dblistptr) ^ Cns_mysql_ifce.c:1352:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_lnk_entry(dbfd, bol, linkname, lnk_entry, endlist, dblistptr) ^ Cns_mysql_ifce.c: In function 'Cns_list_lnk_entry': Cns_mysql_ifce.c:1361:7: warning: unused variable 'fileid_str' [-Wunused-variable] char fileid_str[21]; ^ Cns_mysql_ifce.c: At top level: Cns_mysql_ifce.c:1391:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep4admin(dbfd, bol, poolname, server, fs, rep_entry, endlist, dblistptr) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -Dlinux -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"dpns\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/var/log/dpns/log\" -DNSCONFIG=\"/etc/DPNSCONFIG\" -DSACCT -DACCTFILE=\"/var/log/sacct/sacct\" -DNSTYPE_DPNS -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o sendrep.o sendrep.c Cns_mysql_ifce.c:1453:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep4gc(dbfd, bol, poolname, rep_entry, endlist, dblistptr) ^ Cns_mysql_ifce.c:1489: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:1536:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_rep_set(dbfd, bol, setname, rep_entry, endlist, dblistptr) ^ Cns_mysql_ifce.c:1571:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_list_user_entry(dbfd, bol, user_entry, endlist, dblistptr) ^ Cns_mysql_ifce.c:1605:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_opendb(db_srvr, db_user, db_pwd, db_name, dbfd) ^ Cns_mysql_ifce.c:1628:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_pingdb(dbfd) ^ Cns_mysql_ifce.c:1642:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_start_tr(s, dbfd) ^ Cns_mysql_ifce.c:1653:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_unique_id(dbfd, unique_id) ^ Cns_mysql_ifce.c:1694:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_class_entry(dbfd, rec_addr, class_entry) ^ Cns_mysql_ifce.c:1727:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_fmd_entry(dbfd, rec_addr, fmd_entry) ^ Cns_mysql_ifce.c:1782:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_rep_entry(dbfd, rec_addr, rep_entry) ^ Cns_mysql_ifce.c:1862:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_smd_entry(dbfd, rec_addr, smd_entry) ^ Cns_mysql_ifce.c:1892:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_umd_entry(dbfd, rec_addr, umd_entry) ^ Cns_mysql_ifce.c:1917:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_group_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:1935:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_delete_user_entry(dbfd, rec_addr) ^ Cns_mysql_ifce.c:1953: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:1990: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:2027: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:2069:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_get_usrinfo_by_uid(dbfd, uid, user_entry, lock, rec_addr) ^ Cns_procreq.c:50:1: warning: return type defaults to 'int' [-Wreturn-type] get_client_actual_id (thip, uid, gid, nbgids, gids, user) ^ Cns_procreq.c:83:1: warning: return type defaults to 'int' [-Wreturn-type] getpath (thip, cur_fileid, path) ^ Cns_mysql_ifce.c:2108:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_group_entry(dbfd, group_entry) ^ Cns_procreq.c: In function 'Cns_logreq': Cns_procreq.c:133:3: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] nslogit (func, NS098, p); ^ Cns_mysql_ifce.c:2131:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_insert_user_entry(dbfd, user_entry) ^ Cns_procreq.c: At top level: Cns_procreq.c:154:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRR (sbpp, magic, rep_entry) ^ Cns_mysql_ifce.c:2161:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_unique_gid(dbfd, unique_id) ^ Cns_procreq.c:177:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRX (sbpp, magic, fmd_entry) ^ Cns_mysql_ifce.c:2207:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_unique_uid(dbfd, unique_id) ^ Cns_procreq.c:206:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRXR (sbpp, magic, fmd_entry) ^ Cns_mysql_ifce.c:2252:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_group_entry(dbfd, rec_addr, group_entry) ^ Cns_mysql_ifce.c:2277:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_unique_gid(dbfd, unique_id) ^ Cns_procreq.c:222:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_DIRXT (sbpp, magic, fmd_entry, smd_entry) ^ Cns_mysql_ifce.c:2321:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_update_unique_uid(dbfd, unique_id) ^ Cns_procreq.c:248:1: warning: return type defaults to 'int' [-Wreturn-type] marshall_REPLICS (sbpp, magic, fmd_entry, rep_entry, errcode) ^ Cns_mysql_ifce.c:2365: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: 3958 $ $Date: 2010-11-10 12:59:45 +0100 (Wed, 10 Nov 2010) $ CERN IT-DS/HSM Jean-Philippe Baud"; ^ Cns_procreq.c:294:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_aborttrans(magic, req_data, clienthost, thip) ^ Cns_procreq.c: In function 'Cns_srv_aborttrans': Cns_procreq.c:318: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:319:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ Cns_mysql_ifce.c: In function 'Cns_decode_class_entry': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:323:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_mysql_ifce.c:91:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Cns_procreq.c: At top level: Cns_procreq.c:328:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_access(magic, req_data, clienthost, thip) ^ Cns_mysql_ifce.c: In function 'Cns_decode_fmd_entry': Cns_mysql_ifce.c:121:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Cns_procreq.c:390:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_accessr(magic, req_data, clienthost, thip) ^ Cns_mysql_ifce.c: In function 'Cns_decode_rep_entry': Cns_mysql_ifce.c:152:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Cns_mysql_ifce.c: In function 'Cns_decode_smd_entry': Cns_mysql_ifce.c:178:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Cns_procreq.c:462:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_addreplica(magic, req_data, clienthost, thip) ^ Cns_mysql_ifce.c: In function 'Cns_decode_tppool_entry': Cns_mysql_ifce.c:192:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_addreplica': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:501:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:504:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:507:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:509:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:511:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:521:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:524:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:530:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:544:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:555:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:558:4: note: in expansion of macro 'RETURN' RETURN (ENOENT); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:561:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:568:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:577:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:579:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:598:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:599:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:604:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chclass(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chclass': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:640:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:644:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:647:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:660:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:669:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:671:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:665: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:673:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:679:5: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:681:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ Cns_procreq.c:675: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:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:688:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:690:3: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:43: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 (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:702:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:707:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:711:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:713:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:718:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chdir(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chdir': ../h/Cns_server.h:43: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 (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:753:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:762:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:765:3: note: in expansion of macro 'RETURN' RETURN (ENOTDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:767:3: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:774:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:779:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chmod(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chmod': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:810:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:813:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:816:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:830:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:836:3: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:849:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:850:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c: At top level: Cns_procreq.c:855:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_chown(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_chown': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:893:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:896:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:899:3: note: in expansion of macro 'RETURN' RETURN (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:914:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:961:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:965:4: note: in expansion of macro 'RETURN' RETURN (EPERM); ^ ../h/Cns_server.h:43: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 (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:979:2: note: in expansion of macro 'RETURN' RETURN (0); ^ Cns_procreq.c:870:9: warning: unused variable 'membername' [-Wunused-variable] char **membername; ^ Cns_procreq.c:867:16: warning: unused variable 'gr' [-Wunused-variable] struct group *gr; ^ Cns_procreq.c:863:6: warning: unused variable 'found' [-Wunused-variable] int found; ^ Cns_procreq.c: At top level: Cns_procreq.c:984:1: warning: return type defaults to 'int' [-Wreturn-type] Cns_srv_creat(magic, req_data, clienthost, thip) ^ In file included from Cns_procreq.c:35:0: Cns_procreq.c: In function 'Cns_srv_creat': ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1029:3: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1032:3: note: in expansion of macro 'RETURN' RETURN (EROFS); ^ ../h/Cns_server.h:43: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 (SENAMETOOLONG); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1040:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1042:4: note: in expansion of macro 'RETURN' RETURN (EINVAL); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1057:3: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1060:3: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1064:4: note: in expansion of macro 'RETURN' RETURN (EISDIR); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1066:4: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1071:4: note: in expansion of macro 'RETURN' RETURN (EACCES); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1080:5: note: in expansion of macro 'RETURN' RETURN (EEXIST); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1085:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1092:6: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1098:5: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thip->dbfd.tr_started) \ ^ Cns_procreq.c:1112:4: note: in expansion of macro 'RETURN' RETURN (serrno); ^ ../h/Cns_server.h:43:5: warning: sugge