[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-03-14 Thread flast at flast dot jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #24 from Kohei Takahashi --- (In reply to Marek Polacek from comment #23) > (In reply to Kohei Takahashi from comment #21) > > (In reply to Marek Polacek from comment #18) > > > (In reply to Barnabás Pőcze from comment #17) > > > > T

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-03-12 Thread flast at flast dot jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #21 from Kohei Takahashi --- (In reply to Marek Polacek from comment #18) > (In reply to Barnabás Pőcze from comment #17) > > The simple test case with std::span still triggers the warning: > > https://gcc.godbolt.org/z/43cKxdqr3. I

[Bug c++/92851] Lambda capture of *this with mutable is not mutable

2023-03-10 Thread flast at flast dot jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92851 --- Comment #3 from Kohei Takahashi --- It's still rejected in GCC 13.0. https://wandbox.org/permlink/jKItc5W8KnYR7JN1