Hi everyone,
I have a project which heavily relies on std::tr1::shared_ptr<>.
However, it looks current gccxml does not support std::tr1.
I am using debian linux, and gccxml 0.9.0 cvs20110506.

Here is a simple test case.

// test.h
#ifndef  __TEST_H__
#define __TEST_H__

#include <tr1/memory> //wrong
//#include <boost/tr1/memory.hpp> // OK

#endif

at command line, I ran:
gccxml  -D"_HAS_TR1=0"   -I"./"   test.h -fxml="/tmp/tmpOT5SRB.xml"

But it works with boost tr1 library.
How can I make it work with GCC std::tr1 under linux?

Thanks,

Guobao
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.gccxml.org/mailman/listinfo/gccxml

Reply via email to