Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
BridJ (via JNAerator studio) fails to process simple code with includes throwing 'OutOfMemory' #205
Here is the snippet of header file:
#include <iostream> void printSome(int argc, int xs); int intTest(int arg);
Pretty simple, yeah, but looks like BridJ has to parse out so after a while it fails. Here is the output of log:
I don't care about warnings, but this one error is confusing.
My environment is
Thanks a lot for your bug report and sorry for the late response.
I've already added some obvious misses (like parsing delete !) and fixed some issues (std headers use __in as function argument name, but COM uses it as a modifier : had to make JNAerator's grammar even more context-aware), but it's still not parsing your sample fine. Please bear with me while I progress on it (I'll let you know of my progress here).
(FYI, you can download the latest development version of JNAerator with these fixes from here : http://nativelibs4java.sourceforge.net/maven/com/jnaerator/jnaerator/0.9.10-SNAPSHOT/ )