You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parsing a macro within a namespace can lead to an error:
Exception in thread "main" org.bytedeco.javacpp.tools.ParserException: null:10: Unexpected token '?'
at org.bytedeco.javacpp.tools.Token.expect(Token.java:99)
at org.bytedeco.javacpp.tools.Parser.namespace(Parser.java:2498)
at org.bytedeco.javacpp.tools.Parser.declarations(Parser.java:2589)
at org.bytedeco.javacpp.tools.Parser.parse(Parser.java:2665)
at org.bytedeco.javacpp.tools.Parser.parse(Parser.java:2762)
at org.bytedeco.javacpp.tools.Builder.parse(Builder.java:68)
at org.bytedeco.javacpp.tools.Builder.build(Builder.java:622)
at org.bytedeco.javacpp.tools.Builder.main(Builder.java:771)
Here is a sample C++ header code that will cause an eror:
Parsing a macro within a
namespace
can lead to an error:Here is a sample C++ header code that will cause an eror:
Note that when
namespece
is commented out (no namespace is used) then there are no issues.The text was updated successfully, but these errors were encountered: