Opened 12 months ago

Closed 12 months ago

Last modified 9 months ago

#18027 closed enhancement (fixed)

libvdpau-va-gl-0.4.0 FTBFS with gcc-13.1

Reported by: ken@… Owned by: ken@…
Priority: normal Milestone: 12.0
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description (last modified by Bruce Dubbs)

/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 Bruce Dubbs, 12 months ago

Description: modified (diff)

comment:2 by ken@…, 12 months ago

Resolution: fixed
Status: assignedclosed

comment:3 by Bruce Dubbs, 9 months ago

Milestone: 11.412.0

Milestone renamed

Note: See TracTickets for help on using tickets.