From owner-freebsd-current@freebsd.org Wed Jun 19 19:46:19 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81A4215C7EC9 for ; Wed, 19 Jun 2019 19:46:19 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 01C4A776BE for ; Wed, 19 Jun 2019 19:46:19 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id B50D515C7EC8; Wed, 19 Jun 2019 19:46:18 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76D9315C7EC7 for ; Wed, 19 Jun 2019 19:46:18 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C746776BD; Wed, 19 Jun 2019 19:46:18 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id D1BEA1BB5B; Wed, 19 Jun 2019 19:46:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [10.10.153.209] (unknown [185.93.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 624274983F; Wed, 19 Jun 2019 21:46:16 +0200 (CEST) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_3AC941AF-A369-4389-9F46-6BC30AA70748"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Compiling issues Date: Wed, 19 Jun 2019 21:46:14 +0200 In-Reply-To: <1170690929.3061726.1560893193243@mail.yahoo.com> Cc: "current@freebsd.org" To: Aaron Farias References: <1170690929.3061726.1560893193243.ref@mail.yahoo.com> <1170690929.3061726.1560893193243@mail.yahoo.com> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 1C746776BD X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.987,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2019 19:46:19 -0000 --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 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 > ELF = ... > ^ > /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 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--