Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 2015 23:07:18 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: CURRENT: build failure with clang 3.7.0
Message-ID:  <2B9A426D-12FE-4D70-9182-7F84408A6001@FreeBSD.org>
In-Reply-To: <20151007133323.364655dd@freyja.zeit4.iv.bundesimmobilien.de>
References:  <20151007093727.0db8e2e6@freyja.zeit4.iv.bundesimmobilien.de> <EB5AD370-5FFF-4C90-8510-14DB3EFED961@FreeBSD.org> <20151007133323.364655dd@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_D2F62499-6D12-4BDA-9427-9E56FA0D51B1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 07 Oct 2015, at 13:33, O. Hartmann <ohartman@zedat.fu-berlin.de> =
wrote:
...
> The buildworld error when building with CXXFLAGS+=3D              =
-std=3Dc++11 is
> then
>=20
> [...]
> cc   -O2 -pipe -O3 -O3 -pipe -march=3Dnative  -I.
> -I/usr/obj/usr/src/lib/ncurses/menu/../ncurses
> -I/usr/src/lib/ncurses/menu/../ncurses =
-I/usr/src/lib/ncurses/menu/../ncurses
> -I/usr/src/lib/ncurses/menu/../../../contrib/ncurses/include
> -I/usr/src/lib/ncurses/menu/../../../contrib/ncurses/ncurses -Wall =
-DNDEBUG
> -DHAVE_CONFIG_H =
-I/usr/src/lib/ncurses/menu/../../../contrib/ncurses/menu
> -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall
> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized =
-Wno-pointer-sign
> -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
> -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
> -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef
> -Qunused-arguments
> -c /usr/src/lib/ncurses/menu/../../../contrib/ncurses/menu/m_pad.c -o =
m_pad.o
> --- all_subdir_atf --- In file included
> from /usr/src/contrib/atf/atf-c++/detail/application.cpp:26: In file =
included
> from /usr/src/contrib/atf/atf-c++/detail/application.hpp:29: In file =
included
> from /usr/obj/usr/src/tmp/usr/include/c++/v1/ostream:138: In file =
included
> from /usr/obj/usr/src/tmp/usr/include/c++/v1/ios:216: In file included
> from /usr/obj/usr/src/tmp/usr/include/c++/v1/__locale:15: =
/usr/obj/usr/src/tmp/usr/include/c++/v1/string:1938:44:
> error: 'basic_string<_CharT, _Traits, _Allocator>' is missing =
exception
> specification
> 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)' =
[-Werror]
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const =
allocator_type&
> __a) ^ /usr/obj/usr/src/tmp/usr/include/c++/v1/string:1326:40: note: =
previous
> declaration is here _LIBCPP_INLINE_VISIBILITY explicit =
basic_string(const
> allocator_type& __a)

These particular -Werror warnings, when building with -std=3Dc++11, =
should
now be fixed with r289082.  Thanks for the report.

-Dimitry


--Apple-Mail=_D2F62499-6D12-4BDA-9427-9E56FA0D51B1
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.28

iEYEARECAAYFAlYYLIsACgkQsF6jCi4glqPHaQCfZe0YOzAs15ovvMbh+jb24avV
50YAnRtPylDMP6cD9rW5cGu1/tVUam+q
=YarG
-----END PGP SIGNATURE-----

--Apple-Mail=_D2F62499-6D12-4BDA-9427-9E56FA0D51B1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2B9A426D-12FE-4D70-9182-7F84408A6001>