On Fri, 8 Apr 2011, Davide Andreoli wrote:

> I got the same epp error, in my case the offending line was:
>
>   #define DBG(none)// #define DBG(...)
>
> 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

what about unit tests for edc files ? :p

Vincent

------------------------------------------------------------------------------
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

Reply via email to