Hello Jeff,
>>> On Fri, 22 Dec 2006 15:08:44 JST, "Jeff Hill" <[email protected]> wrote;
> I just noticed a few minutes ago a compile time error when building with
> g++
> Linux. I committed a fix for this problem which may resolve your
> troubles
> also.
I've just notice the file on the cvsweb. (I'm sorry but I've
pointed another version.) However, the result was almost the
same.
=====
cxx -Wall -c -pthread -ieee -DUNIX -D_OSF_SOURCE -std gnu -O -I. -I.. -I../../../include/os/osf -I../../../include ../comQueSend.cpp
cxx: Error: ../../../include/osiWireFormat.h, line 211: Cannot create
variable "tmp" of incomplete type "WireAlias<const char *>".
detected during:
instantiation of "void WireSet(const T &, epicsUInt8 *) [with
T=const char *]" at line 191 of "../comBuf.h"
instantiation of
"bool comBuf::push(const T &) [with T=const char *]" at
line 144 of "../comQueSend.h"
instantiation of
"void comQueSend::push(const T &) [with T=const char *]"
at line 112 of "../comQueSend.cpp"
WireAlias < T > tmp;
--------------------^
cxx: Error: ../../../include/osiWireFormat.h, line 211: Cannot create
variable "tmp" of incomplete type "WireAlias<<error-type>>".
detected during:
instantiation of "void WireSet(const T &, epicsUInt8 *) [with
T=<error-type>]" at line 213
instantiation of "void WireSet(const T &, epicsUInt8 *) [with
T=const char *]" at line 191 of "../comBuf.h"
instantiation of
"bool comBuf::push(const T &) [with T=const char *]" at
line 144 of "../comQueSend.h"
instantiation of
"void comQueSend::push(const T &) [with T=const char *]"
at line 112 of "../comQueSend.cpp"
WireAlias < T > tmp;
--------------------^
cxx: Warning: ../comQueSend.cpp, line 327: pointless comparison of unsigned
integer with zero
if ( INVALID_DB_REQ ( dataType ) ) {
---------^
cxx: Info: 2 errors detected in the compilation of "../comQueSend.cpp".
=====
I'm using
<http://www.aps.anl.gov/epics/download/base/base_R3-14_cvs.tar.gz>
<http://www.aps.anl.gov/cgi-bin/epics/cvsweb/~checkout~/base/src/libCom/osi/os/default/osdWireFormat.h?rev=1.5;content-type=text%2Fplain>
If I apply the workaround patch to comBuf.h, it compiles with one error.
Cheers.
-----
Kazuro FURUKAWA <[email protected]>
Linac&KEKB, High Energy Accelerator Research Organization (KEK), Japan
Telephone: +81-29-864-5200 x4316, Facsimile: +81-29-864-0321
- Replies:
- Re: EPICS on Tru64unix and HP-UX Kazuro FURUKAWA
- References:
- RE: EPICS on Tru64unix and HP-UX Jeff Hill
- Navigate by Date:
- Prev:
Re: Status Report Matej Sekoranja
- Next:
Re: EPICS on Tru64unix and HP-UX Kazuro FURUKAWA
- Index:
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: EPICS on Tru64unix and HP-UX Kazuro FURUKAWA
- Next:
Re: EPICS on Tru64unix and HP-UX Kazuro FURUKAWA
- Index:
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|