On Tue, 22 Sep 2009, Gustavo Sverzut Barbieri wrote:

> On Tue, Sep 22, 2009 at 8:01 PM, Vincent Torri <[email protected]> wrote:
>>
>> Hey,
>>
>> ERROR is a macro that is already defined in Windows headers. Why isn't
>> there a namespace ? namespace are for that : avoid duplicating names.
>
> it should be internal

and ?

> and as a macro no real need to namespace it as
> it will not end in binaries... I recommend using ERR instead of ERROR
> (all 3 letters, like INF, WRN...)

same problem can occurs with inclusion of standard headers that redefine 
the macro.

The problem here is in software_ddraw. In evas_outbuf.c, where ERROR is 
used, evas_engine.h is included after evas_common.h. And evas_engine.h 
includes indirectly wingdi.h which redefines ERROR.

Vincent

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to