[imp] Re: Anyone try eaccelerator?

Scott Geiger scott at bcmediagroup.com
Thu Apr 21 05:22:57 PDT 2005


No, look at the parenthesis

if GNUC >= 3 or (GNUC =2 and minor >= 96)


Scott Geiger


Quoting liam hoekenga <liamr at umich.edu>:

> Quoting "Marc G. Fournier" <scrappy at hub.org>:
>
>>
>> Not sure if this is the same problem that we experienced or not, but
>> there is a conditional in eaccelerator.h that is triggered if you are
>> using gcc 3.96 or greater:
>>
>> /* Handle __attribute__ for nongcc compilers */
>> #if (__GNUC__ >= 3)  || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 96))
>> #  define HAS_ATTRIBUTE
>> #else
>> #  define __attribute__(x)
>> #endif
>>
>> ifyou are using 3.95, it causes the segfaults ... changing the 96 ->
>> 95 and rebuilding fixed the issue on our servers ..
>
> Er... doesn't that say "GNC greater than or equal to 3 OR GNUC equal to 2 AND
> minor version number greater than or equal to 96"?  I don't think
> there's a gcc
> 3.95.
>
> I'm not sure I follow the rest of your message.  Are you what did you 
> actually
> end up defining?
>
> Liam
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>





More information about the imp mailing list