1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/audio/epos-devel
Tobias Kortkamp ab7d81d39f audio/epos-devel: Fix build with Clang 6
./options.lst:506:1: error: non-constant-expression cannot be narrowed from type 'long' to 'int' in initializer list [-Wc++11-narrowing]
VOICE_OPTION (name,     STR, NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./options.lst:128:41: note: expanded from macro 'VOICE_OPTION'
#define VOICE_OPTION(name,type,default) OPTION(name,type,default)
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~
./options.lst:122:109: note: expanded from macro 'OPTION'
#define OPTION(name,type,default) {"C:" stringify(name) + 2, type, OS_CFG, A_PUBLIC, A_PUBLIC, true, false, (long int)&((configuration *)NULL)->name},
                                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./options.lst:506:1: note: insert an explicit cast to silence this issue
VOICE_OPTION (name,     STR, NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./options.lst:128:41: note: expanded from macro 'VOICE_OPTION'
#define VOICE_OPTION(name,type,default) OPTION(name,type,default)
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~
./options.lst:122:109: note: expanded from macro 'OPTION'
#define OPTION(name,type,default) {"C:" stringify(name) + 2, type, OS_CFG, A_PUBLIC, A_PUBLIC, true, false, (long int)&((configuration *)NULL)->name},
                                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475044_s336572/logs/epos-2.5.37_1.log

client.cc:197:33: error: assigning to 'int' from incompatible type 'nullptr_t'
                partbuff_sizes[n_partbuffs] = NULL;
                                              ^~~~
2018-07-29 12:15:10 +00:00
..
files
distinfo
Makefile audio/epos-devel: Fix build with Clang 6 2018-07-29 12:15:10 +00:00
pkg-descr
pkg-plist