From nobody Sun Apr 23 19:14: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 4Q4HxW0YCYz46LRr for ; Sun, 23 Apr 2023 19:14: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 4Q4HxV6ZH7z3jQl for ; Sun, 23 Apr 2023 19:14:06 +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=1682277246; 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=BWulEsO+7qOGSVaiE6DtMolJjv4WqeWxE/A08qsaIog=; b=bBrqi9KhHL3O9/n62CTQDqJUqwm4JT2TWQuxaHZM7mAbiDJwaukwoE+Fn1sIEjZyXpH5CS UlBy1j/yVXshizYx4QSKCUUL/u+LOI7DRySjWywP9Zbpa7LDHPlGFef4c98YMO5NSJtHFF 1xYy6xL8GpYCZX2aOOHxKAA0v75bZX2R9242URR1u7fdl2T1fzxQ2pIobhpBSW0n5krn5s lNX2fyS3NqnmENnYSbmzULkfzRq+22Yzsief1ktUdYbIY5u3jhnbNh9xvyj64WymzIS4R5 dH643t9cwt5l9WSC0zi8Mpi2OqNTPUPYSwuC7UxHCFMcXWap8IQWlsl00Y0JMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682277246; a=rsa-sha256; cv=none; b=czLVFMFIjKEXzB3EBE3Tt/spGagNCIYUDq2Rai4POOwIj6rL9PmYEFHRz8k5h1yXmt8d5q FcZT9n1E1APSlMyEmhV9Gg1G7tM28UUdq3IZCDga7xPJYAl+qP5A99F5KCtmZXzz8xYBl9 CrUljG/NYl+WuTC5QztLf2pPNs1MbOPo7MnXRuuKsPkcniBofb4JGfmHSOEOfup4C/0rHv jVupRF+EA277gazvSxps9J4InxuSHwiAGAFx3ujlfcRhsBGWqrP7eKRkHQHAC8D1NkoAwJ oky3D+O2fx7VJ5VgXdQf6ZdXq5790MlwVSVnC041N0g+UWgp2iarAOuGIQ0/vQ== 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 4Q4HxV5ZCqzvYr for ; Sun, 23 Apr 2023 19:14:06 +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 33NJE66w083291 for ; Sun, 23 Apr 2023 19:14:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33NJE6RG083290 for ports-bugs@FreeBSD.org; Sun, 23 Apr 2023 19:14:06 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 271031] textproc/html2text: fix build with clang 16 Date: Sun, 23 Apr 2023 19:14: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 Only Me 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=3D271031 Bug ID: 271031 Summary: textproc/html2text: fix build with clang 16 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me 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/html2text's Makefile does not explicitly set its C++ standard, this leads to several errors: /usr/local/lib/bison.cc:429:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int yystate; ^~~~~~~~~ /usr/local/lib/bison.cc:430:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int yyn; ^~~~~~~~~ /usr/local/lib/bison.cc:431:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register short *yyssp; ^~~~~~~~~ /usr/local/lib/bison.cc:432:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register YY_HTMLParser_STYPE *yyvsp; ^~~~~~~~~ Add USE_CXXSTD=3Dgnu++98 to avoid these errors. --=20 You are receiving this mail because: You are the assignee for the bug.=