CURRENT: build failure with clang 3.7.0
Dimitry Andric
dim at FreeBSD.org
Fri Oct 9 21:07:27 UTC 2015
On 07 Oct 2015, at 13:33, O. Hartmann <ohartman at zedat.fu-berlin.de> wrote:
...
> The buildworld error when building with CXXFLAGS+= -std=c++11 is
> then
>
> [...]
> cc -O2 -pipe -O3 -O3 -pipe -march=native -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=gnu99 -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=c++11, should
now be fixed with r289082. Thanks for the report.
-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20151009/49e8b96e/attachment.bin>
More information about the freebsd-current
mailing list