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

Parser error with static declarations #114

Closed
ashleyj opened this issue Jul 20, 2016 · 2 comments
Closed

Parser error with static declarations #114

ashleyj opened this issue Jul 20, 2016 · 2 comments
Labels

Comments

@ashleyj
Copy link
Contributor

ashleyj commented Jul 20, 2016

Parser error occured on the following static method:

  static GlobalListType Module::*getSublistAccess(GlobalVariable*) {
    return &Module::GlobalList;
  }

ST

Caused by: org.bytedeco.javacpp.tools.ParserException: /Users/ash/src/javacpp-presets/llvm/cppbuild/macosx-x86_64/include/llvm/IR/Module.h:463: Could not parse declaration at '::'
    at org.bytedeco.javacpp.tools.Parser.declarations(Parser.java:2731)
    at org.bytedeco.javacpp.tools.Parser.group(Parser.java:2299)
    at org.bytedeco.javacpp.tools.Parser.declarations(Parser.java:2725)
    at org.bytedeco.javacpp.tools.Parser.namespace(Parser.java:2629)
    at org.bytedeco.javacpp.tools.Parser.declarations(Parser.java:2724)
    at org.bytedeco.javacpp.tools.Parser.parse(Parser.java:2804)
    at org.bytedeco.javacpp.tools.Parser.parse(Parser.java:2909)
    at org.bytedeco.javacpp.tools.Builder.parse(Builder.java:69)
    at org.bytedeco.javacpp.tools.Builder.build(Builder.java:652)
    at org.bytedeco.javacpp.tools.BuildMojo.execute(BuildMojo.java:235)

@saudet
Copy link
Member

saudet commented Jul 29, 2016

I've fixed that in the latest commit. Let me know if you still have issues with that! Thanks for reporting.

@ashleyj
Copy link
Contributor Author

ashleyj commented Jul 30, 2016

All fixed, thanks

@ashleyj ashleyj closed this as completed Jul 30, 2016
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

2 participants