Hey,

Timothy Horton (the author of the quartz engine) has a version of gcc that 
does not detect __attribute__ (i don't know why yet, that is if the mac os 
x port of gcc does not support that extension, or if the m4 macro is not 
correctly written).

Anyway, if __attribute__ is not defined, then EINA_UNLIKELY is defined to 
nothing (see line 137 of eina_types.h). Then, in eina_safety_checs.h, 
EINA_SAFETY_ON_NULL_RETURN_VAL has a test with a 'if' with nothing between 
the parenthesis (see line 39). So there's a compilation error. It's easy 
to have that error, just be sure that the program that is in 
ac_attribute.m4 does not compile, so that HAVE___ATTRIBUTE__ is not 
defined.

Of course, I think that all other macro in eina_safety_checks have the 
same problem.

I have no idea of how to fix that :)

Vincent

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to