Re: [Boost.GIL] GCC 12.1.1 fails to compile boost.gil examples with -std=c++20
Mateusz Loskot via Boost-users <[email protected]>
| Newsgroups | gmane.comp.lib.boost.user |
|---|---|
| Message-ID | <CABUeae9jEC1irV8AH_FS_eap-EWGgt4tr9Cu9ewFu3oZP8Wfhw@mail.gmail.com> |
On Thu, 18 Aug 2022 at 08:47, B Aleck via Boost-users <[email protected]> wrote: > > Source: https://www.boost.org/doc/libs/1_80_0/libs/gil/doc/html/_downloads/resize.cpp > Compile with: g++ -std=c++20 -c > gcc version: 12.1.1 > > The compile successes with -std=c++14 and -std=c++17, only fails with -std=c++20 > Same error does not occur on clang > > Is this a boost bug or gcc bug? It (whatever that error is, you did not share details) could be a bug in GIL, or lack of C++20 compliance. I haven't build the examples with C++20 myself for quite some times. Feel free to open issue at https://github.com/boostorg/gil/ with the error details. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net