From: Sander (no email)
Date: Wed Apr 10 2002 - 07:08:00 EDT
gcc 2.95.3 fails to compile 1.2.8 or 1.2.9pre.
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2
-D_REENTRANT -c aspseek.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -D_REENTRANT -Wp,-MD,.deps/aspseek.pp -c
aspseek.cpp -fPIC -DPIC -o aspseek.lo
In file included from aspseek.cpp:34:
./include/datasource.h: In method `CTcpContext::CTcpContext(CMultiTcpDataSource *)':
./include/datasource.h:202: invalid use of undefined type `class CMultiTcpDataSource'
./include/datasource.h:182: forward declaration of `class CMultiTcpDataSource'
make[2]: *** [aspseek.lo] Error 1
make[2]: Leaving directory `/home/tempstuff/public_html/aspseek/aspseek/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tempstuff/public_html/aspseek/aspseek/src'
make: *** [all-recursive] Error 1
> I have just committed the fix into CVS. It was broken since 1.2.8 because of adding
> Ivan Gudym's Apache module support patch which adds m_templ member to some classes
> but forgot to assign it in CTcpContext constructor.
>
> Alexander F Avdonkin wrote:
> >
> > For version 1.2.8 insert line in CTcpContext::CTcpContext(CMultiTcpDataSource* parent)
> > located in datasource.h :
> > m_templ = parent->m_templ
> >
> > Alexander.
> >
|
|
|