Elliot Chance

Results 282 comments of Elliot Chance

Not that I know of, but it’s a good idea.

It been so long since I've worked on c2go that I don't remember which versions I was using.

Yes, those are good example of similar fixes. I'll explain whats going on. c2go calls clang to do the preprocessing, parsing and output a (rather unfriendly) text based representation of...

Since the parser works on understanding the non-machine output of the clang AST changes and edge cases constantly need to be added. Here is an example of adding a new...

@tmc merge conflicts

This happens becuase c2go can't understand that node type. This happens a lot, but the fix is to add a new node type with a regexp to consume it. See...

This means that c2go can't understand the output from that particular version of clang. Here is an example of updating the regex to fix: https://github.com/elliotchance/c2go/pull/853

Those look like forward declarations (the functions have an missing body) - there is no equivalent of this in Go. You should be transpiling your C files, not the header...

It sounds like you need to use [cgo](https://golang.org/cmd/cgo/) which will let you link your go code against compiled C++ code. This project, c2go, is a transpiler tool that attempts to...

@al-sabr I can't speak to what you should or shouldn't do, but you have two options: 1. Use your existing C++ code by binding it to Go code with cgo...