EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  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  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: ChannelArchiver build error
From: Kay-Uwe Kasemir <[email protected]>
To: "D. Peter Siddons" <[email protected]>
Cc: [email protected]
Date: Tue, 07 Feb 2006 15:01:34 -0500
Hello Pete:

I just tried to build ChannelArchiver, and got the following:
../DataFile.h:130: error: ?DataHeaderIterator? does not name a type
For reasons too terrible to describe in detail here,
there are two DataFile.h: One in LibIO and one in Storage.
The headers from LibIO are no longer installed, i.e. not
copied to extensions/include. One should make sure
that none are left in extensions/include from a previous version
of the archiver toolset.

Having said that: I think you're at the make stage of compiling LibIO,
and use the DataFile.h in LibIO, not one left in extensions/include,
and now we're faced with a compiler issue.
What's your compiler version?

Datafile.h indeed uses the DataHeaderIterator which is
defined later on inside the same file, because Datafile
and DataHeaderIterator refer to each other.

So far, that was OK by simply sometimes using 'class DataHeaderIterator'
instead of only 'DataHeaderIterator', so that the compiler
gets an idea of what will come.
I think that's really only supposed to work for
'class DataHeaderIterator *' or 'class DataHeaderIterator &',
so I can see why your compiler is more correct than the code,
but anyway, so far it was compiling.

You can add 'class DataHeaderIterator' wherever the compiler complains
in your case.
Or move the DataHeaderIterator class before the Datafile,
which will cause the compiler to complain about an unknown 'Datafile',
and then you keep changing 'Datafile' into 'class Datafile' until it's happy.


Let me know what you get to work.
Thanks,
-Kay


Replies:
Re: ChannelArchiver build error D. Peter Siddons
References:
ChannelArchiver build error D. Peter Siddons

Navigate by Date:
Prev: FW: Two Hytec VSD 2992 CAMAC serial highway driver in one VME crate Darrell Nineham
Next: vlinac broken under MacOS 10.4 Tiger? Steve Lewis
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: ChannelArchiver build error D. Peter Siddons
Next: Re: ChannelArchiver build error D. Peter Siddons
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  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 ·