Opened 2 years ago
Last modified 21 months ago
#18027 closed enhancement
libvdpau-va-gl-0.4.0 FTBFS with gcc-13.1 — at Version 1
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 12.0 |
Component: | BOOK | Version: | git |
Severity: | normal | 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.
Note:
See TracTickets
for help on using tickets.