UA-17470720-3

Jump to content


Photo
* * * - - 2 votes

5 Compiler Warnings with XCode 4.6 and STV 3.1.2 Pro

xcode

  • Please log in to reply
4 replies to this topic

#1 Peter Müller

Peter Müller

    Jr. Member

  • STV Lite
  • PipPip
  • 10 posts
Reputation: 4
Good

Posted 29 January 2013 - 01:28 AM

I'm a friend of 0 compiler warnings in my projects and when I follow the tutorial-pdf until page 13 the brand new XCode tells me, that there are 5 warnings concerning your source code. Could you please fix this up?

Best regards
Peter

And by the way: There are several inconsistencies on page 15 of the tutorial-pdf. Just follow the steps, you have written there (self.name, iPhoneRootViewController.m).

Edit: I'm using 3.1.6 not 3.1.2

Edited by Peter Müller, 30 January 2013 - 07:19 AM.


#2 Tarek

Tarek

    Forum Admin

  • Administrators
  • 3670 posts
Reputation: 452
Popular

Posted 06 February 2013 - 09:29 PM

Thank you very much Peter for reporting this.

The STV code is always compiled to produce zero compiler and analyzer warnings. Would you please let us know of the warnings you're getting? Thanks!

#3 David Ferguson

David Ferguson

    Starting Out

  • STV 5.0 Pro
  • Pip
  • 4 posts
  • LocationPaso Robles, California
Reputation: 0
Neutral

Posted 07 February 2013 - 09:20 AM

Tarek,

I added some info about these warnings to the Bug Tracking section: http://sensiblecocoa...-with-xcode-46/

Basically, 4.6 added more static code checking so some issues were identified. Sorry I didn't copy all the warnings before fixing them in my copy of the sources.
David Ferguson
Veracity Racing Data
http://veracitydata.com

#4 codebonbon

codebonbon

    Advanced Member

  • STV 3.0 Pro
  • PipPipPipPipPip
  • 181 posts
Reputation: 8
Good

Posted 10 February 2013 - 10:33 PM

Hi Tarek!

I also get these compiler warnings in 3.1.4 pro.

Core/SCTableViewCell.m:3527:1: warning: Implementing deprecated method [-Wdeprecated-implementations]
- (UIImage *)selectedImage

Edited by codebonbon, 10 February 2013 - 10:33 PM.


#5 Peter Müller

Peter Müller

    Jr. Member

  • STV Lite
  • PipPip
  • 10 posts
Reputation: 4
Good

Posted 11 February 2013 - 05:36 AM

Hi Tarek,

just create a new project in XCode 4.6 and you will see it. 2 Minutes effort.





Also tagged with one or more of these keywords: xcode

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users