On Sat, Jun 6, 2009 at 9:32 AM, Albin Tonnerre<albin.tonne...@gmail.com> 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 putting that in a if() is not that good. >> > > The same goes for eina_magic_string_shutdown, BTW. > >> I don't know the best way to fix that. Imho, we should implement the >> function, which returns 1 if --disable-magic-debug is passed to configure. >> >> If you think that there is a better thing to do, please let me know (or >> fix it directly in svn) >> > > I agree with you here, I think having a function which returns 1 for init and > 0 > for shutdown is the best way to go.
agree with you there. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel