Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Regex found error #10

Closed
Splizard opened this issue Mar 30, 2017 · 6 comments
Closed

No Regex found error #10

Splizard opened this issue Mar 30, 2017 · 6 comments
Labels
Milestone

Comments

@Splizard
Copy link

When running the tests, I get:

There is no regex for 'FunctionProtoType'.
I will print out all the lines so a regex can be created:

 0x29b1190 '__ssize_t (void *, char *, size_t)' cdecl
 0x29b1430 '__ssize_t (void *, const char *, size_t)' cdecl
 0x29b16d0 'int (void *, __off64_t *, int)' cdecl
 0x29b1810 'int (void *)' cdecl
@elliotchance
Copy link
Owner

Can you provide the sample of C code that contains these lines? Thanks

@sbinet
Copy link

sbinet commented Mar 31, 2017

I also get these when I run the tests of c2go.
I am on Linux 64b.

@sbinet
Copy link

sbinet commented Mar 31, 2017

e.g. with the hello world.c file

@elliotchance
Copy link
Owner

Hi @sbinet - I was able to reproduce (and fix) the error by testing against a newer version of clang. Please try again with v0.5.0.

@sbinet
Copy link

sbinet commented Apr 1, 2017

confirmed :)
it's fixed for me.

@elliotchance
Copy link
Owner

Great, thanks!

There is one final PR to support assert.h ( #18 ) which will be v0.6.0. I am confident that everything is working as intended so I will begin rewriting it all in pure Go. This will remove the Python dependencies and make compiling much cleaner.

@elliotchance elliotchance added this to the v0.5.x milestone Apr 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants