Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: EPICS 7.0.1-pre1
From: Michael Davidsaver <mdavidsaver@gmail.com>
To: Dirk Zimoch <dirk.zimoch@psi.ch>
Cc: core-talk@aps.anl.gov
Date: Wed, 22 Nov 2017 09:47:07 -0600
Dirk,

Have you/PSI considered setting up a continuous integration builder as
APS has done?  I would be far easier if we (Base developers) could have
quicker notice about build issues.

Michael


https://jenkins.aps.anl.gov/view/EPICS%20Base/


On 11/22/2017 06:28 AM, Dirk Zimoch wrote:
> Hi everyone,
> 
> I have built EPICS 7.0.1-pre1 today for several vxWorks and embedded
> Linux target architectures. Unfortunately I have a number of build fails
> for architectures that used to work with 3.16.1.
> 
> Success:
> Red Hat Enterprise Linux 7 64 bit with gcc and clang (host)
> Scientific Linux 6 32 and 64 bit (cross from RHEL7)
> ELDK 5.1 ppc 4xx and 5.2 ppc e500v2 32 bit
> yocto 2.0 ppc e6500 64 bit
> yocto 2.1 arm v8 64 bit (aarch64, Zynq)
> 
> Fail:
> All vxWorks builds (6.2, 6.3, 6.6, 6.7 ppc603 and ppc604)
> Montavista Linux 4.0 arm v5 (xscale, Moxa)
> some unknown embedded Linux arm v6 (Moxa)
> ELDK 4.2 ppc 4xx 32 bit
> 
> 
> The vxWorks 6.2 and 6.3 builds failed here:
> In file included from
> /usr/local/epics/base-7.0.1/include/os/vxWorks/boost/smart_ptr/detail/spinlock_pool.hpp:25,
> 
>                  from
> /usr/local/epics/base-7.0.1/include/os/vxWorks/boost/smart_ptr/shared_ptr.hpp:38,
> 
>                  from
> /usr/local/epics/base-7.0.1/include/os/vxWorks/boost/shared_ptr.hpp:17,
>                  from
> /usr/local/epics/base-7.0.1/include/os/vxWorks/boost/tr1/memory.hpp:56,
>                  from ../../src/misc/pv/sharedPtr.h:133,
>                  from ../pv/pvType.h:41,
>                  from ../pv/pvIntrospect.h:17,
>                  from ../pv/pvData.h:24,
>                  from ../../src/json/print.cpp:11:
> /usr/local/epics/base-7.0.1/include/os/vxWorks/boost/smart_ptr/detail/spinlock.hpp:47:52:
> boost/smart_ptr/detail/spinlock_pt.hpp: No such file or directory
> 
> 
> The vxWorks 6.6 and 6.7 builds failed here:
> ../../src/misc/pv/typeCast.h: In function
> 'void<unnamed>::castVTyped(size_t, void*, const void*) [with TO = long
> long unsigned int, FROM = double]':
> ../../src/misc/pv/typeCast.h:168: sorry, unimplemented: inlining failed
> in call to 'TO epics::pvData::castUnsafe(const FROM&) [with TO = long
> long unsigned int, FROM = double]': function not considered for inlining
> ../../src/misc/typeCast.cpp:37: sorry, unimplemented: called from here
> 
> 
> Two embedded Linux cross builds for Moxa serial servers fail here:
> perl -CSD ../../src/env/bldEnvData.pl  -t moxa42-armv6l \
>         -c gcc -s  /usr/local/epics/base-7.0.1/configure
> Usage: bldEnvData.pl [options] configure
>   -h       Help: Print this message
>   -q       Quiet: Only print errors
>   -o file  Output filename, default is envData.c
>   -t arch  Target architecture $(T_A) name
>   -s os    Operating system $(OS_CLASS)
>   -c comp  Compiler class $(CMPLR_CLASS)
> 
> make[4]: *** No rule to make target `../O.Common/osiFileName.h', needed
> by `inc'.  Stop.
> make[4]: Leaving directory
> `/afs/psi.ch/group/8431/dirk/git/BASE/base-7.0.1-pre1/modules/libcom/src/O.moxa42-armv6l'
> 
> 
> 
> ELDK 4.2 ppc 4xx cross build fails here:
> ../pvif.h: In constructor 'PDBSinglePut::PDBSinglePut(const
> std::tr1::shared_ptr<PDBSingleChannel>&, const
> std::tr1::shared_ptr<epics::pvAccess::ChannelPutRequester>&, const
> std::tr1::shared_ptr<epics::pvData::PVStructure>&)':
> ../pvif.h:291: error: 'FieldName::FieldName(const FieldName&)' is private
> ../pdbsingle.cpp:300: error: within this context
> ../pvif.h: In member function 'virtual void PDBSinglePut::put(const
> std::tr1::shared_ptr<epics::pvData::PVStructure>&, const
> std::tr1::shared_ptr<epics::pvData::BitSet>&)':
> ../pvif.h:291: error: 'FieldName::FieldName(const FieldName&)' is private
> ../pdbsingle.cpp:364: error: within this context
> ../pvif.h:291: error: 'FieldName::FieldName(const FieldName&)' is private
> ../pdbsingle.cpp:386: error: within this context
> make[4]: *** [pdbsingle.o] Error 1
> 
> 
> 
> 
> 
> 
> There are a a number of warnings (different for different target archs).
> Should we do something about them?
> 
> epicsTempFile.o: In function `epicsTempName':
> epicsTempFile.cpp:(.text+0x2a): warning: the use of `tmpnam' is
> dangerous, better use `mkstemp'
> 
> In file included from ../../src/osi/os/Linux/osdFindAddr.c:10:
> ../../src/osi/os/posix/osdElfFindAddr.c: In function ‘epicsFindAddr’:
> ../../src/osi/os/posix/osdElfFindAddr.c:642: warning: cast to pointer
> from integer of different size
> 
> ../../src/osi/os/vxWorks/osdFindSymbol.c: In function `epicsLoadLibrary':
> ../../src/osi/os/vxWorks/osdFindSymbol.c:48: warning: implicit
> declaration of function `close'
> 
> ../../src/error/errlog.c: In function `errlogPrintf':
> ../../src/error/errlog.c:110: warning: 'nchar' might be used
> uninitialized in this function
> 
> ../../src/osi/os/vxWorks/vxComLibrary.c: In function 'vxComLibrary':
> ../../src/osi/os/vxWorks/vxComLibrary.c:26: warning:
> 'symFindByNameEPICS' is deprecated (declared at
> ../../src/osi/os/vxWorks/epicsDynLink.h:30)
> 
> ../../src/osi/os/vxWorks/veclist.c: In function 'veclist':
> ../../src/osi/os/vxWorks/veclist.c:76: warning: 'symFindByValue' is
> deprecated (declared at
> /afs/psi.ch/project/vxworks/VxWorks6.6/vxworks-6.6/target/h/symLib.h:119)
> 
> ../tcpiiu.cpp: In member function `bool tcpiiu::processIncoming(const
>    epicsTime&, callbackManager&)':
> ../tcpiiu.cpp:1212: warning: `arrayElementCount newsize' might be used
>    uninitialized in this function
> 
> In file included from ../access.cpp:45:0:
> ../oldAccess.h:406:10: warning: ‘template<class> class std::auto_ptr’ is
> deprecated [-Wdeprecated-declarations]
>      std::auto_ptr < CallbackGuard > pCallbackGuard;
>           ^~~~~~~~
> In file included from
> /opt/petalinux-gfa/2017.2/sysroots/aarch64-xilinx-linux/usr/include/c++/6.2.1/memory:81:0,
> 
>                  from ../oldAccess.h:29,
>                  from ../access.cpp:45:
> /opt/petalinux-gfa/2017.2/sysroots/aarch64-xilinx-linux/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28:
> note: declared here
> 
> ../Cap5.xs: In function ‘CA_put’:
> ../Cap5.xs:638:16: warning: ‘p.dbr’ may be used uninitialized in this
> function [-Wmaybe-uninitialized]
>          status = ca_array_put(type, num_values, pch->chan, p.dbr);
>                 ^
> ../../../src/ioc/db/dbChannelIO.cpp:152:13: warning: comparison of
> constant -1 with expression of type 'unsigned short' is always true
> [-Wtautological-constant-out-of-range-compare]
>             dbf_type_to_text ( dbChannelExportCAType ( this->dbch ) ),
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/local/epics/base-7.0.1/include/db_access.h:687:16: note: expanded
> from macro 'dbf_type_to_text'
>     (  ((type) >= -1 && (type) < dbf_text_dim-2) ? \
>         ~~~~~~ ^  ~~
> 
> In file included from ../../../src/ioc/db/dbContext.cpp:29:0:
> ../../../src/ioc/db/dbCAC.h:197:10: warning: ‘template<class> class
> std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
>      std::auto_ptr < cacContext > pNetContext;
>           ^~~~~~~~
> In file included from
> /opt/petalinux-gfa/2017.2/sysroots/aarch64-xilinx-linux/usr/include/c++/6.2.1/memory:81:0,
> 
>                  from ../../../src/ioc/db/dbCAC.h:29,
>                  from ../../../src/ioc/db/dbContext.cpp:29:
> /opt/petalinux-gfa/2017.2/sysroots/aarch64-xilinx-linux/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28:
> note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> ../../../src/ioc/db/dbChannelIO.cpp: In member function 'virtual void
> dbChannelIO::show(epicsGuard<epicsMutex>&, unsigned int) const':
> ../../../src/ioc/db/dbChannelIO.cpp:152: warning: comparison is always
> true due to limited range of data type
> ../../../src/ioc/dbStatic/dbStaticLib.c: In function 'dbGetStringNum':
> ../../../src/ioc/dbStatic/dbStaticLib.c:2126: warning: comparison is
> always false due to limited range of data type
> ../../../src/ioc/dbStatic/dbStaticLib.c:2146: warning: comparison is
> always false due to limited range of data type
> ../../../src/ioc/rsrv/camessage.c: In function 'read_action':
> ../../../src/ioc/rsrv/camessage.c:630: warning: comparison is always
> false due to limited range of data type
> ../../../src/ioc/rsrv/camessage.c: In function 'read_notify_action':
> ../../../src/ioc/rsrv/camessage.c:721: warning: comparison is always
> false due to limited range of data type
> ../../../src/ioc/rsrv/camessage.c: In function 'event_add_action':
> ../../../src/ioc/rsrv/camessage.c:1787: warning: comparison is always
> false due to limited range of data type
> 
> ../../../src/std/link/lnkCalc.c: In function `lnkCalc_string':
> ../../../src/std/link/lnkCalc.c:184: warning: subscript has type `char'
> 
> ../../src/misc/reftrack.cpp:268:15: warning: unused variable 'now'
> [-Wunused-variable]
>     epicsTime now(epicsTime::getCurrent());
> 
> ../../src/factory/FieldCreateFactory.cpp: In member function
> 'epics::pvData::int32 epics::pvData::Union::guess(epics::pvData::Type,
> epics::pvData::ScalarType) const':
> ../../src/factory/FieldCreateFactory.cpp:625: warning: 'type' may be
> used uninitialized in this function
> 
> ../../src/misc/pv/reftrack.h:108: warning: 'class epics::RefMonitor' has
> virtual functions but non-virtual destructor
> 
>                           In file included from
> ../../testApp/misc/testThread.cpp:26:
> /usr/local/epics/base-7.0.1/include/pv/executor.h:37: warning: ‘Command’
> is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/executor.h:35)
> /usr/local/epics/base-7.0.1/include/pv/executor.h:37: warning: ‘Command’
> is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/executor.h:35)
> /usr/local/epics/base-7.0.1/include/pv/executor.h:37: warning: ‘Command’
> is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/executor.h:35)
> /usr/local/epics/base-7.0.1/include/pv/executor.h:37: warning: ‘Command’
> is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/executor.h:35)
> /usr/local/epics/base-7.0.1/include/pv/executor.h:59: warning:
> ‘Executor’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/executor.h:57)
> /usr/local/epics/base-7.0.1/include/pv/executor.h:59: warning:
> ‘Executor’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/executor.h:57)
> /usr/local/epics/base-7.0.1/include/pv/executor.h:59: warning:
> ‘Executor’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/executor.h:57)
> /usr/local/epics/base-7.0.1/include/pv/executor.h:59: warning:
> ‘Executor’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/executor.h:57)
> In file included from ../../testApp/misc/testThread.cpp:27:
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:31: warning:
> ‘TimeFunctionRequester’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:29)
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:31: warning:
> ‘TimeFunctionRequester’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:29)
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:31: warning:
> ‘TimeFunctionRequester’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:29)
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:31: warning:
> ‘TimeFunctionRequester’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:29)
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:50: warning:
> ‘TimeFunction’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:48)
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:50: warning:
> ‘TimeFunction’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:48)
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:50: warning:
> ‘TimeFunction’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:48)
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:50: warning:
> ‘TimeFunction’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/timeFunction.h:48)
> ../../testApp/misc/testThread.cpp: In function ‘void testBasic()’:
> ../../testApp/misc/testThread.cpp:105: warning: ‘Executor’ is deprecated
> (declared at /usr/local/epics/base-7.0.1/include/pv/executor.h:57)
>         ^
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h: In function
> ‘void<unnamed>::test_basic()’:
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: warning:
> dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: note: initialized
> from here
> ../../testApp/misc/testanyscalar.cpp:54: warning: dereferencing pointer
> ‘<anonymous>’ does break strict-aliasing rules
> ../../testApp/misc/testanyscalar.cpp:54: note: initialized from here
> /usr/local/epics/base-7.0.1/include/pv/typemap.h:16: warning:
> dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:85: note: initialized
> from here
> /usr/local/epics/base-7.0.1/include/pv/typemap.h:17: warning:
> dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:85: note: initialized
> from here
> /usr/local/epics/base-7.0.1/include/pv/typemap.h:18: warning:
> dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:85: note: initialized
> from here
> /usr/local/epics/base-7.0.1/include/pv/typemap.h:19: warning:
> dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:85: note: initialized
> from here
> /usr/local/epics/base-7.0.1/include/pv/typemap.h:20: warning:
> dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:85: note: initialized
> from here
> ../../testApp/misc/testanyscalar.cpp:67: warning: dereferencing pointer
> ‘<anonymous>’ does break strict-aliasing rules
> ../../testApp/misc/testanyscalar.cpp:67: note: initialized from here
> ../../testApp/misc/testanyscalar.cpp:69: warning: dereferencing pointer
> ‘<anonymous>’ does break strict-aliasing rules
> ../../testApp/misc/testanyscalar.cpp:69: note: initialized from here
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h: In function
> ‘void<unnamed>::test_ctor()’:
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: warning:
> dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: note: initialized
> from here
> ../../testApp/misc/testanyscalar.cpp:39: warning: dereferencing pointer
> ‘<anonymous>’ does break strict-aliasing rules
> ../../testApp/misc/testanyscalar.cpp:39: note: initialized from here
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h: In function
> ‘void<unnamed>::test_swap()’:
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: warning:
> dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: note: initialized
> from here
> ../../testApp/misc/testanyscalar.cpp:126: warning: dereferencing pointer
> ‘<anonymous>’ does break strict-aliasing rules
> ../../testApp/misc/testanyscalar.cpp:126: note: initialized from here
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: warning:
> dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: note: initialized
> from here
> ../../testApp/misc/testanyscalar.cpp:145: warning: dereferencing pointer
> ‘<anonymous>’ does break strict-aliasing rules
> ../../testApp/misc/testanyscalar.cpp:145: note: initialized from here
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: warning:
> dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: note: initialized
> from here
> ../../testApp/misc/testanyscalar.cpp:153: warning: dereferencing pointer
> ‘<anonymous>’ does break strict-aliasing rules
> ../../testApp/misc/testanyscalar.cpp:153: note: initialized from here
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: warning:
> dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: note: initialized
> from here
> ../../testApp/misc/testanyscalar.cpp:159: warning: dereferencing pointer
> ‘<anonymous>’ does break strict-aliasing rules
> ../../testApp/misc/testanyscalar.cpp:159: note: initialized from here
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: warning:
> dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: note: initialized
> from here
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: warning:
> dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: note: initialized
> from here
> ../../testApp/misc/testanyscalar.cpp:164: warning: dereferencing pointer
> ‘<anonymous>’ does break strict-aliasing rules
> ../../testApp/misc/testanyscalar.cpp:164: note: initialized from here
> ../../testApp/misc/testanyscalar.cpp:165: warning: dereferencing pointer
> ‘<anonymous>’ does break strict-aliasing rules
> ../../testApp/misc/testanyscalar.cpp:165: note: initialized from here
> 
> ../../testApp/copy/testPVCopy.cpp: In function 'void testPVScalar(const
> string&, const string&, const PVStructurePtr&, const PVCopyPtr&)':
> ../../testApp/copy/testPVCopy.cpp:44:12: warning: variable 'offset' set
> but not used [-Wunused-but-set-variable]
> ../../testApp/copy/testPVCopy.cpp: In function 'void
> testPVScalarArray(const string&, const string&, const PVStructurePtr&,
> const PVCopyPtr&)':
> ../../testApp/copy/testPVCopy.cpp:90:12: warning: variable 'offset' set
> but not used [-Wunused-but-set-variable]
> 
> ../../testApp/misc/testQueue.cpp:68:28: warning: 'Queue' is deprecated
> (declared at /usr/local/epics/base-7.0.1/include/pv/queue.h:28)
> [-Wdeprecated-declarations]
> 
> In file included from ../../src/remote/codec.cpp:40:
> ../../src/remote/pv/codec.h:294:18: warning: private field
> '_socketSendBufferSize' is not used [-Wunused-private-field]
>     const size_t _socketSendBufferSize;
> 
> In file included from ../caProvider.cpp:21:0:
> ../caChannel.h:93:46: warning: ‘virtual void
> epics::pvAccess::ca::CAChannel::destroy()’ is deprecated
> [-Wdeprecated-declarations]
>      virtual void destroy() EPICS_DEPRECATED {};
>                                               ^
> ../caChannel.h:93:18: note: declared here
>      virtual void destroy() EPICS_DEPRECATED {};
>                   ^~~~~~~
> ../caChannel.h:171:46: warning: ‘virtual void
> epics::pvAccess::ca::CAChannelGet::destroy()’ is deprecated
> [-Wdeprecated-declarations]
>      virtual void destroy() EPICS_DEPRECATED {};
>                                               ^
> ../caChannel.h:171:18: note: declared here
>      virtual void destroy() EPICS_DEPRECATED {};
>                   ^~~~~~~
> ../caChannel.h:239:46: warning: ‘virtual void
> epics::pvAccess::ca::CAChannelPut::destroy()’ is deprecated
> [-Wdeprecated-declarations]
>      virtual void destroy() EPICS_DEPRECATED {};
>                                               ^
> ../caChannel.h:239:18: note: declared here
>      virtual void destroy() EPICS_DEPRECATED {};
>                   ^~~~~~~
> ../caChannel.h:302:46: warning: ‘virtual void
> epics::pvAccess::ca::CAChannelMonitor::destroy()’ is deprecated
> [-Wdeprecated-declarations]
>      virtual void destroy() EPICS_DEPRECATED {};
>                                               ^
> ../caChannel.h:302:18: note: declared here
>      virtual void destroy() EPICS_DEPRECATED {};
>                   ^~~~~~~
> 
> ../reftrackioc.cpp: In function 'void {anonymous}::showRefs(const
> epics::RefSnapshot&, int, bool)':
> ../reftrackioc.cpp:29:75: warning: format '%zd' expects argument of type
> 'signed size_t', but argument 4 has type 'long int' [-Wformat]
> 
> ../../testApp/remote/testGetPerformance.cpp: In function ‘void get_all()’:
> ../../testApp/remote/testGetPerformance.cpp:117: warning: ‘virtual void
> epics::pvAccess::ChannelProvider::flush()’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/pvAccess.h:1244)
> ../../testApp/remote/testGetPerformance.cpp: In function ‘void runTest()’:
> ../../testApp/remote/testGetPerformance.cpp:324: warning: ‘virtual void
> epics::pvAccess::ChannelProvider::flush()’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/pvAccess.h:1244)
> ../../testApp/remote/testGetPerformance.cpp:358: warning: ‘virtual void
> epics::pvAccess::ChannelProvider::flush()’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/pvAccess.h:1244)
> 
> ../../testApp/utils/configurationTest.cpp:35:19: warning: unused
> variable 'indata' [-Wunused-const-variable]
> static const char indata[] =
>                   ^
> ../../testApp/utils/configurationTest.cpp:43:19: warning: unused
> variable 'expectdata' [-Wunused-const-variable]
> static const char expectdata[] =
>                   ^
> In file included from ../ntcontinuum.cpp:8:
> ../pv/ntcontinuum.h:96:14: warning: private field 'dim' is not used
> [-Wunused-private-field]
>         bool dim;
>              ^
> ../pv/nthistogram.h:106:14: warning: private field 'dim' is not used
> [-Wunused-private-field]
>         bool dim;
>              ^
> 
> In file included from ../pvaClient.cpp:19:
> ../pv/pvaClient.h:1742:10: warning:
> 'epics::pvaClient::PvaClientMonitor::monitorConnect' hides overloaded
> virtual function [-Woverloaded-virtual]
>     void monitorConnect(
>          ^
> ../pv/pvaClient.h:1610:18: note: hidden overloaded virtual function
> 'epics::pvaClient::PvaClientMonitorRequester::monitorConnect' declared
> here: type mismatch at 2nd parameter ('const PvaClientMonitorPtr &' (aka
> 'const shared_ptr<epics::pvaClient::PvaClientMonitor> &') vs 'const
> epics::pvData::MonitorPtr &' (aka 'const
> shared_ptr<epics::pvAccess::Monitor> &'))
>     virtual void monitorConnect(epics::pvData::Status const & status,
> 
> ../pv/pvaClient.h:1746:10: warning:
> 'epics::pvaClient::PvaClientMonitor::unlisten' hides overloaded virtual
> function [-Woverloaded-virtual]
>     void unlisten(epics::pvData::MonitorPtr const & monitor);
> ../pv/pvaClient.h:1623:18: note: hidden overloaded virtual function
> 'epics::pvaClient::PvaClientMonitorRequester::unlisten' declared here:
> different number of parameters (0 vs 1)
>     virtual void unlisten()
> 
> ../../src/pvAccess/channelLocal.cpp: In member function ‘void
> epics::pvDatabase::ChannelRPCLocal::processRequest(const
> epics::pvAccess::RPCService::shared_pointer&, const
> epics::pvData::PVStructurePtr&)’:
> ../../src/pvAccess/channelLocal.cpp:828: warning: ‘virtual void
> epics::pvDatabase::ChannelRPCLocal::destroy()’ is deprecated (declared
> at ../../src/pvAccess/channelLocal.cpp:740)
> ../../src/pvAccess/channelLocal.cpp: In member function ‘void
> epics::pvDatabase::ChannelRPCLocal::processRequest(const
> epics::pvAccess::RPCServiceAsync::shared_pointer&, const
> epics::pvData::PVStructurePtr&)’:
> ../../src/pvAccess/channelLocal.cpp:846: warning: ‘virtual void
> epics::pvDatabase::ChannelRPCLocal::destroy()’ is deprecated (declared
> at ../../src/pvAccess/channelLocal.cpp:740)
> ../../src/pvAccess/channelLocal.cpp:857: warning: ‘virtual void
> epics::pvDatabase::ChannelRPCLocal::destroy()’ is deprecated (declared
> at ../../src/pvAccess/channelLocal.cpp:740)
> ../../test/src/testLocalProvider.cpp: In function ‘void test()’:
> ../../test/src/testLocalProvider.cpp:74: warning: ‘virtual void
> epics::pvDatabase::ChannelProviderLocal::destroy()’ is deprecated
> (declared at
> /usr/local/epics/base-7.0.1/include/pv/channelProviderLocal.h:124)
> ../../test/src/testPVAServer.cpp: In function ‘void test()’:
> ../../test/src/testPVAServer.cpp:70: warning: ‘void
> epics::pvAccess::ServerContext::destroy()’ is deprecated (declared at
> /usr/local/epics/base-7.0.1/include/pv/serverContext.h:59)
> 
> ../pdbsingle.cpp:300:64: warning: C++98 requires an accessible copy
> constructor for class 'FieldName' when binding a reference to a
> temporary; was private [-Wbind-to-temporary-copy]
>     ,pvif(channel->pv->builder->attach(channel->pv->chan, pvf,
> FieldName()))
>                                                                ^
> ../pvif.h:291:5: note: declared private here
>     FieldName(const FieldName&);
>     ^
> ../pdbsingle.cpp:364:92: warning: C++98 requires an accessible copy
> constructor for class 'FieldName' when binding a reference to a
> temporary; was private [-Wbind-to-temporary-copy]
>         p2p::auto_ptr<PVIF>
> putpvif(channel->pv->builder->attach(channel->pv->chan, value,
> FieldName()));
> 
>                    ^
> ../pvif.h:291:5: note: declared private here
>     FieldName(const FieldName&);
>     ^
> ../pdbsingle.cpp:386:92: warning: C++98 requires an accessible copy
> constructor for class 'FieldName' when binding a reference to a
> temporary; was private [-Wbind-to-temporary-copy]
>         p2p::auto_ptr<PVIF>
> putpvif(channel->pv->builder->attach(channel->pv->chan, value,
> FieldName()));
> 
>                    ^
> ../pvif.h:291:5: note: declared private here
>     FieldName(const FieldName&);
>     ^
> 
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h: In function
> ‘int<unnamed>::conf_integer(void*, epics::pvData::yajl::integer_arg)’:
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: warning:
> dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
> /usr/local/epics/base-7.0.1/include/pv/anyscalar.h:98: note: initialized
> from here
> 
> 
> Dirk


Replies:
Re: EPICS 7.0.1-pre1 Dirk Zimoch
Re: EPICS 7.0.1-pre1 Dirk Zimoch
References:
EPICS 7.0.1-pre1 Andrew Johnson
Re: EPICS 7.0.1-pre1 Dirk Zimoch

Navigate by Date:
Prev: Re: EPICS 7.0.1-pre1 Dirk Zimoch
Next: Re: EPICS 7.0.1-pre1 (typeCast.h) Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Re: EPICS 7.0.1-pre1 Dirk Zimoch
Next: Re: EPICS 7.0.1-pre1 Dirk Zimoch
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 24 Nov 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·