Summary: | ASTERISK-04565: Asterisk won't build if LOW_MEMORY defined | ||
Reporter: | capouch (capouch) | Labels: | |
Date Opened: | 2005-07-12 03:00:23 | Date Closed: | 2005-07-12 11:19:13 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | If LOW_MEMORY is defined, then we don't want the inline versions of several ast_ functions. utils.c is supposed to "grab" them in that case, through its definition of AST_API_MODULE. But since strings.h includes inline_api.h, and inline_api.h undefs AST_API_MODULE, then BOTH sides of the or in strings.h are false, and ast_copy_string is never included in utils.c. Removing the #undef AST_API_MODULE in inline_api.h allowed the build to go forth. | ||
Comments: | By: Russell Bryant (russell) 2005-07-12 11:18:29 fixed in CVS HEAD The problem was that ast_copy_string was not converted to use the new AST_INLINE_API macro. |