Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 706356 Details for
Bug 788583
media-plugins/vdr-vcd-0.9-r4 - vcd.c: error: max was not declared in this scope (maybe gcc-11 related)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-plugins:vdr-vcd-0.9-r4:20210506-063943.log
media-plugins:vdr-vcd-0.9-r4:20210506-063943.log (text/plain), 5.21 KB, created by
Toralf Förster
on 2021-05-06 07:53:08 UTC
(
hide
)
Description:
media-plugins:vdr-vcd-0.9-r4:20210506-063943.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2021-05-06 07:53:08 UTC
Size:
5.21 KB
patch
obsolete
> * Package: media-plugins/vdr-vcd-0.9-r4 > * Repository: gentoo > * Maintainer: vdr@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox > * Compiling against > * vdr-2.4.7 [API version 2.4.7] >>>> Unpacking source... >>>> Unpacking vdr-vcd-0.9.tgz to /var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work >>>> Source unpacked in /var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work >>>> Preparing source in /var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work/vcd-0.9 ... > * Applying vdr-vcd-0.9_xgettext.diff ... > [ ok ] > * Applying vdr-vcd-0.9_vdr-1.7.2.diff ... > [ ok ] > * Applying vdr-vcd-0.9_devicetrickspeed.patch ... > [ ok ] > * Applying vdr-vcd-0.9_gcc-6.patch ... > [ ok ] > * Patching Makefile > * Patching for Linguas support > * available Languages for vdr-vcd-0.9 are: > * LINGUAS="de it " > * obsolete tI18nPhrase found, disabled per sed, please recheck >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work/vcd-0.9 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work/vcd-0.9 ... >make -j 1 all LOCALEDIR=/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/temp/tmp-locale LOCDIR=/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/temp/tmp-locale LIBDIR=/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work/vcd-0.9 TMPDIR=/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/temp >x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DCONFDIR=\"/etc/vdr\" -DPLUGIN_NAME_I18N='"vcd"' -D_GNU_SOURCE -I/usr/include/vdr/include vcd.c >vcd.c: In member function âvirtual cOsdMenu* cPluginVcd::MainMenuAction()â: >vcd.c:139:20: error: âmaxâ was not declared in this scope; did you mean âstd::maxâ? > 139 | psd_size = max((int)U32_TO_LE(vcd->vcdInfo.psd_size), PSD_VCD_MAX_SIZE*CD_XA21_DATASIZE); > | ^~~ > | std::max >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/specfun.h:45, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:1927, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/math.h:36, > from /usr/include/vdr/tools.h:18, > from /usr/include/vdr/i18n.h:14, > from /usr/include/vdr/config.h:19, > from /usr/include/vdr/interface.h:13, > from vcd.c:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:300:5: note: âstd::maxâ declared here > 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) > | ^~~ >vcd.c:143:20: error: âmaxâ was not declared in this scope; did you mean âstd::maxâ? > 143 | psd_size = max((int)U32_TO_LE(vcd->vcdInfo.psd_size), PSD_VCD_MAX_SIZE*CD_XA21_DATASIZE); > | ^~~ > | std::max >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/specfun.h:45, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:1927, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/math.h:36, > from /usr/include/vdr/tools.h:18, > from /usr/include/vdr/i18n.h:14, > from /usr/include/vdr/config.h:19, > from /usr/include/vdr/interface.h:13, > from vcd.c:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:300:5: note: âstd::maxâ declared here > 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) > | ^~~ >vcd.c: In member function âvirtual const char* cPluginVcd::Description()â: >vcd.c:73:14: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 73 | asprintf(&buf, "%s (%s)", DESCRIPTION, option_vcd); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vcd.c: In member function âvirtual const char* cPluginVcd::MainMenuEntry()â: >vcd.c:121:17: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 121 | asprintf(&buf, "%s (%s)", tr(MAINMENUENTRY), option_vcd); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >make: *** [Makefile:62: vcd.o] Error 1 > * ERROR: media-plugins/vdr-vcd-0.9-r4::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-plugins/vdr-vcd-0.9-r4::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-plugins/vdr-vcd-0.9-r4::gentoo'`. > * The complete build log is located at '/var/log/portage/media-plugins:vdr-vcd-0.9-r4:20210506-063943.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/temp/environment'. > * Working directory: '/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work/vcd-0.9' > * S: '/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work/vcd-0.9' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 788583
:
706344
|
706347
|
706350
|
706353
| 706356 |
706359