On Monday 23 June 2008 17:43:43 Mark Rivers wrote:
> One possible source of the problem is that pdbbase should really be
> defined as follows, as it is done in db_convert.h:
>
> epicsShareExtern struct dbBase *pdbbase;
>
> However, motorUtilAux.cpp defines it as follows:
>
> extern "C" {
> extern struct dbBase *pdbbase;
> }
The definitive declaration of pdbbase is in dbAccessDefs.h so you shouldn't
need to create your own declaration. If the version in that header doesn't
work from C++ let me know and we'll fix it.
- Andrew
--
Talk is cheap. Show me the code. -- Linus Torvalds
- References:
- RE: Visual C++ link errors Mark Rivers
- Navigate by Date:
- Prev:
RE: Visual C++ link errors Mark Rivers
- Next:
How to specify value to a DBF_ACCESS field likun
- 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: Visual C++ link errors Mark Rivers
- Next:
Re: Visual C++ link errors Ron Sluiter
- 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
|