Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/shapelib.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.5k1KO0:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '17aa870709224358b27c1bce5e0bf053', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.5k1KO0:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/shapelib.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/shapelib-1.3.0-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/shapelib.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.5k1KO0:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c038cfb369214f4682ae5299dfd1ddbd', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.5k1KO0:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/shapelib.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1aKY7J + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf shapelib-1.3.0 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/shapelib-1.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd shapelib-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (shapelib_autotools.patch):' Patch #0 (shapelib_autotools.patch): + /usr/bin/cat /builddir/build/SOURCES/shapelib_autotools.patch + /usr/bin/patch -p1 --fuzz=0 patching file AUTHORS patching file COPYING patching file HOWTO-RELEASE patching file LICENSE.LGPL patching file Makefile patching file Makefile.am patching file NEWS patching file README patching file autogen.sh patching file configure.ac patching file contrib/Makefile patching file contrib/Makefile.am patching file contrib/Shape_PointInPoly_README.txt patching file contrib/doc/Shape_PointInPoly_README.txt patching file contrib/doc/shpsort.txt patching file contrib/my_nan.h patching file contrib/shpgeo.c patching file contrib/shpsort.txt patching file contrib/tests/shpproj.sh patching file m4/.gitignore patching file makeshape.sh patching file mkdist.sh patching file mkinstalldirs patching file mkrelease.sh patching file shapelib.pc.in patching file stream1.out patching file stream1.sh patching file stream2.out patching file stream2.sh patching file stream3.out patching file tests/stream1.out patching file tests/stream2.out patching file tests/stream3.out patching file tests/test1.sh patching file tests/test2.sh patching file tests/test3.sh + echo 'Patch #1 (shapelib_backports.patch):' Patch #1 (shapelib_backports.patch): + /usr/bin/cat /builddir/build/SOURCES/shapelib_backports.patch + /usr/bin/patch -p1 --fuzz=0 patching file dbfopen.c patching file shptree.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.G7PVzd + umask 022 + cd /builddir/build/BUILD + cd shapelib-1.3.0 + NOCONFIGURE=1 + sh ./autogen.sh Running autoreconf... BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.ac: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force -I m4 BUILDSTDERR: autoreconf: configure.ac: tracing BUILDSTDERR: autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: autoreconf: configure.ac: not using Autoheader BUILDSTDERR: autoreconf: running: automake --add-missing --copy --force-missing BUILDSTDERR: configure.ac:16: installing './ar-lib' BUILDSTDERR: configure.ac:23: installing './compile' BUILDSTDERR: configure.ac:28: installing './config.guess' BUILDSTDERR: configure.ac:28: installing './config.sub' BUILDSTDERR: configure.ac:12: installing './install-sh' BUILDSTDERR: configure.ac:12: installing './missing' BUILDSTDERR: Makefile.am: installing './INSTALL' BUILDSTDERR: Makefile.am: installing './depcomp' BUILDSTDERR: parallel-tests: installing './test-driver' BUILDSTDERR: autoreconf: Leaving directory `.' Skipping configure process. + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' i386 == ppc64le ']' BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + ./configure --build=i386-redhat-linux-gnu --host=i386-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for i386-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for i386-redhat-linux-gnu-ar... no checking for i386-redhat-linux-gnu-lib... no checking for i386-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for i386-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for i386-redhat-linux-gnu-g++... no checking for i386-redhat-linux-gnu-c++... no checking for i386-redhat-linux-gnu-gpp... no checking for i386-redhat-linux-gnu-aCC... no checking for i386-redhat-linux-gnu-CC... no checking for i386-redhat-linux-gnu-cxx... no checking for i386-redhat-linux-gnu-cc++... no checking for i386-redhat-linux-gnu-cl.exe... no checking for i386-redhat-linux-gnu-FCC... no checking for i386-redhat-linux-gnu-KCC... no checking for i386-redhat-linux-gnu-RCC... no checking for i386-redhat-linux-gnu-xlC_r... no checking for i386-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether gcc and cc understand -c and -o together... yes checking build system type... i386-redhat-linux-gnu checking host system type... i386-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i386-redhat-linux-gnu file names to i386-redhat-linux-gnu format... func_convert_file_noop checking how to convert i386-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i386-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i386-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i386-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for i386-redhat-linux-gnu-strip... no checking for strip... strip checking for i386-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for i386-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for some Win32 platform... no Configuration summary for shapelib 1.3.0: - Host: i386-redhat-linux-gnu - PROJ flags: -lproj checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating contrib/Makefile config.status: creating shapelib.pc config.status: executing depfiles commands config.status: executing libtool commands + make -j4 Making all in . make[1]: Entering directory `/builddir/build/BUILD/shapelib-1.3.0' CC shpopen.lo CC dbfopen.lo CC safileio.lo CC shptree.lo CC dbfadd.o CC dbfcreate.o CC dbfdump.o CC shpadd.o CC shpcreate.o CC shpdump.o CC shprewind.o CC shptreedump.o CC shputils.o BUILDSTDERR: shputils.c: In function 'findunit': BUILDSTDERR: shputils.c:942:6: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: "CM", 39.37, BUILDSTDERR: ^ BUILDSTDERR: shputils.c:942:6: warning: (near initialization for 'unitkeytab[0]') [-Wmissing-braces] BUILDSTDERR: shputils.c: In function 'clip_boundary': BUILDSTDERR: shputils.c:900:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ CC shptest.o CCLD libshp.la CCLD dbfadd CCLD dbfdump CCLD dbfcreate CCLD shpadd CCLD shpcreate CCLD shpdump CCLD shprewind CCLD shptreedump CCLD shputils CCLD shptest make[1]: Leaving directory `/builddir/build/BUILD/shapelib-1.3.0' Making all in contrib make[1]: Entering directory `/builddir/build/BUILD/shapelib-1.3.0/contrib' CC dbfcat-dbfcat.o CC dbfinfo-dbfinfo.o CC shpcat-shpcat.o CC shpdxf-shpdxf.o BUILDSTDERR: dbfcat.c: In function 'main': BUILDSTDERR: dbfcat.c:137:6: warning: enumeration value 'FTLogical' not handled in switch [-Wswitch] BUILDSTDERR: switch( cType ) BUILDSTDERR: ^ BUILDSTDERR: dbfcat.c:137:6: warning: enumeration value 'FTInvalid' not handled in switch [-Wswitch] BUILDSTDERR: dbfcat.c:130:9: warning: unused variable 'cf' [-Wunused-variable] BUILDSTDERR: double cf; BUILDSTDERR: ^ BUILDSTDERR: dbfcat.c:41:17: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int hflds, j, cflds; BUILDSTDERR: ^ BUILDSTDERR: dbfcat.c:33:24: warning: unused variable 'szField' [-Wunused-variable] BUILDSTDERR: char szFormat[32], szField[1024]; BUILDSTDERR: ^ BUILDSTDERR: dbfcat.c:33:10: warning: unused variable 'szFormat' [-Wunused-variable] BUILDSTDERR: char szFormat[32], szField[1024]; BUILDSTDERR: ^ BUILDSTDERR: dbfcat.c:32:11: warning: unused variable 'panWidth' [-Wunused-variable] BUILDSTDERR: int *panWidth, i, iRecord; BUILDSTDERR: ^ BUILDSTDERR: dbfcat.c: At top level: BUILDSTDERR: dbfcat.c:21:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char rcsid[] = BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c: In function 'main': BUILDSTDERR: dbfinfo.c:64:5: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] BUILDSTDERR: printf ("%ld Columns, %ld Records in file\n",i,DBFGetRecordCount(hDBF)); BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c:64:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] BUILDSTDERR: dbfinfo.c:76:15: warning: unused variable 'eType' [-Wunused-variable] BUILDSTDERR: DBFFieldType eType; BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c:37:14: warning: unused variable 'ciRecord' [-Wunused-variable] BUILDSTDERR: int ci, ciRecord; BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c:37:10: warning: unused variable 'ci' [-Wunused-variable] BUILDSTDERR: int ci, ciRecord; BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c:36:24: warning: unused variable 'cType' [-Wunused-variable] BUILDSTDERR: DBFFieldType hType,cType; BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c:36:18: warning: unused variable 'hType' [-Wunused-variable] BUILDSTDERR: DBFFieldType hType,cType; BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c:35:15: warning: unused variable 'cDBF' [-Wunused-variable] BUILDSTDERR: DBFHandle cDBF; BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c:34:19: warning: unused variable 'cnDecimals' [-Wunused-variable] BUILDSTDERR: int cnWidth, cnDecimals; BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c:34:10: warning: unused variable 'cnWidth' [-Wunused-variable] BUILDSTDERR: int cnWidth, cnDecimals; BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c:32:33: warning: unused variable 'nTitle' [-Wunused-variable] BUILDSTDERR: char ftype[15], cTitle[32], nTitle[32]; BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c:32:21: warning: unused variable 'cTitle' [-Wunused-variable] BUILDSTDERR: char ftype[15], cTitle[32], nTitle[32]; BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c:31:24: warning: unused variable 'szField' [-Wunused-variable] BUILDSTDERR: char szFormat[32], szField[1024]; BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c:31:10: warning: unused variable 'szFormat' [-Wunused-variable] BUILDSTDERR: char szFormat[32], szField[1024]; BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c:30:24: warning: unused variable 'iRecord' [-Wunused-variable] BUILDSTDERR: int *panWidth, i, iRecord; BUILDSTDERR: ^ BUILDSTDERR: dbfinfo.c:30:11: warning: variable 'panWidth' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int *panWidth, i, iRecord; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/string.h:638:0, BUILDSTDERR: from dbfinfo.c:23: BUILDSTDERR: In function 'strcpy', BUILDSTDERR: inlined from 'main' at dbfinfo.c:92:14: BUILDSTDERR: /usr/include/bits/string3.h:104:3: warning: call to __builtin___memcpy_chk will always overflow destination buffer [enabled by default] BUILDSTDERR: return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); BUILDSTDERR: ^ BUILDSTDERR: shpdxf.c: In function 'dxf_ent_preamble': BUILDSTDERR: shpdxf.c:141:3: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: fprintf( df, " 8\r\n", df); BUILDSTDERR: ^ BUILDSTDERR: shpdxf.c: In function 'dxf_ent_postamble': BUILDSTDERR: shpdxf.c:193:5: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: fprintf( df, " 0\r\nSEQEND\r\n 8\r\n0\r\n", df); BUILDSTDERR: ^ BUILDSTDERR: shpdxf.c: In function 'main': BUILDSTDERR: shpdxf.c:208:29: warning: variable 'nParts' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int parts, *panParts, nParts, nVertices; BUILDSTDERR: ^ BUILDSTDERR: shpdxf.c:208:11: warning: unused variable 'parts' [-Wunused-variable] BUILDSTDERR: int parts, *panParts, nParts, nVertices; BUILDSTDERR: ^ BUILDSTDERR: shpdxf.c:334:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ CC shpfix-shpfix.o CC shpsort-shpsort.o BUILDSTDERR: shpfix.c: In function 'main': BUILDSTDERR: shpfix.c:110:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ CXX Shape_PointInPoly-Shape_PointInPoly.o CC shpcentrd-shpcentrd.o BUILDSTDERR: shpdxf.c:278:13: warning: 'idfld_type' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: switch (idfld_type) { BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c: In function 'main': BUILDSTDERR: shpcentrd.c:110:7: warning: unused variable 'res' [-Wunused-variable] BUILDSTDERR: int res ; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:71:10: warning: unused variable 'Cpan' [-Wunused-variable] BUILDSTDERR: int Cpan[2] = { 0,0 }; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:69:12: warning: unused variable 'apeture' [-Wunused-variable] BUILDSTDERR: double apeture[4]; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:68:10: warning: unused variable 'dbfFileName' [-Wunused-variable] BUILDSTDERR: char dbfFileName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:67:10: warning: unused variable 'shpFileName' [-Wunused-variable] BUILDSTDERR: char shpFileName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:66:10: warning: unused variable 'fldName' [-Wunused-variable] BUILDSTDERR: char fldName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:65:10: warning: unused variable 'idfldName' [-Wunused-variable] BUILDSTDERR: char idfldName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:64:10: warning: unused variable 'kv' [-Wunused-variable] BUILDSTDERR: char kv[257] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:63:17: warning: unused variable 'nflds' [-Wunused-variable] BUILDSTDERR: int idfld, nflds; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:63:10: warning: unused variable 'idfld' [-Wunused-variable] BUILDSTDERR: int idfld, nflds; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:62:19: warning: unused variable 'idfld_type' [-Wunused-variable] BUILDSTDERR: DBFFieldType idfld_type; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:61:18: warning: unused variable 'pszPlus' [-Wunused-variable] BUILDSTDERR: const char *pszPlus; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:60:26: warning: unused variable 'adBounds' [-Wunused-variable] BUILDSTDERR: double *padVertices, adBounds[4]; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:60:13: warning: unused variable 'padVertices' [-Wunused-variable] BUILDSTDERR: double *padVertices, adBounds[4]; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:59:66: warning: unused variable 'iPart' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:59:53: warning: unused variable 'panParts' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:59:44: warning: unused variable 'nParts' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:59:33: warning: unused variable 'nVertices' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpcentrd.c:159:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ CC shpcentrd-shpgeo.o CC shpdata-shpdata.o BUILDSTDERR: shpgeo.c: In function 'SHPReadSHPStream': BUILDSTDERR: shpgeo.c:276:5: warning: unused variable 'obj_storage' [-Wunused-variable] BUILDSTDERR: int obj_storage; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteSHPStream': BUILDSTDERR: shpgeo.c:335:30: warning: unused variable 'GeoType' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:335:20: warning: unused variable 'my_order' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisWKB': BUILDSTDERR: shpgeo.c:416:19: warning: unused variable 'use_M' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:416:8: warning: unused variable 'use_Z' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:415:8: warning: unused variable 'need_swap' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:413:14: warning: variable 'psCShape' set but not used [-Wunused-but-set-variable] BUILDSTDERR: SHPObject *psCShape; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteOGisWKB': BUILDSTDERR: shpgeo.c:462:3: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* rather have it predicatable system-to-system */ BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:498:5: warning: format '%d' expects a matching 'int' argument [-Wformat=] BUILDSTDERR: printf ("this system in (%d) LSB \n"); BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:457:19: warning: unused variable 'use_M' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:457:8: warning: unused variable 'use_Z' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:456:8: warning: unused variable 'need_swap' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType, thisDim; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteOGisPolygon': BUILDSTDERR: shpgeo.c:538:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisPolygon': BUILDSTDERR: shpgeo.c:643:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:643:49: warning: unused variable 'nextring' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:641:17: warning: unused variable 'ppsC' [-Wunused-variable] BUILDSTDERR: SHPObject **ppsC; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisLine': BUILDSTDERR: shpgeo.c:710:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:710:49: warning: unused variable 'nextring' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:708:17: warning: unused variable 'ppsC' [-Wunused-variable] BUILDSTDERR: SHPObject **ppsC; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPPointsinPoly_2d': BUILDSTDERR: shpgeo.c:907:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while ( psO = SHPUnCompound (psCShape, &cRing)) { BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingCentroid_2d': BUILDSTDERR: shpgeo.c:1049:10: warning: unused variable 'dy_Area' [-Wunused-variable] BUILDSTDERR: double dy_Area, dx_Area, Cx_accum, Cy_accum, ppx, ppy; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1048:16: warning: unused variable 'sign_y' [-Wunused-variable] BUILDSTDERR: int sign_x, sign_y; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1048:8: warning: unused variable 'sign_x' [-Wunused-variable] BUILDSTDERR: int sign_x, sign_y; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1047:11: warning: unused variable 'jv' [-Wunused-variable] BUILDSTDERR: int iv,jv; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPRingDir_2d': BUILDSTDERR: shpgeo.c:1152:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1122:35: warning: unused variable 'v2' [-Wunused-variable] BUILDSTDERR: double dx0, dx1, dy0, dy1, v1, v2 ,v3; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1122:31: warning: unused variable 'v1' [-Wunused-variable] BUILDSTDERR: double dx0, dx1, dy0, dy1, v1, v2 ,v3; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPArea_2d': BUILDSTDERR: shpgeo.c:1191:26: warning: unused variable 'ringDir' [-Wunused-variable] BUILDSTDERR: int ring, ring_vtx, ringDir, ring_nVertices; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingLength_2d': BUILDSTDERR: shpgeo.c:1269:13: warning: variable 'j' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingArea_2d': BUILDSTDERR: shpgeo.c:1292:11: warning: unused variable 'jv' [-Wunused-variable] BUILDSTDERR: int iv,jv; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPClone': BUILDSTDERR: shpgeo.c:1482:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if ( highPart = psCShape->nParts ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SwapG': BUILDSTDERR: shpgeo.c:1539:19: warning: unused variable 'temp' [-Wunused-variable] BUILDSTDERR: unsigned char temp; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteSHPStream': BUILDSTDERR: shpgeo.c:342:11: warning: ignoring return value of 'realloc', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: realloc (stream_obj, obj_storage ); BUILDSTDERR: ^ BUILDSTDERR: shpdata.c: In function 'main': BUILDSTDERR: shpdata.c:90:11: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int j, numVtx, rStart; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:84:25: warning: variable 'prevStart' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int ring, prevStart, ringDir; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:79:7: warning: unused variable 'res' [-Wunused-variable] BUILDSTDERR: int res ; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:59:27: warning: unused variable 'cent_pt' [-Wunused-variable] BUILDSTDERR: SHPObject *psCShape, *cent_pt; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:56:10: warning: unused variable 'Cpan' [-Wunused-variable] BUILDSTDERR: int Cpan[2] = { 0,0 }; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:55:11: warning: unused variable 'DBFRow' [-Wunused-variable] BUILDSTDERR: char *DBFRow = NULL; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:54:10: warning: unused variable 'dbfFileName' [-Wunused-variable] BUILDSTDERR: char dbfFileName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:53:10: warning: unused variable 'shpFileName' [-Wunused-variable] BUILDSTDERR: char shpFileName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:52:10: warning: unused variable 'fldName' [-Wunused-variable] BUILDSTDERR: char fldName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:51:10: warning: unused variable 'idfldName' [-Wunused-variable] BUILDSTDERR: char idfldName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:50:10: warning: unused variable 'kv' [-Wunused-variable] BUILDSTDERR: char kv[257] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:49:17: warning: unused variable 'nflds' [-Wunused-variable] BUILDSTDERR: int idfld, nflds; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:49:10: warning: unused variable 'idfld' [-Wunused-variable] BUILDSTDERR: int idfld, nflds; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:48:19: warning: unused variable 'idfld_type' [-Wunused-variable] BUILDSTDERR: DBFFieldType idfld_type; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:47:18: warning: unused variable 'pszPlus' [-Wunused-variable] BUILDSTDERR: const char *pszPlus; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:46:26: warning: unused variable 'adBounds' [-Wunused-variable] BUILDSTDERR: double *padVertices, adBounds[4]; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:46:13: warning: unused variable 'padVertices' [-Wunused-variable] BUILDSTDERR: double *padVertices, adBounds[4]; BUILDSTDERR: ^ BUILDSTDERR: Shape_PointInPoly.cpp:43:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char rcsid[] = BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:45:66: warning: unused variable 'iPart' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:45:53: warning: unused variable 'panParts' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:45:44: warning: unused variable 'nParts' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:45:33: warning: unused variable 'nVertices' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:44:26: warning: unused variable 'new_DBF' [-Wunused-variable] BUILDSTDERR: DBFHandle old_DBF, new_DBF; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:43:24: warning: unused variable 'new_SHP' [-Wunused-variable] BUILDSTDERR: SHPHandle old_SHP, new_SHP; BUILDSTDERR: ^ BUILDSTDERR: shpdata.c:129:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ CC shpdata-shpgeo.o CC shpinfo-shpinfo.o BUILDSTDERR: shpgeo.c: In function 'SHPReadSHPStream': BUILDSTDERR: shpgeo.c:276:5: warning: unused variable 'obj_storage' [-Wunused-variable] BUILDSTDERR: int obj_storage; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteSHPStream': BUILDSTDERR: shpgeo.c:335:30: warning: unused variable 'GeoType' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:335:20: warning: unused variable 'my_order' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisWKB': BUILDSTDERR: shpgeo.c:416:19: warning: unused variable 'use_M' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:416:8: warning: unused variable 'use_Z' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:415:8: warning: unused variable 'need_swap' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:413:14: warning: variable 'psCShape' set but not used [-Wunused-but-set-variable] BUILDSTDERR: SHPObject *psCShape; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteOGisWKB': BUILDSTDERR: shpgeo.c:462:3: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* rather have it predicatable system-to-system */ BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:498:5: warning: format '%d' expects a matching 'int' argument [-Wformat=] BUILDSTDERR: printf ("this system in (%d) LSB \n"); BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:457:19: warning: unused variable 'use_M' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:457:8: warning: unused variable 'use_Z' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:456:8: warning: unused variable 'need_swap' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType, thisDim; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteOGisPolygon': BUILDSTDERR: shpgeo.c:538:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisPolygon': BUILDSTDERR: shpgeo.c:643:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:643:49: warning: unused variable 'nextring' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:641:17: warning: unused variable 'ppsC' [-Wunused-variable] BUILDSTDERR: SHPObject **ppsC; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisLine': BUILDSTDERR: shpgeo.c:710:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:710:49: warning: unused variable 'nextring' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:708:17: warning: unused variable 'ppsC' [-Wunused-variable] BUILDSTDERR: SHPObject **ppsC; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPPointsinPoly_2d': BUILDSTDERR: shpgeo.c:907:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while ( psO = SHPUnCompound (psCShape, &cRing)) { BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingCentroid_2d': BUILDSTDERR: shpgeo.c:1049:10: warning: unused variable 'dy_Area' [-Wunused-variable] BUILDSTDERR: double dy_Area, dx_Area, Cx_accum, Cy_accum, ppx, ppy; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1048:16: warning: unused variable 'sign_y' [-Wunused-variable] BUILDSTDERR: int sign_x, sign_y; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1048:8: warning: unused variable 'sign_x' [-Wunused-variable] BUILDSTDERR: int sign_x, sign_y; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1047:11: warning: unused variable 'jv' [-Wunused-variable] BUILDSTDERR: int iv,jv; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPRingDir_2d': BUILDSTDERR: shpgeo.c:1152:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1122:35: warning: unused variable 'v2' [-Wunused-variable] BUILDSTDERR: double dx0, dx1, dy0, dy1, v1, v2 ,v3; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1122:31: warning: unused variable 'v1' [-Wunused-variable] BUILDSTDERR: double dx0, dx1, dy0, dy1, v1, v2 ,v3; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPArea_2d': BUILDSTDERR: shpgeo.c:1191:26: warning: unused variable 'ringDir' [-Wunused-variable] BUILDSTDERR: int ring, ring_vtx, ringDir, ring_nVertices; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingLength_2d': BUILDSTDERR: shpgeo.c:1269:13: warning: variable 'j' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingArea_2d': BUILDSTDERR: shpgeo.c:1292:11: warning: unused variable 'jv' [-Wunused-variable] BUILDSTDERR: int iv,jv; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPClone': BUILDSTDERR: shpgeo.c:1482:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if ( highPart = psCShape->nParts ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SwapG': BUILDSTDERR: shpgeo.c:1539:19: warning: unused variable 'temp' [-Wunused-variable] BUILDSTDERR: unsigned char temp; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteSHPStream': BUILDSTDERR: shpgeo.c:342:11: warning: ignoring return value of 'realloc', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: realloc (stream_obj, obj_storage ); BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c: In function 'main': BUILDSTDERR: shpinfo.c:102:4: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: printf ("%s(%d), %ld Records in file\n",sType,nShapeType,nEntities); BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:58:18: warning: unused variable 'cpszPlus' [-Wunused-variable] BUILDSTDERR: const char *cpszPlus; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:57:27: warning: unused variable 'cadBounds' [-Wunused-variable] BUILDSTDERR: double *cpadVertices, cadBounds[4]; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:57:13: warning: unused variable 'cpadVertices' [-Wunused-variable] BUILDSTDERR: double *cpadVertices, cadBounds[4]; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:56:68: warning: unused variable 'cPart' [-Wunused-variable] BUILDSTDERR: int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:56:64: warning: unused variable 'ci' [-Wunused-variable] BUILDSTDERR: int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:56:53: warning: unused variable 'cpanParts' [-Wunused-variable] BUILDSTDERR: int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:56:44: warning: unused variable 'cParts' [-Wunused-variable] BUILDSTDERR: int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:56:33: warning: unused variable 'cVertices' [-Wunused-variable] BUILDSTDERR: int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; BUILDSTDERR: ^ CC shpinfo-shpgeo.o BUILDSTDERR: shpinfo.c:56:22: warning: unused variable 'cEntities' [-Wunused-variable] BUILDSTDERR: int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:56:10: warning: unused variable 'cShapeType' [-Wunused-variable] BUILDSTDERR: int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:55:18: warning: unused variable 'pszPlus' [-Wunused-variable] BUILDSTDERR: const char *pszPlus; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:54:13: warning: unused variable 'padVertices' [-Wunused-variable] BUILDSTDERR: double *padVertices, adfBndsMin[4], adfBndsMax[4]; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:53:66: warning: unused variable 'iPart' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:53:63: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:53:53: warning: unused variable 'panParts' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:53:44: warning: unused variable 'nParts' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:53:33: warning: unused variable 'nVertices' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:52:21: warning: unused variable 'cSHP' [-Wunused-variable] BUILDSTDERR: SHPHandle hSHP, cSHP; BUILDSTDERR: ^ BUILDSTDERR: shpinfo.c:113:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPRingDir_2d': BUILDSTDERR: shpgeo.c:1152:43: warning: 'ti' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) BUILDSTDERR: ^ CC shpproj-shpproj.o BUILDSTDERR: shpgeo.c: In function 'SHPReadSHPStream': BUILDSTDERR: shpgeo.c:276:5: warning: unused variable 'obj_storage' [-Wunused-variable] BUILDSTDERR: int obj_storage; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteSHPStream': BUILDSTDERR: shpgeo.c:335:30: warning: unused variable 'GeoType' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:335:20: warning: unused variable 'my_order' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisWKB': BUILDSTDERR: shpgeo.c:416:19: warning: unused variable 'use_M' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:416:8: warning: unused variable 'use_Z' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:415:8: warning: unused variable 'need_swap' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:413:14: warning: variable 'psCShape' set but not used [-Wunused-but-set-variable] BUILDSTDERR: SHPObject *psCShape; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteOGisWKB': BUILDSTDERR: shpgeo.c:462:3: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* rather have it predicatable system-to-system */ BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:498:5: warning: format '%d' expects a matching 'int' argument [-Wformat=] BUILDSTDERR: printf ("this system in (%d) LSB \n"); BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:457:19: warning: unused variable 'use_M' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:457:8: warning: unused variable 'use_Z' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:456:8: warning: unused variable 'need_swap' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType, thisDim; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteOGisPolygon': BUILDSTDERR: shpgeo.c:538:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisPolygon': BUILDSTDERR: shpgeo.c:643:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:643:49: warning: unused variable 'nextring' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:641:17: warning: unused variable 'ppsC' [-Wunused-variable] BUILDSTDERR: SHPObject **ppsC; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisLine': BUILDSTDERR: shpgeo.c:710:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:710:49: warning: unused variable 'nextring' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:708:17: warning: unused variable 'ppsC' [-Wunused-variable] BUILDSTDERR: SHPObject **ppsC; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPPointsinPoly_2d': BUILDSTDERR: shpgeo.c:907:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while ( psO = SHPUnCompound (psCShape, &cRing)) { BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingCentroid_2d': BUILDSTDERR: shpgeo.c:1049:10: warning: unused variable 'dy_Area' [-Wunused-variable] BUILDSTDERR: double dy_Area, dx_Area, Cx_accum, Cy_accum, ppx, ppy; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1048:16: warning: unused variable 'sign_y' [-Wunused-variable] BUILDSTDERR: int sign_x, sign_y; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1048:8: warning: unused variable 'sign_x' [-Wunused-variable] BUILDSTDERR: int sign_x, sign_y; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1047:11: warning: unused variable 'jv' [-Wunused-variable] BUILDSTDERR: int iv,jv; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPRingDir_2d': BUILDSTDERR: shpgeo.c:1152:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1122:35: warning: unused variable 'v2' [-Wunused-variable] BUILDSTDERR: double dx0, dx1, dy0, dy1, v1, v2 ,v3; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1122:31: warning: unused variable 'v1' [-Wunused-variable] BUILDSTDERR: double dx0, dx1, dy0, dy1, v1, v2 ,v3; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPArea_2d': BUILDSTDERR: shpgeo.c:1191:26: warning: unused variable 'ringDir' [-Wunused-variable] BUILDSTDERR: int ring, ring_vtx, ringDir, ring_nVertices; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingLength_2d': BUILDSTDERR: shpgeo.c:1269:13: warning: variable 'j' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingArea_2d': BUILDSTDERR: shpgeo.c:1292:11: warning: unused variable 'jv' [-Wunused-variable] BUILDSTDERR: int iv,jv; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPClone': BUILDSTDERR: shpgeo.c:1482:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if ( highPart = psCShape->nParts ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SwapG': BUILDSTDERR: shpgeo.c:1539:19: warning: unused variable 'temp' [-Wunused-variable] BUILDSTDERR: unsigned char temp; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteSHPStream': BUILDSTDERR: shpgeo.c:342:11: warning: ignoring return value of 'realloc', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: realloc (stream_obj, obj_storage ); BUILDSTDERR: ^ BUILDSTDERR: shpproj.c: In function 'main': BUILDSTDERR: shpproj.c:223:7: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int j; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:96:21: warning: unused variable 'moargs' [-Wunused-variable] BUILDSTDERR: va_list myargs, moargs; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:96:13: warning: unused variable 'myargs' [-Wunused-variable] BUILDSTDERR: va_list myargs, moargs; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:82:12: warning: unused variable 'apeture' [-Wunused-variable] BUILDSTDERR: double apeture[4]; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:79:10: warning: unused variable 'dbfFileName' [-Wunused-variable] BUILDSTDERR: char dbfFileName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:78:10: warning: unused variable 'shpFileName' [-Wunused-variable] BUILDSTDERR: char shpFileName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:77:10: warning: unused variable 'fldName' [-Wunused-variable] BUILDSTDERR: char fldName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:76:10: warning: unused variable 'idfldName' [-Wunused-variable] BUILDSTDERR: char idfldName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:75:10: warning: unused variable 'kv' [-Wunused-variable] BUILDSTDERR: char kv[257] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:74:17: warning: unused variable 'nflds' [-Wunused-variable] BUILDSTDERR: int idfld, nflds; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:74:10: warning: unused variable 'idfld' [-Wunused-variable] BUILDSTDERR: int idfld, nflds; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:71:19: warning: unused variable 'idfld_type' [-Wunused-variable] BUILDSTDERR: DBFFieldType idfld_type; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:70:18: warning: unused variable 'pszPlus' [-Wunused-variable] BUILDSTDERR: const char *pszPlus; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPRingDir_2d': BUILDSTDERR: shpgeo.c:1152:43: warning: 'ti' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:69:26: warning: unused variable 'adBounds' [-Wunused-variable] BUILDSTDERR: double *padVertices, adBounds[4]; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:69:13: warning: unused variable 'padVertices' [-Wunused-variable] BUILDSTDERR: double *padVertices, adBounds[4]; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:68:66: warning: unused variable 'iPart' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart, j; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:68:53: warning: unused variable 'panParts' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart, j; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:68:44: warning: unused variable 'nParts' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart, j; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:68:33: warning: unused variable 'nVertices' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart, j; BUILDSTDERR: ^ BUILDSTDERR: shpproj.c:258:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPPointsinPoly_2d': BUILDSTDERR: shpgeo.c:901:24: warning: 'nPIP' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int *CLstt, *CLst, nPIP, ring, rMpart, ring_vtx, ring_nVertices; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:945:11: warning: 'rLenMax' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ( rLen > rLenMax ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:941:13: warning: 'rLen' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: rLen += RingLength_2d ( ring_nVertices, BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:956:35: warning: 'rMpart' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: PIP[nPIP].x = (psInt ->padfX [rMpart] + psInt ->padfX [rMpart]) * 0.5; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPRingDir_2d': BUILDSTDERR: shpgeo.c:1152:43: warning: 'ti' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPPointsinPoly_2d': BUILDSTDERR: shpgeo.c:901:24: warning: 'nPIP' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int *CLstt, *CLst, nPIP, ring, rMpart, ring_vtx, ring_nVertices; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:945:11: warning: 'rLenMax' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ( rLen > rLenMax ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:941:13: warning: 'rLen' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: rLen += RingLength_2d ( ring_nVertices, BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:956:35: warning: 'rMpart' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: PIP[nPIP].x = (psInt ->padfX [rMpart] + psInt ->padfX [rMpart]) * 0.5; BUILDSTDERR: ^ CC shpproj-shpgeo.o BUILDSTDERR: shpgeo.c: In function 'SHPReadSHPStream': BUILDSTDERR: shpgeo.c:276:5: warning: unused variable 'obj_storage' [-Wunused-variable] BUILDSTDERR: int obj_storage; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteSHPStream': BUILDSTDERR: shpgeo.c:335:30: warning: unused variable 'GeoType' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:335:20: warning: unused variable 'my_order' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisWKB': BUILDSTDERR: shpgeo.c:416:19: warning: unused variable 'use_M' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:416:8: warning: unused variable 'use_Z' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:415:8: warning: unused variable 'need_swap' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:413:14: warning: variable 'psCShape' set but not used [-Wunused-but-set-variable] BUILDSTDERR: SHPObject *psCShape; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteOGisWKB': BUILDSTDERR: shpgeo.c:462:3: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* rather have it predicatable system-to-system */ BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:498:5: warning: format '%d' expects a matching 'int' argument [-Wformat=] BUILDSTDERR: printf ("this system in (%d) LSB \n"); BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:457:19: warning: unused variable 'use_M' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:457:8: warning: unused variable 'use_Z' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:456:8: warning: unused variable 'need_swap' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType, thisDim; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteOGisPolygon': BUILDSTDERR: shpgeo.c:538:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisPolygon': BUILDSTDERR: shpgeo.c:643:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:643:49: warning: unused variable 'nextring' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:641:17: warning: unused variable 'ppsC' [-Wunused-variable] BUILDSTDERR: SHPObject **ppsC; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisLine': BUILDSTDERR: shpgeo.c:710:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:710:49: warning: unused variable 'nextring' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:708:17: warning: unused variable 'ppsC' [-Wunused-variable] BUILDSTDERR: SHPObject **ppsC; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPPointsinPoly_2d': BUILDSTDERR: shpgeo.c: In function 'SHPPointsinPoly_2d': BUILDSTDERR: shpgeo.c:907:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while ( psO = SHPUnCompound (psCShape, &cRing)) { BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:901:24: warning: 'nPIP' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int *CLstt, *CLst, nPIP, ring, rMpart, ring_vtx, ring_nVertices; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingCentroid_2d': BUILDSTDERR: shpgeo.c:1049:10: warning: unused variable 'dy_Area' [-Wunused-variable] BUILDSTDERR: double dy_Area, dx_Area, Cx_accum, Cy_accum, ppx, ppy; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1048:16: warning: unused variable 'sign_y' [-Wunused-variable] BUILDSTDERR: int sign_x, sign_y; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1048:8: warning: unused variable 'sign_x' [-Wunused-variable] BUILDSTDERR: int sign_x, sign_y; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1047:11: warning: unused variable 'jv' [-Wunused-variable] BUILDSTDERR: int iv,jv; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPRingDir_2d': BUILDSTDERR: shpgeo.c:1152:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1122:35: warning: unused variable 'v2' [-Wunused-variable] BUILDSTDERR: double dx0, dx1, dy0, dy1, v1, v2 ,v3; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1122:31: warning: unused variable 'v1' [-Wunused-variable] BUILDSTDERR: double dx0, dx1, dy0, dy1, v1, v2 ,v3; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPArea_2d': BUILDSTDERR: shpgeo.c:1191:26: warning: unused variable 'ringDir' [-Wunused-variable] BUILDSTDERR: int ring, ring_vtx, ringDir, ring_nVertices; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingLength_2d': BUILDSTDERR: shpgeo.c:1269:13: warning: variable 'j' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingArea_2d': BUILDSTDERR: shpgeo.c:1292:11: warning: unused variable 'jv' [-Wunused-variable] BUILDSTDERR: int iv,jv; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPClone': BUILDSTDERR: shpgeo.c:1482:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if ( highPart = psCShape->nParts ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SwapG': BUILDSTDERR: shpgeo.c:1539:19: warning: unused variable 'temp' [-Wunused-variable] BUILDSTDERR: unsigned char temp; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:945:11: warning: 'rLenMax' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ( rLen > rLenMax ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:941:13: warning: 'rLen' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: rLen += RingLength_2d ( ring_nVertices, BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteSHPStream': BUILDSTDERR: shpgeo.c:342:11: warning: ignoring return value of 'realloc', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: realloc (stream_obj, obj_storage ); BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:956:35: warning: 'rMpart' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: PIP[nPIP].x = (psInt ->padfX [rMpart] + psInt ->padfX [rMpart]) * 0.5; BUILDSTDERR: ^ CC shpwkb-shpwkb.o BUILDSTDERR: shpwkb.c: In function 'main': BUILDSTDERR: shpwkb.c:93:11: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int j, numVtx, rStart; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:88:13: warning: unused variable 'ringArea' [-Wunused-variable] BUILDSTDERR: double ringArea; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:87:36: warning: unused variable 'ringDir' [-Wunused-variable] BUILDSTDERR: int ring, prevStart, ringDir; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:87:25: warning: variable 'prevStart' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int ring, prevStart, ringDir; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:82:7: warning: variable 'res' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int res ; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:58:25: warning: unused variable 'oLen' [-Wunused-variable] BUILDSTDERR: double oArea = 0.0, oLen = 0.0; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:58:12: warning: unused variable 'oArea' [-Wunused-variable] BUILDSTDERR: double oArea = 0.0, oLen = 0.0; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:57:27: warning: unused variable 'cent_pt' [-Wunused-variable] BUILDSTDERR: SHPObject *psCShape, *cent_pt; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:56:18: warning: unused variable 'ringCentrd' [-Wunused-variable] BUILDSTDERR: PT oCentrd, ringCentrd; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:56:9: warning: unused variable 'oCentrd' [-Wunused-variable] BUILDSTDERR: PT oCentrd, ringCentrd; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:54:10: warning: unused variable 'Cpan' [-Wunused-variable] BUILDSTDERR: int Cpan[2] = { 0,0 }; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:53:11: warning: unused variable 'DBFRow' [-Wunused-variable] BUILDSTDERR: char *DBFRow = NULL; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:52:10: warning: unused variable 'dbfFileName' [-Wunused-variable] BUILDSTDERR: char dbfFileName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:51:10: warning: unused variable 'shpFileName' [-Wunused-variable] BUILDSTDERR: char shpFileName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:50:10: warning: unused variable 'fldName' [-Wunused-variable] BUILDSTDERR: char fldName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:49:10: warning: unused variable 'idfldName' [-Wunused-variable] BUILDSTDERR: char idfldName[120] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:48:10: warning: unused variable 'kv' [-Wunused-variable] BUILDSTDERR: char kv[257] = ""; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:47:17: warning: unused variable 'nflds' [-Wunused-variable] BUILDSTDERR: int idfld, nflds; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:47:10: warning: unused variable 'idfld' [-Wunused-variable] BUILDSTDERR: int idfld, nflds; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:46:19: warning: unused variable 'idfld_type' [-Wunused-variable] BUILDSTDERR: DBFFieldType idfld_type; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:45:18: warning: unused variable 'pszPlus' [-Wunused-variable] BUILDSTDERR: const char *pszPlus; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:44:26: warning: unused variable 'adBounds' [-Wunused-variable] BUILDSTDERR: double *padVertices, adBounds[4]; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:44:13: warning: unused variable 'padVertices' [-Wunused-variable] BUILDSTDERR: double *padVertices, adBounds[4]; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:43:66: warning: unused variable 'iPart' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:43:53: warning: unused variable 'panParts' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:43:44: warning: unused variable 'nParts' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:43:33: warning: unused variable 'nVertices' [-Wunused-variable] BUILDSTDERR: int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:42:26: warning: unused variable 'new_DBF' [-Wunused-variable] BUILDSTDERR: DBFHandle old_DBF, new_DBF; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:41:24: warning: unused variable 'new_SHP' [-Wunused-variable] BUILDSTDERR: SHPHandle old_SHP, new_SHP; BUILDSTDERR: ^ BUILDSTDERR: shpwkb.c:123:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ CC shpwkb-shpgeo.o BUILDSTDERR: shpgeo.c: In function 'SHPRingDir_2d': BUILDSTDERR: shpgeo.c:1152:43: warning: 'ti' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) BUILDSTDERR: ^ CCLD dbfcat BUILDSTDERR: shpgeo.c: In function 'SHPReadSHPStream': BUILDSTDERR: shpgeo.c:276:5: warning: unused variable 'obj_storage' [-Wunused-variable] BUILDSTDERR: int obj_storage; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteSHPStream': BUILDSTDERR: shpgeo.c:335:30: warning: unused variable 'GeoType' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:335:20: warning: unused variable 'my_order' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisWKB': BUILDSTDERR: shpgeo.c:416:19: warning: unused variable 'use_M' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:416:8: warning: unused variable 'use_Z' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:415:8: warning: unused variable 'need_swap' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:413:14: warning: variable 'psCShape' set but not used [-Wunused-but-set-variable] BUILDSTDERR: SHPObject *psCShape; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteOGisWKB': BUILDSTDERR: shpgeo.c:462:3: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* rather have it predicatable system-to-system */ BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:498:5: warning: format '%d' expects a matching 'int' argument [-Wformat=] BUILDSTDERR: printf ("this system in (%d) LSB \n"); BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:457:19: warning: unused variable 'use_M' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:457:8: warning: unused variable 'use_Z' [-Wunused-variable] BUILDSTDERR: int use_Z = 0, use_M = 0; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:456:8: warning: unused variable 'need_swap' [-Wunused-variable] BUILDSTDERR: int need_swap = 0, my_order, GeoType, thisDim; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteOGisPolygon': BUILDSTDERR: shpgeo.c:538:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisPolygon': BUILDSTDERR: shpgeo.c:643:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:643:49: warning: unused variable 'nextring' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:641:17: warning: unused variable 'ppsC' [-Wunused-variable] BUILDSTDERR: SHPObject **ppsC; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPReadOGisLine': BUILDSTDERR: shpgeo.c:710:59: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:710:49: warning: unused variable 'nextring' [-Wunused-variable] BUILDSTDERR: int rPart, ring, rVertices, cpart, cParts, nextring, i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:708:17: warning: unused variable 'ppsC' [-Wunused-variable] BUILDSTDERR: SHPObject **ppsC; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPPointsinPoly_2d': BUILDSTDERR: shpgeo.c:907:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while ( psO = SHPUnCompound (psCShape, &cRing)) { BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingCentroid_2d': BUILDSTDERR: shpgeo.c:1049:10: warning: unused variable 'dy_Area' [-Wunused-variable] BUILDSTDERR: double dy_Area, dx_Area, Cx_accum, Cy_accum, ppx, ppy; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1048:16: warning: unused variable 'sign_y' [-Wunused-variable] BUILDSTDERR: int sign_x, sign_y; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1048:8: warning: unused variable 'sign_x' [-Wunused-variable] BUILDSTDERR: int sign_x, sign_y; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1047:11: warning: unused variable 'jv' [-Wunused-variable] BUILDSTDERR: int iv,jv; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPRingDir_2d': BUILDSTDERR: shpgeo.c:1152:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1122:35: warning: unused variable 'v2' [-Wunused-variable] BUILDSTDERR: double dx0, dx1, dy0, dy1, v1, v2 ,v3; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:1122:31: warning: unused variable 'v1' [-Wunused-variable] BUILDSTDERR: double dx0, dx1, dy0, dy1, v1, v2 ,v3; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPArea_2d': BUILDSTDERR: shpgeo.c:1191:26: warning: unused variable 'ringDir' [-Wunused-variable] BUILDSTDERR: int ring, ring_vtx, ringDir, ring_nVertices; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingLength_2d': BUILDSTDERR: shpgeo.c:1269:13: warning: variable 'j' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'RingArea_2d': BUILDSTDERR: shpgeo.c:1292:11: warning: unused variable 'jv' [-Wunused-variable] BUILDSTDERR: int iv,jv; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPClone': BUILDSTDERR: shpgeo.c:1482:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if ( highPart = psCShape->nParts ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SwapG': BUILDSTDERR: shpgeo.c:1539:19: warning: unused variable 'temp' [-Wunused-variable] BUILDSTDERR: unsigned char temp; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPWriteSHPStream': BUILDSTDERR: shpgeo.c:342:11: warning: ignoring return value of 'realloc', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: realloc (stream_obj, obj_storage ); BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c: In function 'SHPPointsinPoly_2d': BUILDSTDERR: shpgeo.c:901:24: warning: 'nPIP' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int *CLstt, *CLst, nPIP, ring, rMpart, ring_vtx, ring_nVertices; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:945:11: warning: 'rLenMax' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ( rLen > rLenMax ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:941:13: warning: 'rLen' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: rLen += RingLength_2d ( ring_nVertices, BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:956:35: warning: 'rMpart' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: PIP[nPIP].x = (psInt ->padfX [rMpart] + psInt ->padfX [rMpart]) * 0.5; BUILDSTDERR: ^ CCLD dbfinfo CCLD shpcat BUILDSTDERR: shpgeo.c: In function 'SHPRingDir_2d': BUILDSTDERR: shpgeo.c:1152:43: warning: 'ti' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) BUILDSTDERR: ^ CCLD shpdxf BUILDSTDERR: shpgeo.c: In function 'SHPPointsinPoly_2d': BUILDSTDERR: shpgeo.c:901:24: warning: 'nPIP' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int *CLstt, *CLst, nPIP, ring, rMpart, ring_vtx, ring_nVertices; BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:945:11: warning: 'rLenMax' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ( rLen > rLenMax ) BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:941:13: warning: 'rLen' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: rLen += RingLength_2d ( ring_nVertices, BUILDSTDERR: ^ BUILDSTDERR: shpgeo.c:956:35: warning: 'rMpart' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: PIP[nPIP].x = (psInt ->padfX [rMpart] + psInt ->padfX [rMpart]) * 0.5; BUILDSTDERR: ^ CCLD shpfix CCLD shpsort CXXLD Shape_PointInPoly CCLD shpcentrd CCLD shpdata CCLD shpinfo CCLD shpproj CCLD shpwkb make[1]: Leaving directory `/builddir/build/BUILD/shapelib-1.3.0/contrib' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iLoaQG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386 + cd shapelib-1.3.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386 Making install in . make[1]: Entering directory `/builddir/build/BUILD/shapelib-1.3.0' make[2]: Entering directory `/builddir/build/BUILD/shapelib-1.3.0' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/lib' /bin/sh ./libtool --mode=install /usr/bin/install -c libshp.la '/builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/lib' libtool: install: /usr/bin/install -c .libs/libshp.so.1.0.1 /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/lib/libshp.so.1.0.1 libtool: install: (cd /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/lib && { ln -s -f libshp.so.1.0.1 libshp.so.1 || { rm -f libshp.so.1 && ln -s libshp.so.1.0.1 libshp.so.1; }; }) libtool: install: (cd /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/lib && { ln -s -f libshp.so.1.0.1 libshp.so || { rm -f libshp.so && ln -s libshp.so.1.0.1 libshp.so; }; }) libtool: install: /usr/bin/install -c .libs/libshp.lai /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/lib/libshp.la BUILDSTDERR: libtool: install: warning: remember to run `libtool --finish /usr/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin' /bin/sh ./libtool --mode=install /usr/bin/install -c dbfadd dbfcreate dbfdump shpadd shpcreate shpdump shprewind shptreedump shputils '/builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin' BUILDSTDERR: libtool: install: warning: `./libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/dbfadd /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/dbfadd BUILDSTDERR: libtool: install: warning: `./libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/dbfcreate /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/dbfcreate BUILDSTDERR: libtool: install: warning: `./libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/dbfdump /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/dbfdump BUILDSTDERR: libtool: install: warning: `./libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shpadd /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpadd BUILDSTDERR: libtool: install: warning: `./libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shpcreate /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpcreate BUILDSTDERR: libtool: install: warning: `./libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shpdump /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpdump BUILDSTDERR: libtool: install: warning: `./libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shprewind /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shprewind BUILDSTDERR: libtool: install: warning: `./libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shptreedump /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shptreedump BUILDSTDERR: libtool: install: warning: `./libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shputils /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shputils /usr/bin/mkdir -p '/builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/include' /usr/bin/install -c -m 644 shapefil.h '/builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/lib/pkgconfig' /usr/bin/install -c -m 644 shapelib.pc '/builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/lib/pkgconfig' make[2]: Leaving directory `/builddir/build/BUILD/shapelib-1.3.0' make[1]: Leaving directory `/builddir/build/BUILD/shapelib-1.3.0' Making install in contrib make[1]: Entering directory `/builddir/build/BUILD/shapelib-1.3.0/contrib' make[2]: Entering directory `/builddir/build/BUILD/shapelib-1.3.0/contrib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c dbfcat dbfinfo shpcat shpdxf shpfix shpsort Shape_PointInPoly shpcentrd shpdata shpinfo shpproj shpwkb '/builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin' BUILDSTDERR: libtool: install: warning: `../libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/dbfcat /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/dbfcat BUILDSTDERR: libtool: install: warning: `../libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/dbfinfo /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/dbfinfo BUILDSTDERR: libtool: install: warning: `../libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shpcat /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpcat BUILDSTDERR: libtool: install: warning: `../libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shpdxf /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpdxf BUILDSTDERR: libtool: install: warning: `../libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shpfix /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpfix BUILDSTDERR: libtool: install: warning: `../libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shpsort /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpsort BUILDSTDERR: libtool: install: warning: `../libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/Shape_PointInPoly /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/Shape_PointInPoly BUILDSTDERR: libtool: install: warning: `../libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shpcentrd /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpcentrd BUILDSTDERR: libtool: install: warning: `../libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shpdata /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpdata BUILDSTDERR: libtool: install: warning: `../libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shpinfo /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpinfo BUILDSTDERR: libtool: install: warning: `../libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shpproj /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpproj BUILDSTDERR: libtool: install: warning: `../libshp.la' has not been installed in `/usr/lib' libtool: install: /usr/bin/install -c .libs/shpwkb /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpwkb make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/shapelib-1.3.0/contrib' make[1]: Leaving directory `/builddir/build/BUILD/shapelib-1.3.0/contrib' + find /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386 -name '*.la' -exec rm -f '{}' ';' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/shapelib-1.3.0 extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/lib/libshp.so.1.0.1 extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/dbfadd extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/dbfcreate extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/dbfdump extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpadd extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpcreate extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpdump extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shprewind extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shptreedump extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shputils extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/dbfcat extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/dbfinfo extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpcat extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpdxf extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpfix extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpsort extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/Shape_PointInPoly extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpcentrd extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpdata extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpinfo extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpproj extracting debug info from /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/bin/shpwkb /usr/lib/rpm/sepdebugcrcfix: Updated 22 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib/libshp.so.1.0.1.debug to /usr/lib/debug/usr/lib/libshp.so.1.debug symlinked /usr/lib/debug/usr/lib/libshp.so.1.0.1.debug to /usr/lib/debug/usr/lib/libshp.so.debug BUILDSTDERR: 931 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: shapelib-1.3.0-2.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tBO3Lw + umask 022 + cd /builddir/build/BUILD + cd shapelib-1.3.0 + DOCDIR=/builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/share/doc/shapelib-1.3.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/share/doc/shapelib-1.3.0 + cp -pr COPYING /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/share/doc/shapelib-1.3.0 + cp -pr README /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/share/doc/shapelib-1.3.0 + cp -pr README.tree /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/share/doc/shapelib-1.3.0 + cp -pr ChangeLog /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/share/doc/shapelib-1.3.0 + cp -pr web/codepage.html web/dbf_api.html web/index.html web/license.html web/manifest.html web/release.html web/shapelib-tools.html web/shp_api.html /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/share/doc/shapelib-1.3.0 + exit 0 Provides: libshp.so.1 shapelib = 1.3.0-2.el7 shapelib(x86-32) = 1.3.0-2.el7 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) rtld(GNU_HASH) Processing files: shapelib-devel-1.3.0-2.el7.i686 Provides: pkgconfig(shapelib) = 1.3.0 shapelib-devel = 1.3.0-2.el7 shapelib-devel(x86-32) = 1.3.0-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libshp.so.1 Processing files: shapelib-tools-1.3.0-2.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.E0h1sn + umask 022 + cd /builddir/build/BUILD + cd shapelib-1.3.0 + DOCDIR=/builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/share/doc/shapelib-tools-1.3.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/share/doc/shapelib-tools-1.3.0 + cp -pr contrib/doc/ /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386/usr/share/doc/shapelib-tools-1.3.0 + exit 0 Provides: shapelib-tools = 1.3.0-2.el7 shapelib-tools(x86-32) = 1.3.0-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libm.so.6 libm.so.6(GLIBC_2.0) libproj.so.0 libshp.so.1 libstdc++.so.6 libstdc++.so.6(GLIBCXX_3.4) rtld(GNU_HASH) Processing files: shapelib-debuginfo-1.3.0-2.el7.i686 Provides: shapelib-debuginfo = 1.3.0-2.el7 shapelib-debuginfo(x86-32) = 1.3.0-2.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386 Wrote: /builddir/build/RPMS/shapelib-1.3.0-2.el7.i686.rpm Wrote: /builddir/build/RPMS/shapelib-devel-1.3.0-2.el7.i686.rpm Wrote: /builddir/build/RPMS/shapelib-tools-1.3.0-2.el7.i686.rpm Wrote: /builddir/build/RPMS/shapelib-debuginfo-1.3.0-2.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fFgqvI + umask 022 + cd /builddir/build/BUILD + cd shapelib-1.3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/shapelib-1.3.0-2.el7.i386 + exit 0 Child return code was: 0