On Fri, 8 Apr 2011 20:53:50 +0200 Davide Andreoli <d...@gurumeditation.it> said:
> I got the same epp error, in my case the offending line was: > > #define DBG(none)// #define DBG(...) i've tried that here. it comes out just as a blank line as the #define content is empty due to it being commented out. this: #define D(x)// D(...) D: - D(hello)X becomes: D: - X which seems about right to me :) > seems that eep don't like c comments as I just removed the comments to > make it work. > > Also I noted that epp don't like variable arguments in macro, as this > don't work: > #define DEBUG_ENABLE 1 > #if DEBUG_ENABLE > #define DBG(...) { \ > new _buf[128]; \ > snprintf(_buf, sizeof(_buf), __VA_ARGS__); \ > set_text(PART:"embryo_dbg", _buf); } > #else > #define DBG(none) > #endif > > Give the error: > default.edc:7:40: warning: invalid character in macro parameter name > default.edc:7:40: badly punctuated parameter list in `#define' > ERR<30516>:edje_cc edje_cc_parse.c:719 compile() Error. Exit code of > epp not clean: 256 use: #define DBG(xx...) snprintf(_buf, sizeof(_buf), xx); instead. before edje_cc simply used whatever cpp was on your system - if you had none you couldnt even use cpp macros and defines. so it was an "undefined cpp implementation". as of now edje_cc has locked down the cpp implementation to the one shipped with it (epp). so we've taken an "unknown" to a known :) > > DaveMDS > > 2011/4/8 Daniel Juyung Seo <juyung....@samsung.com>: > > Hello all, > > I got build fail while building edc in eyelight. > > It looks like epp issue but no clue at the moment. > > Anybody can check this out? > > Please find the error message below. > > > > Thanks. > > Daniel Juyung Seo (SeoZ) > > > > ------- error message ------- > > > > /usr/local/bin/edje_cc -v -id ../../../data/themes/default -fd > > ../../../data/themes/default \ > > ../../../data/themes/default/theme.edc \ > > ../../../data/themes/default/theme.edj > > In file included, > > : > > ../../../data/themes/default/transition/transition_fade.edc:109:10: `#' > > operator is not followed by a macro argument name > > ERR<14683>:edje_cc edje_cc_parse.c:719 compile() Error. Exit code of epp not > > clean: 256 > > > > > > ------------------------------------------------------------------------------ > > Xperia(TM) PLAY > > It's a major breakthrough. An authentic gaming > > smartphone on the nation's most reliable network. > > And it wants your games. > > http://p.sf.net/sfu/verizon-sfdev > > _______________________________________________ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel