OS X weird: error cast from pointer to smaller type 'uint'

   2643   1   0
User Avatar
Member
33 posts
Joined: Feb. 2009
Offline
Im using OS X 10.10.2
Took me quite a while the makefile. And now Im getting this error

/include/SYS/SYS_Math.h116812 error cast from pointer to smaller type ‘uint’ (aka ‘unsigned int’) loses information
return (uint)ptr;

With this command

g++ -c -MMD -MP -MT -D_GNU_SOURCE -DMAKING_DSO -DMBSD -DMBSD_COCOA -DMBSD_INTEL -DSESI_LITTLE_ENDIAN -DENABLE_THREADS -DUSE_PTHREADS -D_REENTRANT -DNEED_SPECIALIZATION_STORAGE -DGCC3 /Users/abahena/houdini/SOP_CPPWave.o -I/Library/Frameworks/Houdini.framework/Versions/14.0.201.13/Resources/toolkit/toolkit/include -W -Wall -I/Library/Frameworks/Houdini.framework/Versions/14.0.201.13/Libraries -I/Users/abahena/houdini/SOP_CPPWave.o -I/Library/Frameworks/Houdini.framework/Versions/14.0.201.13/Resources/toolkit/include -m64 -L/Library/Frameworks/Houdini.framework/Versions/14.0.201.13/Resources/toolkit/samples/SOP/cast.hpp -pthread -fPIC -g -w -o /Users/abahena/houdini/SOP_CPPWave.o SOP_CPPWave.C
User Avatar
Member
7735 posts
Joined: July 2005
Offline
Is g++ still in the Makefile? Houdini 14 (and 13 too I think?) has since moved onto clang++ (from XCode command line tools).
  • Quick Links