Hi Everyone,

I have some testing results for OS X 10.9. This jumped out at me. It
is fairly prevalent.

(I'm going to enable self tests next).

Jeff

In file included from websequencediagram_high.c:28:
../include/wget/wget.h:453:44: warning: unknown attribute '__alloc_size__'
      ignored [-Wattributes]
RETURNS_NONNULL LIBWGET_WARN_UNUSED_RESULT WGET_GCC_ALLOC_SIZE(1) WGET_G...
                                           ^
../include/wget/wget.h:165:49: note: expanded from macro 'WGET_GCC_ALLOC_SIZE'
#       define WGET_GCC_ALLOC_SIZE(a) __attribute__ ((__alloc_size__(a)))
                                                      ^
../include/wget/wget.h:459:44: warning: unknown attribute '__alloc_size__'
      ignored [-Wattributes]
RETURNS_NONNULL LIBWGET_WARN_UNUSED_RESULT WGET_GCC_ALLOC_SIZE2(1,2) WGE...
                                           ^
../include/wget/wget.h:166:53: note: expanded from macro 'WGET_GCC_ALLOC_SIZE2'
#       define WGET_GCC_ALLOC_SIZE2(a, b) __attribute__ ((__alloc_size__(a, b)))
                                                          ^
../include/wget/wget.h:465:44: warning: unknown attribute '__alloc_size__'
      ignored [-Wattributes]
RETURNS_NONNULL LIBWGET_WARN_UNUSED_RESULT WGET_GCC_ALLOC_SIZE(2)
                                           ^
../include/wget/wget.h:165:49: note: expanded from macro 'WGET_GCC_ALLOC_SIZE'
#       define WGET_GCC_ALLOC_SIZE(a) __attribute__ ((__alloc_size__(a)))
                                                      ^
../include/wget/wget.h:477:28: warning: unknown attribute '__alloc_size__'
      ignored [-Wattributes]
LIBWGET_WARN_UNUSED_RESULT WGET_GCC_ALLOC_SIZE(2)
                           ^
../include/wget/wget.h:165:49: note: expanded from macro 'WGET_GCC_ALLOC_SIZE'
#       define WGET_GCC_ALLOC_SIZE(a) __attribute__ ((__alloc_size__(a)))
                                                      ^
../include/wget/wget.h:485:28: warning: unknown attribute '__alloc_size__'
      ignored [-Wattributes]
LIBWGET_WARN_UNUSED_RESULT WGET_GCC_ALLOC_SIZE(2)
                           ^
../include/wget/wget.h:165:49: note: expanded from macro 'WGET_GCC_ALLOC_SIZE'
#       define WGET_GCC_ALLOC_SIZE(a) __attribute__ ((__alloc_size__(a)))
                                                      ^
../include/wget/wget.h:558:49: warning: unknown attribute '__alloc_size__'
      ignored [-Wattributes]
        wget_buffer_alloc(size_t size) WGET_GCC_MALLOC WGET_GCC_ALLOC_SI...
                                                       ^
../include/wget/wget.h:165:49: note: expanded from macro 'WGET_GCC_ALLOC_SIZE'
#       define WGET_GCC_ALLOC_SIZE(a) __attribute__ ((__alloc_size__(a)))
                                                      ^
In file included from check_url_types.c:30:
../include/wget/wget.h:453:44: warning: unknown attribute '__alloc_size__'
      ignored [-Wattributes]
RETURNS_NONNULL LIBWGET_WARN_UNUSED_RESULT WGET_GCC_ALLOC_SIZE(1) WGET_G...
                                           ^
../include/wget/wget.h:165:49: note: expanded from macro 'WGET_GCC_ALLOC_SIZE'
#       define WGET_GCC_ALLOC_SIZE(a) __attribute__ ((__alloc_size__(a)))
                                                      ^
../include/wget/wget.h:459:44: warning: unknown attribute '__alloc_size__'
      ignored [-Wattributes]
RETURNS_NONNULL LIBWGET_WARN_UNUSED_RESULT WGET_GCC_ALLOC_SIZE2(1,2) WGE...
                                           ^
../include/wget/wget.h:166:53: note: expanded from macro 'WGET_GCC_ALLOC_SIZE2'
#       define WGET_GCC_ALLOC_SIZE2(a, b) __attribute__ ((__alloc_size__(a, b)))
                                                          ^
../include/wget/wget.h:465:44: warning: unknown attribute '__alloc_size__'
      ignored [-Wattributes]
RETURNS_NONNULL LIBWGET_WARN_UNUSED_RESULT WGET_GCC_ALLOC_SIZE(2)
                                           ^
../include/wget/wget.h:165:49: note: expanded from macro 'WGET_GCC_ALLOC_SIZE'
#       define WGET_GCC_ALLOC_SIZE(a) __attribute__ ((__alloc_size__(a)))
                                                      ^
../include/wget/wget.h:477:28: warning: unknown attribute '__alloc_size__'
      ignored [-Wattributes]
LIBWGET_WARN_UNUSED_RESULT WGET_GCC_ALLOC_SIZE(2)
                           ^
../include/wget/wget.h:165:49: note: expanded from macro 'WGET_GCC_ALLOC_SIZE'
#       define WGET_GCC_ALLOC_SIZE(a) __attribute__ ((__alloc_size__(a)))
                                                      ^
../include/wget/wget.h:485:28: warning: unknown attribute '__alloc_size__'
      ignored [-Wattributes]
LIBWGET_WARN_UNUSED_RESULT WGET_GCC_ALLOC_SIZE(2)
                           ^
../include/wget/wget.h:165:49: note: expanded from macro 'WGET_GCC_ALLOC_SIZE'
#       define WGET_GCC_ALLOC_SIZE(a) __attribute__ ((__alloc_size__(a)))
                                                      ^
../include/wget/wget.h:558:49: warning: unknown attribute '__alloc_size__'
      ignored [-Wattributes]
        wget_buffer_alloc(size_t size) WGET_GCC_MALLOC WGET_GCC_ALLOC_SI...
                                                       ^
../include/wget/wget.h:165:49: note: expanded from macro 'WGET_GCC_ALLOC_SIZE'
#       define WGET_GCC_ALLOC_SIZE(a) __attribute__ ((__alloc_size__(a)))
                                                      ^
6 warnings generated.

Reply via email to