compile error between gcc 4.5 and 4.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm having trouble with building dvbcut [1] for F15. It occurs on both 
an F15 beta machine and in mock from F14, on both i386 and x86_64.

The error is:
=====
dvbcut.cpp: In member function 'virtual void 
dvbcut::eventlistcontextmenu(QListBoxItem*, const QPoint&)':
dvbcut.cpp:1328:60: error: invalid initialization of reference of type 
'EventListItem&' from expression of type 'const EventListItem'
dvbcut.cpp: In member function 'void 
dvbcut::open(std::list<std::basic_string<char> >, std::string, 
std::string)':
dvbcut.cpp:1863:57: warning: ignoring return value of 'int chdir(const 
char*)', declared with attribute warn_unused_result [-Wunused-result]
make[1]: *** [dvbcut.o] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/dvbcut-svn170/src'
make: *** [all] Error 2
=====
The source [2] hasn't changed, so I guess gcc has gained the ability to 
check for this sort of problem, and exits.

Assuming it is buggy application rather than compiler code, what would 
the fix be ?

[1] http://dvbcut.sourceforge.net/
[2] 
http://dvbcut.svn.sourceforge.net/viewvc/dvbcut/trunk/src/dvbcut.cpp?annotate=155&pathrev=155 
  line 1328
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux