[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mozilla compiling question
while compiling the m17 of mozilla on redhat 7.0beta
I got the following error
-DMOZILLA_CLIENT -include ../../../config-defs.h -Wp,-MD,.deps/ProxyJNI.pp
ProxyJNI.cpp
ProxyJNI.cpp: In method `jvalue *JNIMethod::marshallArgs (void *)':
ProxyJNI.cpp:186: `jboolean' is promoted to `int' when passed through
`...'
ProxyJNI.cpp:186: (so you should pass `int' not `jboolean' to `va_arg')
ProxyJNI.cpp:189: `jbyte' is promoted to `int' when passed through
`...'
ProxyJNI.cpp:192: `jbyte' is promoted to `int' when passed through
`...'
ProxyJNI.cpp:195: `jshort' is promoted to `int' when passed through
`...'
ProxyJNI.cpp:204: `jfloat' is promoted to `double' when passed through
`...'
ProxyJNI.cpp: In function `jvalue ProxyJNIEnv::InvokeMethod (JNIEnv *,
_jobject *, JNIMethod *, jvalue *)':
ProxyJNI.cpp:466: warning: initialization to non-pointer type
`jboolean' from NULL
ProxyJNI.cpp:466: warning: argument to non-pointer type `unsigned char'
from NULL
ProxyJNI.cpp: In function `jvalue ProxyJNIEnv::InvokeNonVirtualMethod
(JNIEnv *, _jobject *, _jclass *, JNIMethod *, jvalue *)':
ProxyJNI.cpp:574: warning: initialization to non-pointer type
`jboolean' from NULL
ProxyJNI.cpp:574: warning: argument to non-pointer type `unsigned char'
from NULL
ProxyJNI.cpp: In function `jvalue ProxyJNIEnv::GetField (JNIEnv *,
_jobject *, JNIField *)':
ProxyJNI.cpp:678: warning: initialization to non-pointer type
`jboolean' from NULL
ProxyJNI.cpp:678: warning: argument to non-pointer type `unsigned char'
from NULL
ProxyJNI.cpp: In function `jvalue ProxyJNIEnv::InvokeStaticMethod
(JNIEnv *, _jclass *, JNIMethod *, jvalue *)':
ProxyJNI.cpp:761: warning: initialization to non-pointer type
`jboolean' from NULL
ProxyJNI.cpp:761: warning: argument to non-pointer type `unsigned char'
from NULL
ProxyJNI.cpp: In function `jvalue ProxyJNIEnv::GetStaticField (JNIEnv
_jclass *, JNIField *)':
ProxyJNI.cpp:865: warning: initialization to non-pointer type
`jboolean' from NULL
ProxyJNI.cpp:865: warning: argument to non-pointer type `unsigned char'
from NULL
make[2]: *** [ProxyJNI.o] Error 1
make[2]: Leaving directory `/stuff/mozilla/mozilla.heb/modules/oji/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/stuff/mozilla/mozilla.heb/modules/oji'
make: *** [install] Error 2
I tried with my limited knowladge in c++ to fix it..
but I can't figure how it got there in the first place
as it known to compile easly on redhat 6.2..
any ideas?
Ely Levy
System group
Hebrew University
Jerusalem Israel
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il