Skip to content

Instantly share code, notes, and snippets.

@epifanio
Created December 5, 2013 05:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epifanio/7800509 to your computer and use it in GitHub Desktop.
Save epifanio/7800509 to your computer and use it in GitHub Desktop.
MacBook-Pro-di-Massimo-2:grass7_trunk epi$ cd /Users/epi/dev/grass7_trunk/raster/r.terraflow
MacBook-Pro-di-Massimo-2:r.terraflow epi$ make
c++ -g -O2 -I/Users/epi/dev/grass7_trunk/dist.x86_64-apple-darwin13.0.0/include -I/Users/epi/dev/grass7_trunk/dist.x86_64-apple-darwin13.0.0/include -DUSER=\"epi\" -DNODATA_FIX -DELEV_FLOAT -Wno-sign-compare -DPACKAGE=\""grassmods"\" -I/Users/epi/dev/grass7_trunk/dist.x86_64-apple-darwin13.0.0/include -I/Users/epi/dev/grass7_trunk/dist.x86_64-apple-darwin13.0.0/include -o OBJ.x86_64-apple-darwin13.0.0/direction.o -c direction.cpp
direction.cpp:56:44: error: reference to 'is_void' is ambiguous
if (elevwin.get(5) < elevwin.get() && !is_void(elevwin.get(5))) dir |= 1;
^
./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.cpp: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.cpp:59:45: error: reference to 'is_void' is ambiguous
if(elevwin.get(i) < elevwin.get() && !is_void(elevwin.get(i))) di...
^
./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.cpp:60:47: error: reference to 'is_void' is ambiguous
if(elevwin.get(i+6) < elevwin.get() && !is_void(elevwin.get(6+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 errors generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment