Skip to main content

How can I get rid of this JVM related compiler warning while building mpeos

1 reply [Last post]
Joined: 2010-04-23

In our set up, while building the OS for our product, the underlying JVM warnings are treated as errors. The following warning
(treated as error) stops the build.

In file included from mpeos_jvmdi.c:49:
/cygdrive/c/jdk1.3.1_07/include/jvmdi.h:604: warning: function declaration isn't a prototype

The corresponding line in the jvmdi.h that causes the warning is

jvmdiError (JNICALL *ClearAllBreakpoints)

Can anyone suggest a way to get rid of the warning. Your help is appreciated.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2008-07-03

Your compiler is complaining about a warning in a header file in your installed JDK. I would first recommend upgrading to AT LEAST a 1.4 JDK. OCAP is based on CDC1.1 which is roughly based on J2SE1.4.