Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/bin


Modified Files:
        edje_cc_out.c 


Log Message:
don't die if embryo_cc brabbles about warnings in the embryo code
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_cc_out.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- edje_cc_out.c       24 Feb 2005 15:34:43 -0000      1.41
+++ edje_cc_out.c       29 Apr 2005 18:46:41 -0000      1.42
@@ -672,7 +672,8 @@
                                EMBRYO_PREFIX"/bin/embryo_cc -i %s -o %s %s", 
                                DAT"include", tmpo, tmpn);
                       ret = system(buf);
-                      if (ret != 0)
+                      /* accept warnings in the embryo code */
+                      if (ret < 0 || ret > 1)
                         {
                            fprintf(stderr, "%s: Warning. Compiling script code 
not clean.\n",
                                    progname);  




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to