typedef conflict in GCC and JAVA

Andrew Haley aph-gcc@littlepinkcloud.COM
Fri Jun 22 16:22:00 GMT 2007


Dhiraj.Nilange@iflexsolutions.com writes:
 > 
 > >From: Andrew Haley [mailto:aph-gcc@littlepinkcloud.COM] 
 > >Dhiraj.Nilange@iflexsolutions.com writes:
 > >
 > > > I am doing the following #include in my source:-
 > > > 
 > > > #include <jni.h>
 > > > 
 > > > And in the compilation command my include path is
 > > > -I/opt/jdk1.5/include
 > 
 > >That's strange.  Directories named by `-I' are searched before the
 > >standard system include directories, so gcc should pick up the
 > >jni_md.h in /opt/jdk1.5/include.  Is it there?
 > 
 > 
 > Yes the file is very much there. I also have read permission for the
 > file. I find it strange. What could be the issue?

Hard to say.  We need to look at the -save-temps output.

Andrew.



More information about the Gcc-help mailing list