Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: RE: double defenition in Epics
From: "Jeff Hill" <johill@lanl.gov>
To: "'Liyu, Andrei'" <liyua@ornl.gov>, <tech-talk@aps.anl.gov>
Date: Fri, 8 Oct 2004 18:19:00 -0600
Liyu,

You are mixing the old and new database access interfaces in the same
program which isn't a good idea. That is, don't include db_access.h and
dbFldTypes.h into the same source code.

Jeff

> -----Original Message-----
> From: Liyu, Andrei [mailto:liyua@ornl.gov]
> Sent: Friday, October 08, 2004 2:38 PM
> To: tech-talk@aps.anl.gov
> Subject: double defenition in Epics
> 
> Hi,
> 	I decide to write Epics server that will take PV from another
> Epics server and use CA directly. And I see
> ==============
> C:\Epics\include\db_access.h(82) : warning C4005: 'DBR_SHORT' : macro
> redefinition
>         C:\Epics\include\dbFldTypes.h(75) : see previous definition of
> 'DBR_SHORT'
> C:\Epics\include\db_access.h(110) : warning C4005: 'DBR_GR_LONG' : macro
> redefinition
>         C:\Epics\include\dbAccessDefs.h(44) : see previous definition of
> 'DBR_GR_LONG'
> C:\Epics\include\db_access.h(111) : warning C4005: 'DBR_GR_DOUBLE' :
> macro redefinition
>         C:\Epics\include\dbAccessDefs.h(45) : see previous definition of
> 'DBR_GR_DOUBLE'
> C:\Epics\include\db_access.h(118) : warning C4005: 'DBR_CTRL_LONG' :
> macro redefinition
>         C:\Epics\include\dbAccessDefs.h(46) : see previous definition of
> 'DBR_CTRL_LONG'
> C:\Epics\include\db_access.h(119) : warning C4005: 'DBR_CTRL_DOUBLE' :
> macro redefinition
>         C:\Epics\include\dbAccessDefs.h(47) : see previous definition of
> 'DBR_CTRL_DOUBLE'
> C:\Epics\include\db_access.h(120) : warning C4005: 'DBR_PUT_ACKT' :
> macro redefinition
>         C:\Epics\include\dbFldTypes.h(82) : see previous definition of
> 'DBR_PUT_ACKT'
> C:\Epics\include\db_access.h(121) : warning C4005: 'DBR_PUT_ACKS' :
> macro redefinition
>         C:\Epics\include\dbFldTypes.h(83) : see previous definition of
> 'DBR_PUT_ACKS'
> C:\Epics\include\db_access.h(125) : warning C4005: 'VALID_DB_REQ' :
> macro redefinition
>         C:\Epics\include\dbFldTypes.h(85) : see previous definition of
> 'VALID_DB_REQ'
> C:\Epics\include\db_access.h(126) : warning C4005: 'INVALID_DB_REQ' :
> macro redefinition
>         C:\Epics\include\dbFldTypes.h(86) : see previous definition of
> 'INVALID_DB_REQ'
> ===============
> 
> Have anybody comments?
> 
> Thank you - Andrei.


References:
double defenition in Epics Liyu, Andrei

Navigate by Date:
Prev: Re: Not-a-number (nan) issues Andrew Johnson
Next: RE: Not-a-number (nan) issues Lawrence T. Hoff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: double defenition in Epics Liyu, Andrei
Next: RE: double defenition in Epics Liyu, Andrei
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·