Re: [Boost-users] boost.gil build failed with GCC11 and -std=c++20

2022-01-07 Thread Mateusz Loskot via Boost-users
On Fri, 7 Jan 2022, 15:25 Qiang Ren via Boost-users, < boost-users@lists.boost.org> wrote: > Hi, > > I am on ubuntu 20.04, I have GCC9.4 and 10.3 and 11.1 installed. > > I found that when set "-std=c++20", with gcc11, boost.gil will failed to > build. > > Here is the simple test cpp to reproduce t

[Boost-users] boost.gil build failed with GCC11 and -std=c++20

2022-01-07 Thread Qiang Ren via Boost-users
Hi, I am on ubuntu 20.04, I have GCC9.4 and 10.3 and 11.1 installed. I found that when set "-std=c++20", with gcc11, boost.gil will failed to build. Here is the simple test cpp to reproduce the issue: #include #include #include namespace gil = boost::gil; int main() { gil::rgb8_image_t i