diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-10-11 04:55:34 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-10-11 04:55:34 +0000 |
commit | 14b3104e0ee5d84b1353eb0680f9cbfbac8b23bd (patch) | |
tree | a1572d4f23ddf967149e72f59ac2cc2a715ff955 /third_party | |
parent | 690798cfdcde5e467c285f5fe6f19f0edda858b4 (diff) |
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
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/g7221/common/config.h | 9 |
1 files changed, 6 insertions, 3 deletions
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 <pj/config.h> /** - * 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. */ |