On Fri, Dec 3, 2010 at 5:57 PM, Vincent Torri <[email protected]> wrote: > 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
No need as I pass it using redirection instead of directly the filename. That was to avoid complexifying the command line. > language) and > -std=c99 > > to be sure to remove the c++ comments ? Good question, don't know if it will be supported by other compiler than gcc. What's your opinion ? -- Cedric BAIL ------------------------------------------------------------------------------ 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
