Re: Building certain ports fails with errors in system C++ libraries

From: J David <j.david.lists_at_gmail.com>
Date: Fri, 30 Aug 2024 18:19:53 UTC
On Fri, Aug 30, 2024 at 1:54 PM Dimitry Andric <dim@freebsd.org> wrote:
> This is the problem: do not redefine identifiers like this, as it leads
> to problems. Try renaming this macro to "my_hex", "le_hex" or anything
> but "hex". :)

/usr/include/c++/v1/ios is the system C++ standard library include
file for streams.

The "edit.h" file in this case comes from the port. Which the
automated infrastructure for official FreeBSD packages is (somehow)
able to build. But how?!

There is literally nothing here that is custom, tweaked, changed, or
created by us. It's a port build on a newly installed system.