EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: compiling error:expected constructor, destructor, or type conversion before "(" token
From: "黄思婷" <[email protected]>
To: tech-talk <[email protected]>
Date: Fri, 4 Apr 2008 15:42:46 +0800
Dear tech-talk,
 
I'm trying to transplant a device driver to EPICS and develop some device suport of it. But while compiling the codes, there is such error:
../../include/Interface.h:44: error: expected constructor,destructor,or type conversion before "(" token
 
The device driver is provided along with the hardware in the format of .so and .h. 
The Interface.h file contains some driver function declarations.
 
I wonder if the reason is that the declaration and definition of the class are not together. But the function call of the device driver outside EPICS works normally.
 
How can I solve this problem?
 
Thanks a lot!
 
 
 
2008-04-04

Siting Huang
 

Replies:
RE: compiling error:expected constructor, destructor, or type conversion before "(" token Guobao Shen (KEK)
Re: compiling error:expected constructor, destructor, or type conversion before "(" token Stefan Heim

Navigate by Date:
Prev: Re: genSub and capture monitor event Eric Norum
Next: RE: compiling error:expected constructor, destructor, or type conversion before "(" token Guobao Shen (KEK)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: genSub and capture monitor event Maren Purves
Next: RE: compiling error:expected constructor, destructor, or type conversion before "(" token Guobao Shen (KEK)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·