compiling comedi with gcc 3.1

Message-Id: <20020830220501.ACB14E083_at_newimage.com>
Date: Fri, 30 Aug 2002 18:05:01 -0400 (EDT)
From: rhk_at_newimage.com (Apache User)

For anyone who might be using gcc 3.1, I'd recommend this patch against 0.7.65 to get
ranges working correctly.

-Ray

--SNIP--
diff -ru2 comedidev.old.h comedidev.h
--- comedidev.old.h     2002-05-16 21:51:43.000000000 -0400
+++ comedidev.h       2002-08-30 10:25:21.000000000 -0400
_at__at_ -295,5 +295,5 _at__at_
 struct comedi_lrange_struct{
        int length;
-       comedi_krange range[0];
+       comedi_krange range[];
 };

--SNIP--

Received on 2002-08-30Z21:05:10