From 1b2ad20c6811a916650a0c510724d9f1b8a7d6d1 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Mon, 21 Oct 2013 06:37:30 +0000 Subject: 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 --- pjlib/include/pj/compat/cc_gcc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pjlib/include/pj/compat/cc_gcc.h') 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 -- cgit v1.2.3