[ 664s] ami_stream.cc:46:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]mm.cc: In function 'void* operator new (size_t)':
[ 664s] mm.cc:259:32: error: declaration of 'void* operator new (size_t)' has a different exception specifier
[ 664s] In file included from mm.cc:29:0:
[ 664s] /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.i686-pc-linux-gnu/include/grass/iostream/mm.h:114:17: error: from previous declaration 'void* operator new (std::size_t) throw (std::bad_alloc)'
[ 664s]
[ 664s] ami_stream.cc:46:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
[ 664s] mm.cc:310:30: error: declaration of 'void* operator new(size_t)' has a different exception specifier
[ 664s] In file included from mm.cc:29:0:
[ 664s] /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.i686-pc-linux-gnu/include/grass/iostream/mm.h:113:17: error: from previous declaration 'void* operator new(std::size_t) throw (std::bad_alloc)'
[ 664s] mm.cc:362:32: error: declaration of 'void operator delete(void*)' has a different exception specifier
[ 664s] In file included from mm.cc:29:0:
[ 664s] /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.i686-pc-linux-gnu/include/grass/iostream/mm.h:115:15: error: from previous declaration 'void operator delete(void*) throw ()'
[ 664s] mm.cc:402:34: error: declaration of 'void operator delete (void*)' has a different exception specifier
[ 664s] In file included from mm.cc:29:0:
[ 664s] /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.i686-pc-linux-gnu/include/grass/iostream/mm.h:116:15: error: from previous declaration 'void operator delete (void*) throw ()'
[ 664s] make[3]: *** [OBJ.i686-pc-linux-gnu/mm.o] Error 1
[ 664s] make[3]: *** Waiting for unfinished jobs....
[ 664s] make[3]: Leaving directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/lib/iostream'
[ 664s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/lib'
[ 664s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/lib'
[ 664s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/db'
Would someone like to provide a patch for this error?
Perhaps needs to be fixed upstream too?
Thanks,
Angelos
--
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens http://users.ntua.gr/tzotsos
[ 664s] ami_stream.cc:46:1: warning: deprecated conversion from string
constant to 'char*' [-Wwrite-strings]mm.cc: In function 'void* operator new
(size_t)':
[ 664s] mm.cc:259:32: error: declaration of 'void* operator new (size_t)'
has a different exception specifier
[ 664s] ami_stream.cc:46:1: warning: deprecated conversion from string
constant to 'char*' [-Wwrite-strings]mm.cc: In function 'void* operator new
(size_t)':
[ 664s] mm.cc:259:32: error: declaration of 'void* operator new (size_t)'
has a different exception specifier
[ 664s] ami_stream.cc:46:1: warning: deprecated conversion from string
constant to 'char*' [-Wwrite-strings]mm.cc: In function 'void* operator new
(size_t)':
[ 664s] mm.cc:259:32: error: declaration of 'void* operator new (size_t)'
has a different exception specifier
Would someone like to provide a patch for this error?
See the fix in r51638.
Markus
Hi,
After applying the patch, I now get this failure:
make[3]: Entering directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/raster/r.digit'
../../include/Make/Module.make:25: warning: overriding recipe for target `install'
../../include/Make/Rules.make:90: warning: ignoring old recipe for target `install'
make /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/man/man1/r.digit.1 MANSRC=/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/docs/html/r.digit.html
make[4]: Entering directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/raster/r.digit'
../../include/Make/Module.make:25: warning: overriding recipe for target `install'
../../include/Make/Rules.make:90: warning: ignoring old recipe for target `install'
mkdir -p /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/man/man1
GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4.2 sh ../../tools/g.html2man/g.html2man /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/docs/html/r.digit.html /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/man/man1/r.digit.1 1
Converting: /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/docs/html/r.digit.html to /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/man/man1/r.digit.1
make[4]: Leaving directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/raster/r.digit'
make[3]: Leaving directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/raster/r.digit'
make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/raster/r.digit'
c++ -c -I/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include -g -O2 -DUSER=\"abuild\" -DNODATA_FIX -D_FILE_OFFSET_BITS=64 -DPACKAGE=\""grassmods"\" -DELEV_FLOAT types.cc -o OBJ.x86_64-unknown-linux-gnu/FLOAT/types.o
c++ -c -I/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include -g -O2 -DUSER=\"abuild\" -DNODATA_FIX -D_FILE_OFFSET_BITS=64 -DPACKAGE=\""grassmods"\" -DELEV_FLOAT ccforest.cc -o OBJ.x86_64-unknown-linux-gnu/FLOAT/ccforest.o
In file included from /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/empq_adaptive_impl.h:30:0,
from /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/ami.h:41,
from ccforest.h:27,
from ccforest.cc:19:
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/empq_adaptive.h: In constructor 'EMPQueueAdaptive<T, Key>::EMPQueueAdaptive(long int)':
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/empq_adaptive.h:53:47: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 [enabled by default]
In file included from /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/empq.h:35:0,
from /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/empq_impl.h:26,
from /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/ami.h:39,
from ccforest.h:27,
from ccforest.cc:19:
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h: In instantiation of 'HeapIndex MinMaxHeap<T>::fill(T*, HeapIndex) [with T = keyvalue<int>; HeapIndex = unsigned int]':
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/empq_impl.h:674:67: required from 'bool em_pqueue<T, Key>::min(T&) [with T = keyvalue<int>; Key = int]'
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/empq_adaptive_impl.h:237:2: required from 'bool EMPQueueAdaptive<T, Key>::min(T&) [with T = keyvalue<int>; Key = int]'
ccforest.cc:164:4: required from 'void ccforest<T>::findAllRoots(int) [with T = int]'
ccforest.cc:340:16: required from here
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:747:5: error: 'insert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:747:5: note: declarations in dependent base 'BasicMinMaxHeap<keyvalue<int> >' are not found by unqualified lookup
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:747:5: note: use 'this->insert' instead
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h: In instantiation of 'void UnboundedMinMaxHeap<T>::grow() [with T = keyvalue<int>]':
ccforest.cc:340:38: required from here
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:780:2: error: 'allocateHeap' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:780:2: note: declarations in dependent base 'BasicMinMaxHeap<keyvalue<int> >' are not found by unqualified lookup
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:780:2: note: use 'this->allocateHeap' instead
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:786:2: error: 'freeHeap' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:786:2: note: declarations in dependent base 'BasicMinMaxHeap<keyvalue<int> >' are not found by unqualified lookup
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:786:2: note: use 'this->freeHeap' instead
make[2]: *** [OBJ.x86_64-unknown-linux-gnu/FLOAT/ccforest.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/raster/r.terraflow'
Perhaps this was fixed in another step?
Is 6.4.3 close to a release? Perhaps I should wait for that?
Cheers,
Angelos
--
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens http://users.ntua.gr/tzotsos
[ 664s] ami_stream.cc:46:1: warning: deprecated conversion from string
constant to 'char*' [-Wwrite-strings]mm.cc: In function 'void* operator new
(size_t)':
[ 664s] mm.cc:259:32: error: declaration of 'void* operator new (size_t)'
has a different exception specifier
Would someone like to provide a patch for this error?
See the fix in r51638.
Markus
Hi,
After applying the patch, I now get this failure:
make[3]: Entering directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/raster/r.digit'
../../include/Make/Module.make:25: warning: overriding recipe for target `install'
../../include/Make/Rules.make:90: warning: ignoring old recipe for target `install'
make /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/man/man1/r.digit.1 MANSRC=/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/docs/html/r.digit.html
make[4]: Entering directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/raster/r.digit'
../../include/Make/Module.make:25: warning: overriding recipe for target `install'
../../include/Make/Rules.make:90: warning: ignoring old recipe for target `install'
mkdir -p /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/man/man1
GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4.2 sh ../../tools/g.html2man/g.html2man /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/docs/html/r.digit.html /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/man/man1/r.digit.1 1
Converting: /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/docs/html/r.digit.html to /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/man/man1/r.digit.1
make[4]: Leaving directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/raster/r.digit'
make[3]: Leaving directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/raster/r.digit'
make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/raster/r.digit'
c++ -c -I/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include -g -O2 -DUSER=\"abuild\" -DNODATA_FIX -D_FILE_OFFSET_BITS=64 -DPACKAGE=\""grassmods"\" -DELEV_FLOAT types.cc -o OBJ.x86_64-unknown-linux-gnu/FLOAT/types.o
c++ -c -I/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include -g -O2 -DUSER=\"abuild\" -DNODATA_FIX -D_FILE_OFFSET_BITS=64 -DPACKAGE=\""grassmods"\" -DELEV_FLOAT ccforest.cc -o OBJ.x86_64-unknown-linux-gnu/FLOAT/ccforest.o
In file included from /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/empq_adaptive_impl.h:30:0,
from /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/ami.h:41,
from ccforest.h:27,
from ccforest.cc:19:
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/empq_adaptive.h: In constructor 'EMPQueueAdaptive<T, Key>::EMPQueueAdaptive(long int)':
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/empq_adaptive.h:53:47: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 [enabled by default]
In file included from /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/empq.h:35:0,
from /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/empq_impl.h:26,
from /home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/ami.h:39,
from ccforest.h:27,
from ccforest.cc:19:
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h: In instantiation of 'HeapIndex MinMaxHeap<T>::fill(T*, HeapIndex) [with T = keyvalue<int>; HeapIndex = unsigned int]':
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/empq_impl.h:674:67: required from 'bool em_pqueue<T, Key>::min(T&) [with T = keyvalue<int>; Key = int]'
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/empq_adaptive_impl.h:237:2: required from 'bool EMPQueueAdaptive<T, Key>::min(T&) [with T = keyvalue<int>; Key = int]'
ccforest.cc:164:4: required from 'void ccforest<T>::findAllRoots(int) [with T = int]'
ccforest.cc:340:16: required from here
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:747:5: error: 'insert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:747:5: note: declarations in dependent base 'BasicMinMaxHeap<keyvalue<int> >' are not found by unqualified lookup
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:747:5: note: use 'this->insert' instead
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h: In instantiation of 'void UnboundedMinMaxHeap<T>::grow() [with T = keyvalue<int>]':
ccforest.cc:340:38: required from here
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:780:2: error: 'allocateHeap' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:780:2: note: declarations in dependent base 'BasicMinMaxHeap<keyvalue<int> >' are not found by unqualified lookup
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:780:2: note: use 'this->allocateHeap' instead
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:786:2: error: 'freeHeap' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:786:2: note: declarations in dependent base 'BasicMinMaxHeap<keyvalue<int> >' are not found by unqualified lookup
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:786:2: note: use 'this->freeHeap' instead
make[2]: *** [OBJ.x86_64-unknown-linux-gnu/FLOAT/ccforest.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/grass-6.4.2/raster/r.terraflow'
Perhaps this was fixed in another step?
Is 6.4.3 close to a release? Perhaps I should wait for that?
Cheers,
Angelos
--
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens http://users.ntua.gr/tzotsos
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:747:5:
note: declarations in dependent base 'BasicMinMaxHeap<keyvalue<int> >'
are not found by unqualified lookup
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:747:5:
note: use 'this->insert' instead
After applying the patch, I now get this failure:
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:747:5:
note: declarations in dependent base 'BasicMinMaxHeap<keyvalue<int> >'
are not found by unqualified lookup
/home/abuild/rpmbuild/BUILD/grass-6.4.2/dist.x86_64-unknown-linux-gnu/include/grass/iostream/minmaxheap.h:747:5:
note: use 'this->insert' instead
Perhaps this was fixed in another step?
Yes, r51633.
Thanks Glynn, I already used the latest svn snapshot for 6.4.3 to build and works fine.
Regards,
Angelos
--
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens http://users.ntua.gr/tzotsos