Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 2013 11:48:18 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   graphics/blender: math.h:  isnan(): error: controlling expression type 'unsigned int'     not compatible with any generic association type
Message-ID:  <20130817114818.7d5cd89a@thor.walstatt.dyndns.org>

next in thread | raw e-mail | index | archive | help
--Sig_/v+byylDh4gYc25nD8up5DaD
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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.=20

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_dp=
x.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/int=
ern/cineon/cineonlib.c:280:70:
error: controlling expression type 'unsigned int' not compatible with
any generic association type if (cineon->element[i].refLowData =3D=3D
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),   =20

--Sig_/v+byylDh4gYc25nD8up5DaD
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iQEcBAEBAgAGBQJSD0biAAoJEOgBcD7A/5N8sDIIAN62UCzHTmbQ0E7jYT5Tz9QS
tv1DdvtA7X+ykZujsybFvh4SUmetdosGUfqvrAMxKqVoQv3wbFjvMyGVplLsU2dp
jWvTxglZSJpbM31M/Z7pwpE/fXI8VPGIN7OZO+ZQ1KAsNl9BrDk29LpC6RnZgoSq
rMHkokKeoCjhKmiUkuuGSqrpvSeNWp808GCEy3LwhV59f1ZsD5MJERt0FzgJR0XP
kiyMIjC8W+ZF96JWeY2brTBTZXpLGWJhw5Ti3hVTx5fo9Zb58BI5A9HXv2BgAlEv
CIJJ8tSnx22AbftP1x5H7hBW8c6QVeDaSC6DS5wLqJW+r5Q0/xBbUinwwRMy7X4=
=i1zD
-----END PGP SIGNATURE-----

--Sig_/v+byylDh4gYc25nD8up5DaD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130817114818.7d5cd89a>