Dear Baba,

I have difficulties to install the grass64-mac-shlibs package with fink on a 
MacOSX machine running Mavricks. 
The compilation fails in the 

/sw/src/fink.build/grass64-mac-6.4.2-5/grass-6.4.2/raster/r.terraflow

directory. When I try to run make in that directory the compiler returns four 
warnings and four errors bellow. I think, this problem was also reported 
compiling GRASS on Android device. Apparently the is_void function conflicts 
with an is_void function from the standard CC environment.

I hope, I provided all the information to find a fix for the package.

Best regards,

Balazs

direction.cc:57:44: error: reference to 'is_void' is ambiguous
    if (elevwin.get(3) < elevwin.get() && !is_void(elevwin.get(3))) dir |= 16;
                                           ^
./nodata.h:40:5: note: candidate found by name lookup is 'is_void'
int is_void(elevation_type el);
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/type_traits:209:46:
 note: 
      candidate found by name lookup is 'std::__1::is_void'
template <class _Tp> struct _LIBCPP_TYPE_VIS is_void
                                             ^
direction.cc:59:45: error: reference to 'is_void' is ambiguous
      if(elevwin.get(i) < elevwin.get() && !is_void(elevwin.get(i))) dir |= 
32<<i;
                                            ^
./nodata.h:40:5: note: candidate found by name lookup is 'is_void'
int is_void(elevation_type el);
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/type_traits:209:46:
 note: 
      candidate found by name lookup is 'std::__1::is_void'
template <class _Tp> struct _LIBCPP_TYPE_VIS is_void
                                             ^
direction.cc:60:47: error: reference to 'is_void' is ambiguous
      if(elevwin.get(i+6) < elevwin.get() && !is_void(elevwin.get(6+i))) dir |= 
8>>i;
                                              ^
./nodata.h:40:5: note: candidate found by name lookup is 'is_void'
int is_void(elevation_type el);
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/type_traits:209:46:
 note: 
      candidate found by name lookup is 'std::__1::is_void'
template <class _Tp> struct _LIBCPP_TYPE_VIS is_void
                                             ^
4 warnings and 4 errors generated.
make: *** [OBJ.i386-apple-darwin13.0.0/FLOAT/direction.o] Error 1









Package manager version: 0.36.1
Distribution version: selfupdate-rsync Thu Nov 21 20:51:25 2013, 10.9, x86_64
Trees: local/main stable/main
Xcode.app: 5.0.2
Xcode command-line tools: 5.0.1.0.1.1382131676
Max. Fink build jobs:  8

--
Balazs M. Fekete

Department of Civil Engineering, The City College of New York
CUNY Environmental CrossRoads Initiative
CUNY CREST Institute
City University of New York
160 Convent Avenue, New York, New York, 10031, USA
Phone: 1 (212) 650-8146
E-mail: bfek...@ccny.cuny.edu


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to