From nobody Thu May 18 15:13:40 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QMYQX2xx0z4Bgxw for ; Thu, 18 May 2023 15:13:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QMYQX1wb3z4KRf for ; Thu, 18 May 2023 15:13:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684422820; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=u9trbjlOwOqP30PJ0v63D1UO7MJizmbCb9BhiWaANOY=; b=tElQkmMp896PM3MMSKa4dQ3gmUYc1wW50vJ7LMlb9/kKQwBPNW+10qSPzRqqWE7yy9/CVO oX3ZUwiJZoVKoykALPMCGC8Jr2BBT2r0mjXS+0Zblrg+IwvOiczLzWWRr1pUi7mkQs4Up6 DoDjkfQHru4sBzwJY2pT9A2BI/nj/tSfhUbLuhJi1ekxI6P9WBHU2mxyaA90r3YKjZudE1 vwkNQgMS6zUvhFXPwEQVl7JQZ8iutEjupUklGbDjITaUpbEQqwMW8RQleIM+hcpXIJogwK xJyoCPWA6AjPQHVyUitDb0aJiTQCod57vSB8v6lWBKBpFuTYBq5X2xsu3+X9sA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684422820; a=rsa-sha256; cv=none; b=M3N5etCO6PNO0kwu5zbIgJYrTihAWdnxreGzD1QYsforhIqx594djGLdBkx34D0Nk9Pk2R m2H44dBwFjbOIiEaKbr6smscVgbfEoPIPWyNZ2mr7SW4jm699LivkDS6lNYRezFIGR6/YW e0KUeTLJQUn5z9qLT2hNxa+Qnmm6K/JjDamkxpko3cK9zSYaFyjjTCOr1iqOAl6SNTh+3P CnQcsfSmeeYeVhARtdnxiBMtSYZDJvBSLaDTRcSWl18dnPEOWMoIEBedwgQfupcMEeVpQV 14HeKS1CoBOMw4ZgK/2S08dRxDxJWccKAMA9L4Ee+rlp1X72pWNRSQoWTVyi6w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QMYQX0hdJzqYx for ; Thu, 18 May 2023 15:13:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34IFDe0X068974 for ; Thu, 18 May 2023 15:13:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34IFDefg068973 for ports-bugs@FreeBSD.org; Thu, 18 May 2023 15:13:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271493] graphics/freeimage: fix build with clang 16 Date: Thu, 18 May 2023 15:13:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eduardo@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271493 Bug ID: 271493 Summary: graphics/freeimage: fix build with clang 16 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: eduardo@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(eduardo@FreeBSD.org) Assignee: eduardo@FreeBSD.org Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because graphics/freeimage's Makefile does not explicitly set its C++ standard, this leads to several errors: In file included from Source/FreeImage/PluginEXR.cpp:33: In file included from Source/FreeImage/../OpenEXR/IlmImf/ImfOutputFile.h:= 46: In file included from Source/OpenEXR/IlmImf/ImfHeader.h:51: Source/OpenEXR/Imath/ImathVec.h:228:34: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] const Vec2 & normalizeExc () throw (IEX_NAMESPACE::MathExc); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/OpenEXR/Imath/ImathVec.h:228:34: note: use 'noexcept(false)' inste= ad const Vec2 & normalizeExc () throw (IEX_NAMESPACE::MathExc); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noexcept(false) Source/OpenEXR/Imath/ImathVec.h:232:37: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] Vec2 normalizedExc () const throw (IEX_NAMESPACE::MathExc); ^~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~ Source/OpenEXR/Imath/ImathVec.h:232:37: note: use 'noexcept(false)' inste= ad Vec2 normalizedExc () const throw (IEX_NAMESPACE::MathExc); ^~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~ noexcept(false) Because these constructs are no longer available in C++17, add USE_CXXSTD=3Dgnu++14 to compile for C++14 with GNU extensions instead. --=20 You are receiving this mail because: You are the assignee for the bug.=