[GCC-XML] GCCXML and Visual Studio 2008 (TR1 implementation)

Brad King brad.king at kitware.com
Mon Jan 5 17:39:57 EST 2009


Roman Yakovenko wrote:
> On Mon, Jan 5, 2009 at 10:53 PM, Brad King <brad.king at kitware.com> wrote:
>> Roman Yakovenko wrote:
>>> On Mon, Jan 5, 2009 at 9:38 PM, Brad King <brad.king at kitware.com> wrote:
>>>> Roman Yakovenko wrote:
>>>>> I found out, that the source of errors is TR1 implementation.Passing
>>>>> -D"_HAS_TR1=0" to gccxml.exe solves the problem.
>>>> Can you provide a minimal test case, please?  I do
>>>>
>>>> ----- tset.cxx ------
>>>> #include <set>
>>>> ---------------------
>>>>
>>>> gccxml --gccxml-compiler msvc9 test.cxx
>>>>
>>>> and it works fine.
>>> Templates :-)
>>>
>>> #include <set>
>>> std::set<int> do_smth();
>> That also works for me.  What is your version of VS (from the about dialog)?
> 
> Microsoft Visual Studio 2008
> Version 9.0.30729.1 SP
> Microsoft .NET Framework
> Version 3.5 SP1

Okay, this is Vc9sp1.  I was too busy when it came out to create the 
header file patches for it, so currently it is unsupported.  I guess the 
sp0 patch set works for the non-tr1 stuff.  I'll put this on my todo list.

-Brad


More information about the gccxml mailing list