I missed the OP's post
If the static analyzer is barfing up a false positive, please report it
(http://bugreport.apple.com/ works fine).
b.bum
On Jul 7, 2010, at 10:34 AM, Matt Neuburg wrote:
>> Maybe I should report this to the LLVM team?
>
> You can, but I wouldn't get my knickers in a
On Wed, 7 Jul 2010 07:59:38 +0200, vincent habchi said:
>Hi!
>
>Maybe I should report this to the LLVM team?
You can, but I wouldn't get my knickers in a twist about it. The static
analyzer is just an analyzer. It does get some false positives, but so what?
Just think of it as a list of suggested
On 07/07/2010, at 5:51 PM, vincent habchi wrote:
> The double indirection is necessary in order for the master data pointer
> (*data) to progress through the data chunk; since that chunk can hold
> different items, I have to decode it on the fly and call the appropriate
> method that interpret
Le 7 juil. 2010 à 09:33, Graham Cox a écrit :
>
> On 07/07/2010, at 3:59 PM, vincent habchi wrote:
>
>> - (void)drawPoint:(CGContextRef)ctx origin:(CGPoint)origin
>> dimension:(int)dim data:(double **)data {
>> double pt [dim];
>>
>> for (int i = 0 ; i < dim ; i ++, *data ++) {
On 07/07/2010, at 3:59 PM, vincent habchi wrote:
> - (void)drawPoint:(CGContextRef)ctx origin:(CGPoint)origin dimension:(int)dim
> data:(double **)data {
> double pt [dim];
>
> for (int i = 0 ; i < dim ; i ++, *data ++) {
> memcpy (& (pt [i]), * data, sizeof (dou
Hi!
Le 6 juil. 2010 à 21:59, Matt Neuburg a écrit :
> On Tue, 6 Jul 2010 20:31:06 +0200, vincent habchi said:
>> BTW, another unrelated question. I have a method that takes an NSPoint as an
> argument. I call it this way:
>>
>> [foo point:NSMakePoint(x, y)]
>>
>> and get an analyzer warning: "
On or about 7/6/10 1:28 PM, thus spake "vincent habchi"
:
> Geez, I just realize I have been browsing the NSValue page for iPhone OS since
> the beginning, and iPhone OS (iOS) has no +valueWithPoint.
Because there is no NSPoint on iPhone OS. NSValue has valueWithCGPoint: on
iPhone instead. m.
--
Le 6 juil. 2010 à 21:59, Matt Neuburg a écrit :
> On Tue, 6 Jul 2010 20:31:06 +0200, vincent habchi said:
>> BTW, another unrelated question. I have a method that takes an NSPoint as an
> argument. I call it this way:
>>
>> [foo point:NSMakePoint(x, y)]
>>
>> and get an analyzer warning: "Pass-
On Tue, 6 Jul 2010 20:31:06 +0200, vincent habchi said:
>BTW, another unrelated question. I have a method that takes an NSPoint as an
argument. I call it this way:
>
>[foo point:NSMakePoint(x, y)]
>
>and get an analyzer warning: "Pass-by-value argument in function call is
undefined".
How about pa
Hi there,
after a small interruption, I am about to resume Cocoa coding with what seems
to me one of the hardest things I ever made so far with the Mac: coding a SQL
custom editor with token handling (keyword and column name coloring,
completion, automatic selection extension on keyword boundar
Dear list members,
if you received a message sent by me meant to be sent privately to
Scott Anguish, yes, I screwed up. I admit it, and I take
responsibility for it. No need to reply to me, to him, nor to the list.
Some days I should just not get out of bed.
Thank you.
Wagner
_
11 matches
Mail list logo