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

Wrong decl_type for function pointers ? #67

Closed
teto opened this issue Jul 24, 2016 · 2 comments
Closed

Wrong decl_type for function pointers ? #67

teto opened this issue Jul 24, 2016 · 2 comments

Comments

@teto
Copy link
Contributor

teto commented Jul 24, 2016

Similarl to #66, when the argument is a function pointer, there seems to be a few problems:

For instance for the function int atexit(void (*function)(void));, the pygccxml code decl.arguments[0].decl_type returns: void (*)( ) * which has 1 more asterisk then necessary ?

@iMichka
Copy link
Contributor

iMichka commented Jul 24, 2016

This looks like a bug. Could you please open an issue on the pygccxml bug tracker ?
https://github.com/gccxml/pygccxml/issues

The decl_type / decl_string creating is more on pygccxml's side than on castxml's.

Please precise which compiler you are using in the new issue.

@teto
Copy link
Contributor Author

teto commented Jul 24, 2016

sorry ! Indeed I wanted to post both issues on pygccxml's instead of here. In a moment of distraction, I ended up confusing castxml & pygccxml sorry :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants