From nobody Tue Jun 20 18:56:06 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 4Qlwnz4Jv3z4g5dN for ; Tue, 20 Jun 2023 18:56:07 +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 4Qlwnz28DPz3Myw for ; Tue, 20 Jun 2023 18:56:07 +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=1687287367; 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=cS8PrAevHGHNm/4WYJPSYiUm//FC6iiZRS7BYvB0Pts=; b=HRWq+vB/pKjNvoFdtlOKtuzRDOn2+r2fd1nqiY6ZaWtkXlQSgRALRmyqu0S9aitFUyq3xC bzaIC/QHCWjn4H1ti6IvltN1OmuBaTSNjT+coQXDpB6xiRdfN0f48MuHZGb29GI7SMBGtq UoDKgplGQcBASXxpyDb8P5XPWKyqJ0gST84JOcn8GB6degU9T8fXIw5zIil05L+oV4YpRv GJ4qkA3vFeEGuO4f04wAi/VCk9DRPr8TZtfEE8W6UDprJPTUvVh/sorr3pueG0KI8K8hxL kptOOqERTDN3oKau/xLR0X9PMFwdZusoDNkPW7jx8yHelPCSjVri2hUgwOtGsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687287367; a=rsa-sha256; cv=none; b=ZFaB+YVEHjoEtbG12MIXrdB+//5BiW3ecX0fc2WtiIRTfVAv6pOhy/DiCufE2ahkyqFGog swC107JZVIFPdR6KU/rxTW+GvJ0fTuX8pmgGY9RBKEsSSjEiV4KZlE6Em7lV6/e3markzn wtc9qoyJH817ZlYrKCeN0zQWypSAB2ObAMK3XJScyBMezULsfHyzZpxHmmQ85LMVetDCa4 EUq8luo81mCrXKLfUBcH71d3xSs2mcehukOSA65NsthgNSNfA/TTaa0Dc74KjfYjAfCBbW fF+RTMgkcCokuBIPw3LPapjdC6kEzq2+ui4uOyNwzAJ7HXQH+AMaFz0vEILA1A== 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 4Qlwnz17l4z19TY for ; Tue, 20 Jun 2023 18:56:07 +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 35KIu7ww034107 for ; Tue, 20 Jun 2023 18:56:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35KIu7Wx034106 for ports-bugs@FreeBSD.org; Tue, 20 Jun 2023 18:56:07 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 272101] math/cbc: fix build with clang 16 Date: Tue, 20 Jun 2023 18:56:06 +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=3D272101 Bug ID: 272101 Summary: math/cbc: 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/cbc's build infrastructure does not explicitly set its C++ standard, this leads to errors: ./CbcSymmetry.hpp:83:30: error: ISO C++17 does not allow 'register' stora= ge class specifier [-Wregister] inline void color_vertex(register int k) { color =3D k; } ^~~~~~~~~ ./CbcSymmetry.hpp:91:24: error: ISO C++17 does not allow 'register' stora= ge class specifier [-Wregister] inline void bounds(register double a, register double b) ^~~~~~~~~ To work around the error, add USE_CXXSTD=3Dgnu++11 to compile for C++11 with GNU extensions instead. --=20 You are receiving this mail because: You are the assignee for the bug.=