[Qt-jambi-interest] building jambi 4.4.0_01 with java-openjdk 1.6

Dirk Mueller dmueller at suse.de
Tue Aug 5 15:22:42 CEST 2008


On Tuesday 05 August 2008, Gunnar Sletta wrote:

> Does the .preprocessor.tmp also include the typedefs:
> typedef unsigned short ushort;

Yes, it contains that, and the others, but it looks like the parser is 
confused by some system header included before, because it doesn't seem to 
think that those definitions are there. 

by tricksing in a way so that they're earlier in the .preprocessed.tmp, it 
discovers them and the warning goes away. the only warning that remains is 

[generator] WARNING(MetaJavaBuilder) :: enum 'enum_2' does not have a type 
entry or is not an enum

which is strange, because enum_2 does not exist in the preprocessed file. 
Anyway, that seems harmless, as it now finishes to build. yay!

So it looks like the parser is a bit confused by something. I couldn't figure 
out how to enable some debug in the parser, and I don't have time to bisect 
the preprocessed output at the moment. If there is any trick or existing 
solution for finding such problems, I'm happy to debug it further though. I 
guess a debug statement whenever it finds a type declaration or something like 
that would help me already finding where it starts to be confused. 


Greetings,
Dirk



More information about the Qt-jambi-interest mailing list