Yes that's what I did,
I just wanted to be sure that this is the expected behavior
Le 05/01/2017 à 17:56, Andrew Johnson a écrit :
Hi Christophe,
On 01/05/2017 09:57 AM, haquin wrote:
years ago I created a record drived from genSub, in the 'src' directory
there are several ".dbd" files which may include
"menuFType.dbd" and "menuAlarmSevr.dbd".
It worked well with EPICS 3.14, but with EPICS 3.15.2 at compilation I
have errors because of multiple include of those
files.
enum defined in "menuFType.dbd" and "menuAlarmSevr.dbd" are considered
to be redeclared.
Try removing the include lines from your Record.dbd file that pull in
those particular menu*.dbd files. The menu definitions are not actually
needed when the Record.dbd file is converted in to a Record.h file, and
they do get included in the base.dbd file so they will already be
defined when the IOC's top-level DBD file is created.
I think this will solve your issue (take a look at the aSubRecord in
Base for another record that was derived from the genSub, which might
answer some other questions that arise).
- Andrew
--
Christophe Haquin
Control and Real Time systems Engineer
+33 231454661 office
+33 231454728 fax
SdA/GIM
GANIL
Bd Henri Becquerel BP 55027
14076 CAEN CEDEX5
________________________________
Préservons notre environnement, n’imprimez ce mail que si nécessaire.
Preserve our environment, print this email only if necessary.
begin:vcard
fn:Christophe Haquin
n:Haquin;Christophe
email;internet:[email protected]
tel;work:02 31 45 46 61
x-mozilla-html:FALSE
version:2.1
end:vcard
- References:
- multiple include not supprted with EPICS 3.15.2 haquin
- Re: multiple include not supprted with EPICS 3.15.2 Andrew Johnson
- Navigate by Date:
- Prev:
RE: ca_search() and "preemptive callback" Mooney, Tim M.
- Next:
vxWorks 6.9 compiler problem on large file systems Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
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: multiple include not supprted with EPICS 3.15.2 Andrew Johnson
- Next:
ca_search() and "preemptive callback" Michael Westfall
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024
|