mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add development flag to disable the inline API.
A GCC bug[1] can, in some cases, pop up an unsuppressible pedwarn when using a static inline standard library function from a non-static inline function. This normally doesn't show up, but can occur if you're running an upgrade version of GCC (such as GCC 4.8 on OS X, which normally runs GCC 4.2). [1]: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47816 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
including the header file
|
||||
*/
|
||||
|
||||
#if !defined(LOW_MEMORY)
|
||||
#if !defined(LOW_MEMORY) && !defined(DISABLE_INLINE)
|
||||
|
||||
#if !defined(AST_API_MODULE)
|
||||
#define AST_INLINE_API(hdr, body) hdr; extern inline hdr body
|
||||
|
Reference in New Issue
Block a user