Am Thu, 28 Jul 2011 20:17:03 +0900 schrieb Carsten Haitzler (The Rasterman):
I found it while playing with the clock theme (trunk/THEMES/darkness/modules/clock.edc) See here my changes as minimal example: #if PROFILE == HIGH x buf[0] = 0; if (v < 10) {snprintf(buf, 10, "0%i", v);} else {snprintf(buf, 10, "%i", v);} set_state(PART:"seconds", buf, 0.0); #endif This #if ends always in "true". You see it because edje fails (the "x") not interesting if -DPROFILE=HIGH or anything else or nothing. #if PROFILE != HIGH x buf[0] = 0; if (v < 10) {snprintf(buf, 10, "0%i", v);} else {snprintf(buf, 10, "%i", v);} set_state(PART:"seconds", buf, 0.0); #endif This #if ends always in "false". Also not depending on -DPROFILE. These are at least my experiments. regards Andreas > On Mon, 18 Jul 2011 23:31:43 +0200 Andreas Volz <li...@brachttal.net> > said: > > do you have an example? > > you mean: > > #if A != 10 > hello > #endif > > or something else? > > > Hello, > > > > it seems the ! and != operator in #define macros in EDC aren't > > working. I tried various tests and only == was working nice. > > > > Revision is 60268. Yes, a little old, but like to know if this bug > > is still in latest sources. > > > > regards > > Andreas > > > > -- > > Technical Blog <http://andreasvolz.wordpress.com/> > > > > ------------------------------------------------------------------------------ > > Storage Efficiency Calculator > > This modeling tool is based on patent-pending intellectual property > > that has been used successfully in hundreds of IBM storage > > optimization engage- ments, worldwide. Store less, Store more with > > what you own, Move data to the right place. Try It Now! > > http://www.accelacomm.com/jaw/sfnl/114/51427378/ > > _______________________________________________ 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 > > > ------------------------------------------------------------------------------ > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Technical Blog <http://andreasvolz.wordpress.com/> ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel