<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Objective-C Compiler Warnings</title> <atom:link href="http://akosma.com/2009/07/16/objective-c-compiler-warnings/feed/" rel="self" type="application/rss+xml" /><link>http://akosma.com/2009/07/16/objective-c-compiler-warnings/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=objective-c-compiler-warnings</link> <description>Leading international provider of cross-platform and multilingual software solutions, for iPhone, iPad, Mac, Windows, Linux, Android, and the web.</description> <lastBuildDate>Tue, 13 Dec 2011 10:51:47 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Migrating iPhone 3.x apps to iPad and iOS 4.0 &#124; akosma software</title><link>http://akosma.com/2009/07/16/objective-c-compiler-warnings/comment-page-1/#comment-943</link> <dc:creator>Migrating iPhone 3.x apps to iPad and iOS 4.0 &#124; akosma software</dc:creator> <pubDate>Mon, 26 Jul 2010 08:44:29 +0000</pubDate> <guid
isPermaLink="false">http://kosmaczewski.net/?p=1633#comment-943</guid> <description>&lt;p&gt;[...] assume your projects compile and link without warnings; many API calls have been deprecated between 2.x and 4.0, so you&#8217;d better have code using the [...]&lt;/p&gt; </description> <content:encoded><![CDATA[<p>[...] assume your projects compile and link without warnings; many API calls have been deprecated between 2.x and 4.0, so you&#8217;d better have code using the [...]</p> ]]></content:encoded> </item> <item><title>By: Craig Mc</title><link>http://akosma.com/2009/07/16/objective-c-compiler-warnings/comment-page-1/#comment-78</link> <dc:creator>Craig Mc</dc:creator> <pubDate>Wed, 26 Aug 2009 08:59:29 +0000</pubDate> <guid
isPermaLink="false">http://kosmaczewski.net/?p=1633#comment-78</guid> <description>&lt;p&gt;CLang is great.  I ended up making a simple AppleScript app I could keep in the project folder and double click to fire it up.  Nice to hear it&#039;s integrated into XCode.&lt;/p&gt;
&lt;p&gt;I wish we&#039;d used it at my last job - we were forced to use an ancient version of PCLint which did found stuff - oh did it find stuff.  You were so busy looking at false positives you&#039;d be lucky to find the real ones.  You wouldn&#039;t mind so much if the code you were linking against didn&#039;t have (literally!) thousands of compiler warnings in it.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>CLang is great.  I ended up making a simple AppleScript app I could keep in the project folder and double click to fire it up.  Nice to hear it&#8217;s integrated into XCode.</p><p>I wish we&#8217;d used it at my last job &#8211; we were forced to use an ancient version of PCLint which did found stuff &#8211; oh did it find stuff.  You were so busy looking at false positives you&#8217;d be lucky to find the real ones.  You wouldn&#8217;t mind so much if the code you were linking against didn&#8217;t have (literally!) thousands of compiler warnings in it.</p> ]]></content:encoded> </item> <item><title>By: Adrian</title><link>http://akosma.com/2009/07/16/objective-c-compiler-warnings/comment-page-1/#comment-77</link> <dc:creator>Adrian</dc:creator> <pubDate>Wed, 26 Aug 2009 08:35:46 +0000</pubDate> <guid
isPermaLink="false">http://kosmaczewski.net/?p=1633#comment-77</guid> <description>&lt;p&gt;heh it&#039;s worth it, just because of the integration of the Clang Static Analyzer into it... really good.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>heh it&#8217;s worth it, just because of the integration of the Clang Static Analyzer into it&#8230; really good.</p> ]]></content:encoded> </item> <item><title>By: Craig Mc</title><link>http://akosma.com/2009/07/16/objective-c-compiler-warnings/comment-page-1/#comment-76</link> <dc:creator>Craig Mc</dc:creator> <pubDate>Wed, 26 Aug 2009 08:26:28 +0000</pubDate> <guid
isPermaLink="false">http://kosmaczewski.net/?p=1633#comment-76</guid> <description>&lt;p&gt;Looks like I&#039;m queueing up on Friday then!&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Looks like I&#8217;m queueing up on Friday then!</p> ]]></content:encoded> </item> <item><title>By: Adrian</title><link>http://akosma.com/2009/07/16/objective-c-compiler-warnings/comment-page-1/#comment-75</link> <dc:creator>Adrian</dc:creator> <pubDate>Wed, 26 Aug 2009 08:03:06 +0000</pubDate> <guid
isPermaLink="false">http://kosmaczewski.net/?p=1633#comment-75</guid> <description>&lt;p&gt;@Craig shhh, don&#039;t tell anyone :) I&#039;m using Xcode 3.2 on Snow Leopard, that might explain why all the options appear.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>@Craig shhh, don&#8217;t tell anyone <img
src='http://akosma.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> I&#8217;m using Xcode 3.2 on Snow Leopard, that might explain why all the options appear.</p> ]]></content:encoded> </item> <item><title>By: Craig Mc</title><link>http://akosma.com/2009/07/16/objective-c-compiler-warnings/comment-page-1/#comment-79</link> <dc:creator>Craig Mc</dc:creator> <pubDate>Wed, 26 Aug 2009 07:55:44 +0000</pubDate> <guid
isPermaLink="false">http://kosmaczewski.net/?p=1633#comment-79</guid> <description>&lt;p&gt;I&#039;m stumped - how do you get that dialog with all the fabulous warning options?&lt;/p&gt;
&lt;p&gt;When I open my active target and search there&#039;s no group for compiler warnings.  I&#039;ve got an iPhone XCode 3 project targeting SDK 3.0 using gcc4.2.  I only have a few paltry user-defined flags GCC_WARN_ABOUT_RETURN_TYPE and GCC_WARN_UNUSED_VARIABLE in the build pane of my target settings.  I&#039;d love to get all the options shown above.&lt;/p&gt;
&lt;p&gt;I&#039;ve always developed C programs using -Wall and --pedantic and it definitely makes for better software.  I&#039;m amazed at how many warnings is in shipped code even from supposedly &quot;quality&quot; shops that imagine they&#039;re CMM level 5.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>I&#8217;m stumped &#8211; how do you get that dialog with all the fabulous warning options?</p><p>When I open my active target and search there&#8217;s no group for compiler warnings.  I&#8217;ve got an iPhone XCode 3 project targeting SDK 3.0 using gcc4.2.  I only have a few paltry user-defined flags GCC_WARN_ABOUT_RETURN_TYPE and GCC_WARN_UNUSED_VARIABLE in the build pane of my target settings.  I&#8217;d love to get all the options shown above.</p><p>I&#8217;ve always developed C programs using -Wall and &#8211;pedantic and it definitely makes for better software.  I&#8217;m amazed at how many warnings is in shipped code even from supposedly &#8220;quality&#8221; shops that imagine they&#8217;re CMM level 5.</p> ]]></content:encoded> </item> <item><title>By: links for 2009-07-17 &#171; Blarney Fellow</title><link>http://akosma.com/2009/07/16/objective-c-compiler-warnings/comment-page-1/#comment-74</link> <dc:creator>links for 2009-07-17 &#171; Blarney Fellow</dc:creator> <pubDate>Sat, 18 Jul 2009 01:08:04 +0000</pubDate> <guid
isPermaLink="false">http://kosmaczewski.net/?p=1633#comment-74</guid> <description>&lt;p&gt;[...] Open Kosmaczewski &#8211; Objective-C Compiler Warnings (tags: objective-c viapssteam) [...]&lt;/p&gt; </description> <content:encoded><![CDATA[<p>[...] Open Kosmaczewski &#8211; Objective-C Compiler Warnings (tags: objective-c viapssteam) [...]</p> ]]></content:encoded> </item> <item><title>By: Adrian</title><link>http://akosma.com/2009/07/16/objective-c-compiler-warnings/comment-page-1/#comment-73</link> <dc:creator>Adrian</dc:creator> <pubDate>Fri, 17 Jul 2009 07:57:55 +0000</pubDate> <guid
isPermaLink="false">http://kosmaczewski.net/?p=1633#comment-73</guid> <description>&lt;p&gt;@serpah: nooooo!!! OK OK I&#039;ll remove them all! Promise :)))&lt;/p&gt; </description> <content:encoded><![CDATA[<p>@serpah: nooooo!!! OK OK I&#8217;ll remove them all! Promise <img
src='http://akosma.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ))</p> ]]></content:encoded> </item> <item><title>By: Adrian</title><link>http://akosma.com/2009/07/16/objective-c-compiler-warnings/comment-page-1/#comment-72</link> <dc:creator>Adrian</dc:creator> <pubDate>Fri, 17 Jul 2009 07:48:44 +0000</pubDate> <guid
isPermaLink="false">http://kosmaczewski.net/?p=1633#comment-72</guid> <description>&lt;p&gt;Hi everyone! Thanks for all the comments and the &quot;heads-up&quot;! Indeed I updated the post with the reasons why I used to avoid id&lt;SomeProtocol&gt; variables (the reason was the use of &quot;respondsToSelector:&quot;), but I found out that you can declare protocols as conforming to the NSObject protocol (!) and that solves the problem too. So now, instead of &quot;avoiding&quot; using id, it&#039;s just another option.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Hi everyone! Thanks for all the comments and the &#8220;heads-up&#8221;! Indeed I updated the post with the reasons why I used to avoid id<someprotocol> variables (the reason was the use of &#8220;respondsToSelector:&#8221;), but I found out that you can declare protocols as conforming to the NSObject protocol (!) and that solves the problem too. So now, instead of &#8220;avoiding&#8221; using id, it&#8217;s just another option.</someprotocol></p> ]]></content:encoded> </item> <item><title>By: Mike</title><link>http://akosma.com/2009/07/16/objective-c-compiler-warnings/comment-page-1/#comment-71</link> <dc:creator>Mike</dc:creator> <pubDate>Fri, 17 Jul 2009 07:40:56 +0000</pubDate> <guid
isPermaLink="false">http://kosmaczewski.net/?p=1633#comment-71</guid> <description>&lt;p&gt;Seems I made the same mistake as Ryan and forgot to escape the angle-brackets in my second id; id&lt;SomeProtocol&gt;.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Seems I made the same mistake as Ryan and forgot to escape the angle-brackets in my second id; id&lt;SomeProtocol&gt;.</p> ]]></content:encoded> </item> </channel> </rss>
