K 10 svn:author V 5 tobik K 8 svn:date V 27 2018-07-29T12:15:10.733415Z K 7 svn:log V 1776 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; ^~~~ END