Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 705054 Details for
Bug 787506
media-plugins/vdr-suspendoutput-2.0.1 - timer.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-suspendoutput-2.0.1:20210501-191028.log
media-plugins:vdr-suspendoutput-2.0.1:20210501-191028.log (text/plain), 4.72 KB, created by
Toralf Förster
on 2021-05-01 19:16:24 UTC
(
hide
)
Description:
media-plugins:vdr-suspendoutput-2.0.1:20210501-191028.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2021-05-01 19:16:24 UTC
Size:
4.72 KB
patch
obsolete
> * Package: media-plugins/vdr-suspendoutput-2.0.1 > * 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.6 [API version 2.4.6] >>>> Unpacking source... >>>> Unpacking vdr-suspendoutput-2.0.1.tgz to /var/tmp/portage/media-plugins/vdr-suspendoutput-2.0.1/work >>>> Source unpacked in /var/tmp/portage/media-plugins/vdr-suspendoutput-2.0.1/work >>>> Preparing source in /var/tmp/portage/media-plugins/vdr-suspendoutput-2.0.1/work/suspendoutput-2.0.1 ... > * Patching Makefile > * Patching for Linguas support > * available Languages for vdr-suspendoutput-2.0.1 are: > * LINGUAS="fi it " >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-plugins/vdr-suspendoutput-2.0.1/work/suspendoutput-2.0.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-plugins/vdr-suspendoutput-2.0.1/work/suspendoutput-2.0.1 ... >make -j 1 all LOCALEDIR=/var/tmp/portage/media-plugins/vdr-suspendoutput-2.0.1/temp/tmp-locale LOCDIR=/var/tmp/portage/media-plugins/vdr-suspendoutput-2.0.1/temp/tmp-locale LIBDIR=/var/tmp/portage/media-plugins/vdr-suspendoutput-2.0.1/work/suspendoutput-2.0.1 TMPDIR=/var/tmp/portage/media-plugins/vdr-suspendoutput-2.0.1/temp >x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include -c -DPLUGIN_NAME_I18N='"suspendoutput"' -o suspendoutput.o suspendoutput.c >x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include -c -DPLUGIN_NAME_I18N='"suspendoutput"' -o timer.o timer.c >timer.c: In member function âvirtual void cTimerThread::Action()â: >timer.c:124:28: error: âmaxâ was not declared in this scope; did you mean âstd::maxâ? > 124 | max(1, m_Events.First()->TimeToNextEvent())); > | ^~~ > | 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 timer.c:10: >/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) > | ^~~ >timer.c: In static member function âstatic void cTimerThread::AddEvent(cTimerCallback*, unsigned int, bool)â: >timer.c:207:54: error: âmaxâ was not declared in this scope; did you mean âstd::maxâ? > 207 | m_Instance->Add(new cTimerThreadEvent(Handler, max(1U,TimeoutMs), > | ^~~ > | 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 timer.c:10: >/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) > | ^~~ >make: *** [Makefile:67: timer.o] Error 1 > * ERROR: media-plugins/vdr-suspendoutput-2.0.1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-plugins/vdr-suspendoutput-2.0.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-plugins/vdr-suspendoutput-2.0.1::gentoo'`. > * The complete build log is located at '/var/log/portage/media-plugins:vdr-suspendoutput-2.0.1:20210501-191028.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-plugins/vdr-suspendoutput-2.0.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-plugins/vdr-suspendoutput-2.0.1/temp/environment'. > * Working directory: '/var/tmp/portage/media-plugins/vdr-suspendoutput-2.0.1/work/suspendoutput-2.0.1' > * S: '/var/tmp/portage/media-plugins/vdr-suspendoutput-2.0.1/work/suspendoutput-2.0.1' >
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 787506
:
705042
|
705045
|
705048
|
705051
| 705054 |
705057