The gcc 2.95.4 autobuilder has been failing for a few days, giving the (cut down) output at the base of this e-mail.
I went in to have a look, and there is a constructor that uses a member of the current class during initialisation of the base class.
Looks very dangerous to me. My understanding is there is no requirement for the compiler to allocate memory for class members prior to base classes being initialised. (Generally they do, but...)
Then on top of that, the code initialises m_matchScore after the value is set in the NodeTest ctor.
I haven't committed a fix for this, because I don't fully understand what this is trying to do - and I may be misunderstanding the initialisation process.
Cheers,
Berin=-=-=-=-=-=-=
XalanSpaceNodeTester::XalanSpaceNodeTester(
eType
theType,
StylesheetConstructionContext& theConstructionContext,
const XalanDOMString& theNameTest,
const PrefixResolver& thePrefixResolver,
const LocatorType* theLocator) :
NodeTester(
theConstructionContext,
theNameTest,
thePrefixResolver,
theLocator,
&m_matchScore),
m_matchScore(),
m_type(theType)
{
assert(m_matchScore != XPath::eMatchScoreNone);
}=-=-=-=-=-=-=
-------- Original Message -------- Subject: atlas (Linux) Build for system security failed! Date: Sat, 10 Apr 2004 00:39 +1000 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]
Last 100 lines of Report log :
<SNIP>
g++ -O2 -DNDEBUG -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/export/autobuild/build/xml-xalan/src -I/export/autobuild/build/xml-xalan/include -I../../nls/include -I/export/autobuild/build/xml-xerces/src/ -I/export/autobuild/build/xml-xerces/include/xercesc -I/export/autobuild/build/xml-xerces/include/ -o ../../obj/XalanSpaceNodeTester.o /export/autobuild/build/xml-xalan/src/xalanc/XSLT/XalanSpaceNodeTester.cpp
/export/autobuild/build/xml-xalan/src/xalanc/XSLT/XalanSpaceNodeTester.cpp: In method `xalanc_1_8::XalanSpaceNodeTester::XalanSpaceNodeTester(xalanc_1_8::XalanSpaceNodeTester::eType, xalanc_1_8::StylesheetConstructionContext &, const xalanc_1_8::XalanDOMString &, const xalanc_1_8::PrefixResolver &, const xercesc_2_5::Locator *)':
/export/autobuild/build/xml-xalan/src/xalanc/XSLT/XalanSpaceNodeTester.cpp:68: conversion from `int' to `enum xalanc_1_8::XPath::eMatchScore'
make[1]: *** [../../obj/XalanSpaceNodeTester.o] Error 1
make[1]: Leaving directory `/disks/1/autobuild/build/xml-xalan/src/xalanc'
make: *** [all] Error 2
Command : $autobuild_makecmd failed - returning up stack
Exiting build of : "xalan" with errors
Exiting build of : "security" with errors
Top level build "security" failed for system : security
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
