This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug in recent java changes


> > java/io/natFileDescriptor.cc: In member function `jint
> >    java::io::FileDescriptor::open(java::lang::String*,
> > __java_int)': java/io/natFileDescriptor.cc:112: error: `O_DSYNC'
> > undeclared (first use this
> >    function)
> > java/io/natFileDescriptor.cc:112: error: (Each undeclared
> > identifier is reported only once for each function it appears in.)
> > java/io/natFileDescriptor.cc: In member function `void
> >    java::io::FileDescriptor::setLength(__java_long)':
> > java/io/natFileDescriptor.cc:203: warning: unused variable `stat
> > sb' java/io/natFileDescriptor.cc:202: warning: unused parameter
> > `jlong pos' gnumake[4]: *** [java/io/natFileDescriptor.lo] Error 1
> > gnumake[4]: *** Waiting for unfinished jobs....
> 
> Hmm, I thought newlib users would use natFileDescriptorEcos.cc instead 
> of natFileDescriptorPosix.cc ....
> 
> I have attached a patch for you. Please test it.
> 

Sorry for the delay replying.  My source tree got partly out of sync and I 
ran into other build problems.

Yes, this fixes the build problem, thanks.

R.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]