Re: Make buildworld fails

From: Michael Gmelin <freebsd_at_grem.de>
Date: Wed, 11 Jul 2018 10:09:38 +0200
> On 11. Jul 2018, at 08:22, blubee blubeeme <gurenchan_at_gmail.com> wrote:
> 
> Why am I getting these errors?
> 
> error: user-defined literal suffixes not starting with '_' are reserved
> [-Werror,-Wuser-defined-literals]
> 
> ----------------------
> In file included from /usr/src/usr.sbin/pmc/cmd_pmc_filter.cc:71:
> In file included from
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/string:477:
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/string_view:796:29:
> error: user-defined literal suffixes not starting with '_' are reserved
> [-Werror,-Wuser-defined-literals]
>    basic_string_view<char> operator "" sv(const char *__str, size_t __len)
> _NOEXCEPT
>                            ^
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/string_view:802:32:
> error: user-defined literal suffixes not starting with '_' are reserved
> [-Werror,-Wuser-defined-literals]
>    basic_string_view<wchar_t> operator "" sv(const wchar_t *__str, size_t
> __len) _NOEXCEPT
>                               ^
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/string_view:808:33:
> error: user-defined literal suffixes not starting with '_' are reserved
> [-Werror,-Wuser-defined-literals]
>    basic_string_view<char16_t> operator "" sv(const char16_t *__str,
> size_t __len) _NOEXCEPT
>                                ^
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/string_view:814:33:
> error: user-defined literal suffixes not starting with '_' are reserved
> [-Werror,-Wuser-defined-literals]
>    basic_string_view<char32_t> operator "" sv(const char32_t *__str,
> size_t __len) _NOEXCEPT
>                                ^
> In file included from /usr/src/usr.sbin/pmc/cmd_pmc_filter.cc:71:
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/string:4046:24: error:
> user-defined literal suffixes not starting with '_' are reserved
> [-Werror,-Wuser-defined-literals]
>    basic_string<char> operator "" s( const char *__str, size_t __len )
>                       ^
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/string:4052:27: error:
> user-defined literal suffixes not starting with '_' are reserved
> [-Werror,-Wuser-defined-literals]
>    basic_string<wchar_t> operator "" s( const wchar_t *__str, size_t __len
> )
>                          ^
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/string:4058:28: error:
> user-defined literal suffixes not starting with '_' are reserved
> [-Werror,-Wuser-defined-literals]
>    basic_string<char16_t> operator "" s( const char16_t *__str, size_t
> __len )
>                           ^
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/string:4064:28: error:
> user-defined literal suffixes not starting with '_' are reserved
> [-Werror,-Wuser-defined-literals]
>    basic_string<char32_t> operator "" s( const char32_t *__str, size_t
> __len )
>                           ^
> 8 errors generated.
> *** Error code 1
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"


Which version/checkout (svn info and svn status), how do you build (and where), what does your /etc/make.conf look like?
Received on Wed Jul 11 2018 - 06:09:48 UTC

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