[Bug libstdc++/119888] [15 Regression] std::projected is no longer a class for C++20/23

2025-04-21 Thread brunopitrus at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119888 --- Comment #7 from Bruno Pitrus --- This seems to work: using ProjectedType = std::indirectly_readable_traits, Proj> >::value_type; Thanks!

[Bug libstdc++/119888] [15 Regression] std::projected is no longer a class for C++20/23

2025-04-21 Thread brunopitrus at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119888 --- Comment #6 from Bruno Pitrus --- (In reply to Andrew Pinski from comment #3) How would you recommend fixing `ToVector` then?

[Bug c++/119888] New: GCC 15.x regression: std::string_view as template parameter incorrectly decays to char const*

2025-04-21 Thread brunopitrus at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119888 Bug ID: 119888 Summary: GCC 15.x regression: std::string_view as template parameter incorrectly decays to char const* Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug lto/116712] New: -Wlto-type-mismatch should show how the types differ (just like -Wodr does)

2024-09-14 Thread brunopitrus at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116712 Bug ID: 116712 Summary: -Wlto-type-mismatch should show how the types differ (just like -Wodr does) Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity:

[Bug c/115822] -Wmisleading-indentation should warn for inconsistent use of tabs vs spaces

2024-07-08 Thread brunopitrus at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115822 --- Comment #3 from Bruno Pitrus --- (In reply to Xi Ruoyao from comment #2) > And you can always use something like -ftabstop=1 to "disallow mixing > tabs with spaces." `-ftabstop=1` does not catch the example i provided above. (In r

[Bug c/115822] New: -Wmisleading-indentation should warn for inconsistent use of tabs vs spaces

2024-07-07 Thread brunopitrus at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115822 Bug ID: 115822 Summary: -Wmisleading-indentation should warn for inconsistent use of tabs vs spaces Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/114267] New: bogus -Wsubobject-linkage when using lambda members as template parameters

2024-03-07 Thread brunopitrus at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114267 Bug ID: 114267 Summary: bogus -Wsubobject-linkage when using lambda members as template parameters Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: nor

[Bug c++/111423] New: bogus Wsubobject-linkage when using CRTP with an invisible base, template template parameters, and concepts

2023-09-15 Thread brunopitrus at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111423 Bug ID: 111423 Summary: bogus Wsubobject-linkage when using CRTP with an invisible base, template template parameters, and concepts Product: gcc Version: 14.0