Hi, patch that fixes warning of sentinel attribute on gcc lower than 4
available
on
https://gitorious.org/~alexsanderpetry/sofia-sip/alexsanderpetry-sofia-sip

--- a/libsofia-sip-ua/su/sofia-sip/su_config.h
+++ b/libsofia-sip-ua/su/sofia-sip/su_config.h
@@ -41,6 +41,9 @@

 #if defined(__GNUC__)
 /* Special attributes for GNU C */
+#if __GNUC__ < 4
+#define __sentinel__(x)
+#endif
 #if __GNUC__ < 3 && (!defined(__GNUC_MINOR__) || __GNUC_MINOR__ < 96)
 #define __malloc__             /* avoid spurious warnigns */
 #endif


Regards.
-- 
Alexsander Petry
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to