Bug#622079: dvbcut: FTBFS w/GCC 4.5: 'index::index' names the constructor, not the type

Aaron M. Ucko ucko at debian.org
Sun Apr 10 04:28:39 UTC 2011


Package: dvbcut
Version: 0.5.4+svn146-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Builds of dvbcut with GCC 4.5 (the default on most architectures these
days) fail with a cascade of errors:

> src/mpgfile.h: At global scope:
> src/mpgfile.h:52:3: error: 'index::index' names the constructor, not the type
> src/mpgfile.h: In member function 'const index::picture& mpgfile::operator[](unsigned int) const':
> src/mpgfile.h:96:12: error: 'idx' was not declared in this scope
> src/mpgfile.h: In member function 'int mpgfile::lastseqheader(int) const':
> src/mpgfile.h:100:20: error: 'idx' was not declared in this scope
[...]

Could you please drop the spurious ::index and check for further
errors with the current toolchain?

Thanks!





More information about the pkg-multimedia-maintainers mailing list