Re: Compiling issues

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Wed, 19 Jun 2019 21:46:14 +0200
On 18 Jun 2019, at 23:26, Aaron Farias <aaronfarias_at_att.net> wrote:
> 
> 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


Received on Wed Jun 19 2019 - 17:46:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC