[GCC-XML] problem with lists
Brad King
brad.king at kitware.com
Mon Apr 26 16:25:45 EDT 2010
Abhishek Srivastava @09810085125 wrote:
> Hi,
>
> I have attached a program which I created to observe the behaviour of
> list(for generating the python bindings), but I could not understand
> that, this program compiles easily with g++ (even with different
> versions of g++) but it fails with error
>
> error: expected `{' before '<' token
> error: expected unqualified-id before '<' token
>
> when gccxml is used for generating xml version of the code.
> Can anybody please suggest, what is missing ..
It works for me. What version of GCC are you targeting?
What is the output of "gccxml --print"?
-Brad
More information about the gccxml
mailing list