Re: Apple Sample Code GLES2Sample problems
Re: Apple Sample Code GLES2Sample problems
- Subject: Re: Apple Sample Code GLES2Sample problems
- From: David Duncan <email@hidden>
- Date: Wed, 15 Sep 2010 09:02:48 -0700
On Sep 15, 2010, at 2:11 AM, Gerriet M. Denkmann wrote:
> 1. When I build the Apple Sample Code GLES2Sample (for iOS 4.1) in Xcode 3.2.4 for the Device with "Run Static Analyzer" checked the analyser tells me about destroyShaders() in Shaders.m that "the value stored to vertShader is never read".
>
> I think that the analyzer is right. But what was the point of Apples code?
Its clearly an error, since 'vertShader' is a parameter and the rest of the function doesn't use it. It is probably a relic from a previous incarnation where those variables were instance variables or the like. Feel free to delete them and file feedback.
> 2. When I build for the Simulator the analyzer stops working for CGPDFContext.h with the statement: "expected function body after function declarator".
> The offending line in CGPDFContext.h is:
> CG_EXTERN void CGPDFContextAddDocumentMetadata(CGContextRef context,
> CFDataRef metadata) CG_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_0);
>
> Obviously something is messed up, but what can I do to fix this?
https://devforums.apple.com/message/287160#287160
--
David Duncan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden