On Mon, 10 Mar 2025 18:05:21 +0100 Jakub Jelinek <ja...@redhat.com> wrote:
> Designated initializers are C++20, so you should just avoid that. So, > I'd recommend just: > cbl_field_data_t data = { /* memsize= */capacity_cast(len), > /* capacity= */capacity_cast(len), > /* digits= */0, > /* rdigits= */0, > /* initial= */reinterpret_cast<char*> > (blob), /* picture= */reinterpret_cast<char*>(blob) }; Very well. Now that we're in the tree and official maintainers, this will be a good learning experience for doing things the right way within the gcc repository. IIUC, we should remove all designated initializers ASAP, definitely before gcc-15 is branched. I think I can have repairs made this week. There was some hiccup setting up my write access, but I would hope that will be resolved soon enough, and Richard will be the first to know. --jkl