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
--
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: multiple include not supprted with EPICS 3.15.2 haquin
- References:
- multiple include not supprted with EPICS 3.15.2 haquin
- Navigate by Date:
- Prev:
multiple include not supprted with EPICS 3.15.2 haquin
- 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
- Navigate by Thread:
- Prev:
multiple include not supprted with EPICS 3.15.2 haquin
- Next:
Re: multiple include not supprted with EPICS 3.15.2 haquin
- 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
|