FreeBSD Port: multimedia/vlc
arrowdodger
6yearold at gmail.com
Mon Sep 3 07:14:45 UTC 2012
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;
^
More information about the freebsd-multimedia
mailing list