[chuck-users] chuck/[mini]audicle vs. gcc 4.4.x

Fernando Lopez-Lezcano nando at ccrma.Stanford.EDU
Fri Jun 12 13:01:52 EDT 2009

This tiny patch makes chuck compilable under gcc4.4 (Fedora 11):

--- chuck-	2008-07-16 02:55:17.000000000 -0700
+++ chuck-	2009-06-11 18:24:55.349093274 -0700
@@ -36,6 +36,7 @@
 #include "chuck_def.h"
 #include <string>
 #include <vector>
+#include <stdio.h>
 // itoa

I'm also hitting this error in miniaudicle and audicle, any help?:

gcc -D__LINUX_ALSA__ -D__CHUCK_STAT_TRACK__ `pkg-config --cflags gtk
+-2.0` -O3 -c -I../lang/chuck-
-D__CK_SNDFILE_NATIVE__ ../lang/chuck-
../lang/chuck- In constructor
../lang/chuck- warning: deprecated
conversion from string constant to 'char*'
../lang/chuck- In function 'void
sndbuf_ctrl_read(Chuck_Object*, void*, Chuck_DL_Return*,
../lang/chuck- error: invalid conversion
from 'const char*' to 'char*'
make[1]: *** [ugen_xxx.o] Error 1

-- Fernando

More information about the chuck-users mailing list