latest clone from bitbucket
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Code:
In file included from /Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/source/AStarPathfinder.cpp:24:
/Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/include/PolyVoxCore/AStarPathfinder.h:74:4: error: no type named 'function' in namespace 'std'
polyvox_function<bool (const VolumeType*, const Vector3DInt32&)> funcIsVoxelValidForPath = &aStarDefaultVoxelValidator,
^~~~~~~~~~~~~~~~
/Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/include/PolyVoxCore/Impl/TypeDef.h:98:32: note: expanded from macro 'polyvox_function'
#define polyvox_function std::function
~~~~~^
In file included from /Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/source/AStarPathfinder.cpp:24:
/Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/include/PolyVoxCore/AStarPathfinder.h:74:20: error: expected ')'
polyvox_function<bool (const VolumeType*, const Vector3DInt32&)> funcIsVoxelValidForPath = &aStarDefaultVoxelValidator,
^
/Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/include/PolyVoxCore/AStarPathfinder.h:66:3: note: to match this '('
(
^
/Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/include/PolyVoxCore/AStarPathfinder.h:129:3: error: no type named 'function' in namespace
'std'
polyvox_function<bool (const VolumeType*, const Vector3DInt32&)> isVoxelValidForPath;
^~~~~~~~~~~~~~~~
/Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/include/PolyVoxCore/Impl/TypeDef.h:98:32: note: expanded from macro 'polyvox_function'
#define polyvox_function std::function
~~~~~^
In file included from /Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/source/AStarPathfinder.cpp:24:
/Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/include/PolyVoxCore/AStarPathfinder.h:129:19: error: expected member name or ';' after
declaration specifiers
polyvox_function<bool (const VolumeType*, const Vector3DInt32&)> isVoxelValidForPath;
~~~~~~~~~~~~~~~~^
/Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/include/PolyVoxCore/AStarPathfinder.h:136:3: error: no type named 'function' in namespace
'std'
polyvox_function<void (float)> progressCallback;
^~~~~~~~~~~~~~~~
/Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/include/PolyVoxCore/Impl/TypeDef.h:98:32: note: expanded from macro 'polyvox_function'
#define polyvox_function std::function
~~~~~^
In file included from /Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/source/AStarPathfinder.cpp:24:
/Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/include/PolyVoxCore/AStarPathfinder.h:136:19: error: expected member name or ';' after
declaration specifiers
polyvox_function<void (float)> progressCallback;
~~~~~~~~~~~~~~~~^
/Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/include/PolyVoxCore/AStarPathfinder.h:84:25: error: use of undeclared identifier
'funcIsVoxelValidForPath'
,isVoxelValidForPath(funcIsVoxelValidForPath)
^
/Users/admin/demoprojects/PolyVoxTwo/polyvox/library/PolyVoxCore/include/PolyVoxCore/AStarPathfinder.h:85:22: error: use of undeclared identifier
'funcProgressCallback'
,progressCallback(funcProgressCallback)
^
8 errors generated.
make[2]: *** [library/PolyVoxCore/CMakeFiles/PolyVoxCore.dir/source/AStarPathfinder.cpp.o] Error 1
make[1]: *** [library/PolyVoxCore/CMakeFiles/PolyVoxCore.dir/all] Error 2
make: *** [all] Error 2