Closed heitbaum closed 3 months ago
FWIW, I just tried to compile 24.2.4 using gcc
14.1.1, this fails with 7 errors:
error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
109 | PMOS_INTERFACE osInterface,
| ^~~~~~~~~~~~~~
Here's the output log for those interested: output.log
As a workaround you can export CXXFLAGS="-Wno-error=template-id-cdtor"
, which turns those errors into warnings.
Auto Created VSMGWL-73974 for further analysis.
Which component impacted?
Build
Is it regression? Good in old configuration?
No, this issue exist a long time
What happened?
When compiling with gcc-14.1 (rc) media-driver 24.2.2 fails to compile with the following errors.
error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
What's the usage scenario when you are seeing the problem?
Others
What impacted?
Unable to compile with gcc-14.1
Debug Information
Na
Do you want to contribute a patch to fix the issue?
No.