Ticket #53 (closed Bug: Invalid)
edje_cc failed on some macro in .edc files
| Reported by: | mcalamelli | Owned by: | |
|---|---|---|---|
| Priority: | Major | Milestone: | Edje 1.0 |
| Component: | edje | Keywords: | openbsd |
| Cc: | Blocked By: | ||
| Blocking: |
Description
OpenBSD-4.2 stable with gettext-0.16.1, E17-cvs (as at 20/12/2007), freetype-2.3.5
Hi!
let's for example take a look at 'eclair' build errors:
edje_cc: Wrote 1631 bytes ( 2Kb) for "images/41" image entry "slider_glow.png" compress: [raw: 60.2%] [real: 19.9%] edje_cc: Wrote 80 bytes ( 0Kb) for "collections/0" collection entry scripts/body_script.edc(10) : error 035: argument type mismatch (argument 1) scripts/body_script.edc(11) : error 035: argument type mismatch (argument 1) scripts/body_script.edc(12) : error 035: argument type mismatch (argument 1) scripts/body_script.edc(13) : error 035: argument type mismatch (argument 1) scripts/body_script.edc(16) : error 035: argument type mismatch (argument 1) scripts/body_script.edc(21) : error 035: argument type mismatch (argument 1) scripts/body_script.edc(22) : error 035: argument type mismatch (argument 1) scripts/body_script.edc(23) : error 035: argument type mismatch (argument 1) scripts/body_script.edc(24) : error 035: argument type mismatch (argument 1) scripts/body_script.edc(27) : error 035: argument type mismatch (argument 1) scripts/body_script.edc(79) : error 035: argument type mismatch (argument 1) scripts/body_script.edc(80) : error 035: argument type mismatch (argument 1)
12 Errors. edje_cc: Warning. Compiling script code not clean. gmake[4]: * [default.edj] Error 255 gmake[4]: Leaving directory `/home/sda/source/compile/e17/cvs/e17/apps/eclair/data/themes/default' gmake[3]: * [all-recursive] Error 1 gmake[3]: Leaving directory `/home/sda/source/compile/e17/cvs/e17/apps/eclair/data/themes' gmake[2]: * [all-recursive] Error 1 gmake[2]: Leaving directory `/home/sda/source/compile/e17/cvs/e17/apps/eclair/data' gmake[1]: * [all-recursive] Error 1 gmake[1]: Leaving directory `/home/sda/source/compile/e17/cvs/e17/apps/eclair' gmake: * [all] Error 2 STOP! Look at the errors above!
IMHO - it's exactly the same reason why default etk theme failed to operate and etk_test (along with etk_prefs and any other etk-related apps) returns "black screen of death" if we don't substitute
$install_prefix/share/etk/themes/default.edj
with the one, compiled on ordinary Linux box. Though we don't see any errors on etk default theme build - result is not like it should be (link is retained 1 month):
Regards!

BUGZILLA ID 334
Comment 1 From Peter Wehrfritz 2008-03-20 17:59:02
Afaik this is just a bug of the OpenBSD c preprocessor. We had also trouble with the OpenBSD cpp in ewl, at the end we put a version in cvs that avoids to use the # (or was it the ##) construction into cvs.