Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 705336 Details for
Bug 787707
media-plugins/vdr-systeminfo-0.1.4 - displayinfo.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-systeminfo-0.1.4:20210502-143542.log
media-plugins:vdr-systeminfo-0.1.4:20210502-143542.log (text/plain), 9.96 KB, created by
Toralf Förster
on 2021-05-02 14:39:17 UTC
(
hide
)
Description:
media-plugins:vdr-systeminfo-0.1.4:20210502-143542.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2021-05-02 14:39:17 UTC
Size:
9.96 KB
patch
obsolete
> * Package: media-plugins/vdr-systeminfo-0.1.4 > * 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-systeminfo-0.1.4.tar.bz2 to /var/tmp/portage/media-plugins/vdr-systeminfo-0.1.4/work >>>> Source unpacked in /var/tmp/portage/media-plugins/vdr-systeminfo-0.1.4/work >>>> Preparing source in /var/tmp/portage/media-plugins/vdr-systeminfo-0.1.4/work/systeminfo-0.1.4 ... > * Patching Makefile > * Patching for Linguas support > * available Languages for vdr-systeminfo-0.1.4 are: > * LINGUAS="de it " > * obsolete tI18nPhrase found, disabled per sed, please recheck >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-plugins/vdr-systeminfo-0.1.4/work/systeminfo-0.1.4 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-plugins/vdr-systeminfo-0.1.4/work/systeminfo-0.1.4 ... >make -j 1 all LOCALEDIR=/var/tmp/portage/media-plugins/vdr-systeminfo-0.1.4/temp/tmp-locale LOCDIR=/var/tmp/portage/media-plugins/vdr-systeminfo-0.1.4/temp/tmp-locale LIBDIR=/var/tmp/portage/media-plugins/vdr-systeminfo-0.1.4/work/systeminfo-0.1.4 TMPDIR=/var/tmp/portage/media-plugins/vdr-systeminfo-0.1.4/temp >x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include -c -DPLUGIN_NAME_I18N='"systeminfo"' -I/include -o systeminfo.o systeminfo.c >x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include -c -DPLUGIN_NAME_I18N='"systeminfo"' -I/include -o displayinfo.o displayinfo.c >displayinfo.c: In member function âcString cInfoLines::PrepareInfoline(int, bool*)â: >displayinfo.c:170:37: warning: format â%aâ expects argument of type âfloat*â, but argument 3 has type âchar**â [-Wformat=] > 170 | if (3 == sscanf(systeminfo, "%a[a-zA-Z,/0-9 ]: %f %f", &pname, &fval1, &fval2)) { > | ~^ ~~~~~~ > | | | > | float* char** >displayinfo.c:176:35: error: âmaxâ was not declared in this scope; did you mean âstd::maxâ? > 176 | int frac = min(BARLEN,max(0, int((fval1-fval2)*BARLEN/fval1))); > | ^~~ > | 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/osd.h:16, > from displayinfo.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) > | ^~~ >displayinfo.c:176:24: error: âminâ was not declared in this scope; did you mean âstd::minâ? > 176 | int frac = min(BARLEN,max(0, int((fval1-fval2)*BARLEN/fval1))); > | ^~~ > | std::min >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/osd.h:16, > from displayinfo.c:10: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:278:5: note: âstd::minâ declared here > 278 | min(const _Tp& __a, const _Tp& __b, _Compare __comp) > | ^~~ >displayinfo.c:187:42: warning: format â%aâ expects argument of type âfloat*â, but argument 3 has type âchar**â [-Wformat=] > 187 | else if (3 == sscanf(systeminfo, "%a[a-zA-Z,/0-9 ]: %fkB %fkB", &pname, &fval1, &fval2)) { > | ~^ ~~~~~~ > | | | > | float* char** >displayinfo.c:191:35: error: âmaxâ was not declared in this scope; did you mean âstd::maxâ? > 191 | int frac = min(BARLEN,max(0, int((fval1-fval2)*BARLEN/fval1))); > | ^~~ > | 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/osd.h:16, > from displayinfo.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) > | ^~~ >displayinfo.c:191:24: error: âminâ was not declared in this scope; did you mean âstd::minâ? > 191 | int frac = min(BARLEN,max(0, int((fval1-fval2)*BARLEN/fval1))); > | ^~~ > | std::min >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/osd.h:16, > from displayinfo.c:10: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:278:5: note: âstd::minâ declared here > 278 | min(const _Tp& __a, const _Tp& __b, _Compare __comp) > | ^~~ >displayinfo.c:210:42: warning: format â%aâ expects argument of type âfloat*â, but argument 3 has type âchar**â [-Wformat=] > 210 | else if (1 == sscanf(systeminfo, "%a[a-zA-Z,/0-9 ]: CPU%%", &pname) && NULL != strstr(systeminfo, "CPU%")) { > | ~^ ~~~~~~ > | | | > | float* char** >displayinfo.c:212:32: error: âmaxâ was not declared in this scope; did you mean âstd::maxâ? > 212 | int frac = min(BARLEN,max(0, int(fval2*BARLEN/100.0))); > | ^~~ > | 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/osd.h:16, > from displayinfo.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) > | ^~~ >displayinfo.c:212:21: error: âminâ was not declared in this scope; did you mean âstd::minâ? > 212 | int frac = min(BARLEN,max(0, int(fval2*BARLEN/100.0))); > | ^~~ > | std::min >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/osd.h:16, > from displayinfo.c:10: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:278:5: note: âstd::minâ declared here > 278 | min(const _Tp& __a, const _Tp& __b, _Compare __comp) > | ^~~ >make: *** [Makefile:107: displayinfo.o] Error 1 > * ERROR: media-plugins/vdr-systeminfo-0.1.4::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-plugins/vdr-systeminfo-0.1.4::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-plugins/vdr-systeminfo-0.1.4::gentoo'`. > * The complete build log is located at '/var/log/portage/media-plugins:vdr-systeminfo-0.1.4:20210502-143542.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-plugins/vdr-systeminfo-0.1.4/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-plugins/vdr-systeminfo-0.1.4/temp/environment'. > * Working directory: '/var/tmp/portage/media-plugins/vdr-systeminfo-0.1.4/work/systeminfo-0.1.4' > * S: '/var/tmp/portage/media-plugins/vdr-systeminfo-0.1.4/work/systeminfo-0.1.4' >
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 787707
:
705324
|
705327
|
705330
|
705333
| 705336 |
705339