svn commit: r475652 - head/audio/epos-devel
Tobias Kortkamp
tobik at FreeBSD.org
Sun Jul 29 12:15:11 UTC 2018
Author: tobik
Date: Sun Jul 29 12:15:10 2018
New Revision: 475652
URL: https://svnweb.freebsd.org/changeset/ports/475652
Log:
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;
^~~~
Modified:
head/audio/epos-devel/Makefile
Modified: head/audio/epos-devel/Makefile
==============================================================================
--- head/audio/epos-devel/Makefile Sun Jul 29 12:07:01 2018 (r475651)
+++ head/audio/epos-devel/Makefile Sun Jul 29 12:15:10 2018 (r475652)
@@ -14,6 +14,7 @@ LICENSE= GPLv2 LGPL20
LICENSE_COMB= multi
USES= gmake
+USE_CXXSTD= gnu++98
GNU_CONFIGURE= yes
CONFIGURE_ENV= YACC="${YACC}"
More information about the svn-ports-all
mailing list