[Bug c++/114909] False positive diagnostic from -Wdangling-reference

2024-05-01 Thread oleg at smolsky dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114909 --- Comment #2 from Oleg Smolsky --- It seems like an unreasonable stretch to connect a `string` temporary to the returned `Json` reference. The types are not related and so that guess looks overly aggressive... The surgical workaround should

[Bug c++/114909] New: False positive diagnostic from -Wdangling-reference

2024-05-01 Thread oleg at smolsky dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114909 Bug ID: 114909 Summary: False positive diagnostic from -Wdangling-reference Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/103499] New: C++20 modules error: invalid use of non-static member function

2021-11-30 Thread oleg at smolsky dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103499 Bug ID: 103499 Summary: C++20 modules error: invalid use of non-static member function Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal