graphics/blender: math.h: isnan(): error: controlling expression type 'unsigned int' not compatible with any generic association type

O. Hartmann ohartman at zedat.fu-berlin.de
Sat Aug 17 09:48:21 UTC 2013


port graphics/blender doesn't compiler neither in CURRENT nor 9.2-PRE
for the moment. On CURRENT (FreeBSD 10.0-CURRENT #4 r254430: Fri Aug 16
23:23:08 CEST 2013 amd64), compilation fails with the belwo shown error
message - for roughly a month now. 

I think this is dur to some issues of inconsistency/incompatibility of
the math.h/cmath headers regarding the reported c++11 issues.


Since port graphics/blender doesn't compile on 9.2 nor does it compile
in CURRENT and the fact that the math.h isn't fixed in the 9.2-RELEASE
as I was told, the port should be marked broken.



[ 55%] Building C object
source/blender/imbuf/intern/cineon/CMakeFiles/bf_imbuf_cineon.dir/cineon_dpx.c.o
[ 55%] Building C object
source/blender/imbuf/intern/cineon/CMakeFiles/bf_imbuf_cineon.dir/cineonlib.c.o /usr/ports/graphics/blender/work/blender-2.68/source/blender/imbuf/intern/cineon/cineonlib.c:280:70:
error: controlling expression type 'unsigned int' not compatible with
any generic association type if (cineon->element[i].refLowData ==
CINEON_UNDEFINED_U32 || isnan(cineon->element[i].refLowData))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/math.h:118:19: note:
expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf,
__inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:49: note:
expanded from macro '__fp_type_select' #define __fp_type_select(x, f,
d, ld) _Generic((x),    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130817/2c8176e0/attachment.sig>


More information about the freebsd-ports mailing list