On Fri, 3 Dec 2010, Enlightenment SVN wrote:

> Log:
>       * edje: improve portability and simplify code.
>
> +          snprintf(buf, sizeof(buf), "%s -I%s %s -E -o %s - < %s",
> +                      getenv("CC") ? getenv("CC") : "cc",
>                     inc, def, tmpn, file_in);
>            ret = system(buf);

shouldn't you also pass

-x c

to force the language (gcc can rely on the file extension to select the 
language) and

-std=c99

to be sure to remove the c++ comments

?

Vincent

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to