[GCC-XML] gccxml std::tr1 support?
Guobao Shen
shengb at gmail.com
Tue Jun 28 14:33:29 EDT 2011
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
More information about the gccxml
mailing list