Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding -x objective-c++ causes loss of jobject def?



an update....

i created a new project java JNI application and only added the "-x objective-c++" to OTHER_CFLAGS" and now that one will not compile.
has anyone seen this before? i am desperate here and broken now for a project due out today...

looks like it will be a LONG night.

thanks in advance,
ken;
On Apr 30, 2004, at 12:50 PM, Ken Hawkins wrote:

well this is weird. i added the c flag "-x objective-c++" and bang an
error!

this line :
JNIEXPORT jint JNICALL Java_JNIWrapper_init_1ripper(JNIEnv *env,
jobject this, jstring arg) {
...
}

now give me this:

MacRipperjnilib.m:72: error: parse error before `this'


where is jobject defined at? i need to make sure that i have the file
added....

ken;
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >adding -x objective-c++ causes loss of jobject def? (From: Ken Hawkins <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.