[Bug 273649] textproc/enchant: Fix build with LLVM/clang++ 16

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 09 Sep 2023 04:16:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273649

Alexey Dokuchaev <danfe@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danfe@FreeBSD.org
             Status|New                         |Open

--- Comment #2 from Alexey Dokuchaev <danfe@FreeBSD.org> ---
(In reply to Olivier Certner from comment #0)
> clang++ 16 defaults to C++17 causing errors with the codebase.
Could you please cite the exact built errors you're seeing?  I couldn't find
the log in the pkg-fallout@ reports nor reproduce it locally with patched
Makefile (CXX=/usr/local/bin/clang++16).

> Switching back to C++14 makes it build.
Fixing the actual bug(s) in the code is preferred to lowering the C++ standard,
but in any case we must understand what's going on here first.

-- 
You are receiving this mail because:
You are the assignee for the bug.