From: Albert C. <ope...@ml...> - 2003-06-06 13:37:27
|
On Fri, Jun 06, 2003 at 06:46:44AM -0400, Neil Roeth wrote: > On Jun 6, Albert Chin (ope...@ml...) wrote: > > I'm trying to build OpenSP 1.5 with GCC 3.3 on Redhat Linux 7.1: > > ... > > [snip snip] > > Sure, see bug 742608. The definition of AttributeValue needs to be moved in > Attribute.h to just before the definition of AttributeDefinitionDesc. You > can take out the forward declaration of it as well. Thanks. That works. Is the following safe to ignore: ... /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -c -o ArcEngine.lo `test -f ArcEngine.cxx || echo './'`ArcEngine.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -c ArcEngine.cxx -fPIC -DPIC -o .libs/ArcEngine.o In file included from Recognizer.h:15, from ParserState.h:34, from Parser.h:23, from ArcEngine.cxx:21: ../include/Owner.cxx: In destructor `OpenSP::Owner<T>::~Owner() [with T = OpenSP::BlankTrie]': ../include/CopyOwner.h:16: instantiated from `OpenSP::CopyOwner<T>::CopyOwner() [with T = OpenSP::BlankTrie]' Trie.h:22: instantiated from here ../include/Owner.cxx:15: warning: invalid use of undefined type `struct OpenSP::BlankTrie' Trie.h:18: warning: forward declaration of `struct OpenSP::BlankTrie' -- albert chin (ch...@th...) |