Package fails to build due to wrong variable being used on line 796 of otherlibs/highgui/cvcap_dc1394.cpp Code refers to a variable named 'index', which is not defined in that scope. Inspection of surrounding code suggest that the variable should have been named 'feature_id'. Reproducible: Always Steps to Reproduce: See attached build log.
Created attachment 201721 [details] Build log
Same on AMD64. With the ieee1394 useflag disabled, it works just fine.
The error only occours with gcc-4.4. Compiling with gcc-4.3 works fine.
I can confirm.
This bug is related to gcc-4.4, make it block the gcc 4.4 porting issues tracker bug : http://bugs.gentoo.org/show_bug.cgi?id=249226
I hope this is fixed for OpenCV 2.0.0 in bug 289258.
2.0.0 in portage.