Bug ID | 1233590 |
---|---|
Summary | GCC14 C++ CTAD failure due to ambiguous overload |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 15.6 |
Hardware | x86-64 |
OS | SLES 15 |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Development |
Assignee | screening-team-bugs@suse.de |
Reporter | pafee@tycoint.com |
QA Contact | qa-bugs@suse.de |
Target Milestone | --- |
Found By | --- |
Blocker | --- |
Created attachment 878657 [details]
Illustration of compilation failure on Leap
While using a C++ compile time fixed_string library, I encountered an issue
with Leap's version of GCC 14.
I tried a number of combinations:
* GCC-13, C++20: Pass
* GCC-13, C++23: Pass
* GCC-14, C++20: Pass
* GCC-14, C++23: Fail
Testing on Tumbleweed all combinations passed.
Distro compiler versions reported by "g++-14 -v"
Leap 15.6: gcc version 14.2.0 (SUSE Linux)
Tumbleweed: gcc version 14.2.1 20241007 [revision
4af44f2cf7d281f3e4f3957efce10e8b2ccb2ad3] (SUSE Linux)
I've stripped down the code in question to produce a minimal reproducible
example (see attachment).
Since the code works with GCC 14.2.1 on Tumbleweed, is the Leap package lacking
upstream updates?