Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2013 17:51:30 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   port graphics/blender fails to compile due to issue in math.h: error: controlling expression type 'unsigned int' not compatible with any generic association type [...]  isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl)
Message-ID:  <20130731175130.2cd963ed@thor.walstatt.dyndns.org>

next in thread | raw e-mail | index | archive | help
--Sig_/mk.Rq9Qi7KMw/cLczVjznLd
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On most recent CUURENT (FreeBSD 10.0-CURRENT #4 r253800: Tue Jul 30
13:41:11 CEST 2013 amd64 ) port garphics/blender fails to compile due
to the following error.

I guess this has to do with the changes necessary to math.h/cmath and
the c++11 standard issue.

[...]
Scanning dependencies of target
bf_imbuf_cineon [ 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),                     \ ^
/usr/ports/graphics/blender/work/blender-2.68/source/blender/imbuf/intern/c=
ineon/cineonlib.c:283:71:
error: controlling expression type 'unsigned int' not compatible with
any generic association type if (cineon->element[i].refHighData =3D=3D
CINEON_UNDEFINED_U32 || isnan(cineon->element[i].refHighData))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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),
\

--Sig_/mk.Rq9Qi7KMw/cLczVjznLd
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

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

iQEcBAEBAgAGBQJR+TKCAAoJEOgBcD7A/5N8S5QH/1XbQ/ohNpAq62vjIkDSLC2w
dGr/RQUdabta3Re0A6ES3ZDSnxrTnMfp3IwE7IdVZxro04iW3poky3FOWvMFbLhC
K2Tz9of7/GX5Bo3aW56nYuNWKyiFsLSUn6wxe5/pXD6lBZRYdnxH4aBIzzWk179I
Q+NXLGKa+rEygD//gDodA0nYKjr8FLGA6FzM2ENF3AdOp1J4pjMjO1uabv6NOFEg
4IJPHl7bwYpAl8KOrdwVQgZQWnItcLuOioK2k6ngw0IWYCvPf7HTBPBsow41j0//
tRRMimzGHTt8t9zGdMW/7+r3aU9JLPt+DFVJFfKSTJwnttj58PCW+EBn7qE+CQI=
=2gW3
-----END PGP SIGNATURE-----

--Sig_/mk.Rq9Qi7KMw/cLczVjznLd--



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