[GCC-XML] Problems with GCCXML 0.9, VC9 and debug mode
    BOURGAU Philippe 
    Philippe.BOURGAU at murex.com
       
    Mon May 18 11:53:28 EDT 2009
    
    
  
Hi all,
 
We are using GCC XML 0.9 with visual studio 9.0.21022.8 RTM.
Running gcc-xml with the release flags was ok, but we had problems with
debug flags. I finally made it work by patching the include files:
 
yvals.h
825c846
<   #define _THROW_BAD_ALLOC    _THROW1(...)
---
>   #define _THROW_BAD_ALLOC
 
xdebug
58d57
<               _Ptr->~_Ty();
75c74
<               typedef typename _DebugHeapAllocator<_Other> other;
---
>               typedef _DebugHeapAllocator<_Other> other;
 
This would create a memory leak, but as we are only using these include
files to generate xml, it does not matter to us.
Thank you,
 
Philippe
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/gccxml/attachments/20090518/7f10a043/attachment.html>
    
    
More information about the gccxml
mailing list