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

Brad King brad.king at kitware.com
Mon Jan 5 15:53:17 EST 2009


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)?  Are you giving any other options to gccxml?

-Brad



More information about the gccxml mailing list