#18027 closed enhancement (fixed)
libvdpau-va-gl-0.4.0 FTBFS with gcc-13.1
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | 12.0 |
| Component: | BOOK | Version: | git |
| Severity: | medium | Keywords: | |
| Cc: |
Description (last modified by )
/scratch/working/libvdpau-va-gl-0.4.0/src/api-device.cc:60:14: error: variable 'const std::string vdp::kImplemetationDescriptionString' has initializer but incomplete type
60 | const string kImplemetationDescriptionString{"OpenGL/VAAPI backend for VDPAU"};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/vdpau_va_gl.dir/build.make:118: src/CMakeFiles/vdpau_va_gl.dir/api-device.cc.o] Error 1
(sorry for anyone reading this ticket in a browser, trac interprets the three asteriscs as a markup command to use bold text
Fixed with:
sed -e '/#include <stdlib.h>/a #include <string>' -i src/api-device.cc
Note: the other includes are all old-style '.h' files, including <string.h> to keep the style did NOT fix this.
Change History (3)
comment:1 by , 3 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 3 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in 973598a7f52736f0ff2b2c48094de92312c6ba1b 11.3-474