From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BB6883834E1B; Wed, 14 Dec 2022 10:56:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB6883834E1B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671015392; bh=0xfruR++B9fRjO5960CjSCxNMbtmmOFvLb+ilQVT7Cc=; h=From:To:Subject:Date:From; b=EaxojrR6pxW6cyjv7Q6UqN1aQMO3iW+VEHHg/bMl9Qkz2rpDSyTn2exkfPaDgLdnP 1fQFbRxQQKMPveyf1YktYvnxZRl2bcbeVSudxCJRbLUyLvjgFPl9QppUaLe2Y4K+fM GqE8XMMDNVH7KZoPWsZBUgIoKCeo5P8UujE4ac8k= From: "manuel.lauss at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108096] New: [13 regression] libreoffice build failure #2 Date: Wed, 14 Dec 2022 10:56:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manuel.lauss at googlemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108096 Bug ID: 108096 Summary: [13 regression] libreoffice build failure #2 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: manuel.lauss at googlemail dot com Target Milestone: --- Created attachment 54088 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54088&action=3Dedit comrpessed preprocessed source This is a followup to PR108071. With todays gcc-trunk (g:693638252aae9b36b5b928d7195df6d28bf409d7), libreof= fice build fails with another new error: # g++ -c backupfilehelper.i backupfilehelper.i: In instantiation of 'constexpr bool std::__check_constructible() [with _ValueType =3D rtl::OUString; _Tp =3D co= nst char* const&]': backupfilehelper.i:25254:119: required from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [= with _InputIterator =3D const char* const*; _ForwardIterator =3D rtl::OUString*]' backupfilehelper.i:25380:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterato= r, allocator<_Tp>&) [with _InputIterator =3D const char* const*; _ForwardItera= tor =3D rtl::OUString*; _Tp =3D rtl::OUString]' backupfilehelper.i:40712:33: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator =3D const char* const*; _= Tp =3D rtl::OUString; _Alloc =3D std::allocator]' backupfilehelper.i:40361:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator =3D const char* const*; =3D void; _= Tp =3D rtl::OUString; _Alloc =3D std::allocator; allocator_type =3D std::allocator]' backupfilehelper.i:62388:9: required from here backupfilehelper.i:25201:56: error: static assertion failed: result type mu= st be constructible from input type 25201 | static_assert(is_constructible<_ValueType, _Tp>::value, | ^~~~~ backupfilehelper.i:25201:56: note: 'std::integral_constant::va= lue' evaluates to false The offending code is: const std::vector< OUString >& f() { static std::vector< OUString > aDirNames =3D { "config", "registry", "psprint", "store", "temp", "pack" }; return aDirNames; } Find attached the compressed preprocessed source. Thank you! Manuel=