Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 704751 Details for
Bug 787236
media-plugins/vdr-freecell-0.0.2-r4 - game.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-freecell-0.0.2-r4:20210430-213935.log
media-plugins:vdr-freecell-0.0.2-r4:20210430-213935.log (text/plain), 5.98 KB, created by
Toralf Förster
on 2021-04-30 21:40:50 UTC
(
hide
)
Description:
media-plugins:vdr-freecell-0.0.2-r4:20210430-213935.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2021-04-30 21:40:50 UTC
Size:
5.98 KB
patch
obsolete
> * Package: media-plugins/vdr-freecell-0.0.2-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.6 [API version 2.4.6] >>>> Unpacking source... >>>> Unpacking vdr-freecell-0.0.2.tgz to /var/tmp/portage/media-plugins/vdr-freecell-0.0.2-r4/work >>>> Source unpacked in /var/tmp/portage/media-plugins/vdr-freecell-0.0.2-r4/work >>>> Preparing source in /var/tmp/portage/media-plugins/vdr-freecell-0.0.2-r4/work/freecell-0.0.2 ... > * Patching Makefile > * Converting to APIVERSION ... > [ ok ] > * Patching for Linguas support > * available Languages for vdr-freecell-0.0.2 are: > * LINGUAS="" > * Plugin isn't converted to gettext handling! > * OBJECT i18n.o found, removed per sed > * obsolete tI18nPhrase found, disabled per sed, please recheck > * Applying gcc-3.4.patch ... > [ ok ] > * Applying vdr-freecell-0.0.2-gentoo.diff ... > [ ok ] > * Applying vdr-freecell-0.0.2_vdr-1.5.4-compile.diff ... > [ ok ] > * Applying vdr-freecell-0.0.2_compilefix.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-plugins/vdr-freecell-0.0.2-r4/work/freecell-0.0.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-plugins/vdr-freecell-0.0.2-r4/work/freecell-0.0.2 ... >make -j 1 all LOCALEDIR=/var/tmp/portage/media-plugins/vdr-freecell-0.0.2-r4/work/tmp-locale LOCDIR=/var/tmp/portage/media-plugins/vdr-freecell-0.0.2-r4/work/tmp-locale LIBDIR=/var/tmp/portage/media-plugins/vdr-freecell-0.0.2-r4/work/freecell-0.0.2 TMPDIR=/var/tmp/portage/media-plugins/vdr-freecell-0.0.2-r4/temp >x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -c -DCONFDIR=\"/etc/vdr\" -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"freecell"' -I/usr/include -I/usr/include -I. -o freecell.o freecell.c >x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -c -DCONFDIR=\"/etc/vdr\" -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"freecell"' -I/usr/include -I/usr/include -I. -o cards.o cards.c >cards.c: In constructor âcCard::cCard(int, int)â: >cards.c:37:17: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 37 | asprintf(&filename, "%s/%s_%s.xpm", cPlugin::ConfigDirectory("../../../usr/share/vdr/freecell"), > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 38 | ShapeNames[mShape], ValueNames[mValue]); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -c -DCONFDIR=\"/etc/vdr\" -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"freecell"' -I/usr/include -I/usr/include -I. -o game.o game.c >game.c: In member function âvoid cFreecellGame::WriteInfo(const char*)â: >game.c:185:17: error: âmaxâ was not declared in this scope; did you mean âstd::maxâ? > 185 | int x = max((mInfo->Width() - font->Width(Text)) / 2, 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/osdbase.h:13, > from game.h:4, > from game.c:1: >/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) > | ^~~ >game.c: In member function âvoid cFreecellGame::WriteMessage(const char*)â: >game.c:202:17: error: âmaxâ was not declared in this scope; did you mean âstd::maxâ? > 202 | int x = max((mMessage->Width() - font->Width(Text)) / 2, 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/osdbase.h:13, > from game.h:4, > from game.c:1: >/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:65: game.o] Error 1 > * ERROR: media-plugins/vdr-freecell-0.0.2-r4::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-plugins/vdr-freecell-0.0.2-r4::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-plugins/vdr-freecell-0.0.2-r4::gentoo'`. > * The complete build log is located at '/var/log/portage/media-plugins:vdr-freecell-0.0.2-r4:20210430-213935.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-plugins/vdr-freecell-0.0.2-r4/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-plugins/vdr-freecell-0.0.2-r4/temp/environment'. > * Working directory: '/var/tmp/portage/media-plugins/vdr-freecell-0.0.2-r4/work/freecell-0.0.2' > * S: '/var/tmp/portage/media-plugins/vdr-freecell-0.0.2-r4/work/freecell-0.0.2' >
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 787236
:
704739
|
704742
|
704745
|
704748
| 704751 |
704754