Makefile:50: warning: overriding recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/include/Make/Module.make:15: warning: ignoring old recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' mkdir -p /tmp/.grass6/addons/r.viewshed/bin mkdir -p /tmp/.grass6/addons/r.viewshed/etc make OBJ.x86_64-pc-linux-gnu make[1]: Entering directory '/work/src/grass-addons/grass6/raster/r.viewshed' Makefile:50: warning: overriding recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/include/Make/Module.make:15: warning: ignoring old recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' test -d OBJ.x86_64-pc-linux-gnu || mkdir -p OBJ.x86_64-pc-linux-gnu make[1]: Leaving directory '/work/src/grass-addons/grass6/raster/r.viewshed' g++ -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -g -O2 -O3 -DNO_STATS -Wall -Wformat -Wparentheses -Wpointer-arith -Wno-conversion -Wreturn-type -Wcomment -Wno-sign-compare -Wno-unused -DUSER=\"\" -D__GRASS__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fmessage-length=0 -ffast-math -funroll-loops -DPACKAGE=\""grassmods"\" -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -o OBJ.x86_64-pc-linux-gnu/main.o -c main.cpp main.cpp: In function ‘void parse_args(int, char**, int*, int*, ViewOptions*, long long int*, Cell_head*)’: main.cpp:505:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] obsElevOpt->answer = "1.75"; ^~~~~~ main.cpp:517:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] tgtElevOpt->answer = "0.0"; ^~~~~ main.cpp:560:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] refrCoeffOpt->answer = "0.14286"; ^~~~~~~~~ main.cpp:573:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] memAmountOpt->answer = "500"; ^~~~~ main.cpp:585:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] streamdirOpt->answer = "/var/tmp/"; ^~~~~~~~~~~ main.cpp: In function ‘int main(int, char**)’: main.cpp:281:19: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 989 [-Wformat-overflow=] sprintf(buf, "%s=%s", STREAM_TMPDIR, viewOptions.streamdir); ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ main.cpp:281:13: note: ‘sprintf’ output between 12 and 4107 bytes into a destination of size 1000 sprintf(buf, "%s=%s", STREAM_TMPDIR, viewOptions.streamdir); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make OBJ.x86_64-pc-linux-gnu make[1]: Entering directory '/work/src/grass-addons/grass6/raster/r.viewshed' Makefile:50: warning: overriding recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/include/Make/Module.make:15: warning: ignoring old recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' make[1]: 'OBJ.x86_64-pc-linux-gnu' is up to date. make[1]: Leaving directory '/work/src/grass-addons/grass6/raster/r.viewshed' g++ -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -g -O2 -O3 -DNO_STATS -Wall -Wformat -Wparentheses -Wpointer-arith -Wno-conversion -Wreturn-type -Wcomment -Wno-sign-compare -Wno-unused -DUSER=\"\" -D__GRASS__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fmessage-length=0 -ffast-math -funroll-loops -DPACKAGE=\""grassmods"\" -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -o OBJ.x86_64-pc-linux-gnu/distribute.o -c distribute.cpp In file included from /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami.h:27, from distribute.cpp:52: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h: In function ‘long unsigned int solve_in_memory(AMI_STREAM*, AMI_STREAM*, double, double, IOVisibilityGrid*, GridHeader*, Viewpoint*, ViewOptions)’: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 8180 [-Wformat-overflow=] sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ^~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: note: directive argument in the range [0, 576460752303423487] /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:10: note: ‘sprintf’ output between 16 and 8224 bytes into a destination of size 8192 sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 8180 [-Wformat-overflow=] sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ^~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: note: directive argument in the range [0, 576460752303423487] /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:10: note: ‘sprintf’ output between 16 and 8224 bytes into a destination of size 8192 sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h: In function ‘long unsigned int solve_in_memory(AMI_STREAM*, AMI_STREAM*, double, double, IOVisibilityGrid*, GridHeader*, Viewpoint*, ViewOptions)’: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 8180 [-Wformat-overflow=] sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ^~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: note: directive argument in the range [0, 576460752303423487] /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:10: note: ‘sprintf’ output between 16 and 8224 bytes into a destination of size 8192 sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 8180 [-Wformat-overflow=] sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ^~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: note: directive argument in the range [0, 576460752303423487] /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:10: note: ‘sprintf’ output between 16 and 8224 bytes into a destination of size 8192 sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h: In function ‘long unsigned int distribute_sector(AMI_STREAM*, AMI_STREAM*, double, double, IOVisibilityGrid*, Viewpoint*, GridHeader*, ViewOptions)’: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 8180 [-Wformat-overflow=] sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ^~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: note: directive argument in the range [0, 576460752303423487] /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:10: note: ‘sprintf’ output between 16 and 8224 bytes into a destination of size 8192 sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 8180 [-Wformat-overflow=] sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ^~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: note: directive argument in the range [0, 576460752303423487] /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:10: note: ‘sprintf’ output between 16 and 8224 bytes into a destination of size 8192 sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h: In function ‘IOVisibilityGrid* distribute_and_sweep(char*, GridHeader*, Viewpoint*, ViewOptions)’: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 8180 [-Wformat-overflow=] sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ^~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: note: directive argument in the range [0, 576460752303423487] /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:10: note: ‘sprintf’ output between 16 and 8224 bytes into a destination of size 8192 sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 8180 [-Wformat-overflow=] sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ^~~~~~~~~~~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:16: note: directive argument in the range [0, 576460752303423487] /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_stream.h:651:10: note: ‘sprintf’ output between 16 and 8224 bytes into a destination of size 8192 sprintf(buf, "[AMI_STREAM %s %ld]", path, (long)stream_len()); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make OBJ.x86_64-pc-linux-gnu make[1]: Entering directory '/work/src/grass-addons/grass6/raster/r.viewshed' Makefile:50: warning: overriding recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/include/Make/Module.make:15: warning: ignoring old recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' make[1]: 'OBJ.x86_64-pc-linux-gnu' is up to date. make[1]: Leaving directory '/work/src/grass-addons/grass6/raster/r.viewshed' g++ -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -g -O2 -O3 -DNO_STATS -Wall -Wformat -Wparentheses -Wpointer-arith -Wno-conversion -Wreturn-type -Wcomment -Wno-sign-compare -Wno-unused -DUSER=\"\" -D__GRASS__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fmessage-length=0 -ffast-math -funroll-loops -DPACKAGE=\""grassmods"\" -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -o OBJ.x86_64-pc-linux-gnu/eventlist.o -c eventlist.cpp In file included from /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_sort_impl.h:30, from /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_sort.h:40, from /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami.h:33, from visibility.h:42, from eventlist.h:43, from eventlist.cpp:49: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/replacementHeapBlock.h: In constructor ‘ReplacementHeapBlock::ReplacementHeapBlock(queue*>*) [with T = event_; Compare = RadialCompare]’: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/replacementHeapBlock.h:192:3: warning: ‘str’ may be used uninitialized in this function [-Wmaybe-uninitialized] mergeHeap[size].run = r; ^~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/replacementHeapBlock.h:146:18: note: ‘str’ was declared here MEM_STREAM* str; ^~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/replacementHeapBlock.h: In constructor ‘ReplacementHeapBlock::ReplacementHeapBlock(queue*>*) [with T = event_; Compare = DistanceCompare]’: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/replacementHeapBlock.h:192:3: warning: ‘str’ may be used uninitialized in this function [-Wmaybe-uninitialized] mergeHeap[size].run = r; ^~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/replacementHeapBlock.h:146:18: note: ‘str’ was declared here MEM_STREAM* str; ^~~ In file included from /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_sort.h:40, from /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami.h:33, from visibility.h:42, from eventlist.h:43, from eventlist.cpp:49: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_sort_impl.h: In function ‘void makeRun(AMI_STREAM*, T*&, int, Compare*) [with T = event_; Compare = RadialCompare]’: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_sort_impl.h:87:9: warning: ‘new_run_size’ may be used uninitialized in this function [-Wmaybe-uninitialized] off_t new_run_size; ^~~~~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_sort_impl.h: In function ‘void makeRun(AMI_STREAM*, T*&, int, Compare*) [with T = event_; Compare = DistanceCompare]’: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_sort_impl.h:87:9: warning: ‘new_run_size’ may be used uninitialized in this function [-Wmaybe-uninitialized] make OBJ.x86_64-pc-linux-gnu make[1]: Entering directory '/work/src/grass-addons/grass6/raster/r.viewshed' Makefile:50: warning: overriding recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/include/Make/Module.make:15: warning: ignoring old recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' make[1]: 'OBJ.x86_64-pc-linux-gnu' is up to date. make[1]: Leaving directory '/work/src/grass-addons/grass6/raster/r.viewshed' g++ -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -g -O2 -O3 -DNO_STATS -Wall -Wformat -Wparentheses -Wpointer-arith -Wno-conversion -Wreturn-type -Wcomment -Wno-sign-compare -Wno-unused -DUSER=\"\" -D__GRASS__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fmessage-length=0 -ffast-math -funroll-loops -DPACKAGE=\""grassmods"\" -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -o OBJ.x86_64-pc-linux-gnu/grid.o -c grid.cpp make OBJ.x86_64-pc-linux-gnu make[1]: Entering directory '/work/src/grass-addons/grass6/raster/r.viewshed' Makefile:50: warning: overriding recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/include/Make/Module.make:15: warning: ignoring old recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' make[1]: 'OBJ.x86_64-pc-linux-gnu' is up to date. make[1]: Leaving directory '/work/src/grass-addons/grass6/raster/r.viewshed' g++ -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -g -O2 -O3 -DNO_STATS -Wall -Wformat -Wparentheses -Wpointer-arith -Wno-conversion -Wreturn-type -Wcomment -Wno-sign-compare -Wno-unused -DUSER=\"\" -D__GRASS__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fmessage-length=0 -ffast-math -funroll-loops -DPACKAGE=\""grassmods"\" -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -o OBJ.x86_64-pc-linux-gnu/grass.o -c grass.cpp make OBJ.x86_64-pc-linux-gnu make[1]: Entering directory '/work/src/grass-addons/grass6/raster/r.viewshed' Makefile:50: warning: overriding recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/include/Make/Module.make:15: warning: ignoring old recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' make[1]: 'OBJ.x86_64-pc-linux-gnu' is up to date. make[1]: Leaving directory '/work/src/grass-addons/grass6/raster/r.viewshed' g++ -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -g -O2 -O3 -DNO_STATS -Wall -Wformat -Wparentheses -Wpointer-arith -Wno-conversion -Wreturn-type -Wcomment -Wno-sign-compare -Wno-unused -DUSER=\"\" -D__GRASS__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fmessage-length=0 -ffast-math -funroll-loops -DPACKAGE=\""grassmods"\" -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -o OBJ.x86_64-pc-linux-gnu/viewshed.o -c viewshed.cpp viewshed.cpp: In function ‘AEvent* allocate_eventlist(GridHeader*)’: viewshed.cpp:154:59: warning: left shift count >= width of type [-Wshift-count-overflow] long long maxsizet = ((long long)1 << (sizeof(size_t) * 8)) - 1; ^ make OBJ.x86_64-pc-linux-gnu make[1]: Entering directory '/work/src/grass-addons/grass6/raster/r.viewshed' Makefile:50: warning: overriding recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/include/Make/Module.make:15: warning: ignoring old recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' make[1]: 'OBJ.x86_64-pc-linux-gnu' is up to date. make[1]: Leaving directory '/work/src/grass-addons/grass6/raster/r.viewshed' g++ -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -g -O2 -O3 -DNO_STATS -Wall -Wformat -Wparentheses -Wpointer-arith -Wno-conversion -Wreturn-type -Wcomment -Wno-sign-compare -Wno-unused -DUSER=\"\" -D__GRASS__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fmessage-length=0 -ffast-math -funroll-loops -DPACKAGE=\""grassmods"\" -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -o OBJ.x86_64-pc-linux-gnu/rbbst.o -c rbbst.cpp make OBJ.x86_64-pc-linux-gnu make[1]: Entering directory '/work/src/grass-addons/grass6/raster/r.viewshed' Makefile:50: warning: overriding recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/include/Make/Module.make:15: warning: ignoring old recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' make[1]: 'OBJ.x86_64-pc-linux-gnu' is up to date. make[1]: Leaving directory '/work/src/grass-addons/grass6/raster/r.viewshed' g++ -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -g -O2 -O3 -DNO_STATS -Wall -Wformat -Wparentheses -Wpointer-arith -Wno-conversion -Wreturn-type -Wcomment -Wno-sign-compare -Wno-unused -DUSER=\"\" -D__GRASS__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fmessage-length=0 -ffast-math -funroll-loops -DPACKAGE=\""grassmods"\" -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -o OBJ.x86_64-pc-linux-gnu/statusstructure.o -c statusstructure.cpp make OBJ.x86_64-pc-linux-gnu make[1]: Entering directory '/work/src/grass-addons/grass6/raster/r.viewshed' Makefile:50: warning: overriding recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/include/Make/Module.make:15: warning: ignoring old recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' make[1]: 'OBJ.x86_64-pc-linux-gnu' is up to date. make[1]: Leaving directory '/work/src/grass-addons/grass6/raster/r.viewshed' g++ -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -g -O2 -O3 -DNO_STATS -Wall -Wformat -Wparentheses -Wpointer-arith -Wno-conversion -Wreturn-type -Wcomment -Wno-sign-compare -Wno-unused -DUSER=\"\" -D__GRASS__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fmessage-length=0 -ffast-math -funroll-loops -DPACKAGE=\""grassmods"\" -I/work/src/grass64/dist.x86_64-pc-linux-gnu/include -o OBJ.x86_64-pc-linux-gnu/visibility.o -c visibility.cpp In file included from /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_sort_impl.h:30, from /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_sort.h:40, from /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami.h:33, from visibility.h:42, from visibility.cpp:46: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/replacementHeapBlock.h: In constructor ‘ReplacementHeapBlock::ReplacementHeapBlock(queue*>*) [with T = visCell_; Compare = IJCompare]’: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/replacementHeapBlock.h:192:3: warning: ‘str’ may be used uninitialized in this function [-Wmaybe-uninitialized] mergeHeap[size].run = r; ^~~~~~~~~ /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/replacementHeapBlock.h:146:18: note: ‘str’ was declared here MEM_STREAM* str; ^~~ In file included from /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_sort.h:40, from /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami.h:33, from visibility.h:42, from visibility.cpp:46: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_sort_impl.h: In function ‘void makeRun(AMI_STREAM*, T*&, int, Compare*) [with T = visCell_; Compare = IJCompare]’: /work/src/grass64/dist.x86_64-pc-linux-gnu/include/grass/iostream/ami_sort_impl.h:87:9: warning: ‘new_run_size’ may be used uninitialized in this function [-Wmaybe-uninitialized] off_t new_run_size; ^~~~~~~~~~~~ g++ -L/work/src/grass64/dist.x86_64-pc-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/work/src/grass64/dist.x86_64-pc-linux-gnu/lib -o /tmp/.grass6/addons/r.viewshed/bin/r.viewshed OBJ.x86_64-pc-linux-gnu/main.o OBJ.x86_64-pc-linux-gnu/distribute.o OBJ.x86_64-pc-linux-gnu/eventlist.o OBJ.x86_64-pc-linux-gnu/grid.o OBJ.x86_64-pc-linux-gnu/grass.o OBJ.x86_64-pc-linux-gnu/viewshed.o OBJ.x86_64-pc-linux-gnu/rbbst.o OBJ.x86_64-pc-linux-gnu/statusstructure.o OBJ.x86_64-pc-linux-gnu/visibility.o -lgrass_gis.6.4.6svn -lgrass_datetime.6.4.6svn -lz -lgrass_iostream.6.4.6svn make htmlcmd make[1]: Entering directory '/work/src/grass-addons/grass6/raster/r.viewshed' Makefile:50: warning: overriding recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/include/Make/Module.make:15: warning: ignoring old recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' make /tmp/.grass6/addons/r.viewshed/docs/html/r.viewshed.html HTMLSRC=/tmp/.grass6/addons/r.viewshed/bin/r.viewshed make[2]: Entering directory '/work/src/grass-addons/grass6/raster/r.viewshed' Makefile:50: warning: overriding recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/include/Make/Module.make:15: warning: ignoring old recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' if [ "/tmp/.grass6/addons/r.viewshed/bin/r.viewshed" != "" ] ; then GISRC=/work/src/grass64/dist.x86_64-pc-linux-gnu/demolocation/.grassrc64 GISBASE=/work/src/grass64/dist.x86_64-pc-linux-gnu PATH="/tmp/.grass6/addons/r.viewshed/bin:$PATH" LD_LIBRARY_PATH="/tmp/.grass6/addons/r.viewshed/bin:/work/src/grass64/dist.x86_64-pc-linux-gnu/lib:" LC_ALL=C /tmp/.grass6/addons/r.viewshed/bin/r.viewshed --html-description < /dev/null | grep -v '\|' > r.viewshed.tmp.html ; true ; fi /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/tools/mkhtml.sh r.viewshed ; mkdir -p /tmp/.grass6/addons/r.viewshed/docs/html ; /usr/bin/install -c -m 644 r.viewshed.tmp.html /tmp/.grass6/addons/r.viewshed/docs/html/r.viewshed.html ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/install -c -m 644 $file /tmp/.grass6/addons/r.viewshed/docs/html ; fi done 2> /dev/null ; true make[2]: Leaving directory '/work/src/grass-addons/grass6/raster/r.viewshed' make[1]: Leaving directory '/work/src/grass-addons/grass6/raster/r.viewshed' make mancmd make[1]: Entering directory '/work/src/grass-addons/grass6/raster/r.viewshed' Makefile:50: warning: overriding recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/include/Make/Module.make:15: warning: ignoring old recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' make /work/src/grass64/dist.x86_64-pc-linux-gnu/man/man1/r.viewshed.1 MANSRC=/tmp/.grass6/addons/r.viewshed/docs/html/r.viewshed.html make[2]: Entering directory '/work/src/grass-addons/grass6/raster/r.viewshed' Makefile:50: warning: overriding recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/include/Make/Module.make:15: warning: ignoring old recipe for target '/tmp/.grass6/addons/r.viewshed/bin/r.viewshed' mkdir -p /work/src/grass64/dist.x86_64-pc-linux-gnu/man/man1 GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4.6svn sh /home/landa/src/grass64/dist.x86_64-pc-linux-gnu/tools/g.html2man /tmp/.grass6/addons/r.viewshed/docs/html/r.viewshed.html /work/src/grass64/dist.x86_64-pc-linux-gnu/man/man1/r.viewshed.1 1 Converting: /tmp/.grass6/addons/r.viewshed/docs/html/r.viewshed.html to /work/src/grass64/dist.x86_64-pc-linux-gnu/man/man1/r.viewshed.1 make[2]: Leaving directory '/work/src/grass-addons/grass6/raster/r.viewshed' make[1]: Leaving directory '/work/src/grass-addons/grass6/raster/r.viewshed'