gcc -g -O2 -fPIC -DUNIX=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LSEEK64=1 -DUSE_TCL_STUBS=1 -Wall -DSTDC_HEADERS=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -pipe -fomit-frame-pointer -DTIME -DCONVERT  -I. -I/usr/local/ActiveTcl/include  -c polyreduce.c
polyreduce.c:32:8: warning: type defaults to ‘int’ in declaration of ‘suc’ [-Wimplicit-int]
polyreduce.c:151:1: warning: return type defaults to ‘int’ [-Wreturn-type]
polyreduce.c:157:1: warning: return type defaults to ‘int’ [-Wreturn-type]
polyreduce.c:169:1: warning: return type defaults to ‘int’ [-Wreturn-type]
polyreduce.c:190:1: warning: return type defaults to ‘int’ [-Wreturn-type]
polyreduce.c:211:1: warning: return type defaults to ‘int’ [-Wreturn-type]
polyreduce.c:219:1: warning: return type defaults to ‘int’ [-Wreturn-type]
polyreduce.c: In function ‘removeadjacencies’:
polyreduce.c:222:12: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int]
polyreduce.c:222:14: warning: type defaults to ‘int’ in declaration of ‘j’ [-Wimplicit-int]
polyreduce.c: In function ‘printtri’:
polyreduce.c:245:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘struct Tri *’ [-Wformat]
polyreduce.c:248:5: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘struct Tri *’ [-Wformat]
polyreduce.c: In function ‘printvert’:
polyreduce.c:263:5: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘struct Tri *’ [-Wformat]
polyreduce.c: In function ‘vertaddtri’:
polyreduce.c:512:3: warning: implicit declaration of function ‘istriinvert’ [-Wimplicit-function-declaration]
polyreduce.c:514:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘struct Tri *’ [-Wformat]
polyreduce.c: In function ‘vertremovetri’:
polyreduce.c:640:5: warning: too many arguments for format [-Wformat-extra-args]
polyreduce.c: At top level:
polyreduce.c:691:1: warning: return type defaults to ‘int’ [-Wreturn-type]
polyreduce.c: In function ‘movevertrefs’:
polyreduce.c:776:9: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘struct Tri *’ [-Wformat]
polyreduce.c:762:9: warning: unused variable ‘j’ [-Wunused-variable]
polyreduce.c: In function ‘exchangeadjacencies’:
polyreduce.c:789:10: warning: type defaults to ‘int’ in declaration of ‘pre’ [-Wimplicit-int]
polyreduce.c: In function ‘triseperate’:
polyreduce.c:890:10: warning: unused variable ‘mask’ [-Wunused-variable]
polyreduce.c: In function ‘collapsetri’:
polyreduce.c:1009:5: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘struct Tri *’ [-Wformat]
polyreduce.c:1016:5: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘struct Tri *’ [-Wformat]
polyreduce.c:1024:5: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘struct Tri *’ [-Wformat]
polyreduce.c:997:24: warning: unused variable ‘adj3’ [-Wunused-variable]
polyreduce.c:997:18: warning: unused variable ‘adj2’ [-Wunused-variable]
polyreduce.c:997:12: warning: unused variable ‘adj1’ [-Wunused-variable]
polyreduce.c:996:27: warning: unused variable ‘notcommon2’ [-Wunused-variable]
polyreduce.c:996:9: warning: unused variable ‘notcommon1’ [-Wunused-variable]
polyreduce.c:994:9: warning: unused variable ‘newxyz’ [-Wunused-variable]
polyreduce.c:993:11: warning: unused variable ‘edge’ [-Wunused-variable]
polyreduce.c: In function ‘initlists’:
polyreduce.c:1194:10: warning: type defaults to ‘int’ in declaration of ‘t’ [-Wimplicit-int]
polyreduce.c:1111:8: warning: unused variable ‘temptri’ [-Wunused-variable]
polyreduce.c:1109:29: warning: variable ‘adjtris’ set but not used [-Wunused-but-set-variable]
polyreduce.c: In function ‘simplereduce’:
polyreduce.c:1302:22: warning: unused variable ‘t’ [-Wunused-variable]
polyreduce.c:1301:7: warning: unused variable ‘rcount’ [-Wunused-variable]
polyreduce.c:1300:9: warning: unused variable ‘killedtris’ [-Wunused-variable]
polyreduce.c: In function ‘reduce’:
polyreduce.c:1383:3: warning: implicit declaration of function ‘clock’ [-Wimplicit-function-declaration]
polyreduce.c:1445:3: warning: implicit declaration of function ‘release_memory’ [-Wimplicit-function-declaration]
polyreduce.c:1366:7: warning: unused variable ‘nv’ [-Wunused-variable]
polyreduce.c:1365:10: warning: unused variable ‘v’ [-Wunused-variable]
polyreduce.c:1363:18: warning: unused variable ‘tri2’ [-Wunused-variable]
polyreduce.c:1361:11: warning: unused variable ‘k’ [-Wunused-variable]
polyreduce.c:1361:9: warning: unused variable ‘j’ [-Wunused-variable]
polyreduce.c: In function ‘dump’:
polyreduce.c:1471:31: warning: unused variable ‘ang’ [-Wunused-variable]
polyreduce.c:1471:26: warning: unused variable ‘dst’ [-Wunused-variable]
polyreduce.c:1469:19: warning: unused variable ‘s’ [-Wunused-variable]
polyreduce.c:1469:7: warning: unused variable ‘i’ [-Wunused-variable]
polyreduce.c: In function ‘triupdatevert’:
polyreduce.c:700:1: warning: control reaches end of non-void function [-Wreturn-type]
polyreduce.c: In function ‘removeadjacencies’:
polyreduce.c:237:1: warning: control reaches end of non-void function [-Wreturn-type]
polyreduce.c: In function ‘hashedgeend’:
polyreduce.c:215:1: warning: control reaches end of non-void function [-Wreturn-type]
polyreduce.c: In function ‘hashedgeadd’:
polyreduce.c:207:1: warning: control reaches end of non-void function [-Wreturn-type]
polyreduce.c: In function ‘hashedgebegin’:
polyreduce.c:165:1: warning: control reaches end of non-void function [-Wreturn-type]
polyreduce.c: In function ‘hashvertend’:
polyreduce.c:154:1: warning: control reaches end of non-void function [-Wreturn-type]
gcc -g -O2 -fPIC -DUNIX=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LSEEK64=1 -DUSE_TCL_STUBS=1 -Wall -DSTDC_HEADERS=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -pipe -fomit-frame-pointer -DTIME -DCONVERT  -I. -I/usr/local/ActiveTcl/include  -c parseopts.c
parseopts.c: In function ‘parse_options’:
parseopts.c:22:5: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
parseopts.c:13:20: warning: unused variable ‘foundfilter’ [-Wunused-variable]
parseopts.c:12:7: warning: variable ‘found’ set but not used [-Wunused-but-set-variable]
gcc -g -O2 -fPIC -DUNIX=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LSEEK64=1 -DUSE_TCL_STUBS=1 -Wall -DSTDC_HEADERS=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -pipe -fomit-frame-pointer -DTIME -DCONVERT  -I. -I/usr/local/ActiveTcl/include  -c main.c
main.c: In function ‘TSurfObjCmd’:
main.c:87:3: warning: implicit declaration of function ‘parse_options’ [-Wimplicit-function-declaration]
main.c:99:3: warning: implicit declaration of function ‘parse_input’ [-Wimplicit-function-declaration]
main.c:100:3: warning: implicit declaration of function ‘setup_data’ [-Wimplicit-function-declaration]
main.c:101:3: warning: implicit declaration of function ‘define_grid’ [-Wimplicit-function-declaration]
main.c:120:5: warning: implicit declaration of function ‘boxfilter’ [-Wimplicit-function-declaration]
main.c:137:5: warning: implicit declaration of function ‘iso_surface’ [-Wimplicit-function-declaration]
main.c:156:3: warning: implicit declaration of function ‘release_memory’ [-Wimplicit-function-declaration]
main.c:66:20: warning: unused variable ‘dsfactor’ [-Wunused-variable]
main.c:60:14: warning: unused variable ‘max’ [-Wunused-variable]
main.c:60:9: warning: unused variable ‘min’ [-Wunused-variable]
main.c: In function ‘show_data’:
main.c:28:8: warning: ‘c’ may be used uninitialized in this function [-Wuninitialized]
gcc -g -O2 -fPIC -DUNIX=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LSEEK64=1 -DUSE_TCL_STUBS=1 -Wall -DSTDC_HEADERS=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -pipe -fomit-frame-pointer -DTIME -DCONVERT  -I. -I/usr/local/ActiveTcl/include  -c niso.c
In file included from niso.c:21:0:
cell_table.h:14:5: warning: missing braces around initializer [-Wmissing-braces]
cell_table.h:14:5: warning: (near initialization for ‘cell_table[0].verts’) [-Wmissing-braces]
niso.c: In function ‘iso_surface’:
niso.c:33:16: warning: unused variable ‘x’ [-Wunused-variable]
niso.c: At top level:
niso.c:298:1: warning: return type defaults to ‘int’ [-Wreturn-type]
niso.c: In function ‘get_cell_polys’:
niso.c:307:23: warning: unused variable ‘n3’ [-Wunused-variable]
niso.c:307:16: warning: unused variable ‘n2’ [-Wunused-variable]
niso.c: At top level:
niso.c:795:1: warning: return type defaults to ‘int’ [-Wreturn-type]
niso.c: In function ‘get_cell_verts_and_norms’:
niso.c:790:31: warning: ‘nz’ may be used uninitialized in this function [-Wuninitialized]
niso.c:789:31: warning: ‘ny’ may be used uninitialized in this function [-Wuninitialized]
niso.c:788:31: warning: ‘nx’ may be used uninitialized in this function [-Wuninitialized]
gcc -g -O2 -fPIC -DUNIX=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LSEEK64=1 -DUSE_TCL_STUBS=1 -Wall -DSTDC_HEADERS=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -pipe -fomit-frame-pointer -DTIME -DCONVERT  -I. -I/usr/local/ActiveTcl/include  -c misc.c
misc.c: In function ‘fill_grid_sides’:
misc.c:25:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
misc.c: At top level:
misc.c:116:1: warning: return type defaults to ‘int’ [-Wreturn-type]
misc.c: In function ‘add_polygon’:
misc.c:122:18: warning: unused variable ‘offset’ [-Wunused-variable]
gcc -g -O2 -fPIC -DUNIX=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LSEEK64=1 -DUSE_TCL_STUBS=1 -Wall -DSTDC_HEADERS=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -pipe -fomit-frame-pointer -DTIME -DCONVERT  -I. -I/usr/local/ActiveTcl/include  -c resample.c
resample.c: In function ‘downsample’:
resample.c:58:4: warning: operation on ‘xfrac’ may be undefined [-Wsequence-point]
resample.c:58:4: warning: operation on ‘xfrac’ may be undefined [-Wsequence-point]
resample.c:58:4: warning: operation on ‘xfrac’ may be undefined [-Wsequence-point]
resample.c:30:25: warning: unused variable ‘offset’ [-Wunused-variable]
resample.c:30:16: warning: variable ‘zp1help’ set but not used [-Wunused-but-set-variable]
resample.c:28:16: warning: variable ‘yp1help’ set but not used [-Wunused-but-set-variable]
resample.c: In function ‘boxfilter’:
resample.c:260:14: warning: unused variable ‘volume’ [-Wunused-variable]
resample.c: In function ‘fourierfilter’:
resample.c:213:1: warning: ‘offset’ may be used uninitialized in this function [-Wuninitialized]
gcc -g -O2 -fPIC -DUNIX=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LSEEK64=1 -DUSE_TCL_STUBS=1 -Wall -DSTDC_HEADERS=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -pipe -fomit-frame-pointer -DTIME -DCONVERT  -I. -I/usr/local/ActiveTcl/include  -c grid.c
grid.c: In function ‘define_grid’:
grid.c:166:10: warning: unused variable ‘j’ [-Wunused-variable]
grid.c: In function ‘init_grid’:
grid.c:193:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
grid.c: In function ‘setup_data’:
grid.c:202:15: warning: unused variable ‘sz’ [-Wunused-variable]
grid.c:202:11: warning: unused variable ‘sy’ [-Wunused-variable]
grid.c:202:7: warning: unused variable ‘sx’ [-Wunused-variable]
grid.c:201:16: warning: unused variable ‘k’ [-Wunused-variable]
grid.c:201:13: warning: unused variable ‘j’ [-Wunused-variable]
grid.c:201:7: warning: unused variable ‘a’ [-Wunused-variable]
grid.c: In function ‘fill_data’:
grid.c:394:8: warning: unused variable ‘p’ [-Wunused-variable]
grid.c:392:7: warning: unused variable ‘size’ [-Wunused-variable]
grid.c: In function ‘show_grid’:
grid.c:22:8: warning: ‘c’ may be used uninitialized in this function [-Wuninitialized]
gcc -shared -g -O2 -fPIC -DUNIX=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LSEEK64=1 -DUSE_TCL_STUBS=1 -Wall -DSTDC_HEADERS=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -pipe -fomit-frame-pointer -DTIME -DCONVERT  -o libtsurf0.1.so polyreduce.o parseopts.o main.o niso.o misc.o resample.o grid.o   -L/usr/local/ActiveTcl/lib -ltclstub8.6 -lm
