2 Replies Last post: Jan 31, 2013 6:54 PM by Alexander Kirillin  
george cook Newbie 96 posts since
Mar 9, 2012
Currently Being Moderated

Jan 30, 2013 5:07 PM

how to disable ARC inline memory warnings

Hi,

 

there is currently a bug which I have raised, wherein I get incorrect inline warnings for "object may not have been released" in my ARC project.

 

That's all in the tracker and all good; but it looks like it won't be fixed any time soon (I'm in no situation to provide a sample project).

 

So - how does one switch off non-ARC project warnings? Specifcally I want to switch off "retained value may have not been released", "@sysnthesize of 'weak' propery is only allowed in ARC project", "method possibly missing a [super dealloc] call" (for dealloc method) and other non-ARC related inline warnings.

 

ALL of these nonarc warnings are 100% bogus. They do not appear in the warning console, or log output, nor in xcode's build log, nor in xcode's static analyzer.

 

I'm desperate to swtich them off -my code is littered with these bogus error messages.

 

cheers,

 

George

Alexander Kirillin JetBrains 125 posts since
Apr 5, 2011
Currently Being Moderated
Jan 31, 2013 6:55 PM in response to: george cook
Re: how to disable ARC inline memory warnings

George, you can disable any warning in Preferences | Inspections. But let's investigate the original problem instead of muting it. I've uploaded the private build to test in http://youtrack.jetbrains.com/issue/OC-6068

More Like This

  • Retrieving data ...