Summary: | media-video/vdr-1.6.0_p2-r10 fails with gcc-4.7 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
Component: | Current packages | Assignee: | Gentoo VDR Project <vdr> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 390247 | ||
Attachments: |
build.log
emerge --info vdr fix building with gcc-4.7 |
Created attachment 313893 [details]
emerge --info vdr
fixde code executes `g++` instead of `${CHOST}-g++` issues, dont have gcc-4.7.x yet to test/fix the gcc-4.7 issues Created attachment 314615 [details, diff]
fix building with gcc-4.7
fixed, closed... |
Created attachment 313891 [details] build.log i also notice the code executes `g++` instead of `${CHOST}-g++` ... g++ -O2 -march=amdfam10 -pipe -g -c -DCONFDIR=\"/etc/vdr\" -DUSE_ATSC -DUSE_CHANNELSCAN -DUSE_PLUGINMISSING -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DPLUGINDIR=\"/usr/lib64/vdr/plugins\" -DLOCDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include channels.c In file included from channels.h:13:0, from channels.c:10: config.h: In instantiation of ‘bool cConfig<T>::Load(const char*, bool, bool) [with T = cChannel]’: channels.c:903:26: required from here config.h:132:23: error: ‘Add’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] config.h:132:23: note: declarations in dependent base ‘cListBase’ are not found by unqualified lookup config.h:132:23: note: use ‘this->Add’ instead make: *** [channels.o] Error 1