public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "manuel.lauss at googlemail dot com" <gcc-bugzilla@gcc.gnu.org> 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 [thread overview] Message-ID: <bug-108096-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108096 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=54088&action=edit comrpessed preprocessed source This is a followup to PR108071. With todays gcc-trunk (g:693638252aae9b36b5b928d7195df6d28bf409d7), libreoffice build fails with another new error: # g++ -c backupfilehelper.i backupfilehelper.i: In instantiation of 'constexpr bool std::__check_constructible() [with _ValueType = rtl::OUString; _Tp = const char* const&]': backupfilehelper.i:25254:119: required from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const char* const*; _ForwardIterator = rtl::OUString*]' backupfilehelper.i:25380:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = const char* const*; _ForwardIterator = rtl::OUString*; _Tp = rtl::OUString]' backupfilehelper.i:40712:33: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = const char* const*; _Tp = rtl::OUString; _Alloc = std::allocator<rtl::OUString>]' backupfilehelper.i:40361:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = const char* const*; <template-parameter-2-2> = void; _Tp = rtl::OUString; _Alloc = std::allocator<rtl::OUString>; allocator_type = std::allocator<rtl::OUString>]' backupfilehelper.i:62388:9: required from here backupfilehelper.i:25201:56: error: static assertion failed: result type must be constructible from input type 25201 | static_assert(is_constructible<_ValueType, _Tp>::value, | ^~~~~ backupfilehelper.i:25201:56: note: 'std::integral_constant<bool, false>::value' evaluates to false The offending code is: const std::vector< OUString >& f() { static std::vector< OUString > aDirNames = { "config", "registry", "psprint", "store", "temp", "pack" }; return aDirNames; } Find attached the compressed preprocessed source. Thank you! Manuel
next reply other threads:[~2022-12-14 10:56 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-12-14 10:56 manuel.lauss at googlemail dot com [this message] 2022-12-14 11:18 ` [Bug c++/108096] [13 regression] libreoffice build failure #2 since r13-4564 jakub at gcc dot gnu.org 2022-12-14 11:25 ` redi at gcc dot gnu.org 2022-12-14 11:32 ` redi at gcc dot gnu.org 2022-12-14 12:36 ` jason at gcc dot gnu.org 2022-12-15 5:27 ` jason at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-108096-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).