Modify

Ticket #53 (closed Bug: Invalid)

Opened 3 years ago

Last modified 3 years ago

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

 http://pastebin.com/m722612c3

Regards!

Attachments

Change History

comment:1 Changed 3 years ago by mcalamelli

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.

comment:2 Changed 3 years ago by raster

  • Status changed from new to closed
  • Resolution set to Invalid

can't reproduce - seems a bsd issue? if so - please send patches you know work and have tested on bsd. (and re-open ticket)

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.