<div dir="ltr"><div><div><div><div><div><div><div><div>Hello everybody,<br><br></div>I am finally able to install castxml on my machine. But when I try to use it, I am getting errors that doesn't make sense to me at all. Kind of errors I wasn't having with gccxml actually. <br><br></div>For example when I try to run a simple header file on castxml I am getting the following error,<br><br>error: '--castxml-gccxml' does not work with c11, although I use no C++11 syntax whatsoever.<br></div><div>Without --cast-gccxml option, I am having errors that have no meaning at all. For example<br><br>./deneme.h:3:1: error: unknown type name 'using'<br>using std::cout;<br>^<br>./deneme.h:3:10: error: expected ';' after top level declarator<br>using std::cout;<br>         ^<br>         ;<br>./deneme.h:3:11: error: expected identifier or '('<br>using std::cout;<br>          ^<br>./deneme.h:4:1: error: unknown type name 'using'<br>using std::endl;<br>^<br>./deneme.h:4:10: error: expected ';' after top level declarator<br>using std::endl;<br><br></div><div>There is nothing wrong with the source file syntax.<br><br></div><div>One more thing is when castxml comes across an #include statement it simply gives an error like this<br><br>#include <iostream><br>         ^<br>1 error generated.<br><br></div>Which is something I had never had problem with gccxml. <br><br></div>Am I missing something?<br></div>I installed castxml from Ubuntu repository with .deb that is compatible with Ubuntu 15.10<br></div>I have clang 3.7.0 installed on my machine. Both are 64 bit. <br><br></div>this is the output from castxml --version<br><br>castxml version 0.1-g8a08a44<br><br>CastXML project maintained and supported by Kitware (<a href="http://kitware.com">kitware.com</a>).<br><br>Ubuntu clang version 3.6.2-+rc1-1~exp1ubuntu2 (tags/RELEASE_362/rc1) (based on LLVM 3.6.2)<br>Target: x86_64-pc-linux-gnu<br>Thread model: posix<br><br></div>Regards,<br><div><div><br></div></div></div>