[Home]

Summary:ASTERISK-04592: __builtin_expect in libpri:copy_string.c prevents compilation under gcc 2.95.3
Reporter:capouch (capouch)Labels:
Date Opened:2005-07-14 22:16:23Date Closed:2005-07-15 12:22:00
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:gcc 2.95.3 doesn't know how to handle the call to __builtin_expect in copy_string.c.  

Needs this macro, cribbed from the asterisk sources:
#define __builtin_expect(exp, c) (exp)
Comments:By: Kevin P. Fleming (kpfleming) 2005-07-15 12:21:48

Fixed in CVS HEAD, thanks!