[GRASSLIST:7356] Re: r.terraflow fails to build

Hamish hamish_nospam at yahoo.com
Tue Jun 28 23:40:55 EDT 2005


On Tue, 28 Jun 2005 15:42:06 -0400 (EDT)
"Thomas Colson" <tom_colson at ncsu.edu> wrote:

> latest from cvs:
> 
> [root at localhost r.terraflow]# make
> Makefile:78: warning: overriding commands for target `clean'
> ../../include/Make/Rules.make:35: warning: ignoring old commands for
> target `clean'
> mkdir -p OBJ.x86_64-unknown-linux-gnu/FLOAT ; true
> mkdir -p OBJ.x86_64-unknown-linux-gnu/SHORT ; true
> c++ -c -g -O2 -I./IOStream/include -DUSER=\"root\" -DNODATA_FIX
> -D_FILE_OFFSET_BITS= 64 -I/dls/grass/grass6/include -DELEV_FLOAT main.cc
> -o OBJ.x86_64-unknown-linux-gnu/ FLOAT/main.o
> ./IOStream/include/replacementHeap.h:155: error: invalid use of
> constructor as a tem plate
> ./IOStream/include/replacementHeap.h:155: note: use _ReplacementHeap<T,
> Compare>::Re placementHeap_ instead of _ReplacementHeap<T,
> Compare>::ReplacementHeap<T, Compare>_  to name the constructor in a
> qualified name
> ./IOStream/include/replacementHeapBlock.h:161: error: invalid use of
> constructor as a template
> ./IOStream/include/replacementHeapBlock.h:161: note: use
> _ReplacementHeapBlock<T, Co mpare>::ReplacementHeapBlock_ instead of
> _ReplacementHeapBlock<T, Compare>::Replacem entHeapBlock<T, Compare>_ to
> name the constructor in a qualified name
> make: *** [OBJ.x86_64-unknown-linux-gnu/FLOAT/main.o] Error 1
> 
> 

I see 64 bitness; is this GCC 4.0?

a patch was already posted:
  
  http://grass.itc.it/pipermail/grass5/2005-June/018638.html




Hamish




More information about the grass-user mailing list