From nobody Sun May 14 15:10:44 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 4QK5Y03Gkhz4BnRs for ; Sun, 14 May 2023 15:10:44 +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 4QK5Y020Rcz4Jgx for ; Sun, 14 May 2023 15:10:44 +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=1684077044; 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=pNdc2E8HEiq9Y0n64KqOJwOP9Og17/lPRACDuc7ZjY4=; b=CSYvp4y2WKqt2w7Ig++cjFpV2saGFJm5sroUQq4/iNn0J3rqAO/9/5/WPy2NwFFEC9mlUp zYMCy6pYguYyza6swzHY78jgoODZpC7vr/wj5WFkCLeAbtlIBixIjqB/6Ed8yW4ohlmV1r D1lPWLDIjjiRIouwtH2tILK1Ft81fMHJrgUwldqCq8wYzfw2ckja/DdHm7FM5Mcs6Dmnoe QEYJJskxSxjU7j23nZcGMIrkNisZuffJ2o3xQ80EB+2m0Yx7fZCzFPdDYLJ20CzpdFYw2N yF1JM6PyZ5vOiy2ImC3QJ8NaTGlvnn19H/XHznTGc74aN4CUC3WLEtMkqZ5e+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684077044; a=rsa-sha256; cv=none; b=QH5m6qvNdWWDRRCcOB0q1qHYiaxDF4ENVfwz5O5xMsU4ZOyhxaMNVf4QJyziJVbOG2we87 cHhzSulv6GOl1tzfwghZhJ9SRgi/f3INXIO95p6r/H4UWK+fsEN4e5fl2fM1YyLLBFEr/5 2uC3GxytfEl/brWHY7/QPpeQzzAhdiuWAQZCE/ysOyzdM2uZJYG9SunyQAkdOIP+h9+7G3 xsiSK6Gq5ZoAFrS6vHpOfgwD0ogaqpM0nQI1QV4Hv+JFiiHTwFLVycZEBuAI5EBQNfT+KG eU2CP/Owup3Em3pIrA4Ad6GgwWhoFLweC2m11cIsSlIZBQVUc0B/AXexfqQP8A== 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 4QK5Y01676z13Nx for ; Sun, 14 May 2023 15:10:44 +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 34EFAiIs069597 for ; Sun, 14 May 2023 15:10:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34EFAidq069596 for ports-bugs@FreeBSD.org; Sun, 14 May 2023 15:10:44 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 271415] net/norm: fix build with clang 16 Date: Sun, 14 May 2023 15:10:44 +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: ports-bugs@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 cc 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=3D271415 Bug ID: 271415 Summary: net/norm: 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: ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: hd@oc.dk Flags: maintainer-feedback?(hd@oc.dk) CC: hd@oc.dk Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because net/norm's build system does not explicitly set the C++ standard, this leads to several errors: ../src/common/normEncoderRS8.cpp:264:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] USE_GF_MULC ; ^ ../src/common/normEncoderRS8.cpp:136:21: note: expanded from macro 'USE_GF_MULC' #define USE_GF_MULC register gf * __gf_mulc_ ^ ../src/common/normEncoderRS8.cpp:265:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register gf* dst =3D dst1; ^~~~~~~~~ ../src/common/normEncoderRS8.cpp:266:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register gf* src =3D src1 ; ^~~~~~~~~ Add USE_CXXSTD=3Dgnu++98 to compile for C++98 with GNU extensions instead, as net/norm does not seem to use any C++11 or later constructs. --=20 You are receiving this mail because: You are the assignee for the bug.=