Hi! I want to use some types defined in Class.h in translator (nothing weird here, really?) so I have to include "Сlass.h" into "DrlVMCompilationInterface.cpp"
But after having it included I get strange compiler errors. /working_vm/vm/include/open/hythread.h:114: error: `I_64' was not declared in this scope Well, I_64 is typedef-ed in platform specific way in hycomp.h, however this file is included into hythread.h /working_vm/vm/vmcore/include/Class.h:1056: error: invalid application of `sizeof' to incomplete type `TypeDesc' ТypeDesc is indeed incomplete here, because its method "load_type_desc" is defined in "java_type.h" and this file includes classloader.h, which includes class.h. Looks like kind of cyclic dependance. But Class.h is successfully compiled everywhere but in jit. Suggestions. how to fix this? Тhanks -- Maksim