From nobody Sun Apr 23 19:32:39 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 4Q4JLx59nWz46Mbm for ; Sun, 23 Apr 2023 19:32:41 +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 4Q4JLx1Vytz4HjC for ; Sun, 23 Apr 2023 19:32:41 +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=1682278361; 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=Md7KRaqdHTAR2yNd0VT8FLbGwF4/Ov6JYlJ5okE1e2M=; b=hIKir1INEB4vZ5hDeNU2W/XzFi0IXgVJSy+7pMpbYah/AJ9AJ5xxr1Rf3yFrwLAFBaZNXT t/3KabZ7hwx1jyG1BSRVIcxhCHl+9Qqfzj/MX7ahMFRV8A/ar1ScAwptXcfQH0fhEZI2wn 9p+OfmANoful0T45hFFFwDCd1jpXwXfrCmilw7N3krREm8kR4PP2vwwNAu4D0BQTT0q4/8 e6ajVqRa+HXFMDoxZRSWNvRUF6klz4MhnE3o55OuzHtvKXScdC2TJ4GRWkJlcyk9pIRQmx EdyeXf2DmzULn0LWAJFilxPxoaIdU/6E1G3FyPml5DBc8R+1cYss62CKzZtSDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682278361; a=rsa-sha256; cv=none; b=KlkXTRoDLtHlC7yodEriirCkQCZLNUxkZQr2wzEEQW/I7pfNRd9LxxNLl1AwNun0KoUJgT l6F19wlkreg9XnsALSkjds/wA/QjtdnBPScBRx0tkEz9H9d9T5QLJjMSgjuOIYpQep3D81 TwBzwCGDMwetsppLNgfcvxswSDPMj/ydceA2BYE54/vu/LLAcdeVnX1rqhinESuBYb8F87 kG1X8ibjqjCs99HKC30EEYEF95Np0M+5WEpvq5sWyxOUgI1j+2w1suqO6RqQiICS9okaRT tseXXYyrPYQo9QQQhZv1b4zGRISOw3IjlgBXmXu3oSZsid1vLCMEJr3Wc8AusQ== 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 4Q4JLv2MSXzwbw for ; Sun, 23 Apr 2023 19:32:39 +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 33NJWdBg012741 for ; Sun, 23 Apr 2023 19:32:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33NJWdlk012740 for ports-bugs@FreeBSD.org; Sun, 23 Apr 2023 19:32:39 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 271034] textproc/groff: fix build with clang 16 Date: Sun, 23 Apr 2023 19:32:39 +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: bapt@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=3D271034 Bug ID: 271034 Summary: textproc/groff: 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: bapt@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(bapt@FreeBSD.org) Assignee: bapt@FreeBSD.org Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because textproc/groff's Makefile does not explicitly set its C++ standard, this leads to several errors: src/preproc/grn/hdb.cpp:38:15: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] int DBGetType(register char *s); ^~~~~~~~~ src/preproc/grn/hdb.cpp:64:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register ELT *temp; ^~~~~~~~~ src/preproc/grn/hdb.cpp:83:8: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] DBRead(register FILE *file) ^~~~~~~~~ src/preproc/grn/hdb.cpp:85:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int i; ^~~~~~~~~ src/preproc/grn/hdb.cpp:86:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int done; /* flag for input exhausted */ ^~~~~~~~~ src/preproc/grn/hdb.cpp:87:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register double nx; /* x holder so x is not set before orient= ing */ ^~~~~~~~~ src/preproc/grn/hdb.cpp:212:11: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] DBGetType(register char *s) ^~~~~~~~~ Add USE_CXXSTD=3Dgnu++98 to avoid these errors. --=20 You are receiving this mail because: You are the assignee for the bug.=