Hi Michael,
Please fix the gcc-ism you introduced to the 3.15 branch in commit
8edefb9d which is currently causing all Jenkins' Windows builds to fail:
dbUnitTest.c: In function ‘testdbGetArrFieldEqual’:
dbUnitTest.c:223:32: error: pointer of type ‘void *’ used in arithmetic
[-Werror=pointer-arith]
for(n=0; n<N; n++, gbuf+=vSize, pbuf+=vSize) {
^
dbUnitTest.c:223:45: error: pointer of type ‘void *’ used in arithmetic
[-Werror=pointer-arith]
for(n=0; n<N; n++, gbuf+=vSize, pbuf+=vSize) {
^
cc1: some warnings being treated as errors
http://stackoverflow.com/questions/3523145/pointer-arithmetic-for-void-pointer-in-c
Another option now in my ~/configure/CONFIG_USER.Common.linux-x86_64 file:
ifdef BASE_3_15
OP_SYS_CFLAGS += -Werror=pointer-arith
OP_SYS_CFLAGS += -fvisibility=hidden
OP_SYS_CXXFLAGS += -fvisibility-inlines-hidden
endif
- Andrew
--
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon
- Replies:
- Re: Bug in dbUnitTest.c Michael Davidsaver
- Navigate by Date:
- Prev:
Jenkins build is back to stable : epics-base-3.14 #239 APS Jenkins
- Next:
Re: Bug in dbUnitTest.c Michael Davidsaver
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Problem in macLib macExpandString? Andrew Johnson
- Next:
Re: Bug in dbUnitTest.c Michael Davidsaver
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024
|