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 | 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 |
<== 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
|