diff options
author | Liong Sauw Ming <ming@teluu.com> | 2013-10-21 06:37:30 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2013-10-21 06:37:30 +0000 |
commit | 1b2ad20c6811a916650a0c510724d9f1b8a7d6d1 (patch) | |
tree | b955787f6c1e48e03bc7d9a2f6a9b816942fc700 /pjlib/include/pj/compat/cc_gcc.h | |
parent | 674d145645a4f8a8392ec8d76b34256000ebd39c (diff) |
Re #1630 (misc):
Fixed compiler warnings. Thanks to Mark Michelson for the patch.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4624 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/compat/cc_gcc.h')
-rw-r--r-- | pjlib/include/pj/compat/cc_gcc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/cc_gcc.h b/pjlib/include/pj/compat/cc_gcc.h index 77d93f32..df257029 100644 --- a/pjlib/include/pj/compat/cc_gcc.h +++ b/pjlib/include/pj/compat/cc_gcc.h @@ -53,11 +53,13 @@ typedef uint64_t pj_uint64_t; #define PJ_INLINE_SPECIFIER static __inline #define PJ_ATTR_NORETURN + #define PJ_ATTR_MAY_ALIAS #else typedef long long pj_int64_t; typedef unsigned long long pj_uint64_t; #define PJ_INLINE_SPECIFIER static inline #define PJ_ATTR_NORETURN __attribute__ ((noreturn)) + #define PJ_ATTR_MAY_ALIAS __attribute__((__may_alias__)) #endif #define PJ_INT64(val) val##LL |