Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2012 11:14:13 +0400
From:      arrowdodger <6yearold@gmail.com>
To:        multimedia@freebsd.org
Subject:   FreeBSD Port: multimedia/vlc
Message-ID:  <CALH631k1QJBXvroBzn=WUu0PzTyDThwErSeVoOe98KaivX6Mog@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi, this port doesn't build with recent clang on 9-STABLE:

../../include/vlc_common.h:801:9: error: reference to '__uint16_t' is
ambiguous
    w = hton16 (w);
        ^
../../include/vlc_common.h:717:20: note: expanded from macro 'hton16'
# define hton16(i) bswap16(i)
                   ^
/usr/include/sys/endian.h:59:20: note: expanded from macro 'bswap16'
#define bswap16(x)      __bswap16(x)
                        ^
/usr/include/machine/endian.h:123:23: note: expanded from macro '__bswap16'
            __bswap16_const((__uint16_t)(_x)) : __bswap16_var(_x)))
                             ^
/usr/include/machine/endian.h:88:55: note: expanded from macro
'__bswap16_const'
#define __bswap16_const(_x)     (__uint16_t)((_x) << 8 | (_x) >> 8)
                                                          ^
../../include/vlc_common.h:653:24: note: candidate found by name lookup is
'__uint16_t'
static inline uint16_t bswap16 (uint16_t x)
                       ^
/usr/include/sys/endian.h:59:20: note: expanded from macro 'bswap16'
#define bswap16(x)      __bswap16(x)
                        ^
/usr/include/machine/endian.h:122:4: note: expanded from macro '__bswap16'
        ((__uint16_t)(__builtin_constant_p(_x) ?        \
          ^
/usr/include/machine/_types.h:54:25: note: candidate found by name lookup
is '__uint16_t'
typedef unsigned short          __uint16_t;
                                ^



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631k1QJBXvroBzn=WUu0PzTyDThwErSeVoOe98KaivX6Mog>