From nobody Tue Jun 6 16:51:38 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 4QbGhq0my3z4ZWjt for ; Tue, 6 Jun 2023 16:51:39 +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 4QbGhp66Dbz45xF for ; Tue, 6 Jun 2023 16:51:38 +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=1686070298; 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=ezni8dkLxSsViq8jTbtPA7o5frCThJxmXcjlrY9bmTQ=; b=fZyvN421W9IXZGt04oCif3hUdnKYdLYSLbh7nViD6tbzHrm9FaeY8mhTTcRlfCNiVAVtCN p+CyLJAQ0ec8ZQz7YMyYniLM3NZFE6l+4ZTKjLJuaot9XkVejRp+4B9tkH30cAQsRSLaAE c+xX1P9ohHgK2vhrhX2R1TJXEw1nZLN29TupWZnJq3vjkIuuh/tNXvE64jA06fxm51c35m G0QzGd0KyYh9F99KuY9YfcxK8vyqG9Xadd1T63b0CUDcHbjd/EPXTeSINvr4AfYh/+XSGw hy3d7dPyTOIVaRekjguY5+OYcfzQLJoTExmZX16zvgV4b9YZ4i9a1wwfK4AMMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686070298; a=rsa-sha256; cv=none; b=qWdcYc1bl9xMXRFkpDFJj6GkVySrdurod8pjoFq7y9OGQ/JSg3e0JB7SXLreuHNJAZr5Hj JFkPibObZilQSZZXq2p/vuZMB3I2mD9gITOmTZ30KNHXjoyJpPiv63+wfIYQjNi3Qx5mEd g0g0dr0kBj1Rx1zPQKpBU0NRRqpi+bdvmMFlTXD/4Qnlxhed4fmNxTSrJ8t9YHorF7N1Pd RIF/67BHep5KH1nd9oHoYGykw7vNOPj1aMO1okQb3MOjR7EOpVes5Er9xsfWSRFdviU0ZG Hg/K1HE3+qDY/RThlP6DJt6ibUB38JvcHEdjtasuu/4yfFgDwdkA4sUO2uT+2g== 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 4QbGhp5C3PzdMS for ; Tue, 6 Jun 2023 16:51:38 +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 356GpcxH082263 for ; Tue, 6 Jun 2023 16:51:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 356GpcnS082261 for ports-bugs@FreeBSD.org; Tue, 6 Jun 2023 16:51:38 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 271870] math/coinutils: fix build with clang 16 Date: Tue, 06 Jun 2023 16:51:38 +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: yuri@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=3D271870 Bug ID: 271870 Summary: math/coinutils: 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: yuri@freebsd.org Reporter: dim@FreeBSD.org Assignee: yuri@freebsd.org Flags: maintainer-feedback?(yuri@freebsd.org) Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because math/coinutils's build infrastructure does not explicitly set its C++ standard, this leads to several errors: ./CoinOslC.h:37:15: error: ISO C++17 does not allow 'register' storage cl= ass specifier [-Wregister] int c_ekkbtrn(register const EKKfactinfo *fact, ^~~~~~~~~ ./CoinOslC.h:40:22: error: ISO C++17 does not allow 'register' storage cl= ass specifier [-Wregister] int c_ekkbtrn_ipivrw(register const EKKfactinfo *fact, ^~~~~~~~~ ./CoinOslC.h:44:15: error: ISO C++17 does not allow 'register' storage cl= ass specifier [-Wregister] int c_ekketsj(register /*const*/ EKKfactinfo *fact, ^~~~~~~~ ./CoinOslC.h:49:15: error: ISO C++17 does not allow 'register' storage cl= ass specifier [-Wregister] int c_ekkftrn(register const EKKfactinfo *fact, ^~~~~~~~~ ./CoinOslC.h:53:18: error: ISO C++17 does not allow 'register' storage cl= ass specifier [-Wregister] int c_ekkftrn_ft(register EKKfactinfo *fact, ^~~~~~~~~ ./CoinOslC.h:55:17: error: ISO C++17 does not allow 'register' storage cl= ass specifier [-Wregister] void c_ekkftrn2(register EKKfactinfo *fact, double *dwork1, ^~~~~~~~~ ./CoinOslC.h:59:15: error: ISO C++17 does not allow 'register' storage cl= ass specifier [-Wregister] int c_ekklfct(register EKKfactinfo *fact); ^~~~~~~~~ ./CoinOslC.h:60:15: error: ISO C++17 does not allow 'register' storage cl= ass specifier [-Wregister] int c_ekkslcf(register const EKKfactinfo *fact); ^~~~~~~~~ To work around the errors, define the register keyword away using CPPFLAGS. --=20 You are receiving this mail because: You are the assignee for the bug.=