From 14b3104e0ee5d84b1353eb0680f9cbfbac8b23bd Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sun, 11 Oct 2009 04:55:34 +0000 Subject: Ticket #941: Lots of compilation wanings in libg7221 in basic_op.h with gcc - set default inlining behavior for all basic_op functions to disabled git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2937 74dad513-b988-da41-8d7b-12977e46ad98 --- third_party/g7221/common/config.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'third_party') diff --git a/third_party/g7221/common/config.h b/third_party/g7221/common/config.h index 925a1dae..4faec787 100644 --- a/third_party/g7221/common/config.h +++ b/third_party/g7221/common/config.h @@ -4,12 +4,15 @@ #include /** - * Expand basic operation functions as inline. + * Expand all basic operation functions as inline. Even if this is set to + * zero, some critical functions would still be expanded as inline. Note + * also that enabling this may generate some warning messages about functions + * not being referenced (with gcc). * - * Default: 1 (yes) + * Default: 0 (no) */ #ifndef PJMEDIA_LIBG7221_FUNCS_INLINED -# define PJMEDIA_LIBG7221_FUNCS_INLINED 1 +# define PJMEDIA_LIBG7221_FUNCS_INLINED 0 #endif /* Declare/define a function that may be expanded as inline. */ -- cgit v1.2.3