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

Roman Yakovenko roman.yakovenko at gmail.com
Mon Jan 5 15:58:22 EST 2009


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

Installed Edition: Professional

Microsoft Visual C++ 2008   91605-031-5000002-60490
Microsoft Visual C++ 2008

> Are you giving any other options to gccxml?

No. I run the same command line.

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the gccxml mailing list