Date: Wed, 19 Jun 2019 21:46:14 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Aaron Farias <aaronfarias@att.net> Cc: "current@freebsd.org" <current@freebsd.org> Subject: Re: Compiling issues Message-ID: <C1BBE841-3557-49D5-90E2-CE29CC7D8F20@FreeBSD.org> In-Reply-To: <1170690929.3061726.1560893193243@mail.yahoo.com> References: <1170690929.3061726.1560893193243.ref@mail.yahoo.com> <1170690929.3061726.1560893193243@mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_3AC941AF-A369-4389-9F46-6BC30AA70748 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 18 Jun 2019, at 23:26, Aaron Farias <aaronfarias@att.net> wrote: >=20 > Hello good evening can someone help me out with this issue > [ 7%] Building CXX object src/CMakeFiles/services.dir/access.o > In file included from = /home/Dark/Downloads/anope-2.0.6/src/access.cpp:12: > In file included from = /home/Dark/Downloads/anope-2.0.6/include/service.h:15: > In file included from = /home/Dark/Downloads/anope-2.0.6/include/services.h:22: > In file included from /usr/include/c++/v1/stdexcept:46: > In file included from /usr/include/c++/v1/exception:81: > In file included from /usr/include/c++/v1/cstddef:38: > /home/Dark/Downloads/anope-2.0.6/include/version:1:1: error: expected > unqualified-id > <U+007F>ELF<U+0002><U+0001><U+0001> = <U+0000><U+0000><U+0000><U+0000>... > ^ > /home/Dark/Downloads/anope-2.0.6/include/version:2:208: error: source = file is > not valid UTF-8 Yes, you seem to have a file called "version" in your include path, and you need to either rename it, or remove the directory containing the file from your include path. Unfortunately recent versions of libc++ include the standards-mandated <version> header [1], which will now by default conflict with any file named as such in your project. See also https://bugs.freebsd.org/236192. -Dimitry [1] https://en.cppreference.com/w/cpp/header/version --Apple-Mail=_3AC941AF-A369-4389-9F46-6BC30AA70748 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXQqRBgAKCRCwXqMKLiCW o3VQAKCTd94oQQQa6duuc4ai1iORcEYj9ACeOOwbLsgS+so4LTX0lvRyAKVLuqA= =Ye8y -----END PGP SIGNATURE----- --Apple-Mail=_3AC941AF-A369-4389-9F46-6BC30AA70748--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C1BBE841-3557-49D5-90E2-CE29CC7D8F20>