FreeBSD ports tree (read-only mirror)
b218ad438e
multimedia/vdr: unbreak build with Clang 6 (C++14 by default) dvbsubtitle.c:854:43: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] dbgconverter("Converter PTS: %"PRId64"\n", pts); ^ dvbsubtitle.c:890:43: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] dbgconverter("Converter PTS: %"PRId64"\n", pts); ^ dvbsubtitle.c:949:45: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] dbgconverter("PTS: %"PRId64" STC: %"PRId64" (%"PRId64") timeout: %d\n", sb->Pts()... ^ dvbsubtitle.c:949:61: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] dbgconverter("PTS: %"PRId64" STC: %"PRId64" (%"PRId64") timeout: %d\n", sb->Pts()... ^ dvbsubtitle.c:949:72: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] dbgconverter("PTS: %"PRId64" STC: %"PRId64" (%"PRId64") timeout: %d\n", sb->Pts()... ^ dvbsubtitle.c:1047:58: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] dbgpages("Update page id %d version %d pts %"PRId64" timeout %d state %d\n", pageId, page->Ver... ^ 6 errors generated. recording.c:1646:52: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] esyslog("ERROR: invalid file size (%"PRId64") in '%s'", buf.st_size, *fileName); ^ 1 error generated. remote.c:127:42: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] snprintf(buffer, sizeof(buffer), "%016"PRIX64, Code); ^ ci.c:854:40: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] tTime T = { mjd : htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm... ^~~~~~~~~~~~~~~~~~~~~~~ ci.c:852:20: note: expanded from macro 'DEC2BCD' #define DEC2BCD(d) (((d / 10) << 4) + (d % 10)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ci.c:854:40: note: insert an explicit cast to silence this issue tTime T = { mjd : htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm... ^~~~~~~~~~~~~~~~~~~~~~~ static_cast<uint8_t>( ) ci.c:852:20: note: expanded from macro 'DEC2BCD' #define DEC2BCD(d) (((d / 10) << 4) + (d % 10)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ci.c:854:69: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] tTime T = { mjd : htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm... ^~~~~~~~~~~~~~~~~~~~~~ ci.c:852:20: note: expanded from macro 'DEC2BCD' #define DEC2BCD(d) (((d / 10) << 4) + (d % 10)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ci.c:854:69: note: insert an explicit cast to silence this issue tTime T = { mjd : htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm... ^~~~~~~~~~~~~~~~~~~~~~ static_cast<uint8_t>( ) ci.c:852:20: note: expanded from macro 'DEC2BCD' #define DEC2BCD(d) (((d / 10) << 4) + (d % 10)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ci.c:854:97: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] ...htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm_gmt.tm_sec), offset : ... ^~~~~~~~~~~~~~~~~~~~~~ ci.c:852:20: note: expanded from macro 'DEC2BCD' #define DEC2BCD(d) (((d / 10) << 4) + (d % 10)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ci.c:854:97: note: insert an explicit cast to silence this issue ...htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm_gmt.tm_sec), offset : ... ^~~~~~~~~~~~~~~~~~~~~~ static_cast<uint8_t>( ) ci.c:852:20: note: expanded from macro 'DEC2BCD' #define DEC2BCD(d) (((d / 10) << 4) + (d % 10)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ci.c:854:130: error: non-constant-expression cannot be narrowed from type '__uint16_t' (aka 'unsigned short') to 'short' in initializer list [-Wc++11-narrowing] ...m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm_gmt.tm_sec), offset : htons(tm_loc.tm_gmtoff / 60) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/arpa/inet.h:173:18: note: expanded from macro 'htons' #define htons(x) __htons(x) ^~~~~~~~~~ /usr/include/x86/endian.h:129:20: note: expanded from macro '__htons' #define __htons(x) __bswap16(x) ^~~~~~~~~~~~ /usr/include/x86/endian.h:76:2: note: expanded from macro '__bswap16' ((__uint16_t)(__builtin_constant_p(x) ? \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ci.c:854:130: note: insert an explicit cast to silence this issue ...m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm_gmt.tm_sec), offset : htons(tm_loc.tm_gmtoff / 60) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<short>( ) /usr/include/arpa/inet.h:173:18: note: expanded from macro 'htons' #define htons(x) __htons(x) ^~~~~~~~~~ /usr/include/x86/endian.h:129:20: note: expanded from macro '__htons' #define __htons(x) __bswap16(x) ^~~~~~~~~~~~ /usr/include/x86/endian.h:76:2: note: expanded from macro '__bswap16' ((__uint16_t)(__builtin_constant_p(x) ? \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reported by: antoine (via bug 224669) Approved by: ports-secteam blanket |
||
---|---|---|
accessibility | ||
arabic | ||
archivers | ||
astro | ||
audio | ||
base | ||
benchmarks | ||
biology | ||
cad | ||
chinese | ||
comms | ||
converters | ||
databases | ||
deskutils | ||
devel | ||
dns | ||
editors | ||
emulators | ||
finance | ||
french | ||
ftp | ||
games | ||
german | ||
graphics | ||
hebrew | ||
hungarian | ||
irc | ||
japanese | ||
java | ||
Keywords | ||
korean | ||
lang | ||
math | ||
misc | ||
Mk | ||
multimedia | ||
net | ||
net-im | ||
net-mgmt | ||
net-p2p | ||
news | ||
palm | ||
polish | ||
ports-mgmt | ||
portuguese | ||
russian | ||
science | ||
security | ||
shells | ||
sysutils | ||
Templates | ||
textproc | ||
Tools | ||
ukrainian | ||
vietnamese | ||
www | ||
x11 | ||
x11-clocks | ||
x11-drivers | ||
x11-fm | ||
x11-fonts | ||
x11-servers | ||
x11-themes | ||
x11-toolkits | ||
x11-wm | ||
.arcconfig | ||
.gitattributes | ||
.gitignore | ||
CHANGES | ||
CONTRIBUTING.md | ||
COPYRIGHT | ||
GIDs | ||
LEGAL | ||
Makefile | ||
MOVED | ||
README | ||
UIDs | ||
UPDATING |
This is the FreeBSD Ports Collection. For an easy to use WEB-based interface to it, please see: http://www.FreeBSD.org/ports For general information on the Ports Collection, please see the FreeBSD Handbook ports section which is available from: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/ports.html for the latest official version or: The ports(7) manual page (man ports). These will explain how to use ports and packages. If you would like to search for a port, you can do so easily by saying (in /usr/ports): make search name="<name>" or: make search key="<keyword>" which will generate a list of all ports matching <name> or <keyword>. make search also supports wildcards, such as: make search name="gtk*" For information about contributing to FreeBSD ports, please see the Porter's Handbook, available at: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/ NOTE: This tree will GROW significantly in size during normal usage! The distribution tar files can and do accumulate in /usr/ports/distfiles, and the individual ports will also use up lots of space in their work subdirectories unless you remember to "make clean" after you're done building a given port. /usr/ports/distfiles can also be periodically cleaned without ill-effect.