classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation error - More Info


From: R.S. Veldema
Subject: Re: Compilation error - More Info
Date: Mon, 29 Apr 2002 12:58:25 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7+) Gecko/20020123

I though it was plain old C.
It's simply that I was using gcc 3.0.3 which allows this (I think it does C99 ?),
so no error, so I thought it was ok C.
R.


Etienne M. Gagnon wrote:

On Sun, Apr 28, 2002 at 01:24:34PM -0400, Brian Jones wrote:

I disabled javax.swing in standard.omit.  Having trouble compiling the
java_nio.c recently added as well.


I was planning to submit a bug report about it... java_nio.c contains
invalid C code. (C, unlike C++, does not support declarations between
statements). Maybe the author of java_nio.c was using a C++ compiler?

Personal comment: I do not want to start a discussion thread about
this, but I think we should keep the JNI native part in plain C (as it
already is). Of course, C++ would be encouraged for the CNI stuff. :)

Etienne







reply via email to

[Prev in Thread] Current Thread [Next in Thread]