From: libvidcap c. <lib...@li...> - 2009-09-29 19:50:27
|
Revision: 98 http://libvidcap.svn.sourceforge.net/libvidcap/?rev=98&view=rev Author: bcholew Date: 2009-09-29 19:33:31 +0000 (Tue, 29 Sep 2009) Log Message: ----------- Fix vidcapTester to build against gcc-4.3. Remove unneeded typedef. Changes courtesy of Pete Grayson. Modified Paths: -------------- trunk/examples/vidcapTester/GrabberManager.h trunk/examples/vidcapTester/vidcapTester.cpp Modified: trunk/examples/vidcapTester/GrabberManager.h =================================================================== --- trunk/examples/vidcapTester/GrabberManager.h 2009-09-29 19:25:28 UTC (rev 97) +++ trunk/examples/vidcapTester/GrabberManager.h 2009-09-29 19:33:31 UTC (rev 98) @@ -27,7 +27,7 @@ void rescanDevices(); private: - typedef struct mySourceContext + struct mySourceContext { Grabber * grabber; MainWindow * window; Modified: trunk/examples/vidcapTester/vidcapTester.cpp =================================================================== --- trunk/examples/vidcapTester/vidcapTester.cpp 2009-09-29 19:25:28 UTC (rev 97) +++ trunk/examples/vidcapTester/vidcapTester.cpp 2009-09-29 19:33:31 UTC (rev 98) @@ -1,3 +1,4 @@ +#include <cstdlib> #include <stdexcept> #include <QApplication> @@ -109,7 +110,7 @@ } catch ( const std::runtime_error & e ) { - qCritical(e.what()); + qCritical("%s", e.what()); usage(); return 1; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |