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

Bug#404597: Re: gcc-4.1: compiler error while compiling mjpeg-tools from sourceforge



* dan aronson <dan@eblock.net> [2006-12-26 11:32]:
> newdenoise.cc:32:   instantiated from here
> MotionSearcher.hh:2444: internal compiler error: in tsubst, at cp/pt.c:7220

This is invalid code.  The GCC bug has been fixed in SVN already but
mjpegtools will need to be changed as well.  Some instructions can be
found in the GCC bug, see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29729

BTW, there is one more C++ problem in mjpegtools that will show up
with a modern compiler (e.g. gcc 4.1).  Here's a patch for this one:

--- Region2D.hh~	2006-12-30 23:03:01.000000000 +0100
+++ Region2D.hh	2006-12-30 23:03:14.000000000 +0100
@@ -16,6 +16,7 @@
 
 #include "Status_t.h"
 #include <iostream>
+#include <cassert>
 
 
 
-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: