DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20092>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20092

Latest HEAD branch causes gcc internal failure.





------- Additional Comments From [EMAIL PROTECTED]  2003-06-01 11:23 -------
Neil,

Have found the same problem on Debian 3.0r1 (gcc 2.95.4) and NetBSD 1.6 (gcc
2.95.3).

I managed to get to compile by using a few more instances of the static memory
manager.

Patch pasted below (done using cvs diff -C 2)

Hope it helps!

---------------------------


Index: dom/impl/DOMDeepNodeListPool.c
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/impl/DOMDeepNodeListPool.c,v
retrieving revision 1.7
diff -C2 -r1.7 DOMDeepNodeListPool.c
*** dom/impl/DOMDeepNodeListPool.c      21 May 2003 21:08:03 -0000      1.7
--- dom/impl/DOMDeepNodeListPool.c      1 Jun 2003 11:14:17 -0000
***************
*** 91,96 ****
  
      // create default hasher
      fHash = new (fMemoryManager) HashPtr();
! 
      //
      //  Allocate the initial id pointers array. We don't have to zero them
--- 91,99 ----
  
      // create default hasher
+ #if defined (XML_GCC_VERSION) && (XML_GCC_VERSION < 29600)
+     fHash = new HashPtr();
+ #else
      fHash = new (fMemoryManager) HashPtr();
! #endif
      //
      //  Allocate the initial id pointers array. We don't have to zero them
Index: util/RefHash3KeysIdPool.c
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/RefHash3KeysIdPool.c,v
retrieving revision 1.5
diff -C2 -r1.5 RefHash3KeysIdPool.c
*** util/RefHash3KeysIdPool.c   21 May 2003 21:08:04 -0000      1.5
--- util/RefHash3KeysIdPool.c   1 Jun 2003 11:14:19 -0000
***************
*** 119,123 ****
--- 119,127 ----
  
      // create default hasher
+ #if defined (XML_GCC_VERSION) && (XML_GCC_VERSION < 29600)
+       fHash = new HashXMLCh();
+ #else
      fHash = new (fMemoryManager) HashXMLCh();
+ #endif
  
      //

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to