This is fixed in the next release.

I can give you a temporary prerelease if you need it (tested on OSX Lion).

Arie

On 02-04-12 13:03, Mansour Moufid wrote:
Hello,

Building rc11 from source on OS X produces the error at the end of this 
message. I'm not familiar with the code, but I think it's a typo:

--- pycaml/pycaml_ml.c.orig     2012-04-02 06:31:31.000000000 -0400
+++ pycaml/pycaml_ml.c  2012-04-02 06:31:45.000000000 -0400
@@ -1468,7 +1468,7 @@

    PySys_SetArgv(1, cargv);

-  CAMLreturn0;
+  CAMLreturn(0);
  }

  value pytrue( value unit ) {


Yours,
Mansour

Here is the error:

ocamlc -c -cc "cc" -ccopt "-fPIC -fPIC \
                                -DPIC   \
                                  
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7  -o 
pycaml_ml.o " pycaml_ml.c
pycaml_ml.c:1471:3: error: non-void function 'pycaml_setargs' should return a
       value [-Wreturn-type]
   CAMLreturn0;
   ^

_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to