Hi,

> There is a rather silly error I've found in the latest version of avifile 
> that I just pulled off CVS.  Whoever handles /samples/qtrecompress/ needs to 
> remember to #include <stdlib.h> in their code, it's just simple good 
> programming practice, even for such simple libraries.  While I'll acknowledge 
> that many compilers will pick this up for you, it really isn't good for 
> portability and reliability, and my gcc doesn't seem to want to do it 
> (version 2.96), so whenever the exit() or abs() or other such functions are 
> called, the compiler complains and won't go any further.

Here's patch, beware, it's not tested but it's obvious.

--- /root/CVS/avifile-0.6/samples/qtrecompress/main.cpp Mon Nov  5 09:39:36 2001
+++ avifile-0.6/samples/qtrecompress/main.cpp Wed Nov  7 08:18:06 2001
@@ -1,6 +1,7 @@
 #include <cstring>
 #include <new.h>
 #include <except.h>
+#include <stdlib.h>
 #include <unistd.h>
 
 #ifdef __FreeBSD__


--
FUBared.

-------------------- H T h i n e t - - W e b M a i l --------------------
Ova poruka poslana je upotrebom HThinet WebMail usluge.
https://webmail.hinet.hr



_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to