Re: [E-devel] build error of eina when configuring with --disable-magic-debug

2009-06-06 Thread Gustavo Sverzut Barbieri
On Sat, Jun 6, 2009 at 9:32 AM, Albin Tonnerre wrote: > On Sat, Jun 06, 2009 at 02:05:11PM +0200, Vincent Torri wrote : >> >> Hey, >> >> there is an error when configuring eina with --disable-magic-debug. >> Indeed, in that case, eina_magic_string_init is defined to : >> >> do {} while(0) >> >> and

Re: [E-devel] build error of eina when configuring with --disable-magic-debug

2009-06-06 Thread Albin Tonnerre
On Sat, Jun 06, 2009 at 02:05:11PM +0200, Vincent Torri wrote : > > Hey, > > there is an error when configuring eina with --disable-magic-debug. > Indeed, in that case, eina_magic_string_init is defined to : > > do {} while(0) > > and putting that in a if() is not that good. > The same goes

[E-devel] build error of eina when configuring with --disable-magic-debug

2009-06-06 Thread Vincent Torri
Hey, there is an error when configuring eina with --disable-magic-debug. Indeed, in that case, eina_magic_string_init is defined to : do {} while(0) and putting that in a if() is not that good. I don't know the best way to fix that. Imho, we should implement the function, which returns 1 if