I'm having trouble with building dvbcut [1] for Fedora 15. 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.

Is that code dodgy/risky ?

Anyone have a patch for that yet ?

[1] http://dvbcut.sourceforge.net/
[2] 
<http://dvbcut.svn.sourceforge.net/viewvc/dvbcut/trunk/src/dvbcut.cpp?annotate=155&pathrev=155>
   line 1328

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
DVBCUT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to