#pragma marks not recognized ?
#pragma marks not recognized ?
- Subject: #pragma marks not recognized ?
- From: "bastian.schnuerle" <email@hidden>
- Date: Fri, 17 Dec 2004 01:55:01 +0100
hi,
definition: (worked fine in xcode1.1)
#if 0
#define NAME(X) X, CFSTR(X)
#else
#define NAME(X) X, 0, 0, CFSTR(X)
#endif
#define kParamReadable kAudioUnitParameterFlag_IsReadable
#define kParamWritable kAudioUnitParameterFlag_IsWritable
#define kCFString kAudioUnitParameterFlag_HasCFNameString
#define kParamPercent kAudioUnitParameterUnit_Percent
to initialize the AudioUnitParameterInfo like:
const AudioUnitParameterInfo CPlugIn::s_asParInfo[]= {
// Name CFStr Unit Min Max Default Flags
{ NAME("Percentage"), kParamPercent, 0, 100, 0, kParamReadable | kParamWritable | kCFString }
};
now returns, when building in xcode1.5, this error:
error: too many initializers for 'const AudioUnitParameterInfo'
can anyone help ?
basti
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden