From owner-freebsd-ports@FreeBSD.ORG Wed Jul 31 15:51:33 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id ED4D0C60; Wed, 31 Jul 2013 15:51:32 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AA3F4290B; Wed, 31 Jul 2013 15:51:32 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1V4YgV-002zO7-2J>; Wed, 31 Jul 2013 17:51:31 +0200 Received: from f052017189.adsl.alicedsl.de ([78.52.17.189] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) with esmtpsa (envelope-from ) id <1V4YgU-0040SY-Tp>; Wed, 31 Jul 2013 17:51:31 +0200 Date: Wed, 31 Jul 2013 17:51:30 +0200 From: "O. Hartmann" To: FreeBSD CURRENT , FreeBSD Ports 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> Organization: FU Berlin X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/mk.Rq9Qi7KMw/cLczVjznLd"; protocol="application/pgp-signature" X-Originating-IP: 78.52.17.189 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 15:51:33 -0000 --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--