On Tuesday, July 17, 2012, Enlightenment SVN wrote:

> Log:
> hell no. printf. not eina-log. this is test exampels, not debug from
>   an app. they printf as OUTPUT. alkso u broke build:
>
>   /home/raster/C/elm/src/bin/test_genlist.c:2862: undefined reference to
>   _elm_log_dom'
>
>   of course there is no symbol exposed that is an INTERNAL LOG DOMAIN to
>   elm! it's for elm not for outside.
>
>
>
> Author:       raster
> Date:         2012-07-17 01:42:25 -0700 (Tue, 17 Jul 2012)
> New Revision: 73957
> Trac:         http://trac.enlightenment.org/e/changeset/73957
>
> Modified:
>   trunk/elementary/src/bin/test.h
>
> Modified: trunk/elementary/src/bin/test.h
> ===================================================================
> --- trunk/elementary/src/bin/test.h     2012-07-17 08:34:31 UTC (rev 73956)
> +++ trunk/elementary/src/bin/test.h     2012-07-17 08:42:25 UTC (rev 73957)
> @@ -18,9 +18,8 @@
>     } while(0)
>  #endif
>
> -extern int _elm_log_dom;
> -#define CRITICAL(...) EINA_LOG_DOM_CRIT(_elm_log_dom, __VA_ARGS__)
> -#define ERR(...)      EINA_LOG_DOM_ERR (_elm_log_dom, __VA_ARGS__)
> -#define WRN(...)      EINA_LOG_DOM_WARN(_elm_log_dom, __VA_ARGS__)
> -#define INF(...)      EINA_LOG_DOM_INFO(_elm_log_dom, __VA_ARGS__)
> -#define DBG(...)      EINA_LOG_DOM_DBG (_elm_log_dom, __VA_ARGS__)
> +#define CRITICAL(...) printf(__VA_ARGS__)
> +#define ERR(...)      printf(__VA_ARGS__)
> +#define WRN(...)      printf(__VA_ARGS__)
> +#define INF(...)      printf(__VA_ARGS__)
> +#define DBG(...)      printf(__VA_ARGS__)


It will not differentiate messages. Also will miss trailing \n

Easiest would be to actually create a log domain or use 0 (default log
domain) or just define these to the macros that use the default log domain
(see eina_log.h)


>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net <javascript:;>
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to