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: long long problem in jni.h file



Dmitry Markman wrote:
Hi, I try to compile some of my code with gcc 4.0
but for some reason it complains:

/System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h:16: error: ISO C++ does not support 'long long'

here is a fragment:

typedef long jint;
typedef long long jlong;  //!!!!!!!!!!!!!!!!!!
typedef signed char jbyte;



is there some switch that I can stop that complain?

The "C Language Dialect" setting should do what you need. _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >long long problem in jni.h file (From: Dmitry Markman <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.