Re: Why does this not compile?
Re: Why does this not compile?
- Subject: Re: Why does this not compile?
- From: Stephan Burlot <email@hidden>
- Date: Wed, 5 Jan 2005 14:32:55 +0100
Le 5 janv. 05, à 14:23, Finlay Dobbie a écrit :
No, there is no magic switch to compile nonsensical code ;-)
You'll have to assign the value to a variable first.
SecProtocolType protocol = kSecProtocolTypeHTTPProxy;
SecKeychainAttribute attribute = { kSecProtocolItemAttr,
sizeof(SecProtocolType), &protocol };
Duh. Makes sense. I was thinking gcc had DWIM,NWIT (Do What I Mean, Not
What I Type), perhaps a gcc5 feature ;-)
Stephan's law: never try to compile code after 2am.
Thanks,
Stephan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden